Inventsable / bombino-commands

Adobe CEP utility commands to supercharge dev workflow available through Node scripts or via terminal
5 stars 4 forks source link

bombino-commands

Interior panel commands for use within bombino panels

npm install bombino-commands

# Within root of bombino panel
npm run help
npm run switch
npm run update
npm run sign
npm run register

# Within root of Adobe panel if manually installed
bombino-cmd help
bombino-cmd switch
bombino-cmd update
bombino-cmd register
bombino-cmd sign

Commands

npm run help:

npm run typescript:

Deprecated! Typescript support is added by default to all templates, awaiting the tsc: watch task on tsconfig.json from the user. For injection into any project use scriptopia instead, to see the results try ovid-editor.

npm run sign:

🚩 This command only works if ZXPSignCmd.exe is located in the parent folder (eg .../cep/extensions/)

npm run switch:

🚩 This command only works if the panel was generated by cep-vue-cli, cep-quasar-cli, or bombino

npm run update:

npm run register:

Usage

(Assuming bombino default template)

When you first create the template or need to start coding, you need npm run serve to launch the dev server and see your code reflect in the panel. If you want to build and sign an extension, then at any time you do so by running:

To continue development:

A one-step or odd number shift (developer > production or vice versa) requires you restart the host application. A two-step or even number shift (developer > production > developer) requires only that you refresh the panel. This is because manifest.xml only reads once at the host app's launch, so switching it's entry point to change between production and developer will not be detected by the host app.