@nx/angular 19.5.0-canary.20240711-2c4c2ae → 19.5.0-canary.20240712-0b0db78
Sign up to get free protection for your applications and to get access to all the features.
- package/migrations.json +70 -0
- package/package.json +9 -9
- package/plugins/component-testing.js +1 -2
- package/src/builders/dev-server/dev-server.impl.js +1 -2
- package/src/builders/dev-server/lib/normalize-options.js +1 -2
- package/src/builders/dev-server/lib/validate-options.js +5 -2
- package/src/builders/dev-server/schema.d.ts +1 -0
- package/src/builders/dev-server/schema.json +11 -0
- package/src/builders/module-federation-dev-ssr/module-federation-dev-ssr.impl.js +1 -2
- package/src/builders/utilities/buildable-libs.js +1 -2
- package/src/builders/utilities/module-federation.js +4 -5
- package/src/builders/utilities/webpack.js +3 -4
- package/src/builders/webpack-browser/webpack-browser.impl.js +1 -2
- package/src/builders/webpack-server/webpack-server.impl.js +1 -2
- package/src/executors/application/application.impl.js +1 -1
- package/src/executors/application/utils/validate-options.js +1 -2
- package/src/executors/browser-esbuild/browser-esbuild.impl.js +1 -1
- package/src/executors/delegate-build/delegate-build.impl.js +1 -2
- package/src/executors/extract-i18n/extract-i18n.impl.js +1 -1
- package/src/executors/module-federation-dev-server/lib/build-static-remotes.js +1 -2
- package/src/executors/module-federation-dev-server/lib/normalize-options.js +1 -2
- package/src/executors/module-federation-dev-server/lib/parse-static-remotes-config.js +1 -2
- package/src/executors/module-federation-dev-server/lib/start-dev-remotes.js +1 -2
- package/src/executors/module-federation-dev-server/lib/start-static-remotes-file-server.js +1 -2
- package/src/executors/module-federation-dev-server/module-federation-dev-server.impl.js +1 -2
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/ng-packagr.js +1 -2
- package/src/executors/ng-packagr-lite/ng-packagr-adjustments/pre-v17/ngc/compile-source-files.js +1 -2
- package/src/executors/package/ng-packagr-adjustments/ng-packagr.js +1 -2
- package/src/executors/package/ng-packagr-adjustments/ngc/compile-source-files.js +1 -2
- package/src/executors/package/ng-packagr-adjustments/utils/ng-compiler-cli.js +1 -2
- package/src/executors/package/package.impl.js +2 -2
- package/src/executors/utilities/angular-version-utils.js +2 -3
- package/src/executors/utilities/buildable-libs.js +1 -2
- package/src/executors/utilities/esbuild-extensions.js +3 -4
- package/src/executors/utilities/module-loader.js +2 -3
- package/src/executors/utilities/ng-packagr/tailwindcss.js +3 -4
- package/src/executors/utilities/patch-builder-context.js +1 -2
- package/src/executors/utilities/typescript.js +1 -2
- package/src/generators/add-linting/add-linting.js +1 -2
- package/src/generators/add-linting/lib/add-angular-eslint-dependencies.js +1 -2
- package/src/generators/add-linting/lib/buildable-project.js +1 -2
- package/src/generators/add-linting/lib/create-eslint-configuration.d.ts +24 -24
- package/src/generators/add-linting/lib/create-eslint-configuration.js +2 -2
- package/src/generators/application/application.js +2 -3
- package/src/generators/application/files/base/tsconfig.json__tpl__ +2 -2
- package/src/generators/application/files/ng-module/src/app/app.component.spec.ts__tpl__ +4 -3
- package/src/generators/application/files/standalone-components/src/app/app.component.spec.ts__tpl__ +4 -3
- package/src/generators/application/lib/add-e2e.js +1 -2
- package/src/generators/application/lib/add-linting.js +1 -2
- package/src/generators/application/lib/add-proxy-config.js +1 -2
- package/src/generators/application/lib/add-unit-test-runner.js +1 -2
- package/src/generators/application/lib/create-files.js +8 -5
- package/src/generators/application/lib/create-project.js +1 -2
- package/src/generators/application/lib/enable-strict-type-checking.js +1 -2
- package/src/generators/application/lib/normalize-options.js +1 -2
- package/src/generators/application/lib/set-app-strict-default.js +1 -2
- package/src/generators/application/lib/set-generator-defaults.js +1 -2
- package/src/generators/application/lib/update-editor-tsconfig.js +1 -2
- package/src/generators/component/component.js +2 -3
- package/src/generators/component/lib/component.js +1 -2
- package/src/generators/component/lib/module.js +1 -2
- package/src/generators/component/lib/normalize-options.js +1 -2
- package/src/generators/component/lib/set-generator-defaults.js +1 -2
- package/src/generators/component-cypress-spec/component-cypress-spec.js +1 -2
- package/src/generators/component-cypress-spec/lib/get-args-default-value.js +1 -2
- package/src/generators/component-cypress-spec/lib/get-component-selector.js +1 -2
- package/src/generators/component-story/component-story.js +1 -2
- package/src/generators/component-test/component-test.js +1 -2
- package/src/generators/convert-to-application-executor/convert-to-application-executor.js +1 -2
- package/src/generators/convert-to-with-mf/convert-to-with-mf.js +1 -2
- package/src/generators/convert-to-with-mf/lib/check-name-matches.js +1 -2
- package/src/generators/convert-to-with-mf/lib/check-shared-npm-packages.js +1 -2
- package/src/generators/convert-to-with-mf/lib/get-webpack-config-path.js +1 -2
- package/src/generators/convert-to-with-mf/lib/is-host-remote-config.js +3 -4
- package/src/generators/convert-to-with-mf/lib/parse-ast-webpack-config.js +1 -2
- package/src/generators/convert-to-with-mf/lib/write-new-webpack-config.js +1 -2
- package/src/generators/cypress-component-configuration/cypress-component-configuration.js +2 -3
- package/src/generators/directive/directive.js +1 -2
- package/src/generators/directive/lib/normalize-options.js +1 -2
- package/src/generators/federate-module/federate-module.js +1 -2
- package/src/generators/federate-module/lib/add-file-to-remote-tsconfig.js +1 -2
- package/src/generators/federate-module/lib/add-path-to-exposes.js +1 -2
- package/src/generators/federate-module/lib/add-path-to-ts-config.js +1 -2
- package/src/generators/federate-module/lib/add-remote.js +1 -2
- package/src/generators/federate-module/lib/check-remote-exists.js +1 -2
- package/src/generators/host/host.js +2 -3
- package/src/generators/host/lib/update-ssr-setup.js +1 -2
- package/src/generators/init/init.js +1 -2
- package/src/generators/library/files/base/tsconfig.json__tpl__ +2 -2
- package/src/generators/library/lib/add-children.js +1 -2
- package/src/generators/library/lib/add-load-children.js +1 -2
- package/src/generators/library/lib/add-module.js +1 -2
- package/src/generators/library/lib/add-project.js +1 -2
- package/src/generators/library/lib/add-standalone-component.js +1 -2
- package/src/generators/library/lib/create-files.js +3 -2
- package/src/generators/library/lib/enable-strict-type-checking.js +2 -3
- package/src/generators/library/lib/normalize-options.js +1 -2
- package/src/generators/library/lib/set-generator-defaults.js +1 -2
- package/src/generators/library/lib/update-lib-package-npm-scope.js +1 -2
- package/src/generators/library/lib/update-tsconfig.js +1 -2
- package/src/generators/library/library.js +2 -3
- package/src/generators/library-secondary-entry-point/lib/add-files.js +1 -2
- package/src/generators/library-secondary-entry-point/lib/add-path-mapping.js +1 -2
- package/src/generators/library-secondary-entry-point/lib/normalize-options.js +1 -2
- package/src/generators/library-secondary-entry-point/lib/update-tsconfig-included-files.js +1 -2
- package/src/generators/library-secondary-entry-point/library-secondary-entry-point.js +1 -2
- package/src/generators/move/lib/update-module-name.js +1 -2
- package/src/generators/move/lib/update-ng-package.js +1 -2
- package/src/generators/move/lib/update-secondary-entry-points.js +1 -2
- package/src/generators/move/move-impl.js +1 -2
- package/src/generators/move/move.js +2 -3
- package/src/generators/ng-add/migrate-from-angular-cli.js +1 -2
- package/src/generators/ng-add/ng-add.js +1 -2
- package/src/generators/ng-add/utilities/dependencies.js +1 -2
- package/src/generators/ng-add/utilities/format-files-task.js +1 -2
- package/src/generators/ng-add/utilities/projects.js +2 -3
- package/src/generators/ng-add/utilities/validation-logging.js +2 -3
- package/src/generators/ng-add/utilities/workspace.js +13 -14
- package/src/generators/ngrx/lib/add-exports-barrel.js +1 -2
- package/src/generators/ngrx/lib/add-imports-to-module.js +1 -2
- package/src/generators/ngrx/lib/add-ngrx-to-package-json.js +1 -2
- package/src/generators/ngrx/lib/generate-files.js +1 -2
- package/src/generators/ngrx/lib/normalize-options.js +1 -2
- package/src/generators/ngrx/lib/validate-options.js +1 -2
- package/src/generators/ngrx/ngrx.js +1 -2
- package/src/generators/ngrx-feature-store/lib/add-exports-barrel.js +1 -2
- package/src/generators/ngrx-feature-store/lib/add-imports.js +1 -2
- package/src/generators/ngrx-feature-store/lib/add-ngrx-to-package-json.js +1 -2
- package/src/generators/ngrx-feature-store/lib/generate-files.js +1 -2
- package/src/generators/ngrx-feature-store/lib/normalize-options.js +1 -2
- package/src/generators/ngrx-feature-store/lib/validate-options.js +1 -2
- package/src/generators/ngrx-feature-store/ngrx-feature-store.js +1 -2
- package/src/generators/ngrx-root-store/lib/add-imports.js +1 -2
- package/src/generators/ngrx-root-store/lib/add-ngrx-to-package-json.js +1 -2
- package/src/generators/ngrx-root-store/lib/normalize-options.js +1 -2
- package/src/generators/ngrx-root-store/lib/validate-options.js +1 -2
- package/src/generators/ngrx-root-store/ngrx-root-store.js +1 -2
- package/src/generators/pipe/lib/normalize-options.js +1 -2
- package/src/generators/pipe/pipe.js +1 -2
- package/src/generators/remote/lib/find-next-available-port.js +1 -2
- package/src/generators/remote/lib/update-ssr-setup.js +1 -2
- package/src/generators/remote/remote.js +2 -3
- package/src/generators/scam/lib/convert-component-to-scam.js +1 -2
- package/src/generators/scam/lib/normalize-options.js +1 -2
- package/src/generators/scam/scam.js +1 -2
- package/src/generators/scam-directive/lib/convert-directive-to-scam.js +1 -2
- package/src/generators/scam-directive/lib/normalize-options.js +1 -2
- package/src/generators/scam-directive/scam-directive.js +1 -2
- package/src/generators/scam-pipe/lib/convert-pipe-to-scam.js +1 -2
- package/src/generators/scam-pipe/lib/normalize-options.js +1 -2
- package/src/generators/scam-pipe/scam-pipe.js +1 -2
- package/src/generators/scam-to-standalone/lib/convert-scam-to-standalone.js +1 -2
- package/src/generators/scam-to-standalone/lib/get-component-data-from-ast.js +1 -2
- package/src/generators/scam-to-standalone/lib/get-module-metadata-from-ast.js +1 -2
- package/src/generators/scam-to-standalone/lib/get-target-project.js +1 -2
- package/src/generators/scam-to-standalone/lib/replace-module-usages-with-component.js +1 -2
- package/src/generators/scam-to-standalone/lib/selector-exists-in-ast.js +1 -2
- package/src/generators/scam-to-standalone/lib/verify-is-inline-scam.js +1 -2
- package/src/generators/scam-to-standalone/lib/verify-module-is-scam.js +1 -2
- package/src/generators/scam-to-standalone/scam-to-standalone.js +1 -2
- package/src/generators/setup-mf/files/host-files/app.component.spec.ts__tmpl__ +8 -5
- package/src/generators/setup-mf/lib/add-cypress-workaround.js +1 -2
- package/src/generators/setup-mf/lib/add-remote-entry.js +1 -2
- package/src/generators/setup-mf/lib/add-remote-to-host.js +3 -4
- package/src/generators/setup-mf/lib/change-build-target.js +1 -2
- package/src/generators/setup-mf/lib/fix-bootstrap.js +1 -2
- package/src/generators/setup-mf/lib/generate-config.js +1 -2
- package/src/generators/setup-mf/lib/get-remotes-with-ports.js +1 -2
- package/src/generators/setup-mf/lib/normalize-options.js +1 -2
- package/src/generators/setup-mf/lib/remove-dead-code-from-remote.js +1 -2
- package/src/generators/setup-mf/lib/setup-host-if-dynamic.js +1 -2
- package/src/generators/setup-mf/lib/setup-serve-target.js +1 -2
- package/src/generators/setup-mf/lib/setup-tspath-for-remote.js +1 -2
- package/src/generators/setup-mf/lib/update-host-app-routes.d.ts +2 -2
- package/src/generators/setup-mf/lib/update-host-app-routes.js +5 -10
- package/src/generators/setup-mf/lib/update-tsconfig.js +1 -2
- package/src/generators/setup-mf/setup-mf.js +1 -2
- package/src/generators/setup-ssr/lib/add-dependencies.js +1 -2
- package/src/generators/setup-ssr/lib/add-hydration.js +1 -2
- package/src/generators/setup-ssr/lib/add-server-file.js +1 -2
- package/src/generators/setup-ssr/lib/generate-files.js +1 -2
- package/src/generators/setup-ssr/lib/generate-server-ts-config.js +2 -3
- package/src/generators/setup-ssr/lib/normalize-options.js +1 -2
- package/src/generators/setup-ssr/lib/set-router-initial-navigation.js +1 -2
- package/src/generators/setup-ssr/lib/update-project-config.js +2 -3
- package/src/generators/setup-ssr/lib/validate-options.js +1 -2
- package/src/generators/setup-ssr/setup-ssr.js +1 -2
- package/src/generators/setup-tailwind/lib/add-tailwind-config-path-to-project.js +1 -2
- package/src/generators/setup-tailwind/lib/add-tailwind-config.js +1 -2
- package/src/generators/setup-tailwind/lib/add-tailwind-required-packages.js +1 -2
- package/src/generators/setup-tailwind/lib/detect-tailwind-installed-version.js +1 -2
- package/src/generators/setup-tailwind/lib/normalize-options.js +1 -2
- package/src/generators/setup-tailwind/lib/update-application-styles.js +1 -2
- package/src/generators/setup-tailwind/setup-tailwind.js +1 -2
- package/src/generators/stories/lib/get-e2e-project.js +1 -2
- package/src/generators/stories/stories.js +1 -2
- package/src/generators/storybook-configuration/lib/assert-compatible-storybook-version.js +1 -2
- package/src/generators/storybook-configuration/lib/generate-stories.js +1 -2
- package/src/generators/storybook-configuration/lib/generate-storybook-configuration.js +1 -2
- package/src/generators/storybook-configuration/lib/validate-options.js +1 -2
- package/src/generators/storybook-configuration/storybook-configuration.js +1 -2
- package/src/generators/utils/add-jest.js +1 -2
- package/src/generators/utils/add-mf-env-to-inputs.js +1 -2
- package/src/generators/utils/dependencies.js +1 -2
- package/src/generators/utils/ensure-angular-dependencies.js +1 -2
- package/src/generators/utils/entry-point.js +1 -2
- package/src/generators/utils/export-scam.js +1 -2
- package/src/generators/utils/find-module.js +2 -3
- package/src/generators/utils/insert-ngmodule-import.js +2 -3
- package/src/generators/utils/path.js +1 -2
- package/src/generators/utils/project.js +1 -2
- package/src/generators/utils/selector.js +2 -3
- package/src/generators/utils/storybook-ast/component-info.js +3 -4
- package/src/generators/utils/storybook-ast/entry-point.js +1 -2
- package/src/generators/utils/storybook-ast/module-info.js +2 -3
- package/src/generators/utils/storybook-ast/storybook-inputs.js +4 -5
- package/src/generators/utils/storybook-ast/tree-utilities.js +1 -2
- package/src/generators/utils/testing.js +5 -6
- package/src/generators/utils/update-app-editor-tsconfig-excluded-files.js +1 -2
- package/src/generators/utils/update-project-root-tsconfig.js +2 -2
- package/src/generators/utils/validations.js +1 -2
- package/src/generators/utils/version-utils.js +6 -7
- package/src/generators/web-worker/lib/add-snippet.js +1 -2
- package/src/generators/web-worker/lib/normalize-options.js +1 -2
- package/src/generators/web-worker/web-worker.js +1 -2
- package/src/migrations/update-14-2-0/remove-show-circular-dependencies-option.js +1 -1
- package/src/migrations/update-14-2-0/update-angular-cli.js +1 -1
- package/src/migrations/update-14-2-0/update-libraries-secondary-entrypoints.js +1 -1
- package/src/migrations/update-14-2-0/update-ngcc-target.js +1 -1
- package/src/migrations/update-14-2-0/update-router-initial-navigation.js +6 -3
- package/src/migrations/update-14-2-0/update-tsconfig-target.js +2 -2
- package/src/migrations/update-14-5-0/migrate-mfe-to-mf.js +4 -5
- package/src/migrations/update-14-5-2/update-angular-cli.js +1 -1
- package/src/migrations/update-14-6-0/update-angular-cli.js +1 -1
- package/src/migrations/update-14-8-0/rename-webpack-server.js +1 -1
- package/src/migrations/update-15-0-0/add-karma-inputs.js +1 -1
- package/src/migrations/update-15-0-0/switch-to-jasmine-marbles.js +1 -1
- package/src/migrations/update-15-2-0/remove-browserlist-config.js +1 -1
- package/src/migrations/update-15-2-0/remove-platform-server-exports.js +1 -1
- package/src/migrations/update-15-2-0/update-angular-cli.js +1 -1
- package/src/migrations/update-15-2-0/update-karma-main-file.js +1 -1
- package/src/migrations/update-15-2-0/update-typescript-target.js +1 -1
- package/src/migrations/update-15-2-0/update-workspace-config.js +1 -1
- package/src/migrations/update-15-5-0/update-angular-cli.js +1 -1
- package/src/migrations/update-15-7-0/install-required-packages.js +1 -1
- package/src/migrations/update-15-8-0/update-angular-cli.js +1 -1
- package/src/migrations/update-15-9-0/update-file-server-executor.js +1 -1
- package/src/migrations/update-15-9-0/update-testing-tsconfig.js +1 -2
- package/src/migrations/update-16-0-0/remove-karma-defaults.js +1 -1
- package/src/migrations/update-16-0-0/remove-library-generator-simple-module-name-option.js +1 -1
- package/src/migrations/update-16-0-0/remove-protractor-defaults.js +1 -1
- package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.js +1 -1
- package/src/migrations/update-16-1-0/extract-standalone-config-from-bootstrap.js +1 -1
- package/src/migrations/update-16-1-0/remove-ngcc-invocation.js +1 -1
- package/src/migrations/update-16-1-0/remove-render-module-platform-server-exports.js +1 -1
- package/src/migrations/update-16-1-0/update-angular-cli.js +1 -1
- package/src/migrations/update-16-1-0/update-server-executor-config.js +1 -1
- package/src/migrations/update-16-2-0/switch-data-persistence-operators-imports-to-ngrx-router-store.js +1 -1
- package/src/migrations/update-16-4-0/rename-angular-eslint-accesibility-rules.js +1 -1
- package/src/migrations/update-16-4-0/update-angular-cli.js +1 -1
- package/src/migrations/update-16-6-0/explicitly-set-projects-to-update-buildable-deps.js +1 -1
- package/src/migrations/update-16-7-0/update-angular-cli.js +1 -1
- package/src/migrations/update-17-1-0/browser-target-to-build-target.js +1 -1
- package/src/migrations/update-17-1-0/replace-nguniversal-builders.js +1 -1
- package/src/migrations/update-17-1-0/replace-nguniversal-engines.js +1 -1
- package/src/migrations/update-17-1-0/update-angular-cli.js +1 -1
- package/src/migrations/update-17-1-0/update-zone-js-deep-import.js +1 -1
- package/src/migrations/update-17-2-0/rename-webpack-dev-server.js +1 -1
- package/src/migrations/update-17-3-0/add-autoprefixer-dependency.js +1 -1
- package/src/migrations/update-17-3-0/add-browser-sync-dependency.js +1 -1
- package/src/migrations/update-17-3-0/update-angular-cli.js +1 -1
- package/src/migrations/update-18-0-0/add-mf-env-var-to-target-defaults.js +1 -1
- package/src/migrations/update-18-1-0/update-angular-cli.js +1 -1
- package/src/migrations/update-18-1-1/fix-target-defaults-inputs.js +1 -1
- package/src/migrations/update-18-2-0/update-angular-cli.js +1 -1
- package/src/migrations/update-19-1-0/update-angular-cli.js +1 -1
- package/src/migrations/update-19-2-1/add-typescript-eslint-utils.d.ts +1 -1
- package/src/migrations/update-19-2-1/add-typescript-eslint-utils.js +2 -2
- package/src/migrations/update-19-5-0/update-angular-cli.d.ts +3 -0
- package/src/migrations/update-19-5-0/update-angular-cli.js +23 -0
- package/src/migrations/utils/projects.js +1 -2
- package/src/utils/cli-config-utils.js +1 -2
- package/src/utils/get-mf-projects.js +1 -2
- package/src/utils/mf/utils.js +4 -4
- package/src/utils/mf/with-module-federation-ssr.js +1 -2
- package/src/utils/mf/with-module-federation.js +1 -2
- package/src/utils/nx-devkit/ast-utils.js +23 -24
- package/src/utils/nx-devkit/route-utils.js +2 -3
- package/src/utils/nx-devkit/testing.js +4 -5
- package/src/utils/targets.js +1 -2
- package/src/utils/version-utils.js +2 -3
- package/src/utils/versions.d.ts +4 -4
- package/src/utils/versions.js +4 -4
- package/tailwind.js +1 -2
package/migrations.json
CHANGED
@@ -404,6 +404,15 @@
|
|
404
404
|
},
|
405
405
|
"description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.",
|
406
406
|
"factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils"
|
407
|
+
},
|
408
|
+
"update-angular-cli-version-18-1-0": {
|
409
|
+
"cli": "nx",
|
410
|
+
"version": "19.5.0-beta.1",
|
411
|
+
"requires": {
|
412
|
+
"@angular/core": ">=18.1.0"
|
413
|
+
},
|
414
|
+
"description": "Update the @angular/cli package version to ~18.1.0.",
|
415
|
+
"factory": "./src/migrations/update-19-5-0/update-angular-cli"
|
407
416
|
}
|
408
417
|
},
|
409
418
|
"packageJsonUpdates": {
|
@@ -1942,6 +1951,67 @@
|
|
1942
1951
|
"alwaysAddToPackageJson": false
|
1943
1952
|
}
|
1944
1953
|
}
|
1954
|
+
},
|
1955
|
+
"19.5.0": {
|
1956
|
+
"version": "19.5.0-beta.1",
|
1957
|
+
"x-prompt": "Do you want to update the Angular version to v18.1?",
|
1958
|
+
"requires": {
|
1959
|
+
"@angular/core": ">=18.0.0 <18.1.0"
|
1960
|
+
},
|
1961
|
+
"packages": {
|
1962
|
+
"@angular-devkit/build-angular": {
|
1963
|
+
"version": "~18.1.0",
|
1964
|
+
"alwaysAddToPackageJson": false
|
1965
|
+
},
|
1966
|
+
"@angular-devkit/core": {
|
1967
|
+
"version": "~18.1.0",
|
1968
|
+
"alwaysAddToPackageJson": false
|
1969
|
+
},
|
1970
|
+
"@angular-devkit/schematics": {
|
1971
|
+
"version": "~18.1.0",
|
1972
|
+
"alwaysAddToPackageJson": false
|
1973
|
+
},
|
1974
|
+
"@angular/build": {
|
1975
|
+
"version": "~18.1.0",
|
1976
|
+
"alwaysAddToPackageJson": false
|
1977
|
+
},
|
1978
|
+
"@angular/pwa": {
|
1979
|
+
"version": "~18.1.0",
|
1980
|
+
"alwaysAddToPackageJson": false
|
1981
|
+
},
|
1982
|
+
"@angular/ssr": {
|
1983
|
+
"version": "~18.1.0",
|
1984
|
+
"alwaysAddToPackageJson": false
|
1985
|
+
},
|
1986
|
+
"@schematics/angular": {
|
1987
|
+
"version": "~18.1.0",
|
1988
|
+
"alwaysAddToPackageJson": false
|
1989
|
+
},
|
1990
|
+
"@angular-devkit/architect": {
|
1991
|
+
"version": "~0.1801.0",
|
1992
|
+
"alwaysAddToPackageJson": false
|
1993
|
+
},
|
1994
|
+
"@angular-devkit/build-webpack": {
|
1995
|
+
"version": "~0.1801.0",
|
1996
|
+
"alwaysAddToPackageJson": false
|
1997
|
+
},
|
1998
|
+
"@angular/core": {
|
1999
|
+
"version": "~18.1.0",
|
2000
|
+
"alwaysAddToPackageJson": true
|
2001
|
+
},
|
2002
|
+
"@angular/material": {
|
2003
|
+
"version": "~18.1.0",
|
2004
|
+
"alwaysAddToPackageJson": false
|
2005
|
+
},
|
2006
|
+
"@angular/cdk": {
|
2007
|
+
"version": "~18.1.0",
|
2008
|
+
"alwaysAddToPackageJson": false
|
2009
|
+
},
|
2010
|
+
"ng-packagr": {
|
2011
|
+
"version": "~18.1.0",
|
2012
|
+
"alwaysAddToPackageJson": false
|
2013
|
+
}
|
2014
|
+
}
|
1945
2015
|
}
|
1946
2016
|
}
|
1947
2017
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/angular",
|
3
|
-
"version": "19.5.0-canary.
|
3
|
+
"version": "19.5.0-canary.20240712-0b0db78",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: \n\n- Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypress. \n\n- Generators to help scaffold code quickly (like: Micro Frontends, Libraries, both internal to your codebase and publishable to npm) \n\n- Single Component Application Modules (SCAMs) \n\n- NgRx helpers. \n\n- Utilities for automatic workspace refactoring.",
|
6
6
|
"repository": {
|
@@ -69,7 +69,7 @@
|
|
69
69
|
},
|
70
70
|
"dependencies": {
|
71
71
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
72
|
-
"@typescript-eslint/type-utils": "^7.
|
72
|
+
"@typescript-eslint/type-utils": "^7.16.0",
|
73
73
|
"chalk": "^4.1.0",
|
74
74
|
"find-cache-dir": "^3.3.2",
|
75
75
|
"ignore": "^5.0.4",
|
@@ -79,14 +79,14 @@
|
|
79
79
|
"tslib": "^2.3.0",
|
80
80
|
"webpack-merge": "^5.8.0",
|
81
81
|
"@module-federation/enhanced": "~0.2.3",
|
82
|
-
"@nx/devkit": "19.5.0-canary.
|
83
|
-
"@nx/js": "19.5.0-canary.
|
84
|
-
"@nx/eslint": "19.5.0-canary.
|
85
|
-
"@nx/webpack": "19.5.0-canary.
|
86
|
-
"@nx/web": "19.5.0-canary.
|
87
|
-
"@nx/workspace": "19.5.0-canary.
|
82
|
+
"@nx/devkit": "19.5.0-canary.20240712-0b0db78",
|
83
|
+
"@nx/js": "19.5.0-canary.20240712-0b0db78",
|
84
|
+
"@nx/eslint": "19.5.0-canary.20240712-0b0db78",
|
85
|
+
"@nx/webpack": "19.5.0-canary.20240712-0b0db78",
|
86
|
+
"@nx/web": "19.5.0-canary.20240712-0b0db78",
|
87
|
+
"@nx/workspace": "19.5.0-canary.20240712-0b0db78",
|
88
88
|
"piscina": "^4.4.0",
|
89
|
-
"@nrwl/angular": "19.5.0-canary.
|
89
|
+
"@nrwl/angular": "19.5.0-canary.20240712-0b0db78"
|
90
90
|
},
|
91
91
|
"peerDependencies": {
|
92
92
|
"@angular-devkit/build-angular": ">= 16.0.0 < 19.0.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.nxComponentTestingPreset =
|
3
|
+
exports.nxComponentTestingPreset = nxComponentTestingPreset;
|
4
4
|
const cypress_preset_1 = require("@nx/cypress/plugins/cypress-preset");
|
5
5
|
const ct_helpers_1 = require("@nx/cypress/src/utils/ct-helpers");
|
6
6
|
const devkit_1 = require("@nx/devkit");
|
@@ -88,7 +88,6 @@ ${e.stack ? e.stack : e}`);
|
|
88
88
|
},
|
89
89
|
};
|
90
90
|
}
|
91
|
-
exports.nxComponentTestingPreset = nxComponentTestingPreset;
|
92
91
|
function getBuildableTarget(ctContext) {
|
93
92
|
const targets = ctContext.projectGraph.nodes[ctContext.projectName]?.data?.targets;
|
94
93
|
const targetConfig = targets?.[ctContext.targetName];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.executeDevServerBuilder =
|
3
|
+
exports.executeDevServerBuilder = executeDevServerBuilder;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const js_1 = require("@nx/js");
|
6
6
|
const webpack_nx_build_coordination_plugin_1 = require("@nx/webpack/src/plugins/webpack-nx-build-coordination-plugin");
|
@@ -135,7 +135,6 @@ function executeDevServerBuilder(rawOptions, context) {
|
|
135
135
|
middleware,
|
136
136
|
})));
|
137
137
|
}
|
138
|
-
exports.executeDevServerBuilder = executeDevServerBuilder;
|
139
138
|
exports.default = require('@angular-devkit/architect').createBuilder(executeDevServerBuilder);
|
140
139
|
function getDelegateBuilderOptions(options) {
|
141
140
|
const delegateBuilderOptions = {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.normalizeOptions =
|
3
|
+
exports.normalizeOptions = normalizeOptions;
|
4
4
|
function normalizeOptions(schema) {
|
5
5
|
let buildTarget = schema.buildTarget;
|
6
6
|
if (schema.browserTarget) {
|
@@ -17,4 +17,3 @@ function normalizeOptions(schema) {
|
|
17
17
|
ssl: schema.ssl ?? false,
|
18
18
|
};
|
19
19
|
}
|
20
|
-
exports.normalizeOptions = normalizeOptions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateOptions =
|
3
|
+
exports.validateOptions = validateOptions;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const semver_1 = require("semver");
|
6
6
|
const angular_version_utils_1 = require("../../../executors/utilities/angular-version-utils");
|
@@ -18,5 +18,8 @@ function validateOptions(options) {
|
|
18
18
|
throw new Error((0, devkit_1.stripIndents) `The "prebundle" option is only supported in Angular >= 17.2.0. You are currently using "${angularVersion}".
|
19
19
|
You can resolve this error by removing the "prebundle" option or by migrating to Angular 17.2.0.`);
|
20
20
|
}
|
21
|
+
if ((0, semver_1.lt)(angularVersion, '18.1.0') && options.inspect) {
|
22
|
+
throw new Error((0, devkit_1.stripIndents) `The "inspect" option is only supported in Angular >= 18.1.0. You are currently using "${angularVersion}".
|
23
|
+
You can resolve this error by removing the "inspect" option or by migrating to Angular 18.1.0.`);
|
24
|
+
}
|
21
25
|
}
|
22
|
-
exports.validateOptions = validateOptions;
|
@@ -116,6 +116,17 @@
|
|
116
116
|
"description": "Force the development server to use the 'browser-esbuild' builder when building. This is a developer preview option for the esbuild-based build system. _Note: this is only supported in Angular versions >= 16.1.0_.",
|
117
117
|
"default": false
|
118
118
|
},
|
119
|
+
"inspect": {
|
120
|
+
"default": false,
|
121
|
+
"description": "Activate debugging inspector. This option only has an effect when 'SSR' or 'SSG' are enabled. _Note: this is only supported in Angular versions >= 18.1.0_.",
|
122
|
+
"oneOf": [
|
123
|
+
{
|
124
|
+
"type": "string",
|
125
|
+
"description": "Activate the inspector on host and port in the format of `[[host:]port]`. See the security warning in https://nodejs.org/docs/latest-v22.x/api/cli.html#warning-binding-inspector-to-a-public-ipport-combination-is-insecure regarding the host parameter usage."
|
126
|
+
},
|
127
|
+
{ "type": "boolean" }
|
128
|
+
]
|
129
|
+
},
|
119
130
|
"prebundle": {
|
120
131
|
"description": "Enable and control the Vite-based development server's prebundling capabilities. To enable prebundling, the Angular CLI cache must also be enabled. This option has no effect when using the 'browser' or other Webpack-based builders. _Note: this is only supported in Angular versions >= 17.2.0_.",
|
121
132
|
"oneOf": [
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.executeModuleFederationDevSSRBuilder =
|
3
|
+
exports.executeModuleFederationDevSSRBuilder = executeModuleFederationDevSSRBuilder;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const child_process_1 = require("child_process");
|
6
6
|
const fs_1 = require("fs");
|
@@ -98,5 +98,4 @@ function executeModuleFederationDevSSRBuilder(schema, context) {
|
|
98
98
|
: require('@nguniversal/builders');
|
99
99
|
return (0, rxjs_1.from)(Promise.all(remoteProcessPromises)).pipe((0, operators_1.switchMap)(() => executeSSRDevServerBuilder(options, context)));
|
100
100
|
}
|
101
|
-
exports.executeModuleFederationDevSSRBuilder = executeModuleFederationDevSSRBuilder;
|
102
101
|
exports.default = require('@angular-devkit/architect').createBuilder(executeModuleFederationDevSSRBuilder);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.createTmpTsConfigForBuildableLibs =
|
3
|
+
exports.createTmpTsConfigForBuildableLibs = createTmpTsConfigForBuildableLibs;
|
4
4
|
const buildable_libs_utils_1 = require("@nx/js/src/utils/buildable-libs-utils");
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
6
6
|
const path_1 = require("path");
|
@@ -12,4 +12,3 @@ function createTmpTsConfigForBuildableLibs(tsConfigPath, context, options) {
|
|
12
12
|
process.env.NX_TSCONFIG_PATH = tmpTsConfigPath;
|
13
13
|
return { tsConfigPath: tmpTsConfigPath, dependencies };
|
14
14
|
}
|
15
|
-
exports.createTmpTsConfigForBuildableLibs = createTmpTsConfigForBuildableLibs;
|
@@ -1,6 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.getDynamicRemotes = getDynamicRemotes;
|
4
|
+
exports.getStaticRemotes = getStaticRemotes;
|
5
|
+
exports.validateDevRemotes = validateDevRemotes;
|
6
|
+
exports.getDynamicMfManifestFile = getDynamicMfManifestFile;
|
4
7
|
const path_1 = require("path");
|
5
8
|
const fs_1 = require("fs");
|
6
9
|
const devkit_1 = require("@nx/devkit");
|
@@ -41,7 +44,6 @@ function getDynamicRemotes(project, context, workspaceProjects, remotesToSkip, p
|
|
41
44
|
}
|
42
45
|
return dynamicRemotes;
|
43
46
|
}
|
44
|
-
exports.getDynamicRemotes = getDynamicRemotes;
|
45
47
|
function getModuleFederationConfig(tsconfigPath, workspaceRoot, projectRoot) {
|
46
48
|
const moduleFederationConfigPathJS = (0, path_1.join)(workspaceRoot, projectRoot, 'module-federation.config.js');
|
47
49
|
const moduleFederationConfigPathTS = (0, path_1.join)(workspaceRoot, projectRoot, 'module-federation.config.ts');
|
@@ -84,7 +86,6 @@ function getStaticRemotes(project, context, workspaceProjects, remotesToSkip) {
|
|
84
86
|
}
|
85
87
|
return staticRemotes;
|
86
88
|
}
|
87
|
-
exports.getStaticRemotes = getStaticRemotes;
|
88
89
|
function validateDevRemotes(options, workspaceProjects) {
|
89
90
|
const invalidDevRemotes = options.devRemotes.filter((remote) => !(typeof remote === 'string'
|
90
91
|
? workspaceProjects[remote]
|
@@ -95,7 +96,6 @@ function validateDevRemotes(options, workspaceProjects) {
|
|
95
96
|
: `Invalid dev remotes provided: ${invalidDevRemotes.join(', ')}.`);
|
96
97
|
}
|
97
98
|
}
|
98
|
-
exports.validateDevRemotes = validateDevRemotes;
|
99
99
|
function getDynamicMfManifestFile(project, workspaceRoot) {
|
100
100
|
// {sourceRoot}/assets/module-federation.manifest.json was the generated
|
101
101
|
// path for the manifest file in the past. We now generate the manifest
|
@@ -108,4 +108,3 @@ function getDynamicMfManifestFile(project, workspaceRoot) {
|
|
108
108
|
(0, path_1.join)(workspaceRoot, project.sourceRoot, 'assets/module-federation.manifest.json'),
|
109
109
|
].find((path) => (0, fs_1.existsSync)(path));
|
110
110
|
}
|
111
|
-
exports.getDynamicMfManifestFile = getDynamicMfManifestFile;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.mergeCustomWebpackConfig = mergeCustomWebpackConfig;
|
4
|
+
exports.resolveCustomWebpackConfig = resolveCustomWebpackConfig;
|
5
|
+
exports.resolveIndexHtmlTransformer = resolveIndexHtmlTransformer;
|
4
6
|
const webpack_merge_1 = require("webpack-merge");
|
5
7
|
const internal_1 = require("@nx/js/src/internal");
|
6
8
|
const devkit_1 = require("@nx/devkit");
|
@@ -22,7 +24,6 @@ async function mergeCustomWebpackConfig(baseWebpackConfig, pathToWebpackConfig,
|
|
22
24
|
return (0, webpack_merge_1.merge)(baseWebpackConfig, config);
|
23
25
|
}
|
24
26
|
}
|
25
|
-
exports.mergeCustomWebpackConfig = mergeCustomWebpackConfig;
|
26
27
|
function resolveCustomWebpackConfig(path, tsConfig) {
|
27
28
|
const cleanupTranspiler = (0, internal_1.registerTsProject)(tsConfig);
|
28
29
|
const customWebpackConfig = require(path);
|
@@ -34,7 +35,6 @@ function resolveCustomWebpackConfig(path, tsConfig) {
|
|
34
35
|
// `{ default: { ... } }`
|
35
36
|
return customWebpackConfig.default ?? customWebpackConfig;
|
36
37
|
}
|
37
|
-
exports.resolveCustomWebpackConfig = resolveCustomWebpackConfig;
|
38
38
|
function resolveIndexHtmlTransformer(path, tsConfig, target) {
|
39
39
|
const cleanupTranspiler = (0, internal_1.registerTsProject)(tsConfig);
|
40
40
|
const indexTransformer = require(path);
|
@@ -42,4 +42,3 @@ function resolveIndexHtmlTransformer(path, tsConfig, target) {
|
|
42
42
|
const transform = indexTransformer.default ?? indexTransformer;
|
43
43
|
return (indexHtml) => transform(target, indexHtml);
|
44
44
|
}
|
45
|
-
exports.resolveIndexHtmlTransformer = resolveIndexHtmlTransformer;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.executeWebpackBrowserBuilder =
|
3
|
+
exports.executeWebpackBrowserBuilder = executeWebpackBrowserBuilder;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const webpack_nx_build_coordination_plugin_1 = require("@nx/webpack/src/plugins/webpack-nx-build-coordination-plugin");
|
6
6
|
const fs_1 = require("fs");
|
@@ -76,5 +76,4 @@ function executeWebpackBrowserBuilder(options, context) {
|
|
76
76
|
: {}),
|
77
77
|
})));
|
78
78
|
}
|
79
|
-
exports.executeWebpackBrowserBuilder = executeWebpackBrowserBuilder;
|
80
79
|
exports.default = require('@angular-devkit/architect').createBuilder(executeWebpackBrowserBuilder);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.executeWebpackServerBuilder =
|
3
|
+
exports.executeWebpackServerBuilder = executeWebpackServerBuilder;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const fs_1 = require("fs");
|
6
6
|
const path_1 = require("path");
|
@@ -55,5 +55,4 @@ function executeWebpackServerBuilder(options, context) {
|
|
55
55
|
}
|
56
56
|
return buildServerApp(options, context);
|
57
57
|
}
|
58
|
-
exports.executeWebpackServerBuilder = executeWebpackServerBuilder;
|
59
58
|
exports.default = require('@angular-devkit/architect').createBuilder(executeWebpackServerBuilder);
|
@@ -1,5 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = applicationExecutor;
|
3
4
|
const ngcli_adapter_1 = require("nx/src/adapter/ngcli-adapter");
|
4
5
|
const semver_1 = require("semver");
|
5
6
|
const angular_version_utils_1 = require("../utilities/angular-version-utils");
|
@@ -34,4 +35,3 @@ async function* applicationExecutor(options, context) {
|
|
34
35
|
}
|
35
36
|
return yield* buildApplication(delegateExecutorOptions, builderContext, plugins);
|
36
37
|
}
|
37
|
-
exports.default = applicationExecutor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.validateOptions =
|
3
|
+
exports.validateOptions = validateOptions;
|
4
4
|
const semver_1 = require("semver");
|
5
5
|
const angular_version_utils_1 = require("../../utilities/angular-version-utils");
|
6
6
|
function validateOptions(options) {
|
@@ -49,4 +49,3 @@ function validateOptions(options) {
|
|
49
49
|
}
|
50
50
|
}
|
51
51
|
}
|
52
|
-
exports.validateOptions = validateOptions;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = esbuildExecutor;
|
3
4
|
const devkit_1 = require("@nx/devkit");
|
4
5
|
const ngcli_adapter_1 = require("nx/src/adapter/ngcli-adapter");
|
5
6
|
const angular_version_utils_1 = require("../utilities/angular-version-utils");
|
@@ -31,4 +32,3 @@ async function* esbuildExecutor(options, context) {
|
|
31
32
|
return yield* buildEsbuildBrowser(delegateExecutorOptions, builderContext,
|
32
33
|
/* infrastructureSettings */ undefined, plugins);
|
33
34
|
}
|
34
|
-
exports.default = esbuildExecutor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.delegateBuildExecutor =
|
3
|
+
exports.delegateBuildExecutor = delegateBuildExecutor;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const buildable_libs_utils_1 = require("@nx/js/src/utils/buildable-libs-utils");
|
6
6
|
async function* delegateBuildExecutor(options, context) {
|
@@ -13,5 +13,4 @@ async function* delegateBuildExecutor(options, context) {
|
|
13
13
|
const delegateTarget = (0, devkit_1.parseTargetString)(buildTarget, context);
|
14
14
|
yield* await (0, devkit_1.runExecutor)(delegateTarget, targetOptions, context);
|
15
15
|
}
|
16
|
-
exports.delegateBuildExecutor = delegateBuildExecutor;
|
17
16
|
exports.default = delegateBuildExecutor;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.default = extractI18nExecutor;
|
3
4
|
const devkit_1 = require("@nx/devkit");
|
4
5
|
const ngcli_adapter_1 = require("nx/src/adapter/ngcli-adapter");
|
5
6
|
const project_graph_1 = require("nx/src/project-graph/project-graph");
|
@@ -31,7 +32,6 @@ async function* extractI18nExecutor(options, context) {
|
|
31
32
|
const delegateBuilderOptions = getDelegateBuilderOptions(options);
|
32
33
|
return await executeExtractI18nBuilder(delegateBuilderOptions, builderContext);
|
33
34
|
}
|
34
|
-
exports.default = extractI18nExecutor;
|
35
35
|
function getDelegateBuilderOptions(options) {
|
36
36
|
const delegateBuilderOptions = { ...options };
|
37
37
|
const { major: angularMajorVersion } = (0, angular_version_utils_1.getInstalledAngularVersionInfo)();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.buildStaticRemotes =
|
3
|
+
exports.buildStaticRemotes = buildStaticRemotes;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const cache_directory_1 = require("nx/src/utils/cache-directory");
|
6
6
|
const node_child_process_1 = require("node:child_process");
|
@@ -56,4 +56,3 @@ async function buildStaticRemotes(staticRemotesConfig, nxBin, context, options)
|
|
56
56
|
process.on('exit', () => staticProcess.kill('SIGTERM'));
|
57
57
|
});
|
58
58
|
}
|
59
|
-
exports.buildStaticRemotes = buildStaticRemotes;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.normalizeOptions =
|
3
|
+
exports.normalizeOptions = normalizeOptions;
|
4
4
|
function normalizeOptions(schema) {
|
5
5
|
let buildTarget = schema.buildTarget;
|
6
6
|
if (schema.browserTarget) {
|
@@ -21,4 +21,3 @@ function normalizeOptions(schema) {
|
|
21
21
|
ssl: schema.ssl ?? false,
|
22
22
|
};
|
23
23
|
}
|
24
|
-
exports.normalizeOptions = normalizeOptions;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.parseStaticRemotesConfig =
|
3
|
+
exports.parseStaticRemotesConfig = parseStaticRemotesConfig;
|
4
4
|
const path_1 = require("path");
|
5
5
|
function parseStaticRemotesConfig(staticRemotes, context) {
|
6
6
|
if (!staticRemotes?.length) {
|
@@ -15,4 +15,3 @@ function parseStaticRemotesConfig(staticRemotes, context) {
|
|
15
15
|
}
|
16
16
|
return { remotes: staticRemotes, config };
|
17
17
|
}
|
18
|
-
exports.parseStaticRemotesConfig = parseStaticRemotesConfig;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.startRemotes =
|
3
|
+
exports.startRemotes = startRemotes;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
async function startRemotes(remotes, workspaceProjects, options, context, target = 'serve') {
|
6
6
|
const remoteIters = [];
|
@@ -27,4 +27,3 @@ async function startRemotes(remotes, workspaceProjects, options, context, target
|
|
27
27
|
}
|
28
28
|
return remoteIters;
|
29
29
|
}
|
30
|
-
exports.startRemotes = startRemotes;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.startStaticRemotesFileServer =
|
3
|
+
exports.startStaticRemotesFileServer = startStaticRemotesFileServer;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
6
6
|
const file_server_impl_1 = tslib_1.__importDefault(require("@nx/web/src/executors/file-server/file-server.impl"));
|
@@ -44,4 +44,3 @@ function startStaticRemotesFileServer(staticRemotesConfig, context, options) {
|
|
44
44
|
}, context);
|
45
45
|
return staticRemotesIter;
|
46
46
|
}
|
47
|
-
exports.startStaticRemotesFileServer = startStaticRemotesFileServer;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.moduleFederationDevServerExecutor =
|
3
|
+
exports.moduleFederationDevServerExecutor = moduleFederationDevServerExecutor;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
6
6
|
const lib_1 = require("./lib");
|
@@ -119,5 +119,4 @@ async function* moduleFederationDevServerExecutor(schema, context) {
|
|
119
119
|
}
|
120
120
|
}));
|
121
121
|
}
|
122
|
-
exports.moduleFederationDevServerExecutor = moduleFederationDevServerExecutor;
|
123
122
|
exports.default = moduleFederationDevServerExecutor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getNgPackagrInstance =
|
3
|
+
exports.getNgPackagrInstance = getNgPackagrInstance;
|
4
4
|
const ng_packagr_1 = require("ng-packagr");
|
5
5
|
const angular_version_utils_1 = require("../../utilities/angular-version-utils");
|
6
6
|
async function getNgPackagrInstance(options) {
|
@@ -31,4 +31,3 @@ async function getNgPackagrInstance(options) {
|
|
31
31
|
packagr.withBuildTransform(NX_PACKAGE_TRANSFORM.provide);
|
32
32
|
return packagr;
|
33
33
|
}
|
34
|
-
exports.getNgPackagrInstance = getNgPackagrInstance;
|
package/src/executors/ng-packagr-lite/ng-packagr-adjustments/pre-v17/ngc/compile-source-files.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
* - Support Angular Compiler `incrementalDriver` for Angular < 16.
|
8
8
|
*/
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.compileSourceFiles =
|
10
|
+
exports.compileSourceFiles = compileSourceFiles;
|
11
11
|
const tslib_1 = require("tslib");
|
12
12
|
const nodes_1 = require("ng-packagr/lib/ng-package/nodes");
|
13
13
|
const cache_compiler_host_1 = require("ng-packagr/lib/ts/cache-compiler-host");
|
@@ -176,4 +176,3 @@ async function compileSourceFiles(graph, tsConfig, moduleResolutionCache, option
|
|
176
176
|
incrementalCompilation.recordSuccessfulEmit(sourceFile);
|
177
177
|
}
|
178
178
|
}
|
179
|
-
exports.compileSourceFiles = compileSourceFiles;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.getNgPackagrInstance =
|
3
|
+
exports.getNgPackagrInstance = getNgPackagrInstance;
|
4
4
|
const ng_packagr_1 = require("ng-packagr");
|
5
5
|
const angular_version_utils_1 = require("../../utilities/angular-version-utils");
|
6
6
|
async function getNgPackagrInstance(options) {
|
@@ -25,4 +25,3 @@ async function getNgPackagrInstance(options) {
|
|
25
25
|
packagr.withBuildTransform(NX_PACKAGE_TRANSFORM.provide);
|
26
26
|
return packagr;
|
27
27
|
}
|
28
|
-
exports.getNgPackagrInstance = getNgPackagrInstance;
|
@@ -8,7 +8,7 @@
|
|
8
8
|
* - Support Angular Compiler `incrementalDriver` for Angular < 16.
|
9
9
|
*/
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
11
|
-
exports.compileSourceFiles =
|
11
|
+
exports.compileSourceFiles = compileSourceFiles;
|
12
12
|
const tslib_1 = require("tslib");
|
13
13
|
const nodes_1 = require("ng-packagr/lib/ng-package/nodes");
|
14
14
|
const log = tslib_1.__importStar(require("ng-packagr/lib/utils/log"));
|
@@ -181,4 +181,3 @@ async function compileSourceFiles(graph, tsConfig, moduleResolutionCache, option
|
|
181
181
|
incrementalCompilation.recordSuccessfulEmit(sourceFile);
|
182
182
|
}
|
183
183
|
}
|
184
|
-
exports.compileSourceFiles = compileSourceFiles;
|
@@ -1,10 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ngccCompilerCli =
|
3
|
+
exports.ngccCompilerCli = ngccCompilerCli;
|
4
4
|
async function ngccCompilerCli() {
|
5
5
|
const compilerCliModule = await new Function(`return import('@angular/compiler-cli/ngcc');`)();
|
6
6
|
return compilerCliModule.process
|
7
7
|
? compilerCliModule
|
8
8
|
: compilerCliModule.default;
|
9
9
|
}
|
10
|
-
exports.ngccCompilerCli = ngccCompilerCli;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.packageExecutor =
|
3
|
+
exports.packageExecutor = void 0;
|
4
|
+
exports.createLibraryExecutor = createLibraryExecutor;
|
4
5
|
const rxjs_for_await_1 = require("@nx/devkit/src/utils/rxjs-for-await");
|
5
6
|
const buildable_libs_utils_1 = require("@nx/js/src/utils/buildable-libs-utils");
|
6
7
|
const path_1 = require("path");
|
@@ -37,6 +38,5 @@ function createLibraryExecutor(initializeNgPackagr) {
|
|
37
38
|
.toPromise();
|
38
39
|
};
|
39
40
|
}
|
40
|
-
exports.createLibraryExecutor = createLibraryExecutor;
|
41
41
|
exports.packageExecutor = createLibraryExecutor(initializeNgPackagr);
|
42
42
|
exports.default = exports.packageExecutor;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.getInstalledAngularVersionInfo = getInstalledAngularVersionInfo;
|
4
|
+
exports.getInstalledPackageVersionInfo = getInstalledPackageVersionInfo;
|
4
5
|
const package_json_1 = require("nx/src/utils/package-json");
|
5
6
|
const semver_1 = require("semver");
|
6
7
|
function getInstalledAngularVersionInfo() {
|
7
8
|
return getInstalledPackageVersionInfo('@angular/core');
|
8
9
|
}
|
9
|
-
exports.getInstalledAngularVersionInfo = getInstalledAngularVersionInfo;
|
10
10
|
function getInstalledPackageVersionInfo(pkgName) {
|
11
11
|
try {
|
12
12
|
const { packageJson: { version }, } = (0, package_json_1.readModulePackageJson)(pkgName);
|
@@ -16,4 +16,3 @@ function getInstalledPackageVersionInfo(pkgName) {
|
|
16
16
|
return null;
|
17
17
|
}
|
18
18
|
}
|
19
|
-
exports.getInstalledPackageVersionInfo = getInstalledPackageVersionInfo;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.createTmpTsConfigForBuildableLibs =
|
3
|
+
exports.createTmpTsConfigForBuildableLibs = createTmpTsConfigForBuildableLibs;
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
5
5
|
const buildable_libs_utils_1 = require("@nx/js/src/utils/buildable-libs-utils");
|
6
6
|
const path_1 = require("path");
|
@@ -13,4 +13,3 @@ function createTmpTsConfigForBuildableLibs(tsConfigPath, context) {
|
|
13
13
|
const tmpTsConfigPathWithoutWorkspaceRoot = tmpTsConfigPath.replace(context.root, '');
|
14
14
|
return { tsConfigPath: tmpTsConfigPathWithoutWorkspaceRoot, dependencies };
|
15
15
|
}
|
16
|
-
exports.createTmpTsConfigForBuildableLibs = createTmpTsConfigForBuildableLibs;
|