@nrwl/angular 15.9.2 → 16.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -56
- package/esm2020/index.mjs +5 -2
- package/esm2020/mf/index.mjs +5 -2
- package/esm2020/mf/nrwl-angular-mf.mjs +5 -2
- package/esm2020/nrwl-angular.mjs +5 -2
- package/esm2020/testing/index.mjs +7 -2
- package/esm2020/testing/nrwl-angular-testing.mjs +5 -2
- package/executors.d.ts +1 -8
- package/executors.js +1 -8
- package/executors.js.map +1 -1
- package/executors.json +22 -22
- package/fesm2015/nrwl-angular-mf.mjs +4 -56
- package/fesm2015/nrwl-angular-mf.mjs.map +1 -1
- package/fesm2015/nrwl-angular-testing.mjs +4 -39
- package/fesm2015/nrwl-angular-testing.mjs.map +1 -1
- package/fesm2015/nrwl-angular.mjs +4 -347
- package/fesm2015/nrwl-angular.mjs.map +1 -1
- package/fesm2020/nrwl-angular-mf.mjs +4 -50
- package/fesm2020/nrwl-angular-mf.mjs.map +1 -1
- package/fesm2020/nrwl-angular-testing.mjs +4 -39
- package/fesm2020/nrwl-angular-testing.mjs.map +1 -1
- package/fesm2020/nrwl-angular.mjs +4 -347
- package/fesm2020/nrwl-angular.mjs.map +1 -1
- package/generators.d.ts +1 -28
- package/generators.js +1 -28
- package/generators.js.map +1 -1
- package/generators.json +2 -317
- package/index.d.ts +1 -1
- package/index.js +2 -6
- package/index.js.map +1 -1
- package/mf/index.d.ts +1 -1
- package/mf/index.js +2 -5
- package/mf/index.js.map +1 -1
- package/module-federation/index.d.ts +1 -2
- package/module-federation/index.js +2 -5
- package/module-federation/index.js.map +1 -1
- package/ng-package.json +3 -0
- package/package.json +9 -41
- package/plugins/component-testing.d.ts +1 -38
- package/plugins/component-testing.js +2 -232
- package/plugins/component-testing.js.map +1 -1
- package/tailwind.d.ts +1 -6
- package/tailwind.js +2 -26
- package/tailwind.js.map +1 -1
- package/testing/index.d.ts +1 -1
- package/testing/index.js +3 -3
- package/testing/index.js.map +1 -1
- package/esm2020/mf/mf.mjs +0 -48
- package/esm2020/src/runtime/nx/data-persistence.mjs +0 -344
- package/esm2020/testing/src/testing-utils.mjs +0 -36
- package/mf/mf.d.ts +0 -4
- package/mf/mf.js +0 -60
- package/mf/mf.js.map +0 -1
- package/migrations.json +0 -953
- package/src/builders/module-federation-dev-server/module-federation-dev-server.impl.d.ts +0 -4
- package/src/builders/module-federation-dev-server/module-federation-dev-server.impl.js +0 -72
- package/src/builders/module-federation-dev-server/module-federation-dev-server.impl.js.map +0 -1
- package/src/builders/module-federation-dev-server/schema.d.ts +0 -23
- package/src/builders/module-federation-dev-server/schema.json +0 -130
- package/src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl.d.ts +0 -4
- package/src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl.js +0 -95
- package/src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl.js.map +0 -1
- package/src/builders/module-federation-dev-ssr/schema.d.ts +0 -17
- package/src/builders/module-federation-dev-ssr/schema.json +0 -90
- package/src/builders/utilities/buildable-libs.d.ts +0 -9
- package/src/builders/utilities/buildable-libs.js +0 -17
- package/src/builders/utilities/buildable-libs.js.map +0 -1
- package/src/builders/utilities/module-federation.d.ts +0 -6
- package/src/builders/utilities/module-federation.js +0 -71
- package/src/builders/utilities/module-federation.js.map +0 -1
- package/src/builders/utilities/webpack.d.ts +0 -6
- package/src/builders/utilities/webpack.js +0 -64
- package/src/builders/utilities/webpack.js.map +0 -1
- package/src/builders/webpack-browser/schema.d.ts +0 -9
- package/src/builders/webpack-browser/schema.json +0 -599
- package/src/builders/webpack-browser/validate-options.d.ts +0 -2
- package/src/builders/webpack-browser/validate-options.js +0 -41
- package/src/builders/webpack-browser/validate-options.js.map +0 -1
- package/src/builders/webpack-browser/webpack-browser.impl.d.ts +0 -5
- package/src/builders/webpack-browser/webpack-browser.impl.js +0 -76
- package/src/builders/webpack-browser/webpack-browser.impl.js.map +0 -1
- package/src/builders/webpack-dev-server/lib/index.d.ts +0 -1
- package/src/builders/webpack-dev-server/lib/index.js +0 -5
- package/src/builders/webpack-dev-server/lib/index.js.map +0 -1
- package/src/builders/webpack-dev-server/lib/normalize-options.d.ts +0 -2
- package/src/builders/webpack-dev-server/lib/normalize-options.js +0 -8
- package/src/builders/webpack-dev-server/lib/normalize-options.js.map +0 -1
- package/src/builders/webpack-dev-server/schema.d.ts +0 -21
- package/src/builders/webpack-dev-server/schema.json +0 -116
- package/src/builders/webpack-dev-server/webpack-dev-server.impl.d.ts +0 -4
- package/src/builders/webpack-dev-server/webpack-dev-server.impl.js +0 -92
- package/src/builders/webpack-dev-server/webpack-dev-server.impl.js.map +0 -1
- package/src/builders/webpack-server/schema.d.ts +0 -9
- package/src/builders/webpack-server/schema.json +0 -328
- package/src/builders/webpack-server/validate-options.d.ts +0 -2
- package/src/builders/webpack-server/validate-options.js +0 -34
- package/src/builders/webpack-server/validate-options.js.map +0 -1
- package/src/builders/webpack-server/webpack-server.impl.d.ts +0 -5
- package/src/builders/webpack-server/webpack-server.impl.js +0 -69
- package/src/builders/webpack-server/webpack-server.impl.js.map +0 -1
- package/src/executors/delegate-build/compat.d.ts +0 -2
- package/src/executors/delegate-build/compat.js +0 -6
- package/src/executors/delegate-build/compat.js.map +0 -1
- package/src/executors/delegate-build/delegate-build.impl.d.ts +0 -8
- package/src/executors/delegate-build/delegate-build.impl.js +0 -21
- package/src/executors/delegate-build/delegate-build.impl.js.map +0 -1
- package/src/executors/delegate-build/schema.d.ts +0 -6
- package/src/executors/delegate-build/schema.json +0 -34
- package/src/executors/ng-packagr-lite/compat.d.ts +0 -2
- package/src/executors/ng-packagr-lite/compat.js +0 -6
- package/src/executors/ng-packagr-lite/compat.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.d.ts +0 -14
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.js +0 -28
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.d.ts +0 -11
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.js +0 -46
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/entry-point.di.d.ts +0 -15
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/entry-point.di.js +0 -29
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/entry-point.di.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/entry-point.transform.d.ts +0 -30
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/entry-point.transform.js +0 -54
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/entry-point.transform.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.di.d.ts +0 -12
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.di.js +0 -21
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.di.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.transform.d.ts +0 -9
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.transform.js +0 -286
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/entry-point/write-package.transform.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/options.di.d.ts +0 -14
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/options.di.js +0 -32
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/options.di.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/package.di.d.ts +0 -14
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/package.di.js +0 -38
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-package/package.di.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ngc/compile-source-files.d.ts +0 -13
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ngc/compile-source-files.js +0 -149
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ngc/compile-source-files.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.d.ts +0 -47
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.di.d.ts +0 -10
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.di.js +0 -18
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.di.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.js +0 -257
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/styles/stylesheet-processor.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ts/cache-compiler-host.d.ts +0 -15
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ts/cache-compiler-host.js +0 -157
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ts/cache-compiler-host.js.map +0 -1
- package/src/executors/ng-packagr-lite/ng-packagr-lite.impl.d.ts +0 -6
- package/src/executors/ng-packagr-lite/ng-packagr-lite.impl.js +0 -36
- package/src/executors/ng-packagr-lite/ng-packagr-lite.impl.js.map +0 -1
- package/src/executors/ng-packagr-lite/schema.json +0 -58
- package/src/executors/package/compat.d.ts +0 -2
- package/src/executors/package/compat.js +0 -6
- package/src/executors/package/compat.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.d.ts +0 -14
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.js +0 -27
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.di.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.d.ts +0 -10
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.js +0 -60
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/compile-ngc.transform.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/entry-point.di.d.ts +0 -13
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/entry-point.di.js +0 -33
- package/src/executors/package/ng-packagr-adjustments/ng-package/entry-point/entry-point.di.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/ng-package/options.di.d.ts +0 -14
- package/src/executors/package/ng-packagr-adjustments/ng-package/options.di.js +0 -32
- package/src/executors/package/ng-packagr-adjustments/ng-package/options.di.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/ng-package/package.di.d.ts +0 -14
- package/src/executors/package/ng-packagr-adjustments/ng-package/package.di.js +0 -38
- package/src/executors/package/ng-packagr-adjustments/ng-package/package.di.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/ngc/compile-source-files.d.ts +0 -12
- package/src/executors/package/ng-packagr-adjustments/ngc/compile-source-files.js +0 -144
- package/src/executors/package/ng-packagr-adjustments/ngc/compile-source-files.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.d.ts +0 -41
- package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.di.d.ts +0 -10
- package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.di.js +0 -18
- package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.di.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.js +0 -250
- package/src/executors/package/ng-packagr-adjustments/styles/stylesheet-processor.js.map +0 -1
- package/src/executors/package/ng-packagr-adjustments/ts/cache-compiler-host.d.ts +0 -15
- package/src/executors/package/ng-packagr-adjustments/ts/cache-compiler-host.js +0 -180
- package/src/executors/package/ng-packagr-adjustments/ts/cache-compiler-host.js.map +0 -1
- package/src/executors/package/package.impl.d.ts +0 -16
- package/src/executors/package/package.impl.js +0 -64
- package/src/executors/package/package.impl.js.map +0 -1
- package/src/executors/package/schema.d.ts +0 -8
- package/src/executors/package/schema.json +0 -60
- package/src/executors/utilities/angular-version-utils.d.ts +0 -6
- package/src/executors/utilities/angular-version-utils.js +0 -20
- package/src/executors/utilities/angular-version-utils.js.map +0 -1
- package/src/executors/utilities/tailwindcss.d.ts +0 -7
- package/src/executors/utilities/tailwindcss.js +0 -69
- package/src/executors/utilities/tailwindcss.js.map +0 -1
- package/src/executors/utilities/typescript.d.ts +0 -13
- package/src/executors/utilities/typescript.js +0 -49
- package/src/executors/utilities/typescript.js.map +0 -1
- package/src/generators/add-linting/add-linting.d.ts +0 -4
- package/src/generators/add-linting/add-linting.js +0 -43
- package/src/generators/add-linting/add-linting.js.map +0 -1
- package/src/generators/add-linting/compat.d.ts +0 -2
- package/src/generators/add-linting/compat.js +0 -7
- package/src/generators/add-linting/compat.js.map +0 -1
- package/src/generators/add-linting/lib/add-angular-eslint-dependencies.d.ts +0 -2
- package/src/generators/add-linting/lib/add-angular-eslint-dependencies.js +0 -15
- package/src/generators/add-linting/lib/add-angular-eslint-dependencies.js.map +0 -1
- package/src/generators/add-linting/lib/create-eslint-configuration.d.ts +0 -78
- package/src/generators/add-linting/lib/create-eslint-configuration.js +0 -111
- package/src/generators/add-linting/lib/create-eslint-configuration.js.map +0 -1
- package/src/generators/add-linting/schema.d.ts +0 -9
- package/src/generators/add-linting/schema.json +0 -51
- package/src/generators/application/application.compat.d.ts +0 -1
- package/src/generators/application/application.compat.js +0 -8
- package/src/generators/application/application.compat.js.map +0 -1
- package/src/generators/application/application.d.ts +0 -4
- package/src/generators/application/application.js +0 -68
- package/src/generators/application/application.js.map +0 -1
- package/src/generators/application/files/base/src/assets/.gitkeep__tpl__ +0 -0
- package/src/generators/application/files/base/src/favicon.ico +0 -0
- package/src/generators/application/files/base/src/index.html__tpl__ +0 -13
- package/src/generators/application/files/base/src/styles.__style__ +0 -1
- package/src/generators/application/files/base/tsconfig.app.json__tpl__ +0 -10
- package/src/generators/application/files/base/tsconfig.editor.json__tpl__ +0 -5
- package/src/generators/application/files/base/tsconfig.json__tpl__ +0 -14
- package/src/generators/application/files/ng-module/src/app/app.component.__style__ +0 -0
- package/src/generators/application/files/ng-module/src/app/app.component.html__tpl__ +0 -1
- package/src/generators/application/files/ng-module/src/app/app.component.spec.ts__tpl__ +0 -26
- package/src/generators/application/files/ng-module/src/app/app.component.ts__tpl__ +0 -13
- package/src/generators/application/files/ng-module/src/app/app.module.ts__tpl__ +0 -17
- package/src/generators/application/files/ng-module/src/app/app.routes.ts__tpl__ +0 -3
- package/src/generators/application/files/ng-module/src/app/nx-welcome.component.ts__tpl__ +0 -795
- package/src/generators/application/files/ng-module/src/main.ts__tpl__ +0 -12
- package/src/generators/application/files/standalone-components/src/app/app.component.__style__ +0 -0
- package/src/generators/application/files/standalone-components/src/app/app.component.html__tpl__ +0 -1
- package/src/generators/application/files/standalone-components/src/app/app.component.spec.ts__tpl__ +0 -25
- package/src/generators/application/files/standalone-components/src/app/app.component.ts__tpl__ +0 -17
- package/src/generators/application/files/standalone-components/src/app/app.routes.ts__tpl__ +0 -3
- package/src/generators/application/files/standalone-components/src/app/nx-welcome.component.ts__tpl__ +0 -798
- package/src/generators/application/files/standalone-components/src/main.ts__tpl__ +0 -11
- package/src/generators/application/files/tsconfig.editor.json__tpl__ +0 -5
- package/src/generators/application/files/v14/.browserlistrc__tpl__ +0 -16
- package/src/generators/application/files/v14/src/environments/environment.prod.ts__tpl__ +0 -3
- package/src/generators/application/files/v14/src/environments/environment.ts__tpl__ +0 -16
- package/src/generators/application/files/v14/src/polyfills.ts__tpl__ +0 -53
- package/src/generators/application/lib/add-e2e.d.ts +0 -3
- package/src/generators/application/lib/add-e2e.js +0 -40
- package/src/generators/application/lib/add-e2e.js.map +0 -1
- package/src/generators/application/lib/add-linting.d.ts +0 -3
- package/src/generators/application/lib/add-linting.js +0 -24
- package/src/generators/application/lib/add-linting.js.map +0 -1
- package/src/generators/application/lib/add-proxy-config.d.ts +0 -3
- package/src/generators/application/lib/add-proxy-config.js +0 -23
- package/src/generators/application/lib/add-proxy-config.js.map +0 -1
- package/src/generators/application/lib/add-unit-test-runner.d.ts +0 -3
- package/src/generators/application/lib/add-unit-test-runner.js +0 -22
- package/src/generators/application/lib/add-unit-test-runner.js.map +0 -1
- package/src/generators/application/lib/create-files.d.ts +0 -3
- package/src/generators/application/lib/create-files.js +0 -58
- package/src/generators/application/lib/create-files.js.map +0 -1
- package/src/generators/application/lib/create-project.d.ts +0 -3
- package/src/generators/application/lib/create-project.js +0 -97
- package/src/generators/application/lib/create-project.js.map +0 -1
- package/src/generators/application/lib/enable-strict-type-checking.d.ts +0 -3
- package/src/generators/application/lib/enable-strict-type-checking.js +0 -37
- package/src/generators/application/lib/enable-strict-type-checking.js.map +0 -1
- package/src/generators/application/lib/index.d.ts +0 -13
- package/src/generators/application/lib/index.js +0 -17
- package/src/generators/application/lib/index.js.map +0 -1
- package/src/generators/application/lib/normalize-options.d.ts +0 -4
- package/src/generators/application/lib/normalize-options.js +0 -40
- package/src/generators/application/lib/normalize-options.js.map +0 -1
- package/src/generators/application/lib/normalized-schema.d.ts +0 -15
- package/src/generators/application/lib/normalized-schema.js +0 -3
- package/src/generators/application/lib/normalized-schema.js.map +0 -1
- package/src/generators/application/lib/remove-scaffolded-e2e.d.ts +0 -3
- package/src/generators/application/lib/remove-scaffolded-e2e.js +0 -23
- package/src/generators/application/lib/remove-scaffolded-e2e.js.map +0 -1
- package/src/generators/application/lib/set-app-strict-default.d.ts +0 -2
- package/src/generators/application/lib/set-app-strict-default.js +0 -16
- package/src/generators/application/lib/set-app-strict-default.js.map +0 -1
- package/src/generators/application/lib/update-e2e-project.d.ts +0 -3
- package/src/generators/application/lib/update-e2e-project.js +0 -40
- package/src/generators/application/lib/update-e2e-project.js.map +0 -1
- package/src/generators/application/lib/update-editor-tsconfig.d.ts +0 -3
- package/src/generators/application/lib/update-editor-tsconfig.js +0 -27
- package/src/generators/application/lib/update-editor-tsconfig.js.map +0 -1
- package/src/generators/application/schema.d.ts +0 -30
- package/src/generators/application/schema.json +0 -172
- package/src/generators/component/component.compat.d.ts +0 -2
- package/src/generators/component/component.compat.js +0 -7
- package/src/generators/component/component.compat.js.map +0 -1
- package/src/generators/component/component.d.ts +0 -4
- package/src/generators/component/component.js +0 -77
- package/src/generators/component/component.js.map +0 -1
- package/src/generators/component/files/__fileName__/__fileName__.__type__.__style__ +0 -6
- package/src/generators/component/files/__fileName__/__fileName__.__type__.html__tpl__ +0 -1
- package/src/generators/component/files/__fileName__/__fileName__.__type__.spec.ts__tpl__ +0 -22
- package/src/generators/component/files/__fileName__/__fileName__.__type__.ts__tpl__ +0 -21
- package/src/generators/component/lib/component.d.ts +0 -3
- package/src/generators/component/lib/component.js +0 -37
- package/src/generators/component/lib/component.js.map +0 -1
- package/src/generators/component/lib/entry-point.d.ts +0 -2
- package/src/generators/component/lib/entry-point.js +0 -19
- package/src/generators/component/lib/entry-point.js.map +0 -1
- package/src/generators/component/lib/module.d.ts +0 -3
- package/src/generators/component/lib/module.js +0 -64
- package/src/generators/component/lib/module.js.map +0 -1
- package/src/generators/component/lib/normalize-options.d.ts +0 -3
- package/src/generators/component/lib/normalize-options.js +0 -20
- package/src/generators/component/lib/normalize-options.js.map +0 -1
- package/src/generators/component/schema.d.ts +0 -28
- package/src/generators/component/schema.json +0 -131
- package/src/generators/component-cypress-spec/compat.d.ts +0 -2
- package/src/generators/component-cypress-spec/compat.js +0 -7
- package/src/generators/component-cypress-spec/compat.js.map +0 -1
- package/src/generators/component-cypress-spec/component-cypress-spec.d.ts +0 -4
- package/src/generators/component-cypress-spec/component-cypress-spec.js +0 -40
- package/src/generators/component-cypress-spec/component-cypress-spec.js.map +0 -1
- package/src/generators/component-cypress-spec/files/__componentFileName__.__fileExt__ +0 -12
- package/src/generators/component-cypress-spec/lib/get-args-default-value.d.ts +0 -2
- package/src/generators/component-cypress-spec/lib/get-args-default-value.js +0 -26
- package/src/generators/component-cypress-spec/lib/get-args-default-value.js.map +0 -1
- package/src/generators/component-cypress-spec/lib/get-component-selector.d.ts +0 -2
- package/src/generators/component-cypress-spec/lib/get-component-selector.js +0 -25
- package/src/generators/component-cypress-spec/lib/get-component-selector.js.map +0 -1
- package/src/generators/component-cypress-spec/schema.d.ts +0 -10
- package/src/generators/component-cypress-spec/schema.json +0 -65
- package/src/generators/component-story/compat.d.ts +0 -2
- package/src/generators/component-story/compat.js +0 -7
- package/src/generators/component-story/compat.js.map +0 -1
- package/src/generators/component-story/component-story.d.ts +0 -4
- package/src/generators/component-story/component-story.js +0 -30
- package/src/generators/component-story/component-story.js.map +0 -1
- package/src/generators/component-story/files/__componentFileName__.stories.ts__tmpl__ +0 -16
- package/src/generators/component-story/schema.d.ts +0 -7
- package/src/generators/component-story/schema.json +0 -46
- package/src/generators/component-test/compat.d.ts +0 -2
- package/src/generators/component-test/compat.js +0 -7
- package/src/generators/component-test/compat.js.map +0 -1
- package/src/generators/component-test/component-test.d.ts +0 -4
- package/src/generators/component-test/component-test.js +0 -27
- package/src/generators/component-test/component-test.js.map +0 -1
- package/src/generators/component-test/files/__componentFileName__.cy.ts__tpl__ +0 -23
- package/src/generators/component-test/schema.d.ts +0 -12
- package/src/generators/component-test/schema.json +0 -49
- package/src/generators/convert-to-with-mf/convert-to-with-mf.compat.d.ts +0 -2
- package/src/generators/convert-to-with-mf/convert-to-with-mf.compat.js +0 -7
- package/src/generators/convert-to-with-mf/convert-to-with-mf.compat.js.map +0 -1
- package/src/generators/convert-to-with-mf/convert-to-with-mf.d.ts +0 -4
- package/src/generators/convert-to-with-mf/convert-to-with-mf.js +0 -34
- package/src/generators/convert-to-with-mf/convert-to-with-mf.js.map +0 -1
- package/src/generators/convert-to-with-mf/convert-to-with-mf.test-data.d.ts +0 -5
- package/src/generators/convert-to-with-mf/convert-to-with-mf.test-data.js +0 -449
- package/src/generators/convert-to-with-mf/convert-to-with-mf.test-data.js.map +0 -1
- package/src/generators/convert-to-with-mf/lib/check-name-matches.d.ts +0 -2
- package/src/generators/convert-to-with-mf/lib/check-name-matches.js +0 -26
- package/src/generators/convert-to-with-mf/lib/check-name-matches.js.map +0 -1
- package/src/generators/convert-to-with-mf/lib/check-shared-npm-packages.d.ts +0 -2
- package/src/generators/convert-to-with-mf/lib/check-shared-npm-packages.js +0 -51
- package/src/generators/convert-to-with-mf/lib/check-shared-npm-packages.js.map +0 -1
- package/src/generators/convert-to-with-mf/lib/get-webpack-config-path.d.ts +0 -2
- package/src/generators/convert-to-with-mf/lib/get-webpack-config-path.js +0 -20
- package/src/generators/convert-to-with-mf/lib/get-webpack-config-path.js.map +0 -1
- package/src/generators/convert-to-with-mf/lib/index.d.ts +0 -6
- package/src/generators/convert-to-with-mf/lib/index.js +0 -10
- package/src/generators/convert-to-with-mf/lib/index.js.map +0 -1
- package/src/generators/convert-to-with-mf/lib/is-host-remote-config.d.ts +0 -5
- package/src/generators/convert-to-with-mf/lib/is-host-remote-config.js +0 -69
- package/src/generators/convert-to-with-mf/lib/is-host-remote-config.js.map +0 -1
- package/src/generators/convert-to-with-mf/lib/parse-ast-webpack-config.d.ts +0 -2
- package/src/generators/convert-to-with-mf/lib/parse-ast-webpack-config.js +0 -15
- package/src/generators/convert-to-with-mf/lib/parse-ast-webpack-config.js.map +0 -1
- package/src/generators/convert-to-with-mf/lib/write-new-webpack-config.d.ts +0 -3
- package/src/generators/convert-to-with-mf/lib/write-new-webpack-config.js +0 -51
- package/src/generators/convert-to-with-mf/lib/write-new-webpack-config.js.map +0 -1
- package/src/generators/convert-to-with-mf/schema.d.ts +0 -3
- package/src/generators/convert-to-with-mf/schema.json +0 -27
- package/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.d.ts +0 -4
- package/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.js +0 -174
- package/src/generators/convert-tslint-to-eslint/convert-tslint-to-eslint.js.map +0 -1
- package/src/generators/convert-tslint-to-eslint/schema.json +0 -54
- package/src/generators/cypress-component-configuration/compat.d.ts +0 -2
- package/src/generators/cypress-component-configuration/compat.js +0 -7
- package/src/generators/cypress-component-configuration/compat.js.map +0 -1
- package/src/generators/cypress-component-configuration/cypress-component-configuration.d.ts +0 -8
- package/src/generators/cypress-component-configuration/cypress-component-configuration.js +0 -87
- package/src/generators/cypress-component-configuration/cypress-component-configuration.js.map +0 -1
- package/src/generators/cypress-component-configuration/files/cypress/support/commands.ts__tpl__ +0 -42
- package/src/generators/cypress-component-configuration/files/cypress.config.ts__tpl__ +0 -6
- package/src/generators/cypress-component-configuration/schema.d.ts +0 -6
- package/src/generators/cypress-component-configuration/schema.json +0 -40
- package/src/generators/directive/directive.d.ts +0 -4
- package/src/generators/directive/directive.js +0 -51
- package/src/generators/directive/directive.js.map +0 -1
- package/src/generators/directive/files/__directiveFileName__/__directiveFileName__.directive.spec.ts__tpl__ +0 -8
- package/src/generators/directive/files/__directiveFileName__/__directiveFileName__.directive.ts__tpl__ +0 -11
- package/src/generators/directive/schema.d.ts +0 -14
- package/src/generators/directive/schema.json +0 -92
- package/src/generators/host/files/src/main.server.ts__tmpl__ +0 -66
- package/src/generators/host/files/webpack.server.config.js__tmpl__ +0 -3
- package/src/generators/host/host.compat.d.ts +0 -2
- package/src/generators/host/host.compat.js +0 -7
- package/src/generators/host/host.compat.js.map +0 -1
- package/src/generators/host/host.d.ts +0 -4
- package/src/generators/host/host.js +0 -66
- package/src/generators/host/host.js.map +0 -1
- package/src/generators/host/lib/add-ssr.d.ts +0 -3
- package/src/generators/host/lib/add-ssr.js +0 -43
- package/src/generators/host/lib/add-ssr.js.map +0 -1
- package/src/generators/host/lib/index.d.ts +0 -1
- package/src/generators/host/lib/index.js +0 -5
- package/src/generators/host/lib/index.js.map +0 -1
- package/src/generators/host/schema.d.ts +0 -30
- package/src/generators/host/schema.json +0 -174
- package/src/generators/init/init.compat.d.ts +0 -1
- package/src/generators/init/init.compat.js +0 -8
- package/src/generators/init/init.compat.js.map +0 -1
- package/src/generators/init/init.d.ts +0 -4
- package/src/generators/init/init.js +0 -165
- package/src/generators/init/init.js.map +0 -1
- package/src/generators/init/schema.d.ts +0 -14
- package/src/generators/init/schema.json +0 -84
- package/src/generators/library/files/base/README.md__tpl__ +0 -9
- package/src/generators/library/files/base/ng-package.json__tpl__ +0 -7
- package/src/generators/library/files/base/package.json__tpl__ +0 -12
- package/src/generators/library/files/base/tsconfig.json__tpl__ +0 -14
- package/src/generators/library/files/base/tsconfig.lib.json__tpl__ +0 -17
- package/src/generators/library/files/base/tsconfig.lib.prod.json__tpl__ +0 -9
- package/src/generators/library/files/ng-module/src/index.ts__tpl__ +0 -2
- package/src/generators/library/files/ng-module/src/lib/__libFileName__.module.ts__tpl__ +0 -9
- package/src/generators/library/files/ng-module/src/lib/lib.routes.ts__tpl__ +0 -5
- package/src/generators/library/files/standalone-components/src/index.ts__tpl__ +0 -1
- package/src/generators/library/files/standalone-components/src/lib/lib.routes.ts__tpl__ +0 -6
- package/src/generators/library/lib/add-children.d.ts +0 -3
- package/src/generators/library/lib/add-children.js +0 -31
- package/src/generators/library/lib/add-children.js.map +0 -1
- package/src/generators/library/lib/add-lazy-loaded-router-configuration.d.ts +0 -3
- package/src/generators/library/lib/add-lazy-loaded-router-configuration.js +0 -30
- package/src/generators/library/lib/add-lazy-loaded-router-configuration.js.map +0 -1
- package/src/generators/library/lib/add-load-children.d.ts +0 -3
- package/src/generators/library/lib/add-load-children.js +0 -23
- package/src/generators/library/lib/add-load-children.js.map +0 -1
- package/src/generators/library/lib/add-module.d.ts +0 -3
- package/src/generators/library/lib/add-module.js +0 -23
- package/src/generators/library/lib/add-module.js.map +0 -1
- package/src/generators/library/lib/add-project.d.ts +0 -5
- package/src/generators/library/lib/add-project.js +0 -40
- package/src/generators/library/lib/add-project.js.map +0 -1
- package/src/generators/library/lib/add-router-configuration.d.ts +0 -3
- package/src/generators/library/lib/add-router-configuration.js +0 -29
- package/src/generators/library/lib/add-router-configuration.js.map +0 -1
- package/src/generators/library/lib/add-standalone-component.d.ts +0 -3
- package/src/generators/library/lib/add-standalone-component.js +0 -24
- package/src/generators/library/lib/add-standalone-component.js.map +0 -1
- package/src/generators/library/lib/create-files.d.ts +0 -5
- package/src/generators/library/lib/create-files.js +0 -50
- package/src/generators/library/lib/create-files.js.map +0 -1
- package/src/generators/library/lib/enable-strict-type-checking.d.ts +0 -7
- package/src/generators/library/lib/enable-strict-type-checking.js +0 -37
- package/src/generators/library/lib/enable-strict-type-checking.js.map +0 -1
- package/src/generators/library/lib/normalize-options.d.ts +0 -4
- package/src/generators/library/lib/normalize-options.js +0 -64
- package/src/generators/library/lib/normalize-options.js.map +0 -1
- package/src/generators/library/lib/normalized-schema.d.ts +0 -56
- package/src/generators/library/lib/normalized-schema.js +0 -3
- package/src/generators/library/lib/normalized-schema.js.map +0 -1
- package/src/generators/library/lib/update-lib-package-npm-scope.d.ts +0 -3
- package/src/generators/library/lib/update-lib-package-npm-scope.js +0 -12
- package/src/generators/library/lib/update-lib-package-npm-scope.js.map +0 -1
- package/src/generators/library/lib/update-tsconfig.d.ts +0 -3
- package/src/generators/library/lib/update-tsconfig.js +0 -38
- package/src/generators/library/lib/update-tsconfig.js.map +0 -1
- package/src/generators/library/library.compat.d.ts +0 -1
- package/src/generators/library/library.compat.js +0 -8
- package/src/generators/library/library.compat.js.map +0 -1
- package/src/generators/library/library.d.ts +0 -4
- package/src/generators/library/library.js +0 -124
- package/src/generators/library/library.js.map +0 -1
- package/src/generators/library/schema.d.ts +0 -45
- package/src/generators/library/schema.json +0 -209
- package/src/generators/library-secondary-entry-point/compat.d.ts +0 -2
- package/src/generators/library-secondary-entry-point/compat.js +0 -7
- package/src/generators/library-secondary-entry-point/compat.js.map +0 -1
- package/src/generators/library-secondary-entry-point/files/README.md__tmpl__ +0 -3
- package/src/generators/library-secondary-entry-point/files/ng-package.json__tmpl__ +0 -5
- package/src/generators/library-secondary-entry-point/files/src/index.ts__tmpl__ +0 -5
- package/src/generators/library-secondary-entry-point/files/src/lib/__fileName__.module.ts__tmpl__ +0 -7
- package/src/generators/library-secondary-entry-point/lib/add-files.d.ts +0 -3
- package/src/generators/library-secondary-entry-point/lib/add-files.js +0 -13
- package/src/generators/library-secondary-entry-point/lib/add-files.js.map +0 -1
- package/src/generators/library-secondary-entry-point/lib/add-path-mapping.d.ts +0 -3
- package/src/generators/library-secondary-entry-point/lib/add-path-mapping.js +0 -17
- package/src/generators/library-secondary-entry-point/lib/add-path-mapping.js.map +0 -1
- package/src/generators/library-secondary-entry-point/lib/index.d.ts +0 -4
- package/src/generators/library-secondary-entry-point/lib/index.js +0 -8
- package/src/generators/library-secondary-entry-point/lib/index.js.map +0 -1
- package/src/generators/library-secondary-entry-point/lib/normalize-options.d.ts +0 -3
- package/src/generators/library-secondary-entry-point/lib/normalize-options.js +0 -29
- package/src/generators/library-secondary-entry-point/lib/normalize-options.js.map +0 -1
- package/src/generators/library-secondary-entry-point/lib/update-linting-file-patterns.d.ts +0 -3
- package/src/generators/library-secondary-entry-point/lib/update-linting-file-patterns.js +0 -17
- package/src/generators/library-secondary-entry-point/lib/update-linting-file-patterns.js.map +0 -1
- package/src/generators/library-secondary-entry-point/library-secondary-entry-point.d.ts +0 -4
- package/src/generators/library-secondary-entry-point/library-secondary-entry-point.js +0 -18
- package/src/generators/library-secondary-entry-point/library-secondary-entry-point.js.map +0 -1
- package/src/generators/library-secondary-entry-point/schema.d.ts +0 -15
- package/src/generators/library-secondary-entry-point/schema.json +0 -37
- package/src/generators/move/lib/update-module-name.d.ts +0 -11
- package/src/generators/move/lib/update-module-name.js +0 -97
- package/src/generators/move/lib/update-module-name.js.map +0 -1
- package/src/generators/move/lib/update-ng-package.d.ts +0 -3
- package/src/generators/move/lib/update-ng-package.js +0 -40
- package/src/generators/move/lib/update-ng-package.js.map +0 -1
- package/src/generators/move/move.d.ts +0 -11
- package/src/generators/move/move.js +0 -29
- package/src/generators/move/move.js.map +0 -1
- package/src/generators/move/schema.d.ts +0 -7
- package/src/generators/move/schema.json +0 -49
- package/src/generators/ng-add/compat.d.ts +0 -2
- package/src/generators/ng-add/compat.js +0 -6
- package/src/generators/ng-add/compat.js.map +0 -1
- package/src/generators/ng-add/files/root/apps/__dot__gitkeep +0 -0
- package/src/generators/ng-add/files/root/libs/__dot__gitkeep +0 -0
- package/src/generators/ng-add/files/root/tools/generators/__dot__gitkeep +0 -0
- package/src/generators/ng-add/files/root/tools/tsconfig.tools.json__tmpl__ +0 -12
- package/src/generators/ng-add/files/root-karma/karma.conf.js__tmpl__ +0 -43
- package/src/generators/ng-add/migrate-from-angular-cli.d.ts +0 -3
- package/src/generators/ng-add/migrate-from-angular-cli.js +0 -63
- package/src/generators/ng-add/migrate-from-angular-cli.js.map +0 -1
- package/src/generators/ng-add/migrators/builders/angular-devkit-karma.migrator.d.ts +0 -9
- package/src/generators/ng-add/migrators/builders/angular-devkit-karma.migrator.js +0 -78
- package/src/generators/ng-add/migrators/builders/angular-devkit-karma.migrator.js.map +0 -1
- package/src/generators/ng-add/migrators/builders/angular-devkit-ng-packagr.migrator.d.ts +0 -10
- package/src/generators/ng-add/migrators/builders/angular-devkit-ng-packagr.migrator.js +0 -97
- package/src/generators/ng-add/migrators/builders/angular-devkit-ng-packagr.migrator.js.map +0 -1
- package/src/generators/ng-add/migrators/builders/angular-eslint-lint.migrator.d.ts +0 -12
- package/src/generators/ng-add/migrators/builders/angular-eslint-lint.migrator.js +0 -117
- package/src/generators/ng-add/migrators/builders/angular-eslint-lint.migrator.js.map +0 -1
- package/src/generators/ng-add/migrators/builders/builder-migrator-class.type.d.ts +0 -6
- package/src/generators/ng-add/migrators/builders/builder-migrator-class.type.js +0 -3
- package/src/generators/ng-add/migrators/builders/builder-migrator-class.type.js.map +0 -1
- package/src/generators/ng-add/migrators/builders/builder.migrator.d.ts +0 -13
- package/src/generators/ng-add/migrators/builders/builder.migrator.js +0 -45
- package/src/generators/ng-add/migrators/builders/builder.migrator.js.map +0 -1
- package/src/generators/ng-add/migrators/builders/index.d.ts +0 -5
- package/src/generators/ng-add/migrators/builders/index.js +0 -9
- package/src/generators/ng-add/migrators/builders/index.js.map +0 -1
- package/src/generators/ng-add/migrators/index.d.ts +0 -2
- package/src/generators/ng-add/migrators/index.js +0 -6
- package/src/generators/ng-add/migrators/index.js.map +0 -1
- package/src/generators/ng-add/migrators/migrator.d.ts +0 -23
- package/src/generators/ng-add/migrators/migrator.js +0 -124
- package/src/generators/ng-add/migrators/migrator.js.map +0 -1
- package/src/generators/ng-add/migrators/projects/app.migrator.d.ts +0 -25
- package/src/generators/ng-add/migrators/projects/app.migrator.js +0 -304
- package/src/generators/ng-add/migrators/projects/app.migrator.js.map +0 -1
- package/src/generators/ng-add/migrators/projects/e2e.migrator.d.ts +0 -38
- package/src/generators/ng-add/migrators/projects/e2e.migrator.js +0 -585
- package/src/generators/ng-add/migrators/projects/e2e.migrator.js.map +0 -1
- package/src/generators/ng-add/migrators/projects/index.d.ts +0 -4
- package/src/generators/ng-add/migrators/projects/index.js +0 -8
- package/src/generators/ng-add/migrators/projects/index.js.map +0 -1
- package/src/generators/ng-add/migrators/projects/lib.migrator.d.ts +0 -11
- package/src/generators/ng-add/migrators/projects/lib.migrator.js +0 -62
- package/src/generators/ng-add/migrators/projects/lib.migrator.js.map +0 -1
- package/src/generators/ng-add/migrators/projects/project.migrator.d.ts +0 -25
- package/src/generators/ng-add/migrators/projects/project.migrator.js +0 -185
- package/src/generators/ng-add/migrators/projects/project.migrator.js.map +0 -1
- package/src/generators/ng-add/ng-add.d.ts +0 -4
- package/src/generators/ng-add/ng-add.js +0 -20
- package/src/generators/ng-add/ng-add.js.map +0 -1
- package/src/generators/ng-add/schema.d.ts +0 -18
- package/src/generators/ng-add/schema.json +0 -71
- package/src/generators/ng-add/utilities/dependencies.d.ts +0 -2
- package/src/generators/ng-add/utilities/dependencies.js +0 -30
- package/src/generators/ng-add/utilities/dependencies.js.map +0 -1
- package/src/generators/ng-add/utilities/format-files-task.d.ts +0 -2
- package/src/generators/ng-add/utilities/format-files-task.js +0 -17
- package/src/generators/ng-add/utilities/format-files-task.js.map +0 -1
- package/src/generators/ng-add/utilities/index.d.ts +0 -8
- package/src/generators/ng-add/utilities/index.js +0 -12
- package/src/generators/ng-add/utilities/index.js.map +0 -1
- package/src/generators/ng-add/utilities/logger.d.ts +0 -8
- package/src/generators/ng-add/utilities/logger.js +0 -21
- package/src/generators/ng-add/utilities/logger.js.map +0 -1
- package/src/generators/ng-add/utilities/normalize-options.d.ts +0 -4
- package/src/generators/ng-add/utilities/normalize-options.js +0 -30
- package/src/generators/ng-add/utilities/normalize-options.js.map +0 -1
- package/src/generators/ng-add/utilities/projects.d.ts +0 -4
- package/src/generators/ng-add/utilities/projects.js +0 -36
- package/src/generators/ng-add/utilities/projects.js.map +0 -1
- package/src/generators/ng-add/utilities/types.d.ts +0 -31
- package/src/generators/ng-add/utilities/types.js +0 -3
- package/src/generators/ng-add/utilities/types.js.map +0 -1
- package/src/generators/ng-add/utilities/validation-logging.d.ts +0 -3
- package/src/generators/ng-add/utilities/validation-logging.js +0 -39
- package/src/generators/ng-add/utilities/validation-logging.js.map +0 -1
- package/src/generators/ng-add/utilities/workspace.d.ts +0 -17
- package/src/generators/ng-add/utilities/workspace.js +0 -305
- package/src/generators/ng-add/utilities/workspace.js.map +0 -1
- package/src/generators/ngrx/compat.d.ts +0 -2
- package/src/generators/ngrx/compat.js +0 -7
- package/src/generators/ngrx/compat.js.map +0 -1
- package/src/generators/ngrx/files/base/__directory__/__fileName__.actions.ts__tmpl__ +0 -16
- package/src/generators/ngrx/files/base/__directory__/__fileName__.effects.spec.ts__tmpl__ +0 -37
- package/src/generators/ngrx/files/base/__directory__/__fileName__.effects.ts__tmpl__ +0 -22
- package/src/generators/ngrx/files/base/__directory__/__fileName__.facade.spec.ts__tmpl__ +0 -99
- package/src/generators/ngrx/files/base/__directory__/__fileName__.facade.ts__tmpl__ +0 -27
- package/src/generators/ngrx/files/base/__directory__/__fileName__.models.ts__tmpl__ +0 -7
- package/src/generators/ngrx/files/base/__directory__/__fileName__.reducer.spec.ts__tmpl__ +0 -37
- package/src/generators/ngrx/files/base/__directory__/__fileName__.reducer.ts__tmpl__ +0 -41
- package/src/generators/ngrx/files/base/__directory__/__fileName__.selectors.spec.ts__tmpl__ +0 -58
- package/src/generators/ngrx/files/base/__directory__/__fileName__.selectors.ts__tmpl__ +0 -38
- package/src/generators/ngrx/files/no-inject/__directory__/__fileName__.effects.ts__tmpl__ +0 -22
- package/src/generators/ngrx/files/no-inject/__directory__/__fileName__.facade.ts__tmpl__ +0 -27
- package/src/generators/ngrx/lib/add-exports-barrel.d.ts +0 -6
- package/src/generators/ngrx/lib/add-exports-barrel.js +0 -46
- package/src/generators/ngrx/lib/add-exports-barrel.js.map +0 -1
- package/src/generators/ngrx/lib/add-imports-to-module.d.ts +0 -3
- package/src/generators/ngrx/lib/add-imports-to-module.js +0 -168
- package/src/generators/ngrx/lib/add-imports-to-module.js.map +0 -1
- package/src/generators/ngrx/lib/add-ngrx-to-package-json.d.ts +0 -3
- package/src/generators/ngrx/lib/add-ngrx-to-package-json.js +0 -25
- package/src/generators/ngrx/lib/add-ngrx-to-package-json.js.map +0 -1
- package/src/generators/ngrx/lib/generate-files.d.ts +0 -6
- package/src/generators/ngrx/lib/generate-files.js +0 -24
- package/src/generators/ngrx/lib/generate-files.js.map +0 -1
- package/src/generators/ngrx/lib/index.d.ts +0 -6
- package/src/generators/ngrx/lib/index.js +0 -16
- package/src/generators/ngrx/lib/index.js.map +0 -1
- package/src/generators/ngrx/lib/normalize-options.d.ts +0 -7
- package/src/generators/ngrx/lib/normalize-options.js +0 -24
- package/src/generators/ngrx/lib/normalize-options.js.map +0 -1
- package/src/generators/ngrx/lib/validate-options.d.ts +0 -3
- package/src/generators/ngrx/lib/validate-options.js +0 -39
- package/src/generators/ngrx/lib/validate-options.js.map +0 -1
- package/src/generators/ngrx/ngrx.d.ts +0 -4
- package/src/generators/ngrx/ngrx.js +0 -30
- package/src/generators/ngrx/ngrx.js.map +0 -1
- package/src/generators/ngrx/schema.d.ts +0 -14
- package/src/generators/ngrx/schema.json +0 -93
- package/src/generators/pipe/files/__pipeFileName__/__pipeFileName__.pipe.spec.ts__tpl__ +0 -8
- package/src/generators/pipe/files/__pipeFileName__/__pipeFileName__.pipe.ts__tpl__ +0 -13
- package/src/generators/pipe/pipe.d.ts +0 -4
- package/src/generators/pipe/pipe.js +0 -45
- package/src/generators/pipe/pipe.js.map +0 -1
- package/src/generators/pipe/schema.d.ts +0 -12
- package/src/generators/pipe/schema.json +0 -73
- package/src/generators/remote/files/src/main.server.ts__tmpl__ +0 -74
- package/src/generators/remote/files/webpack.server.config.js__tmpl__ +0 -3
- package/src/generators/remote/lib/add-ssr.d.ts +0 -5
- package/src/generators/remote/lib/add-ssr.js +0 -48
- package/src/generators/remote/lib/add-ssr.js.map +0 -1
- package/src/generators/remote/lib/find-next-available-port.d.ts +0 -2
- package/src/generators/remote/lib/find-next-available-port.js +0 -19
- package/src/generators/remote/lib/find-next-available-port.js.map +0 -1
- package/src/generators/remote/lib/index.d.ts +0 -2
- package/src/generators/remote/lib/index.js +0 -6
- package/src/generators/remote/lib/index.js.map +0 -1
- package/src/generators/remote/remote.compat.d.ts +0 -2
- package/src/generators/remote/remote.compat.js +0 -7
- package/src/generators/remote/remote.compat.js.map +0 -1
- package/src/generators/remote/remote.d.ts +0 -4
- package/src/generators/remote/remote.js +0 -54
- package/src/generators/remote/remote.js.map +0 -1
- package/src/generators/remote/schema.d.ts +0 -29
- package/src/generators/remote/schema.json +0 -167
- package/src/generators/scam/lib/convert-component-to-scam.d.ts +0 -4
- package/src/generators/scam/lib/convert-component-to-scam.js +0 -48
- package/src/generators/scam/lib/convert-component-to-scam.js.map +0 -1
- package/src/generators/scam/lib/index.d.ts +0 -2
- package/src/generators/scam/lib/index.js +0 -6
- package/src/generators/scam/lib/index.js.map +0 -1
- package/src/generators/scam/lib/normalize-options.d.ts +0 -3
- package/src/generators/scam/lib/normalize-options.js +0 -14
- package/src/generators/scam/lib/normalize-options.js.map +0 -1
- package/src/generators/scam/scam.compat.d.ts +0 -2
- package/src/generators/scam/scam.compat.js +0 -7
- package/src/generators/scam/scam.compat.js.map +0 -1
- package/src/generators/scam/scam.d.ts +0 -4
- package/src/generators/scam/scam.js +0 -39
- package/src/generators/scam/scam.js.map +0 -1
- package/src/generators/scam/schema.d.ts +0 -26
- package/src/generators/scam/schema.json +0 -129
- package/src/generators/scam-directive/lib/convert-directive-to-scam.d.ts +0 -4
- package/src/generators/scam-directive/lib/convert-directive-to-scam.js +0 -47
- package/src/generators/scam-directive/lib/convert-directive-to-scam.js.map +0 -1
- package/src/generators/scam-directive/lib/index.d.ts +0 -2
- package/src/generators/scam-directive/lib/index.js +0 -6
- package/src/generators/scam-directive/lib/index.js.map +0 -1
- package/src/generators/scam-directive/lib/normalize-options.d.ts +0 -3
- package/src/generators/scam-directive/lib/normalize-options.js +0 -14
- package/src/generators/scam-directive/lib/normalize-options.js.map +0 -1
- package/src/generators/scam-directive/scam-directive.compat.d.ts +0 -2
- package/src/generators/scam-directive/scam-directive.compat.js +0 -7
- package/src/generators/scam-directive/scam-directive.compat.js.map +0 -1
- package/src/generators/scam-directive/scam-directive.d.ts +0 -4
- package/src/generators/scam-directive/scam-directive.js +0 -38
- package/src/generators/scam-directive/scam-directive.js.map +0 -1
- package/src/generators/scam-directive/schema.d.ts +0 -19
- package/src/generators/scam-directive/schema.json +0 -83
- package/src/generators/scam-pipe/lib/convert-pipe-to-scam.d.ts +0 -4
- package/src/generators/scam-pipe/lib/convert-pipe-to-scam.js +0 -47
- package/src/generators/scam-pipe/lib/convert-pipe-to-scam.js.map +0 -1
- package/src/generators/scam-pipe/lib/index.d.ts +0 -2
- package/src/generators/scam-pipe/lib/index.js +0 -6
- package/src/generators/scam-pipe/lib/index.js.map +0 -1
- package/src/generators/scam-pipe/lib/normalize-options.d.ts +0 -3
- package/src/generators/scam-pipe/lib/normalize-options.js +0 -14
- package/src/generators/scam-pipe/lib/normalize-options.js.map +0 -1
- package/src/generators/scam-pipe/scam-pipe.compat.d.ts +0 -2
- package/src/generators/scam-pipe/scam-pipe.compat.js +0 -7
- package/src/generators/scam-pipe/scam-pipe.compat.js.map +0 -1
- package/src/generators/scam-pipe/scam-pipe.d.ts +0 -4
- package/src/generators/scam-pipe/scam-pipe.js +0 -36
- package/src/generators/scam-pipe/scam-pipe.js.map +0 -1
- package/src/generators/scam-pipe/schema.d.ts +0 -17
- package/src/generators/scam-pipe/schema.json +0 -64
- package/src/generators/scam-to-standalone/compat.d.ts +0 -2
- package/src/generators/scam-to-standalone/compat.js +0 -7
- package/src/generators/scam-to-standalone/compat.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/convert-scam-to-standalone.d.ts +0 -3
- package/src/generators/scam-to-standalone/lib/convert-scam-to-standalone.js +0 -34
- package/src/generators/scam-to-standalone/lib/convert-scam-to-standalone.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/get-component-data-from-ast.d.ts +0 -6
- package/src/generators/scam-to-standalone/lib/get-component-data-from-ast.js +0 -19
- package/src/generators/scam-to-standalone/lib/get-component-data-from-ast.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/get-module-metadata-from-ast.d.ts +0 -9
- package/src/generators/scam-to-standalone/lib/get-module-metadata-from-ast.js +0 -65
- package/src/generators/scam-to-standalone/lib/get-module-metadata-from-ast.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/get-target-project.d.ts +0 -2
- package/src/generators/scam-to-standalone/lib/get-target-project.js +0 -15
- package/src/generators/scam-to-standalone/lib/get-target-project.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/index.d.ts +0 -8
- package/src/generators/scam-to-standalone/lib/index.js +0 -12
- package/src/generators/scam-to-standalone/lib/index.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/replace-module-usages-with-component.d.ts +0 -2
- package/src/generators/scam-to-standalone/lib/replace-module-usages-with-component.js +0 -20
- package/src/generators/scam-to-standalone/lib/replace-module-usages-with-component.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/selector-exists-in-ast.d.ts +0 -2
- package/src/generators/scam-to-standalone/lib/selector-exists-in-ast.js +0 -9
- package/src/generators/scam-to-standalone/lib/selector-exists-in-ast.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/verify-is-inline-scam.d.ts +0 -2
- package/src/generators/scam-to-standalone/lib/verify-is-inline-scam.js +0 -12
- package/src/generators/scam-to-standalone/lib/verify-is-inline-scam.js.map +0 -1
- package/src/generators/scam-to-standalone/lib/verify-module-is-scam.d.ts +0 -1
- package/src/generators/scam-to-standalone/lib/verify-module-is-scam.js +0 -13
- package/src/generators/scam-to-standalone/lib/verify-module-is-scam.js.map +0 -1
- package/src/generators/scam-to-standalone/scam-to-standalone.d.ts +0 -4
- package/src/generators/scam-to-standalone/scam-to-standalone.js +0 -38
- package/src/generators/scam-to-standalone/scam-to-standalone.js.map +0 -1
- package/src/generators/scam-to-standalone/schema.d.ts +0 -5
- package/src/generators/scam-to-standalone/schema.json +0 -32
- package/src/generators/setup-mf/files/entry-module-files/entry.component.ts__tmpl__ +0 -9
- package/src/generators/setup-mf/files/entry-module-files/entry.module.ts__tmpl__ +0 -18
- package/src/generators/setup-mf/files/entry-module-files/entry.routes.ts__tmpl__ +0 -4
- package/src/generators/setup-mf/files/host-files/app.component.spec.ts__tmpl__ +0 -40
- package/src/generators/setup-mf/files/standalone-entry-component-files/entry.component.ts__tmpl__ +0 -13
- package/src/generators/setup-mf/files/standalone-entry-component-files/entry.routes.ts__tmpl__ +0 -4
- package/src/generators/setup-mf/files/webpack/module-federation.config.js__tmpl__ +0 -8
- package/src/generators/setup-mf/files/webpack/webpack.config.js__tmpl__ +0 -3
- package/src/generators/setup-mf/files/webpack/webpack.prod.config.js__tmpl__ +0 -15
- package/src/generators/setup-mf/lib/add-cypress-workaround.d.ts +0 -3
- package/src/generators/setup-mf/lib/add-cypress-workaround.js +0 -42
- package/src/generators/setup-mf/lib/add-cypress-workaround.js.map +0 -1
- package/src/generators/setup-mf/lib/add-remote-entry.d.ts +0 -3
- package/src/generators/setup-mf/lib/add-remote-entry.js +0 -35
- package/src/generators/setup-mf/lib/add-remote-entry.js.map +0 -1
- package/src/generators/setup-mf/lib/add-remote-to-host.d.ts +0 -4
- package/src/generators/setup-mf/lib/add-remote-to-host.js +0 -96
- package/src/generators/setup-mf/lib/add-remote-to-host.js.map +0 -1
- package/src/generators/setup-mf/lib/change-build-target.d.ts +0 -3
- package/src/generators/setup-mf/lib/change-build-target.js +0 -17
- package/src/generators/setup-mf/lib/change-build-target.js.map +0 -1
- package/src/generators/setup-mf/lib/fix-bootstrap.d.ts +0 -3
- package/src/generators/setup-mf/lib/fix-bootstrap.js +0 -48
- package/src/generators/setup-mf/lib/fix-bootstrap.js.map +0 -1
- package/src/generators/setup-mf/lib/generate-config.d.ts +0 -6
- package/src/generators/setup-mf/lib/generate-config.js +0 -22
- package/src/generators/setup-mf/lib/generate-config.js.map +0 -1
- package/src/generators/setup-mf/lib/get-remotes-with-ports.d.ts +0 -6
- package/src/generators/setup-mf/lib/get-remotes-with-ports.js +0 -23
- package/src/generators/setup-mf/lib/get-remotes-with-ports.js.map +0 -1
- package/src/generators/setup-mf/lib/index.d.ts +0 -12
- package/src/generators/setup-mf/lib/index.js +0 -16
- package/src/generators/setup-mf/lib/index.js.map +0 -1
- package/src/generators/setup-mf/lib/remove-dead-code-from-remote.d.ts +0 -3
- package/src/generators/setup-mf/lib/remove-dead-code-from-remote.js +0 -61
- package/src/generators/setup-mf/lib/remove-dead-code-from-remote.js.map +0 -1
- package/src/generators/setup-mf/lib/set-tsconfig-target.d.ts +0 -3
- package/src/generators/setup-mf/lib/set-tsconfig-target.js +0 -11
- package/src/generators/setup-mf/lib/set-tsconfig-target.js.map +0 -1
- package/src/generators/setup-mf/lib/setup-host-if-dynamic.d.ts +0 -3
- package/src/generators/setup-mf/lib/setup-host-if-dynamic.js +0 -15
- package/src/generators/setup-mf/lib/setup-host-if-dynamic.js.map +0 -1
- package/src/generators/setup-mf/lib/setup-serve-target.d.ts +0 -3
- package/src/generators/setup-mf/lib/setup-serve-target.js +0 -32
- package/src/generators/setup-mf/lib/setup-serve-target.js.map +0 -1
- package/src/generators/setup-mf/lib/update-host-app-routes.d.ts +0 -3
- package/src/generators/setup-mf/lib/update-host-app-routes.js +0 -37
- package/src/generators/setup-mf/lib/update-host-app-routes.js.map +0 -1
- package/src/generators/setup-mf/schema.d.ts +0 -15
- package/src/generators/setup-mf/schema.json +0 -81
- package/src/generators/setup-mf/setup-mf.compat.d.ts +0 -2
- package/src/generators/setup-mf/setup-mf.compat.js +0 -7
- package/src/generators/setup-mf/setup-mf.compat.js.map +0 -1
- package/src/generators/setup-mf/setup-mf.d.ts +0 -4
- package/src/generators/setup-mf/setup-mf.js +0 -48
- package/src/generators/setup-mf/setup-mf.js.map +0 -1
- package/src/generators/setup-ssr/files/__serverFileName__ +0 -60
- package/src/generators/setup-ssr/files/src/__main__ +0 -11
- package/src/generators/setup-ssr/files/src/app/__rootModuleFileName__ +0 -14
- package/src/generators/setup-ssr/files/src/main.ts__tpl__ +0 -16
- package/src/generators/setup-ssr/files/tsconfig.server.json__tpl__ +0 -15
- package/src/generators/setup-ssr/lib/generate-files.d.ts +0 -3
- package/src/generators/setup-ssr/lib/generate-files.js +0 -11
- package/src/generators/setup-ssr/lib/generate-files.js.map +0 -1
- package/src/generators/setup-ssr/lib/index.d.ts +0 -4
- package/src/generators/setup-ssr/lib/index.js +0 -8
- package/src/generators/setup-ssr/lib/index.js.map +0 -1
- package/src/generators/setup-ssr/lib/normalize-options.d.ts +0 -12
- package/src/generators/setup-ssr/lib/normalize-options.js +0 -19
- package/src/generators/setup-ssr/lib/normalize-options.js.map +0 -1
- package/src/generators/setup-ssr/lib/update-app-module.d.ts +0 -3
- package/src/generators/setup-ssr/lib/update-app-module.js +0 -23
- package/src/generators/setup-ssr/lib/update-app-module.js.map +0 -1
- package/src/generators/setup-ssr/lib/update-project-config.d.ts +0 -3
- package/src/generators/setup-ssr/lib/update-project-config.js +0 -73
- package/src/generators/setup-ssr/lib/update-project-config.js.map +0 -1
- package/src/generators/setup-ssr/schema.d.ts +0 -10
- package/src/generators/setup-ssr/schema.json +0 -60
- package/src/generators/setup-ssr/setup-ssr.compat.d.ts +0 -2
- package/src/generators/setup-ssr/setup-ssr.compat.js +0 -7
- package/src/generators/setup-ssr/setup-ssr.compat.js.map +0 -1
- package/src/generators/setup-ssr/setup-ssr.d.ts +0 -4
- package/src/generators/setup-ssr/setup-ssr.js +0 -31
- package/src/generators/setup-ssr/setup-ssr.js.map +0 -1
- package/src/generators/setup-tailwind/files/v2/tailwind.config.js__tmpl__ +0 -18
- package/src/generators/setup-tailwind/files/v3/tailwind.config.js__tmpl__ +0 -14
- package/src/generators/setup-tailwind/lib/add-tailwind-config-path-to-project.d.ts +0 -3
- package/src/generators/setup-tailwind/lib/add-tailwind-config-path-to-project.js +0 -32
- package/src/generators/setup-tailwind/lib/add-tailwind-config-path-to-project.js.map +0 -1
- package/src/generators/setup-tailwind/lib/add-tailwind-config.d.ts +0 -3
- package/src/generators/setup-tailwind/lib/add-tailwind-config.js +0 -18
- package/src/generators/setup-tailwind/lib/add-tailwind-config.js.map +0 -1
- package/src/generators/setup-tailwind/lib/add-tailwind-required-packages.d.ts +0 -2
- package/src/generators/setup-tailwind/lib/add-tailwind-required-packages.js +0 -15
- package/src/generators/setup-tailwind/lib/add-tailwind-required-packages.js.map +0 -1
- package/src/generators/setup-tailwind/lib/detect-tailwind-installed-version.d.ts +0 -2
- package/src/generators/setup-tailwind/lib/detect-tailwind-installed-version.js +0 -21
- package/src/generators/setup-tailwind/lib/detect-tailwind-installed-version.js.map +0 -1
- package/src/generators/setup-tailwind/lib/index.d.ts +0 -6
- package/src/generators/setup-tailwind/lib/index.js +0 -10
- package/src/generators/setup-tailwind/lib/index.js.map +0 -1
- package/src/generators/setup-tailwind/lib/normalize-options.d.ts +0 -2
- package/src/generators/setup-tailwind/lib/normalize-options.js +0 -8
- package/src/generators/setup-tailwind/lib/normalize-options.js.map +0 -1
- package/src/generators/setup-tailwind/lib/update-application-styles.d.ts +0 -3
- package/src/generators/setup-tailwind/lib/update-application-styles.js +0 -54
- package/src/generators/setup-tailwind/lib/update-application-styles.js.map +0 -1
- package/src/generators/setup-tailwind/schema.d.ts +0 -11
- package/src/generators/setup-tailwind/schema.json +0 -42
- package/src/generators/setup-tailwind/setup-tailwind.compat.d.ts +0 -2
- package/src/generators/setup-tailwind/setup-tailwind.compat.js +0 -7
- package/src/generators/setup-tailwind/setup-tailwind.compat.js.map +0 -1
- package/src/generators/setup-tailwind/setup-tailwind.d.ts +0 -4
- package/src/generators/setup-tailwind/setup-tailwind.js +0 -33
- package/src/generators/setup-tailwind/setup-tailwind.js.map +0 -1
- package/src/generators/stories/compat.d.ts +0 -2
- package/src/generators/stories/compat.js +0 -7
- package/src/generators/stories/compat.js.map +0 -1
- package/src/generators/stories/lib/get-e2e-project.d.ts +0 -2
- package/src/generators/stories/lib/get-e2e-project.js +0 -16
- package/src/generators/stories/lib/get-e2e-project.js.map +0 -1
- package/src/generators/stories/schema.d.ts +0 -7
- package/src/generators/stories/schema.json +0 -56
- package/src/generators/stories/stories.d.ts +0 -4
- package/src/generators/stories/stories.js +0 -65
- package/src/generators/stories/stories.js.map +0 -1
- package/src/generators/storybook-configuration/compat.d.ts +0 -2
- package/src/generators/storybook-configuration/compat.js +0 -7
- package/src/generators/storybook-configuration/compat.js.map +0 -1
- package/src/generators/storybook-configuration/lib/assert-compatible-storybook-version.d.ts +0 -1
- package/src/generators/storybook-configuration/lib/assert-compatible-storybook-version.js +0 -16
- package/src/generators/storybook-configuration/lib/assert-compatible-storybook-version.js.map +0 -1
- package/src/generators/storybook-configuration/lib/generate-stories.d.ts +0 -3
- package/src/generators/storybook-configuration/lib/generate-stories.js +0 -22
- package/src/generators/storybook-configuration/lib/generate-stories.js.map +0 -1
- package/src/generators/storybook-configuration/lib/generate-storybook-configuration.d.ts +0 -3
- package/src/generators/storybook-configuration/lib/generate-storybook-configuration.js +0 -25
- package/src/generators/storybook-configuration/lib/generate-storybook-configuration.js.map +0 -1
- package/src/generators/storybook-configuration/lib/validate-options.d.ts +0 -2
- package/src/generators/storybook-configuration/lib/validate-options.js +0 -10
- package/src/generators/storybook-configuration/lib/validate-options.js.map +0 -1
- package/src/generators/storybook-configuration/schema.d.ts +0 -16
- package/src/generators/storybook-configuration/schema.json +0 -101
- package/src/generators/storybook-configuration/storybook-configuration.d.ts +0 -4
- package/src/generators/storybook-configuration/storybook-configuration.js +0 -28
- package/src/generators/storybook-configuration/storybook-configuration.js.map +0 -1
- package/src/generators/utils/create-ts-config.d.ts +0 -8
- package/src/generators/utils/create-ts-config.js +0 -36
- package/src/generators/utils/create-ts-config.js.map +0 -1
- package/src/generators/utils/dependencies.d.ts +0 -2
- package/src/generators/utils/dependencies.js +0 -16
- package/src/generators/utils/dependencies.js.map +0 -1
- package/src/generators/utils/entry-point.d.ts +0 -2
- package/src/generators/utils/entry-point.js +0 -22
- package/src/generators/utils/entry-point.js.map +0 -1
- package/src/generators/utils/export-scam.d.ts +0 -9
- package/src/generators/utils/export-scam.js +0 -38
- package/src/generators/utils/export-scam.js.map +0 -1
- package/src/generators/utils/file-info.d.ts +0 -16
- package/src/generators/utils/file-info.js +0 -30
- package/src/generators/utils/file-info.js.map +0 -1
- package/src/generators/utils/find-module.d.ts +0 -4
- package/src/generators/utils/find-module.js +0 -62
- package/src/generators/utils/find-module.js.map +0 -1
- package/src/generators/utils/get-new-project-name.d.ts +0 -6
- package/src/generators/utils/get-new-project-name.js +0 -13
- package/src/generators/utils/get-new-project-name.js.map +0 -1
- package/src/generators/utils/index.d.ts +0 -2
- package/src/generators/utils/index.js +0 -6
- package/src/generators/utils/index.js.map +0 -1
- package/src/generators/utils/insert-ngmodule-import.d.ts +0 -4
- package/src/generators/utils/insert-ngmodule-import.js +0 -164
- package/src/generators/utils/insert-ngmodule-import.js.map +0 -1
- package/src/generators/utils/path.d.ts +0 -4
- package/src/generators/utils/path.js +0 -32
- package/src/generators/utils/path.js.map +0 -1
- package/src/generators/utils/project.d.ts +0 -3
- package/src/generators/utils/project.js +0 -37
- package/src/generators/utils/project.js.map +0 -1
- package/src/generators/utils/storybook-ast/component-info.d.ts +0 -11
- package/src/generators/utils/storybook-ast/component-info.js +0 -167
- package/src/generators/utils/storybook-ast/component-info.js.map +0 -1
- package/src/generators/utils/storybook-ast/entry-point.d.ts +0 -7
- package/src/generators/utils/storybook-ast/entry-point.js +0 -65
- package/src/generators/utils/storybook-ast/entry-point.js.map +0 -1
- package/src/generators/utils/storybook-ast/module-info.d.ts +0 -5
- package/src/generators/utils/storybook-ast/module-info.js +0 -222
- package/src/generators/utils/storybook-ast/module-info.js.map +0 -1
- package/src/generators/utils/storybook-ast/storybook-inputs.d.ts +0 -12
- package/src/generators/utils/storybook-ast/storybook-inputs.js +0 -80
- package/src/generators/utils/storybook-ast/storybook-inputs.js.map +0 -1
- package/src/generators/utils/storybook-ast/tree-utilities.d.ts +0 -2
- package/src/generators/utils/storybook-ast/tree-utilities.js +0 -32
- package/src/generators/utils/storybook-ast/tree-utilities.js.map +0 -1
- package/src/generators/utils/testing.d.ts +0 -10
- package/src/generators/utils/testing.js +0 -232
- package/src/generators/utils/testing.js.map +0 -1
- package/src/generators/utils/types.d.ts +0 -1
- package/src/generators/utils/types.js +0 -3
- package/src/generators/utils/types.js.map +0 -1
- package/src/generators/utils/version-utils.d.ts +0 -16
- package/src/generators/utils/version-utils.js +0 -76
- package/src/generators/utils/version-utils.js.map +0 -1
- package/src/generators/utils/warn-for-schematic-usage.d.ts +0 -1
- package/src/generators/utils/warn-for-schematic-usage.js +0 -9
- package/src/generators/utils/warn-for-schematic-usage.js.map +0 -1
- package/src/generators/web-worker/compat.d.ts +0 -2
- package/src/generators/web-worker/compat.js +0 -7
- package/src/generators/web-worker/compat.js.map +0 -1
- package/src/generators/web-worker/files/config/tsconfig.worker.json__tpl__ +0 -14
- package/src/generators/web-worker/files/worker/__name__.worker.ts__tpl__ +0 -6
- package/src/generators/web-worker/lib/add-snippet.d.ts +0 -2
- package/src/generators/web-worker/lib/add-snippet.js +0 -34
- package/src/generators/web-worker/lib/add-snippet.js.map +0 -1
- package/src/generators/web-worker/lib/index.d.ts +0 -2
- package/src/generators/web-worker/lib/index.js +0 -6
- package/src/generators/web-worker/lib/index.js.map +0 -1
- package/src/generators/web-worker/lib/normalize-options.d.ts +0 -3
- package/src/generators/web-worker/lib/normalize-options.js +0 -23
- package/src/generators/web-worker/lib/normalize-options.js.map +0 -1
- package/src/generators/web-worker/schema.d.ts +0 -7
- package/src/generators/web-worker/schema.json +0 -48
- package/src/generators/web-worker/web-worker.d.ts +0 -4
- package/src/generators/web-worker/web-worker.js +0 -38
- package/src/generators/web-worker/web-worker.js.map +0 -1
- package/src/migrations/update-14-2-0/remove-show-circular-dependencies-option.d.ts +0 -2
- package/src/migrations/update-14-2-0/remove-show-circular-dependencies-option.js +0 -27
- package/src/migrations/update-14-2-0/remove-show-circular-dependencies-option.js.map +0 -1
- package/src/migrations/update-14-2-0/update-angular-cli.d.ts +0 -2
- package/src/migrations/update-14-2-0/update-angular-cli.js +0 -27
- package/src/migrations/update-14-2-0/update-angular-cli.js.map +0 -1
- package/src/migrations/update-14-2-0/update-libraries-secondary-entrypoints.d.ts +0 -2
- package/src/migrations/update-14-2-0/update-libraries-secondary-entrypoints.js +0 -39
- package/src/migrations/update-14-2-0/update-libraries-secondary-entrypoints.js.map +0 -1
- package/src/migrations/update-14-2-0/update-ngcc-target.d.ts +0 -2
- package/src/migrations/update-14-2-0/update-ngcc-target.js +0 -22
- package/src/migrations/update-14-2-0/update-ngcc-target.js.map +0 -1
- package/src/migrations/update-14-2-0/update-router-initial-navigation.d.ts +0 -2
- package/src/migrations/update-14-2-0/update-router-initial-navigation.js +0 -79
- package/src/migrations/update-14-2-0/update-router-initial-navigation.js.map +0 -1
- package/src/migrations/update-14-2-0/update-tsconfig-target.d.ts +0 -2
- package/src/migrations/update-14-2-0/update-tsconfig-target.js +0 -164
- package/src/migrations/update-14-2-0/update-tsconfig-target.js.map +0 -1
- package/src/migrations/update-14-5-0/migrate-mfe-to-mf.d.ts +0 -5
- package/src/migrations/update-14-5-0/migrate-mfe-to-mf.js +0 -95
- package/src/migrations/update-14-5-0/migrate-mfe-to-mf.js.map +0 -1
- package/src/migrations/update-14-5-2/update-angular-cli.d.ts +0 -2
- package/src/migrations/update-14-5-2/update-angular-cli.js +0 -27
- package/src/migrations/update-14-5-2/update-angular-cli.js.map +0 -1
- package/src/migrations/update-14-6-0/update-angular-cli.d.ts +0 -2
- package/src/migrations/update-14-6-0/update-angular-cli.js +0 -27
- package/src/migrations/update-14-6-0/update-angular-cli.js.map +0 -1
- package/src/migrations/update-14-8-0/rename-webpack-server.d.ts +0 -2
- package/src/migrations/update-14-8-0/rename-webpack-server.js +0 -22
- package/src/migrations/update-14-8-0/rename-webpack-server.js.map +0 -1
- package/src/migrations/update-15-0-0/add-karma-inputs.d.ts +0 -2
- package/src/migrations/update-15-0-0/add-karma-inputs.js +0 -47
- package/src/migrations/update-15-0-0/add-karma-inputs.js.map +0 -1
- package/src/migrations/update-15-0-0/switch-to-jasmine-marbles.d.ts +0 -2
- package/src/migrations/update-15-0-0/switch-to-jasmine-marbles.js +0 -94
- package/src/migrations/update-15-0-0/switch-to-jasmine-marbles.js.map +0 -1
- package/src/migrations/update-15-2-0/remove-browserlist-config.d.ts +0 -3
- package/src/migrations/update-15-2-0/remove-browserlist-config.js +0 -62
- package/src/migrations/update-15-2-0/remove-browserlist-config.js.map +0 -1
- package/src/migrations/update-15-2-0/remove-platform-server-exports.d.ts +0 -2
- package/src/migrations/update-15-2-0/remove-platform-server-exports.js +0 -65
- package/src/migrations/update-15-2-0/remove-platform-server-exports.js.map +0 -1
- package/src/migrations/update-15-2-0/update-angular-cli.d.ts +0 -2
- package/src/migrations/update-15-2-0/update-angular-cli.js +0 -27
- package/src/migrations/update-15-2-0/update-angular-cli.js.map +0 -1
- package/src/migrations/update-15-2-0/update-karma-main-file.d.ts +0 -2
- package/src/migrations/update-15-2-0/update-karma-main-file.js +0 -73
- package/src/migrations/update-15-2-0/update-karma-main-file.js.map +0 -1
- package/src/migrations/update-15-2-0/update-typescript-target.d.ts +0 -2
- package/src/migrations/update-15-2-0/update-typescript-target.js +0 -52
- package/src/migrations/update-15-2-0/update-typescript-target.js.map +0 -1
- package/src/migrations/update-15-2-0/update-workspace-config.d.ts +0 -2
- package/src/migrations/update-15-2-0/update-workspace-config.js +0 -28
- package/src/migrations/update-15-2-0/update-workspace-config.js.map +0 -1
- package/src/migrations/update-15-5-0/update-angular-cli.d.ts +0 -2
- package/src/migrations/update-15-5-0/update-angular-cli.js +0 -27
- package/src/migrations/update-15-5-0/update-angular-cli.js.map +0 -1
- package/src/migrations/update-15-7-0/install-required-packages.d.ts +0 -2
- package/src/migrations/update-15-7-0/install-required-packages.js +0 -39
- package/src/migrations/update-15-7-0/install-required-packages.js.map +0 -1
- package/src/migrations/update-15-8-0/update-angular-cli.d.ts +0 -2
- package/src/migrations/update-15-8-0/update-angular-cli.js +0 -27
- package/src/migrations/update-15-8-0/update-angular-cli.js.map +0 -1
- package/src/migrations/update-15-9-0/update-file-server-executor.d.ts +0 -2
- package/src/migrations/update-15-9-0/update-file-server-executor.js +0 -47
- package/src/migrations/update-15-9-0/update-file-server-executor.js.map +0 -1
- package/src/migrations/update-15-9-0/update-testing-tsconfig.d.ts +0 -3
- package/src/migrations/update-15-9-0/update-testing-tsconfig.js +0 -39
- package/src/migrations/update-15-9-0/update-testing-tsconfig.js.map +0 -1
- package/src/runtime/nx/data-persistence.d.ts +0 -271
- package/src/runtime/nx/data-persistence.js +0 -351
- package/src/runtime/nx/data-persistence.js.map +0 -1
- package/src/utils/backward-compatible-versions.d.ts +0 -6
- package/src/utils/backward-compatible-versions.js +0 -33
- package/src/utils/backward-compatible-versions.js.map +0 -1
- package/src/utils/cli-config-utils.d.ts +0 -1
- package/src/utils/cli-config-utils.js +0 -46
- package/src/utils/cli-config-utils.js.map +0 -1
- package/src/utils/file-change-recorder.d.ts +0 -16
- package/src/utils/file-change-recorder.js +0 -37
- package/src/utils/file-change-recorder.js.map +0 -1
- package/src/utils/get-mf-projects.d.ts +0 -4
- package/src/utils/get-mf-projects.js +0 -33
- package/src/utils/get-mf-projects.js.map +0 -1
- package/src/utils/mf/utils.d.ts +0 -13
- package/src/utils/mf/utils.js +0 -64
- package/src/utils/mf/utils.js.map +0 -1
- package/src/utils/mf/with-module-federation-ssr.d.ts +0 -2
- package/src/utils/mf/with-module-federation-ssr.js +0 -45
- package/src/utils/mf/with-module-federation-ssr.js.map +0 -1
- package/src/utils/mf/with-module-federation.d.ts +0 -2
- package/src/utils/mf/with-module-federation.js +0 -43
- package/src/utils/mf/with-module-federation.js.map +0 -1
- package/src/utils/nx-devkit/ast-utils.d.ts +0 -32
- package/src/utils/nx-devkit/ast-utils.js +0 -503
- package/src/utils/nx-devkit/ast-utils.js.map +0 -1
- package/src/utils/nx-devkit/route-utils.d.ts +0 -3
- package/src/utils/nx-devkit/route-utils.js +0 -87
- package/src/utils/nx-devkit/route-utils.js.map +0 -1
- package/src/utils/nx-devkit/testing.d.ts +0 -14
- package/src/utils/nx-devkit/testing.js +0 -89
- package/src/utils/nx-devkit/testing.js.map +0 -1
- package/src/utils/test-runners.d.ts +0 -8
- package/src/utils/test-runners.js +0 -14
- package/src/utils/test-runners.js.map +0 -1
- package/src/utils/version-utils.d.ts +0 -3
- package/src/utils/version-utils.js +0 -22
- package/src/utils/version-utils.js.map +0 -1
- package/src/utils/versions.d.ts +0 -26
- package/src/utils/versions.js +0 -30
- package/src/utils/versions.js.map +0 -1
- package/testing/src/testing-utils.d.ts +0 -31
- package/testing/src/testing-utils.js +0 -41
- package/testing/src/testing-utils.js.map +0 -1
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
import type { Type } from '@angular/core';
|
|
2
|
-
import type { ActivatedRouteSnapshot } from '@angular/router';
|
|
3
|
-
import type { Action } from '@ngrx/store';
|
|
4
|
-
import type { Observable } from 'rxjs';
|
|
5
|
-
export interface PessimisticUpdateOpts<T extends Array<unknown>, A> {
|
|
6
|
-
run(a: A, ...slices: [...T]): Observable<Action> | Action | void;
|
|
7
|
-
onError(a: A, e: any): Observable<any> | any;
|
|
8
|
-
}
|
|
9
|
-
export interface OptimisticUpdateOpts<T extends Array<unknown>, A> {
|
|
10
|
-
run(a: A, ...slices: [...T]): Observable<Action> | Action | void;
|
|
11
|
-
undoAction(a: A, e: any): Observable<Action> | Action;
|
|
12
|
-
}
|
|
13
|
-
export interface FetchOpts<T extends Array<unknown>, A> {
|
|
14
|
-
id?(a: A, ...slices: [...T]): any;
|
|
15
|
-
run(a: A, ...slices: [...T]): Observable<Action> | Action | void;
|
|
16
|
-
onError?(a: A, e: any): Observable<any> | any;
|
|
17
|
-
}
|
|
18
|
-
export interface HandleNavigationOpts<T extends Array<unknown>> {
|
|
19
|
-
run(a: ActivatedRouteSnapshot, ...slices: [...T]): Observable<Action> | Action | void;
|
|
20
|
-
onError?(a: ActivatedRouteSnapshot, e: any): Observable<any> | any;
|
|
21
|
-
}
|
|
22
|
-
export type ActionOrActionWithStates<T extends Array<unknown>, A> = A | [A, ...T];
|
|
23
|
-
export type ActionOrActionWithState<T, A> = ActionOrActionWithStates<[T], A>;
|
|
24
|
-
export type ActionStatesStream<T extends Array<unknown>, A> = Observable<ActionOrActionWithStates<T, A>>;
|
|
25
|
-
export type ActionStateStream<T, A> = Observable<ActionOrActionWithStates<[T], A>>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @whatItDoes Handles pessimistic updates (updating the server first).
|
|
29
|
-
*
|
|
30
|
-
* Updating the server, when implemented naively, suffers from race conditions and poor error handling.
|
|
31
|
-
*
|
|
32
|
-
* `pessimisticUpdate` addresses these problems. It runs all fetches in order, which removes race conditions
|
|
33
|
-
* and forces the developer to handle errors.
|
|
34
|
-
*
|
|
35
|
-
* ## Example:
|
|
36
|
-
*
|
|
37
|
-
* ```typescript
|
|
38
|
-
* @Injectable()
|
|
39
|
-
* class TodoEffects {
|
|
40
|
-
* updateTodo$ = createEffect(() =>
|
|
41
|
-
* this.actions$.pipe(
|
|
42
|
-
* ofType('UPDATE_TODO'),
|
|
43
|
-
* pessimisticUpdate({
|
|
44
|
-
* // provides an action
|
|
45
|
-
* run: (action: UpdateTodo) => {
|
|
46
|
-
* // update the backend first, and then dispatch an action that will
|
|
47
|
-
* // update the client side
|
|
48
|
-
* return this.backend.updateTodo(action.todo.id, action.todo).pipe(
|
|
49
|
-
* map((updated) => ({
|
|
50
|
-
* type: 'UPDATE_TODO_SUCCESS',
|
|
51
|
-
* todo: updated,
|
|
52
|
-
* }))
|
|
53
|
-
* );
|
|
54
|
-
* },
|
|
55
|
-
* onError: (action: UpdateTodo, error: any) => {
|
|
56
|
-
* // we don't need to undo the changes on the client side.
|
|
57
|
-
* // we can dispatch an error, or simply log the error here and return `null`
|
|
58
|
-
* return null;
|
|
59
|
-
* },
|
|
60
|
-
* })
|
|
61
|
-
* )
|
|
62
|
-
* );
|
|
63
|
-
*
|
|
64
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
65
|
-
* }
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* Note that if you don't return a new action from the run callback, you must set the dispatch property
|
|
69
|
-
* of the effect to false, like this:
|
|
70
|
-
*
|
|
71
|
-
* ```typescript
|
|
72
|
-
* class TodoEffects {
|
|
73
|
-
* updateTodo$ = createEffect(() =>
|
|
74
|
-
* this.actions$.pipe(
|
|
75
|
-
* //...
|
|
76
|
-
* ), { dispatch: false }
|
|
77
|
-
* );
|
|
78
|
-
* }
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
|
-
* @param opts
|
|
82
|
-
*/
|
|
83
|
-
export declare function pessimisticUpdate<T extends Array<unknown>, A extends Action>(opts: PessimisticUpdateOpts<T, A>): (source: ActionStatesStream<T, A>) => Observable<Action>;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @whatItDoes Handles optimistic updates (updating the client first).
|
|
87
|
-
*
|
|
88
|
-
* It runs all fetches in order, which removes race conditions and forces the developer to handle errors.
|
|
89
|
-
*
|
|
90
|
-
* When using `optimisticUpdate`, in case of a failure, the developer has already updated the state locally,
|
|
91
|
-
* so the developer must provide an undo action.
|
|
92
|
-
*
|
|
93
|
-
* The error handling must be done in the callback, or by means of the undo action.
|
|
94
|
-
*
|
|
95
|
-
* ## Example:
|
|
96
|
-
*
|
|
97
|
-
* ```typescript
|
|
98
|
-
* @Injectable()
|
|
99
|
-
* class TodoEffects {
|
|
100
|
-
* updateTodo$ = createEffect(() =>
|
|
101
|
-
* this.actions$.pipe(
|
|
102
|
-
* ofType('UPDATE_TODO'),
|
|
103
|
-
* optimisticUpdate({
|
|
104
|
-
* // provides an action
|
|
105
|
-
* run: (action: UpdateTodo) => {
|
|
106
|
-
* return this.backend.updateTodo(action.todo.id, action.todo).pipe(
|
|
107
|
-
* mapTo({
|
|
108
|
-
* type: 'UPDATE_TODO_SUCCESS',
|
|
109
|
-
* })
|
|
110
|
-
* );
|
|
111
|
-
* },
|
|
112
|
-
* undoAction: (action: UpdateTodo, error: any) => {
|
|
113
|
-
* // dispatch an undo action to undo the changes in the client state
|
|
114
|
-
* return {
|
|
115
|
-
* type: 'UNDO_TODO_UPDATE',
|
|
116
|
-
* todo: action.todo,
|
|
117
|
-
* };
|
|
118
|
-
* },
|
|
119
|
-
* })
|
|
120
|
-
* )
|
|
121
|
-
* );
|
|
122
|
-
*
|
|
123
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
124
|
-
* }
|
|
125
|
-
* ```
|
|
126
|
-
*
|
|
127
|
-
* Note that if you don't return a new action from the run callback, you must set the dispatch property
|
|
128
|
-
* of the effect to false, like this:
|
|
129
|
-
*
|
|
130
|
-
* ```typescript
|
|
131
|
-
* class TodoEffects {
|
|
132
|
-
* updateTodo$ = createEffect(() =>
|
|
133
|
-
* this.actions$.pipe(
|
|
134
|
-
* //...
|
|
135
|
-
* ), { dispatch: false }
|
|
136
|
-
* );
|
|
137
|
-
* }
|
|
138
|
-
* ```
|
|
139
|
-
*
|
|
140
|
-
* @param opts
|
|
141
|
-
*/
|
|
142
|
-
export declare function optimisticUpdate<T extends Array<unknown>, A extends Action>(opts: OptimisticUpdateOpts<T, A>): (source: ActionStatesStream<T, A>) => Observable<Action>;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @whatItDoes Handles data fetching.
|
|
146
|
-
*
|
|
147
|
-
* Data fetching implemented naively suffers from race conditions and poor error handling.
|
|
148
|
-
*
|
|
149
|
-
* `fetch` addresses these problems. It runs all fetches in order, which removes race conditions
|
|
150
|
-
* and forces the developer to handle errors.
|
|
151
|
-
*
|
|
152
|
-
* ## Example:
|
|
153
|
-
*
|
|
154
|
-
* ```typescript
|
|
155
|
-
* @Injectable()
|
|
156
|
-
* class TodoEffects {
|
|
157
|
-
* loadTodos$ = createEffect(() =>
|
|
158
|
-
* this.actions$.pipe(
|
|
159
|
-
* ofType('GET_TODOS'),
|
|
160
|
-
* fetch({
|
|
161
|
-
* // provides an action
|
|
162
|
-
* run: (a: GetTodos) => {
|
|
163
|
-
* return this.backend.getAll().pipe(
|
|
164
|
-
* map((response) => ({
|
|
165
|
-
* type: 'TODOS',
|
|
166
|
-
* todos: response.todos,
|
|
167
|
-
* }))
|
|
168
|
-
* );
|
|
169
|
-
* },
|
|
170
|
-
* onError: (action: GetTodos, error: any) => {
|
|
171
|
-
* // dispatch an undo action to undo the changes in the client state
|
|
172
|
-
* return null;
|
|
173
|
-
* },
|
|
174
|
-
* })
|
|
175
|
-
* )
|
|
176
|
-
* );
|
|
177
|
-
*
|
|
178
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
179
|
-
* }
|
|
180
|
-
* ```
|
|
181
|
-
*
|
|
182
|
-
* This is correct, but because it set the concurrency to 1, it may not be performant.
|
|
183
|
-
*
|
|
184
|
-
* To fix that, you can provide the `id` function, like this:
|
|
185
|
-
*
|
|
186
|
-
* ```typescript
|
|
187
|
-
* @Injectable()
|
|
188
|
-
* class TodoEffects {
|
|
189
|
-
* loadTodo$ = createEffect(() =>
|
|
190
|
-
* this.actions$.pipe(
|
|
191
|
-
* ofType('GET_TODO'),
|
|
192
|
-
* fetch({
|
|
193
|
-
* id: (todo: GetTodo) => {
|
|
194
|
-
* return todo.id;
|
|
195
|
-
* },
|
|
196
|
-
* // provides an action
|
|
197
|
-
* run: (todo: GetTodo) => {
|
|
198
|
-
* return this.backend.getTodo(todo.id).map((response) => ({
|
|
199
|
-
* type: 'LOAD_TODO_SUCCESS',
|
|
200
|
-
* todo: response.todo,
|
|
201
|
-
* }));
|
|
202
|
-
* },
|
|
203
|
-
* onError: (action: GetTodo, error: any) => {
|
|
204
|
-
* // dispatch an undo action to undo the changes in the client state
|
|
205
|
-
* return null;
|
|
206
|
-
* },
|
|
207
|
-
* })
|
|
208
|
-
* )
|
|
209
|
-
* );
|
|
210
|
-
*
|
|
211
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
212
|
-
* }
|
|
213
|
-
* ```
|
|
214
|
-
*
|
|
215
|
-
* With this setup, the requests for Todo 1 will run concurrently with the requests for Todo 2.
|
|
216
|
-
*
|
|
217
|
-
* In addition, if there are multiple requests for Todo 1 scheduled, it will only run the last one.
|
|
218
|
-
*
|
|
219
|
-
* @param opts
|
|
220
|
-
*/
|
|
221
|
-
export declare function fetch<T extends Array<unknown>, A extends Action>(opts: FetchOpts<T, A>): (source: ActionStatesStream<T, A>) => Observable<Action>;
|
|
222
|
-
/**
|
|
223
|
-
* @whatItDoes Handles data fetching as part of router navigation.
|
|
224
|
-
*
|
|
225
|
-
* Data fetching implemented naively suffers from race conditions and poor error handling.
|
|
226
|
-
*
|
|
227
|
-
* `navigation` addresses these problems.
|
|
228
|
-
*
|
|
229
|
-
* It checks if an activated router state contains the passed in component type, and, if it does, runs the `run`
|
|
230
|
-
* callback. It provides the activated snapshot associated with the component and the current state. And it only runs
|
|
231
|
-
* the last request.
|
|
232
|
-
*
|
|
233
|
-
* ## Example:
|
|
234
|
-
*
|
|
235
|
-
* ```typescript
|
|
236
|
-
* @Injectable()
|
|
237
|
-
* class TodoEffects {
|
|
238
|
-
* loadTodo$ = createEffect(() =>
|
|
239
|
-
* this.actions$.pipe(
|
|
240
|
-
* // listens for the routerNavigation action from @ngrx/router-store
|
|
241
|
-
* navigation(TodoComponent, {
|
|
242
|
-
* run: (activatedRouteSnapshot: ActivatedRouteSnapshot) => {
|
|
243
|
-
* return this.backend
|
|
244
|
-
* .fetchTodo(activatedRouteSnapshot.params['id'])
|
|
245
|
-
* .pipe(
|
|
246
|
-
* map((todo) => ({
|
|
247
|
-
* type: 'LOAD_TODO_SUCCESS',
|
|
248
|
-
* todo: todo,
|
|
249
|
-
* }))
|
|
250
|
-
* );
|
|
251
|
-
* },
|
|
252
|
-
* onError: (
|
|
253
|
-
* activatedRouteSnapshot: ActivatedRouteSnapshot,
|
|
254
|
-
* error: any
|
|
255
|
-
* ) => {
|
|
256
|
-
* // we can log and error here and return null
|
|
257
|
-
* // we can also navigate back
|
|
258
|
-
* return null;
|
|
259
|
-
* },
|
|
260
|
-
* })
|
|
261
|
-
* )
|
|
262
|
-
* );
|
|
263
|
-
*
|
|
264
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
265
|
-
* }
|
|
266
|
-
* ```
|
|
267
|
-
*
|
|
268
|
-
* @param component
|
|
269
|
-
* @param opts
|
|
270
|
-
*/
|
|
271
|
-
export declare function navigation<T extends Array<unknown>, A extends Action>(component: Type<any>, opts: HandleNavigationOpts<T>): (source: ActionStatesStream<T, A>) => Observable<Action>;
|
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.navigation = exports.fetch = exports.optimisticUpdate = exports.pessimisticUpdate = void 0;
|
|
4
|
-
const router_store_1 = require("@ngrx/router-store");
|
|
5
|
-
const rxjs_1 = require("rxjs");
|
|
6
|
-
const operators_1 = require("rxjs/operators");
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* @whatItDoes Handles pessimistic updates (updating the server first).
|
|
10
|
-
*
|
|
11
|
-
* Updating the server, when implemented naively, suffers from race conditions and poor error handling.
|
|
12
|
-
*
|
|
13
|
-
* `pessimisticUpdate` addresses these problems. It runs all fetches in order, which removes race conditions
|
|
14
|
-
* and forces the developer to handle errors.
|
|
15
|
-
*
|
|
16
|
-
* ## Example:
|
|
17
|
-
*
|
|
18
|
-
* ```typescript
|
|
19
|
-
* @Injectable()
|
|
20
|
-
* class TodoEffects {
|
|
21
|
-
* updateTodo$ = createEffect(() =>
|
|
22
|
-
* this.actions$.pipe(
|
|
23
|
-
* ofType('UPDATE_TODO'),
|
|
24
|
-
* pessimisticUpdate({
|
|
25
|
-
* // provides an action
|
|
26
|
-
* run: (action: UpdateTodo) => {
|
|
27
|
-
* // update the backend first, and then dispatch an action that will
|
|
28
|
-
* // update the client side
|
|
29
|
-
* return this.backend.updateTodo(action.todo.id, action.todo).pipe(
|
|
30
|
-
* map((updated) => ({
|
|
31
|
-
* type: 'UPDATE_TODO_SUCCESS',
|
|
32
|
-
* todo: updated,
|
|
33
|
-
* }))
|
|
34
|
-
* );
|
|
35
|
-
* },
|
|
36
|
-
* onError: (action: UpdateTodo, error: any) => {
|
|
37
|
-
* // we don't need to undo the changes on the client side.
|
|
38
|
-
* // we can dispatch an error, or simply log the error here and return `null`
|
|
39
|
-
* return null;
|
|
40
|
-
* },
|
|
41
|
-
* })
|
|
42
|
-
* )
|
|
43
|
-
* );
|
|
44
|
-
*
|
|
45
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
46
|
-
* }
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* Note that if you don't return a new action from the run callback, you must set the dispatch property
|
|
50
|
-
* of the effect to false, like this:
|
|
51
|
-
*
|
|
52
|
-
* ```typescript
|
|
53
|
-
* class TodoEffects {
|
|
54
|
-
* updateTodo$ = createEffect(() =>
|
|
55
|
-
* this.actions$.pipe(
|
|
56
|
-
* //...
|
|
57
|
-
* ), { dispatch: false }
|
|
58
|
-
* );
|
|
59
|
-
* }
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* @param opts
|
|
63
|
-
*/
|
|
64
|
-
function pessimisticUpdate(opts) {
|
|
65
|
-
return (source) => {
|
|
66
|
-
return source.pipe(mapActionAndState(), (0, operators_1.concatMap)(runWithErrorHandling(opts.run, opts.onError)));
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
exports.pessimisticUpdate = pessimisticUpdate;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @whatItDoes Handles optimistic updates (updating the client first).
|
|
73
|
-
*
|
|
74
|
-
* It runs all fetches in order, which removes race conditions and forces the developer to handle errors.
|
|
75
|
-
*
|
|
76
|
-
* When using `optimisticUpdate`, in case of a failure, the developer has already updated the state locally,
|
|
77
|
-
* so the developer must provide an undo action.
|
|
78
|
-
*
|
|
79
|
-
* The error handling must be done in the callback, or by means of the undo action.
|
|
80
|
-
*
|
|
81
|
-
* ## Example:
|
|
82
|
-
*
|
|
83
|
-
* ```typescript
|
|
84
|
-
* @Injectable()
|
|
85
|
-
* class TodoEffects {
|
|
86
|
-
* updateTodo$ = createEffect(() =>
|
|
87
|
-
* this.actions$.pipe(
|
|
88
|
-
* ofType('UPDATE_TODO'),
|
|
89
|
-
* optimisticUpdate({
|
|
90
|
-
* // provides an action
|
|
91
|
-
* run: (action: UpdateTodo) => {
|
|
92
|
-
* return this.backend.updateTodo(action.todo.id, action.todo).pipe(
|
|
93
|
-
* mapTo({
|
|
94
|
-
* type: 'UPDATE_TODO_SUCCESS',
|
|
95
|
-
* })
|
|
96
|
-
* );
|
|
97
|
-
* },
|
|
98
|
-
* undoAction: (action: UpdateTodo, error: any) => {
|
|
99
|
-
* // dispatch an undo action to undo the changes in the client state
|
|
100
|
-
* return {
|
|
101
|
-
* type: 'UNDO_TODO_UPDATE',
|
|
102
|
-
* todo: action.todo,
|
|
103
|
-
* };
|
|
104
|
-
* },
|
|
105
|
-
* })
|
|
106
|
-
* )
|
|
107
|
-
* );
|
|
108
|
-
*
|
|
109
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
110
|
-
* }
|
|
111
|
-
* ```
|
|
112
|
-
*
|
|
113
|
-
* Note that if you don't return a new action from the run callback, you must set the dispatch property
|
|
114
|
-
* of the effect to false, like this:
|
|
115
|
-
*
|
|
116
|
-
* ```typescript
|
|
117
|
-
* class TodoEffects {
|
|
118
|
-
* updateTodo$ = createEffect(() =>
|
|
119
|
-
* this.actions$.pipe(
|
|
120
|
-
* //...
|
|
121
|
-
* ), { dispatch: false }
|
|
122
|
-
* );
|
|
123
|
-
* }
|
|
124
|
-
* ```
|
|
125
|
-
*
|
|
126
|
-
* @param opts
|
|
127
|
-
*/
|
|
128
|
-
function optimisticUpdate(opts) {
|
|
129
|
-
return (source) => {
|
|
130
|
-
return source.pipe(mapActionAndState(), (0, operators_1.concatMap)(runWithErrorHandling(opts.run, opts.undoAction)));
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
exports.optimisticUpdate = optimisticUpdate;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @whatItDoes Handles data fetching.
|
|
137
|
-
*
|
|
138
|
-
* Data fetching implemented naively suffers from race conditions and poor error handling.
|
|
139
|
-
*
|
|
140
|
-
* `fetch` addresses these problems. It runs all fetches in order, which removes race conditions
|
|
141
|
-
* and forces the developer to handle errors.
|
|
142
|
-
*
|
|
143
|
-
* ## Example:
|
|
144
|
-
*
|
|
145
|
-
* ```typescript
|
|
146
|
-
* @Injectable()
|
|
147
|
-
* class TodoEffects {
|
|
148
|
-
* loadTodos$ = createEffect(() =>
|
|
149
|
-
* this.actions$.pipe(
|
|
150
|
-
* ofType('GET_TODOS'),
|
|
151
|
-
* fetch({
|
|
152
|
-
* // provides an action
|
|
153
|
-
* run: (a: GetTodos) => {
|
|
154
|
-
* return this.backend.getAll().pipe(
|
|
155
|
-
* map((response) => ({
|
|
156
|
-
* type: 'TODOS',
|
|
157
|
-
* todos: response.todos,
|
|
158
|
-
* }))
|
|
159
|
-
* );
|
|
160
|
-
* },
|
|
161
|
-
* onError: (action: GetTodos, error: any) => {
|
|
162
|
-
* // dispatch an undo action to undo the changes in the client state
|
|
163
|
-
* return null;
|
|
164
|
-
* },
|
|
165
|
-
* })
|
|
166
|
-
* )
|
|
167
|
-
* );
|
|
168
|
-
*
|
|
169
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
170
|
-
* }
|
|
171
|
-
* ```
|
|
172
|
-
*
|
|
173
|
-
* This is correct, but because it set the concurrency to 1, it may not be performant.
|
|
174
|
-
*
|
|
175
|
-
* To fix that, you can provide the `id` function, like this:
|
|
176
|
-
*
|
|
177
|
-
* ```typescript
|
|
178
|
-
* @Injectable()
|
|
179
|
-
* class TodoEffects {
|
|
180
|
-
* loadTodo$ = createEffect(() =>
|
|
181
|
-
* this.actions$.pipe(
|
|
182
|
-
* ofType('GET_TODO'),
|
|
183
|
-
* fetch({
|
|
184
|
-
* id: (todo: GetTodo) => {
|
|
185
|
-
* return todo.id;
|
|
186
|
-
* },
|
|
187
|
-
* // provides an action
|
|
188
|
-
* run: (todo: GetTodo) => {
|
|
189
|
-
* return this.backend.getTodo(todo.id).map((response) => ({
|
|
190
|
-
* type: 'LOAD_TODO_SUCCESS',
|
|
191
|
-
* todo: response.todo,
|
|
192
|
-
* }));
|
|
193
|
-
* },
|
|
194
|
-
* onError: (action: GetTodo, error: any) => {
|
|
195
|
-
* // dispatch an undo action to undo the changes in the client state
|
|
196
|
-
* return null;
|
|
197
|
-
* },
|
|
198
|
-
* })
|
|
199
|
-
* )
|
|
200
|
-
* );
|
|
201
|
-
*
|
|
202
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
203
|
-
* }
|
|
204
|
-
* ```
|
|
205
|
-
*
|
|
206
|
-
* With this setup, the requests for Todo 1 will run concurrently with the requests for Todo 2.
|
|
207
|
-
*
|
|
208
|
-
* In addition, if there are multiple requests for Todo 1 scheduled, it will only run the last one.
|
|
209
|
-
*
|
|
210
|
-
* @param opts
|
|
211
|
-
*/
|
|
212
|
-
function fetch(opts) {
|
|
213
|
-
return (source) => {
|
|
214
|
-
if (opts.id) {
|
|
215
|
-
const groupedFetches = source.pipe(mapActionAndState(), (0, operators_1.groupBy)(([action, ...store]) => {
|
|
216
|
-
return opts.id(action, ...store);
|
|
217
|
-
}));
|
|
218
|
-
return groupedFetches.pipe((0, operators_1.mergeMap)((pairs) => pairs.pipe((0, operators_1.switchMap)(runWithErrorHandling(opts.run, opts.onError)))));
|
|
219
|
-
}
|
|
220
|
-
return source.pipe(mapActionAndState(), (0, operators_1.concatMap)(runWithErrorHandling(opts.run, opts.onError)));
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
exports.fetch = fetch;
|
|
224
|
-
/**
|
|
225
|
-
* @whatItDoes Handles data fetching as part of router navigation.
|
|
226
|
-
*
|
|
227
|
-
* Data fetching implemented naively suffers from race conditions and poor error handling.
|
|
228
|
-
*
|
|
229
|
-
* `navigation` addresses these problems.
|
|
230
|
-
*
|
|
231
|
-
* It checks if an activated router state contains the passed in component type, and, if it does, runs the `run`
|
|
232
|
-
* callback. It provides the activated snapshot associated with the component and the current state. And it only runs
|
|
233
|
-
* the last request.
|
|
234
|
-
*
|
|
235
|
-
* ## Example:
|
|
236
|
-
*
|
|
237
|
-
* ```typescript
|
|
238
|
-
* @Injectable()
|
|
239
|
-
* class TodoEffects {
|
|
240
|
-
* loadTodo$ = createEffect(() =>
|
|
241
|
-
* this.actions$.pipe(
|
|
242
|
-
* // listens for the routerNavigation action from @ngrx/router-store
|
|
243
|
-
* navigation(TodoComponent, {
|
|
244
|
-
* run: (activatedRouteSnapshot: ActivatedRouteSnapshot) => {
|
|
245
|
-
* return this.backend
|
|
246
|
-
* .fetchTodo(activatedRouteSnapshot.params['id'])
|
|
247
|
-
* .pipe(
|
|
248
|
-
* map((todo) => ({
|
|
249
|
-
* type: 'LOAD_TODO_SUCCESS',
|
|
250
|
-
* todo: todo,
|
|
251
|
-
* }))
|
|
252
|
-
* );
|
|
253
|
-
* },
|
|
254
|
-
* onError: (
|
|
255
|
-
* activatedRouteSnapshot: ActivatedRouteSnapshot,
|
|
256
|
-
* error: any
|
|
257
|
-
* ) => {
|
|
258
|
-
* // we can log and error here and return null
|
|
259
|
-
* // we can also navigate back
|
|
260
|
-
* return null;
|
|
261
|
-
* },
|
|
262
|
-
* })
|
|
263
|
-
* )
|
|
264
|
-
* );
|
|
265
|
-
*
|
|
266
|
-
* constructor(private actions$: Actions, private backend: Backend) {}
|
|
267
|
-
* }
|
|
268
|
-
* ```
|
|
269
|
-
*
|
|
270
|
-
* @param component
|
|
271
|
-
* @param opts
|
|
272
|
-
*/
|
|
273
|
-
function navigation(component, opts) {
|
|
274
|
-
return (source) => {
|
|
275
|
-
const nav = source.pipe(mapActionAndState(), (0, operators_1.filter)(([action]) => isStateSnapshot(action)), (0, operators_1.map)(([action, ...slices]) => {
|
|
276
|
-
if (!isStateSnapshot(action)) {
|
|
277
|
-
// Because of the above filter we'll never get here,
|
|
278
|
-
// but this properly type narrows `action`
|
|
279
|
-
return;
|
|
280
|
-
}
|
|
281
|
-
return [
|
|
282
|
-
findSnapshot(component, action.payload.routerState.root),
|
|
283
|
-
...slices,
|
|
284
|
-
];
|
|
285
|
-
}), (0, operators_1.filter)(([snapshot]) => !!snapshot));
|
|
286
|
-
return nav.pipe((0, operators_1.switchMap)(runWithErrorHandling(opts.run, opts.onError)));
|
|
287
|
-
};
|
|
288
|
-
}
|
|
289
|
-
exports.navigation = navigation;
|
|
290
|
-
function isStateSnapshot(action) {
|
|
291
|
-
return action.type === router_store_1.ROUTER_NAVIGATION;
|
|
292
|
-
}
|
|
293
|
-
function runWithErrorHandling(run, onError) {
|
|
294
|
-
return ([action, ...slices]) => {
|
|
295
|
-
try {
|
|
296
|
-
const r = wrapIntoObservable(run(action, ...slices));
|
|
297
|
-
return r.pipe((0, operators_1.catchError)((e) => wrapIntoObservable(onError(action, e))));
|
|
298
|
-
}
|
|
299
|
-
catch (e) {
|
|
300
|
-
return wrapIntoObservable(onError(action, e));
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* @whatItDoes maps Observable<Action | [Action, State]> to
|
|
306
|
-
* Observable<[Action, State]>
|
|
307
|
-
*/
|
|
308
|
-
function mapActionAndState() {
|
|
309
|
-
return (source) => {
|
|
310
|
-
return source.pipe((0, operators_1.map)((value) => normalizeActionAndState(value)));
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* @whatItDoes Normalizes either a bare action or an array of action and slices
|
|
315
|
-
* into an array of action and slices (or undefined)
|
|
316
|
-
*/
|
|
317
|
-
function normalizeActionAndState(args) {
|
|
318
|
-
let action, slices;
|
|
319
|
-
if (args instanceof Array) {
|
|
320
|
-
[action, ...slices] = args;
|
|
321
|
-
}
|
|
322
|
-
else {
|
|
323
|
-
slices = [];
|
|
324
|
-
action = args;
|
|
325
|
-
}
|
|
326
|
-
return [action, ...slices];
|
|
327
|
-
}
|
|
328
|
-
function findSnapshot(component, s) {
|
|
329
|
-
if (s.routeConfig && s.routeConfig.component === component) {
|
|
330
|
-
return s;
|
|
331
|
-
}
|
|
332
|
-
for (const c of s.children) {
|
|
333
|
-
const ss = findSnapshot(component, c);
|
|
334
|
-
if (ss) {
|
|
335
|
-
return ss;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
return null;
|
|
339
|
-
}
|
|
340
|
-
function wrapIntoObservable(obj) {
|
|
341
|
-
if ((0, rxjs_1.isObservable)(obj)) {
|
|
342
|
-
return obj;
|
|
343
|
-
}
|
|
344
|
-
else if (!obj) {
|
|
345
|
-
return (0, rxjs_1.of)();
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
return (0, rxjs_1.of)(obj);
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
//# sourceMappingURL=data-persistence.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"data-persistence.js","sourceRoot":"","sources":["../../../../../../packages/angular/src/runtime/nx/data-persistence.ts"],"names":[],"mappings":";;;AAMA,qDAAuD;AAGvD,+BAAwC;AACxC,8CAQwB;AAqCxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,SAAgB,iBAAiB,CAC/B,IAAiC;IAEjC,OAAO,CAAC,MAAgC,EAAsB,EAAE;QAC9D,OAAO,MAAM,CAAC,IAAI,CAChB,iBAAiB,EAAE,EACnB,IAAA,qBAAS,EAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CACxD,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AATD,8CASC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,SAAgB,gBAAgB,CAC9B,IAAgC;IAEhC,OAAO,CAAC,MAAgC,EAAsB,EAAE;QAC9D,OAAO,MAAM,CAAC,IAAI,CAChB,iBAAiB,EAAE,EACnB,IAAA,qBAAS,EAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAC3D,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AATD,4CASC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,SAAgB,KAAK,CACnB,IAAqB;IAErB,OAAO,CAAC,MAAgC,EAAsB,EAAE;QAC9D,IAAI,IAAI,CAAC,EAAE,EAAE;YACX,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAChC,iBAAiB,EAAE,EACnB,IAAA,mBAAO,EAAC,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,EAAE,EAAE;gBAC7B,OAAO,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC;YACnC,CAAC,CAAC,CACH,CAAC;YAEF,OAAO,cAAc,CAAC,IAAI,CACxB,IAAA,oBAAQ,EAAC,CAAC,KAAK,EAAE,EAAE,CACjB,KAAK,CAAC,IAAI,CAAC,IAAA,qBAAS,EAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CACpE,CACF,CAAC;SACH;QAED,OAAO,MAAM,CAAC,IAAI,CAChB,iBAAiB,EAAE,EACnB,IAAA,qBAAS,EAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CACxD,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAxBD,sBAwBC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,SAAgB,UAAU,CACxB,SAAoB,EACpB,IAA6B;IAE7B,OAAO,CAAC,MAAgC,EAAE,EAAE;QAC1C,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CACrB,iBAAiB,EAAE,EACnB,IAAA,kBAAM,EAAC,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,EAC7C,IAAA,eAAG,EAAC,CAAC,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC,EAAE,EAAE;YAC1B,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE;gBAC5B,oDAAoD;gBACpD,0CAA0C;gBAC1C,OAAO;aACR;YAED,OAAO;gBACL,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC;gBACxD,GAAG,MAAM;aACwB,CAAC;QACtC,CAAC,CAAC,EACF,IAAA,kBAAM,EAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CACnC,CAAC;QAEF,OAAO,GAAG,CAAC,IAAI,CAAC,IAAA,qBAAS,EAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3E,CAAC,CAAC;AACJ,CAAC;AAzBD,gCAyBC;AAED,SAAS,eAAe,CACtB,MAAW;IAEX,OAAO,MAAM,CAAC,IAAI,KAAK,gCAAiB,CAAC;AAC3C,CAAC;AAED,SAAS,oBAAoB,CAC3B,GAA0D,EAC1D,OAAY;IAEZ,OAAO,CAAC,CAAC,MAAM,EAAE,GAAG,MAAM,CAAY,EAAiB,EAAE;QACvD,IAAI;YACF,MAAM,CAAC,GAAG,kBAAkB,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC;YACrD,OAAO,CAAC,CAAC,IAAI,CAAC,IAAA,sBAAU,EAAC,CAAC,CAAC,EAAE,EAAE,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;SAC1E;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,kBAAkB,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;SAC/C;IACH,CAAC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,iBAAiB;IACxB,OAAO,CAAC,MAAkD,EAAE,EAAE;QAC5D,OAAO,MAAM,CAAC,IAAI,CAChB,IAAA,eAAG,EAAC,CAAC,KAAK,EAAE,EAAE,CAAC,uBAAuB,CAAC,KAAK,CAAc,CAAC,CAC5D,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,uBAAuB,CAC9B,IAAoC;IAEpC,IAAI,MAAS,EAAE,MAAS,CAAC;IAEzB,IAAI,IAAI,YAAY,KAAK,EAAE;QACzB,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC;KAC5B;SAAM;QACL,MAAM,GAAG,EAAO,CAAC;QACjB,MAAM,GAAG,IAAI,CAAC;KACf;IAED,OAAO,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC,CAAC;AAC7B,CAAC;AAED,SAAS,YAAY,CACnB,SAAoB,EACpB,CAAyB;IAEzB,IAAI,CAAC,CAAC,WAAW,IAAI,CAAC,CAAC,WAAW,CAAC,SAAS,KAAK,SAAS,EAAE;QAC1D,OAAO,CAAC,CAAC;KACV;IACD,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;QAC1B,MAAM,EAAE,GAAG,YAAY,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;QACtC,IAAI,EAAE,EAAE;YACN,OAAO,EAAE,CAAC;SACX;KACF;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,kBAAkB,CAAI,GAA6B;IAC1D,IAAI,IAAA,mBAAY,EAAC,GAAG,CAAC,EAAE;QACrB,OAAO,GAAG,CAAC;KACZ;SAAM,IAAI,CAAC,GAAG,EAAE;QACf,OAAO,IAAA,SAAE,GAAE,CAAC;KACb;SAAM;QACL,OAAO,IAAA,SAAE,EAAC,GAAQ,CAAC,CAAC;KACrB;AACH,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as latestVersions from './versions';
|
|
2
|
-
type SupportedVersions = 'angularV14';
|
|
3
|
-
export type PackageVersionNames = Exclude<keyof typeof latestVersions, 'nxVersion'>;
|
|
4
|
-
export type PackageVersions = Record<PackageVersionNames, string>;
|
|
5
|
-
export declare const backwardCompatibleVersions: Record<SupportedVersions, PackageVersions>;
|
|
6
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.backwardCompatibleVersions = void 0;
|
|
4
|
-
exports.backwardCompatibleVersions = {
|
|
5
|
-
angularV14: {
|
|
6
|
-
angularVersion: '~14.2.0',
|
|
7
|
-
angularDevkitVersion: '~14.2.0',
|
|
8
|
-
ngPackagrVersion: '~14.2.0',
|
|
9
|
-
ngrxVersion: '~14.0.0',
|
|
10
|
-
rxjsVersion: '~7.5.0',
|
|
11
|
-
zoneJsVersion: '~0.11.4',
|
|
12
|
-
angularJsVersion: '1.7.9',
|
|
13
|
-
tsLibVersion: '^2.3.0',
|
|
14
|
-
ngUniversalVersion: '~14.2.0',
|
|
15
|
-
corsVersion: '~2.8.5',
|
|
16
|
-
typesCorsVersion: '~2.8.5',
|
|
17
|
-
expressVersion: '~4.18.2',
|
|
18
|
-
typesExpressVersion: '4.17.14',
|
|
19
|
-
moduleFederationNodeVersion: '^0.10.1',
|
|
20
|
-
angularEslintVersion: '~14.0.4',
|
|
21
|
-
tailwindVersion: '^3.0.2',
|
|
22
|
-
postcssVersion: '^8.4.5',
|
|
23
|
-
postcssImportVersion: '~14.1.0',
|
|
24
|
-
postcssPresetEnvVersion: '~7.5.0',
|
|
25
|
-
postcssUrlVersion: '~10.1.3',
|
|
26
|
-
autoprefixerVersion: '^10.4.0',
|
|
27
|
-
tsNodeVersion: '10.9.1',
|
|
28
|
-
jestPresetAngularVersion: '~12.2.3',
|
|
29
|
-
typesNodeVersion: '16.11.7',
|
|
30
|
-
jasmineMarblesVersion: '^0.9.2',
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
//# sourceMappingURL=backward-compatible-versions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"backward-compatible-versions.js","sourceRoot":"","sources":["../../../../../packages/angular/src/utils/backward-compatible-versions.ts"],"names":[],"mappings":";;;AASa,QAAA,0BAA0B,GAGnC;IACF,UAAU,EAAE;QACV,cAAc,EAAE,SAAS;QACzB,oBAAoB,EAAE,SAAS;QAC/B,gBAAgB,EAAE,SAAS;QAC3B,WAAW,EAAE,SAAS;QACtB,WAAW,EAAE,QAAQ;QACrB,aAAa,EAAE,SAAS;QACxB,gBAAgB,EAAE,OAAO;QACzB,YAAY,EAAE,QAAQ;QACtB,kBAAkB,EAAE,SAAS;QAC7B,WAAW,EAAE,QAAQ;QACrB,gBAAgB,EAAE,QAAQ;QAC1B,cAAc,EAAE,SAAS;QACzB,mBAAmB,EAAE,SAAS;QAC9B,2BAA2B,EAAE,SAAS;QACtC,oBAAoB,EAAE,SAAS;QAC/B,eAAe,EAAE,QAAQ;QACzB,cAAc,EAAE,QAAQ;QACxB,oBAAoB,EAAE,SAAS;QAC/B,uBAAuB,EAAE,QAAQ;QACjC,iBAAiB,EAAE,SAAS;QAC5B,mBAAmB,EAAE,SAAS;QAC9B,aAAa,EAAE,QAAQ;QACvB,wBAAwB,EAAE,SAAS;QACnC,gBAAgB,EAAE,SAAS;QAC3B,qBAAqB,EAAE,QAAQ;KAChC;CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function replaceAppNameWithPath(node: string | string[] | object | unknown, appName: string, root: string): any;
|