airplane initto create a blank task file:
export) and will transparently handle compiling any TypeScript files used by your script (just make sure they end with
yarnlike you normally would:
BUILD_NPM_TOKENand configure a
.npmrcfile for you.
.npmrcfile (assuming the tokens are stored there) and set the
airplaneCLI will find the nearest
package.jsonand use that as the root of your task. All code in the root is included when building the task.
packageA/package.jsonwill be identified as the root package.json for your task, you'll also want to include the parent folder (and siblings like
packageB/) in the build.
packageA/package.jsonyou can override the
rootto be a parent directory:
packageA/as well as
packageB/in the build. Note that the working directory will remain at
packageA/- any build/install commands will still be run from the subdirectory.