atom-api-blueprint-preview icon indicating copy to clipboard operation
atom-api-blueprint-preview copied to clipboard

Live preview API Blueprint in Atom

Results 27 atom-api-blueprint-preview issues
Sort by recently updated
recently updated
newest added

Once I insalled package I saw two issues. 1. Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done 2. Previewing ApiBlueprint Failed stdout maxBuffer length exceeded....

Are you planning to include any of the themes' styles? Maybe that's something users can automatically add themselves and I'm just unaware? Loving this package, thanks for writing it!

``` $ apm install api-blueprint-preview Installing api-blueprint-preview to C:\Users\angel\.atom\packages failed > [email protected] install C:\Users\angel\AppData\Local\Temp\apm-install-dir-1181021-2080-1asnau7.9owb\node_modules\api-blueprint-preview\node_modules\runas > node-gyp rebuild C:\Users\angel\AppData\Local\Temp\apm-install-dir-1181021-2080-1asnau7.9owb\node_modules\api-blueprint-preview\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\angel\AppData\Local\atom\app-1.32.2\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:/Users/angel/AppData/Local/atom/app-1.32.2/resources/app/apm/bin/../node_modules/.bin/node-gyp" rebuild )...

Fixes danielgtaylor/atom-api-blueprint-preview#44 {env, options} was previously incorrectly expanding to "options: {options: {maxBuffer: ...}}" when being passed to child.process.exec() now it's passed correctly as "options: {maxBuffer: ...}" maxBuffer is still not...

> > [email protected] install C:\Users\...\AppData\Local\Temp\apm-install-dir-11818-16452-cvbjd7.jv5kk8d7vi\node_modules\api-blueprint-preview\node_modules\runas > > node-gyp rebuild > > > C:\Users\...\AppData\Local\Temp\apm-install-dir-11818-16452-cvbjd7.jv5kk8d7vi\node_modules\api-blueprint-preview\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\...\AppData\Local\atom\app-1.23.3\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\...\AppData\Local\atom\app-1.23.3\resources\app\apm\bin\\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) > C:\Users\...\AppData\Local\Temp\apm-install-dir-11818-16452-cvbjd7.jv5kk8d7vi > `-- (empty)...

Atom now uses ES6 Promises instead of Q. Call promise.then instead of promise.done ``` Promise.done (/Users/anton/Downloads/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1148:5) Object.addPreviewForEditor (/Users/anton/.atom/packages/api-blueprint-preview/lib/main.coffee:149:48) Object.toggle (/Users/anton/.atom/packages/api-blueprint-preview/lib/main.coffee:122:21) atom-workspace.atom.commands.add.api-blueprint-preview:toggle (/Users/anton/.atom/packages/api-blueprint-preview/lib/main.coffee:54:26) CommandRegistry.handleCommandEvent (/Users/anton/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29) (/Users/anton/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61) ```

Hi! I have a huge API Blueprint and when I try to preview it, it fails with: ``` Previewing ApiBlueprint Failed stdout maxBuffer exceeded. ``` Is there any way to...

[Enter steps to reproduce:] 1. ... 2. ... **Atom**: 1.23.3 x64 **Electron**: 1.6.15 **OS**: Unknown Windows version **Thrown From**: [api-blueprint-preview](https://github.com/danielgtaylor/atom-api-blueprint-preview) package 0.7.0 ### Stack Trace Uncaught Error: A dynamic link...

Argument to `path.dirname` must be a string ``` Object.dirname (/Applications/Atom.app/Contents/Resources/app/src/electron-shims.js:9:10) render (/Users/luisfsabidoc/.atom/packages/api-blueprint-preview/lib/renderer.coffee:56:24) Object.toDOMFragment (/Users/luisfsabidoc/.atom/packages/api-blueprint-preview/lib/renderer.coffee:24:12) ApiBlueprintPreviewView.renderApiBlueprintText (/Users/luisfsabidoc/.atom/packages/api-blueprint-preview/lib/api-blueprint-preview-view.coffee:272:23) (/Users/luisfsabidoc/.atom/packages/api-blueprint-preview/lib/api-blueprint-preview-view.coffee:244:26) ```