Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build process issues #3

Open
ariutta opened this issue Nov 4, 2015 · 4 comments
Open

Build process issues #3

ariutta opened this issue Nov 4, 2015 · 4 comments
Labels

Comments

@ariutta
Copy link
Collaborator

ariutta commented Nov 4, 2015

The build process from gulp build currently seems to not include the dist files, which means that you cannot run gulp publish immediately after building. Would be better to merge the gulp directory from this lib into workflow-bob.

Also, it would be nice to avoid checking all the built files (dist, test, and demo) into master in order to limit the size of the repo when cloning it.

@ariutta ariutta added the bug label Nov 4, 2015
@ariutta
Copy link
Collaborator Author

ariutta commented Nov 4, 2015

Does npm automatically pull the latest tag published to github?

@ariutta
Copy link
Collaborator Author

ariutta commented Nov 4, 2015

Error: Command failed: /bin/sh -c npm publish
npm ERR! publish Failed PUT 403
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "publish"
npm ERR! node v0.12.7
npm ERR! npm  v3.3.9
npm ERR! code E403

npm ERR! "You cannot publish over the previously published version 5.0.6." : bridgedb
npm ERR! 
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/andersriutta/Sites/bridgedbjs/npm-debug.log

    at ChildProcess.exithandler (child_process.js:751:12)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Socket.<anonymous> (child_process.js:1183:11)
    at Socket.emit (events.js:107:17)
    at Pipe.close (net.js:485:12)

@ariutta
Copy link
Collaborator Author

ariutta commented Mar 2, 2017

@jacobwindsor I'm moving away from gulp to NPM scripts.

Some of the scripts I have in package.json are outdated, like anything with -old in its name.

@ariutta
Copy link
Collaborator Author

ariutta commented Mar 2, 2017

@jacobwindsor I want users of this library to be able to pull in different parts independently. For example, if a user wants to use just the API client, they could do:

import bridgedb from 'bridgedb';
var bridgedb = new Bridgedb();

or if the user just wanted the DataSourceSelect UI component:

import { DataSourceSelect } from 'bridgedb/ui';

That means the compiled code needs to be published in the top-level directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant