Folks, Can a few of us test these commands out and let me know if we are good to go?
Thanks, Om On Mon, Jan 29, 2018 at 2:45 AM, OmPrakash Muppirala <bigosma...@gmail.com> wrote: > Gah, the installation commands should be: > > npm install @apache-royale/royale-js -g > npm install @apache-royale/royale-js-swf -g > > Thanks, > Om > > > > On Mon, Jan 29, 2018 at 2:41 AM, OmPrakash Muppirala <bigosma...@gmail.com > > wrote: > >> The Apache Royale NPM packages are distributed under the Apache-Royale >> NPM organization: https://www.npmjs.com/org/apache-royale >> There are two packages available: >> >> 1. @apache-royale/royale-js [https://www.npmjs.com/package >> /@apache-royale/royale-js] >> 2. @apache-royale/royale-js-swf [https://www.npmjs.com/package >> /@apache-royale/royale-js-swf] >> >> The package: @apache-royale/royale-js supports only the JS/HTML output. >> The package: @apache-royale/royale-js-swf supports both JS/HTML and >> SWF/AIR output. >> >> *For End Users:* >> >> To install these packages, users need to run the following commands: >> >> npm install @apache-royale/royale-js >> npm install @apache-royale/royale-js-swf >> >> *For Release Managers:* >> >> To publish the packages, run: >> >> cd release-scripts >> npm install >> node publish.js --type=js-only --pathToTarball=path-to-tgz-file >> --username=npm-username --password=npm-password >> node publish.js --type=js-swf --pathToTarball=path-to-tgz-file >> --username=npm-username --password=npm-password >> >> For example: >> node publish.js --type=js-only --pathToTarball="C:\p\os\flexr >> oot\royale\royale-asjs\out\binaries\apache-royale-0.9.0-bin-js.tar.gz" >> --username=apache-royale-owner --password=shared_in_private >> node publish.js --type=js-swf --pathToTarball="C:\p\os\flexr >> oot\royale\royale-asjs\out\binaries\apache-royale-0.9.0-bin-js-swf.tar.gz" >> --username=apache-royale-owner --password=shared_in_private >> >> P.S.: I fixed up the swf binary to fix the errors, so what's up on npm >> will work correctly for end users, but it is slightly different from the >> binary that is available on Github and the source code. This should get >> fixed when we make the next release. >> >> P.P.S I've created a Pull Request here so that folks can review and >> comment on the changes: https://github.com/apache/royale-asjs/pull/115 >> >> Once we finalize this workflow, we can add this to the Ant scripts. >> >> Thanks, >> Om >> > >