The package: @apache-royale/royale-js-swf
supports both JS/HTML and SWF/AIR output.
##For End Users
Manual installs
To install these packages, users need to run the following commands:
npm install @apache-royale/royale-js -g npm install @apache-royale/royale-js-swf -g --foreground-scripts
Automated installs
Set the environment variable: ACCEPT_ALL_ROYALE_LICENSES=true
to accept all the licenses prompted by the npm installer script. This lets you use the installer in a automated environment without interactive prompts.
##For Release Managers
To setup the publish scripts, first run:
cd release-scripts npm install
To publish the packages to NPM, run:
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\flexroot\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\flexroot\royale\royale-asjs\out\binaries\apache-royale-0.9.0-bin-js-swf.tar.gz" --username=apache-royale-owner --password=shared_in_private