* feat(angular): upgrade Angular to v12.0.0-rc.3 * feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade * fix(angular): use defaultConfiguration if no other configuration is passed * cleanup(angular): sync migration folder name to target version * fix(repo): creating custom schema flattener for docs * chore(repo): amend yarn.lock * feat(angular): update angular storybook to use webpack 5 * fix(angular): add legacy peer deps for angular+jest * fix(angular): move migrations to 12.3.0-rc.0 Co-authored-by: Zack DeRose <zack.derose@gmail.com> Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
100 lines
1.6 KiB
Markdown
100 lines
1.6 KiB
Markdown
# package
|
|
|
|
Package a library
|
|
|
|
Properties can be configured in angular.json when defining the executor, or when invoking it.
|
|
|
|
## Properties
|
|
|
|
### ~~babelConfig~~
|
|
|
|
Type: `string`
|
|
|
|
**Deprecated:** Use the .babelrc file for project instead
|
|
|
|
Path to a function which takes a babel config and returns an updated babel config
|
|
|
|
### buildableProjectDepsInPackageJsonType
|
|
|
|
Default: `peerDependencies`
|
|
|
|
Type: `string`
|
|
|
|
Possible values: `dependencies`, `peerDependencies`
|
|
|
|
When updateBuildableProjectDepsInPackageJson is true, this adds dependencies to either `peerDependencies` or `dependencies`
|
|
|
|
### deleteOutputPath
|
|
|
|
Default: `true`
|
|
|
|
Type: `boolean`
|
|
|
|
Delete the output path before building.
|
|
|
|
### entryFile
|
|
|
|
Type: `string`
|
|
|
|
The path to the entry file, relative to project.
|
|
|
|
### external
|
|
|
|
Type: `array`
|
|
|
|
A list of external modules that will not be bundled (react, react-dom, etc.).
|
|
|
|
### extractCss
|
|
|
|
Default: `true`
|
|
|
|
Type: `boolean`
|
|
|
|
CSS files will be extracted to the output folder.
|
|
|
|
### outputPath
|
|
|
|
Type: `string`
|
|
|
|
The output path of the generated files.
|
|
|
|
### project
|
|
|
|
Type: `string`
|
|
|
|
The path to package.json file.
|
|
|
|
### rollupConfig
|
|
|
|
Type: `string`
|
|
|
|
Path to a function which takes a rollup config and returns an updated rollup config
|
|
|
|
### tsConfig
|
|
|
|
Type: `string`
|
|
|
|
The path to tsconfig file.
|
|
|
|
### umdName
|
|
|
|
Type: `string`
|
|
|
|
The name of your module in UMD format. Defaulted to your project name.
|
|
|
|
### updateBuildableProjectDepsInPackageJson
|
|
|
|
Default: `true`
|
|
|
|
Type: `boolean`
|
|
|
|
Update buildable project dependencies in package.json
|
|
|
|
### watch
|
|
|
|
Default: `false`
|
|
|
|
Type: `boolean`
|
|
|
|
Enable re-building when files change.
|