@nx/js 21.3.6 → 21.4.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/babel.d.ts +1 -0
- package/babel.d.ts.map +1 -0
- package/package.json +7 -4
- package/plugins/jest/local-registry.d.ts +1 -0
- package/plugins/jest/local-registry.d.ts.map +1 -0
- package/spec/jest.config.d.ts +13 -0
- package/spec/jest.config.d.ts.map +1 -0
- package/spec/migrations.spec.d.ts +2 -0
- package/spec/migrations.spec.d.ts.map +1 -0
- package/spec/src/executors/release-publish/extract-npm-publish-json-data.spec.d.ts +2 -0
- package/spec/src/executors/release-publish/extract-npm-publish-json-data.spec.d.ts.map +1 -0
- package/spec/src/executors/tsc/tsc.impl.spec.d.ts +2 -0
- package/spec/src/executors/tsc/tsc.impl.spec.d.ts.map +1 -0
- package/spec/src/generators/convert-to-swc/convert-to-swc.spec.d.ts +2 -0
- package/spec/src/generators/convert-to-swc/convert-to-swc.spec.d.ts.map +1 -0
- package/spec/src/generators/init/init.spec.d.ts +2 -0
- package/spec/src/generators/init/init.spec.d.ts.map +1 -0
- package/spec/src/generators/library/library.spec.d.ts +2 -0
- package/spec/src/generators/library/library.spec.d.ts.map +1 -0
- package/spec/src/generators/library/utils/add-release-config.spec.d.ts +2 -0
- package/spec/src/generators/library/utils/add-release-config.spec.d.ts.map +1 -0
- package/spec/src/generators/release-version/release-version-workspace-root-project.spec.d.ts +2 -0
- package/spec/src/generators/release-version/release-version-workspace-root-project.spec.d.ts.map +1 -0
- package/spec/src/generators/release-version/release-version.spec.d.ts +2 -0
- package/spec/src/generators/release-version/release-version.spec.d.ts.map +1 -0
- package/spec/src/generators/release-version/utils/resolve-local-package-dependencies.spec.d.ts +2 -0
- package/spec/src/generators/release-version/utils/resolve-local-package-dependencies.spec.d.ts.map +1 -0
- package/spec/src/generators/release-version/utils/resolve-version-spec.spec.d.ts +2 -0
- package/spec/src/generators/release-version/utils/resolve-version-spec.spec.d.ts.map +1 -0
- package/spec/src/generators/release-version/utils/sort-projects-topologically.spec.d.ts +2 -0
- package/spec/src/generators/release-version/utils/sort-projects-topologically.spec.d.ts.map +1 -0
- package/spec/src/generators/setup-build/generator.spec.d.ts +2 -0
- package/spec/src/generators/setup-build/generator.spec.d.ts.map +1 -0
- package/spec/src/generators/setup-prettier/generator.spec.d.ts +2 -0
- package/spec/src/generators/setup-prettier/generator.spec.d.ts.map +1 -0
- package/spec/src/generators/setup-verdaccio/generator.spec.d.ts +2 -0
- package/spec/src/generators/setup-verdaccio/generator.spec.d.ts.map +1 -0
- package/spec/src/generators/typescript-sync/typescript-sync.spec.d.ts +2 -0
- package/spec/src/generators/typescript-sync/typescript-sync.spec.d.ts.map +1 -0
- package/spec/src/plugins/rollup/type-definitions.spec.d.ts +2 -0
- package/spec/src/plugins/rollup/type-definitions.spec.d.ts.map +1 -0
- package/spec/src/plugins/typescript/plugin.spec.d.ts +2 -0
- package/spec/src/plugins/typescript/plugin.spec.d.ts.map +1 -0
- package/spec/src/utils/add-local-registry-scripts.spec.d.ts +2 -0
- package/spec/src/utils/add-local-registry-scripts.spec.d.ts.map +1 -0
- package/spec/src/utils/assets/copy-assets-handler.spec.d.ts +2 -0
- package/spec/src/utils/assets/copy-assets-handler.spec.d.ts.map +1 -0
- package/spec/src/utils/buildable-libs-utils.spec.d.ts +2 -0
- package/spec/src/utils/buildable-libs-utils.spec.d.ts.map +1 -0
- package/spec/src/utils/compiler-helper-dependency.spec.d.ts +2 -0
- package/spec/src/utils/compiler-helper-dependency.spec.d.ts.map +1 -0
- package/spec/src/utils/find-npm-dependencies.spec.d.ts +2 -0
- package/spec/src/utils/find-npm-dependencies.spec.d.ts.map +1 -0
- package/spec/src/utils/get-import-path.spec.d.ts +2 -0
- package/spec/src/utils/get-import-path.spec.d.ts.map +1 -0
- package/spec/src/utils/npm-config.spec.d.ts +2 -0
- package/spec/src/utils/npm-config.spec.d.ts.map +1 -0
- package/spec/src/utils/package-json/update-package-json.spec.d.ts +2 -0
- package/spec/src/utils/package-json/update-package-json.spec.d.ts.map +1 -0
- package/spec/src/utils/typescript/create-ts-config.spec.d.ts +2 -0
- package/spec/src/utils/typescript/create-ts-config.spec.d.ts.map +1 -0
- package/spec/src/utils/typescript/load-ts-transformers.spec.d.ts +2 -0
- package/spec/src/utils/typescript/load-ts-transformers.spec.d.ts.map +1 -0
- package/spec/src/utils/typescript/plugin.spec.d.ts +2 -0
- package/spec/src/utils/typescript/plugin.spec.d.ts.map +1 -0
- package/spec/src/utils/typescript/run-type-check.spec.d.ts +2 -0
- package/spec/src/utils/typescript/run-type-check.spec.d.ts.map +1 -0
- package/src/executors/copy-workspace-modules/copy-workspace-modules.d.ts +1 -0
- package/src/executors/copy-workspace-modules/copy-workspace-modules.d.ts.map +1 -0
- package/src/executors/node/lib/kill-tree.d.ts +1 -0
- package/src/executors/node/lib/kill-tree.d.ts.map +1 -0
- package/src/executors/node/node-with-require-overrides.d.ts +1 -0
- package/src/executors/node/node-with-require-overrides.d.ts.map +1 -0
- package/src/executors/node/node.impl.d.ts +1 -0
- package/src/executors/node/node.impl.d.ts.map +1 -0
- package/src/executors/prune-lockfile/prune-lockfile.d.ts +1 -0
- package/src/executors/prune-lockfile/prune-lockfile.d.ts.map +1 -0
- package/src/executors/release-publish/extract-npm-publish-json-data.d.ts +1 -0
- package/src/executors/release-publish/extract-npm-publish-json-data.d.ts.map +1 -0
- package/src/executors/release-publish/format-bytes.d.ts +1 -0
- package/src/executors/release-publish/format-bytes.d.ts.map +1 -0
- package/src/executors/release-publish/log-tar.d.ts +1 -0
- package/src/executors/release-publish/log-tar.d.ts.map +1 -0
- package/src/executors/release-publish/release-publish.impl.d.ts +1 -0
- package/src/executors/release-publish/release-publish.impl.d.ts.map +1 -0
- package/src/executors/swc/swc.impl.d.ts +1 -0
- package/src/executors/swc/swc.impl.d.ts.map +1 -0
- package/src/executors/tsc/lib/batch/build-task-info-per-tsconfig-map.d.ts +1 -0
- package/src/executors/tsc/lib/batch/build-task-info-per-tsconfig-map.d.ts.map +1 -0
- package/src/executors/tsc/lib/batch/index.d.ts +1 -0
- package/src/executors/tsc/lib/batch/index.d.ts.map +1 -0
- package/src/executors/tsc/lib/batch/normalize-tasks-options.d.ts +1 -0
- package/src/executors/tsc/lib/batch/normalize-tasks-options.d.ts.map +1 -0
- package/src/executors/tsc/lib/batch/types.d.ts +1 -0
- package/src/executors/tsc/lib/batch/types.d.ts.map +1 -0
- package/src/executors/tsc/lib/batch/watch.d.ts +1 -0
- package/src/executors/tsc/lib/batch/watch.d.ts.map +1 -0
- package/src/executors/tsc/lib/get-custom-transformers-factory.d.ts +1 -0
- package/src/executors/tsc/lib/get-custom-transformers-factory.d.ts.map +1 -0
- package/src/executors/tsc/lib/get-task-options.d.ts +1 -0
- package/src/executors/tsc/lib/get-task-options.d.ts.map +1 -0
- package/src/executors/tsc/lib/get-tsconfig.d.ts +1 -0
- package/src/executors/tsc/lib/get-tsconfig.d.ts.map +1 -0
- package/src/executors/tsc/lib/index.d.ts +1 -0
- package/src/executors/tsc/lib/index.d.ts.map +1 -0
- package/src/executors/tsc/lib/normalize-options.d.ts +1 -0
- package/src/executors/tsc/lib/normalize-options.d.ts.map +1 -0
- package/src/executors/tsc/lib/typescript-compilation.d.ts +1 -0
- package/src/executors/tsc/lib/typescript-compilation.d.ts.map +1 -0
- package/src/executors/tsc/lib/typescript-diagnostic-reporters.d.ts +1 -0
- package/src/executors/tsc/lib/typescript-diagnostic-reporters.d.ts.map +1 -0
- package/src/executors/tsc/tsc.batch-impl.d.ts +1 -0
- package/src/executors/tsc/tsc.batch-impl.d.ts.map +1 -0
- package/src/executors/tsc/tsc.impl.d.ts +1 -0
- package/src/executors/tsc/tsc.impl.d.ts.map +1 -0
- package/src/executors/verdaccio/verdaccio.impl.d.ts +1 -0
- package/src/executors/verdaccio/verdaccio.impl.d.ts.map +1 -0
- package/src/generators/convert-to-swc/convert-to-swc.d.ts +1 -0
- package/src/generators/convert-to-swc/convert-to-swc.d.ts.map +1 -0
- package/src/generators/init/init.d.ts +1 -0
- package/src/generators/init/init.d.ts.map +1 -0
- package/src/generators/library/library.d.ts +1 -0
- package/src/generators/library/library.d.ts.map +1 -0
- package/src/generators/library/utils/add-release-config.d.ts +1 -0
- package/src/generators/library/utils/add-release-config.d.ts.map +1 -0
- package/src/generators/release-version/release-version.d.ts +1 -0
- package/src/generators/release-version/release-version.d.ts.map +1 -0
- package/src/generators/release-version/test-utils/create-workspace-with-package-dependencies.d.ts +1 -0
- package/src/generators/release-version/test-utils/create-workspace-with-package-dependencies.d.ts.map +1 -0
- package/src/generators/release-version/utils/package.d.ts +1 -0
- package/src/generators/release-version/utils/package.d.ts.map +1 -0
- package/src/generators/release-version/utils/resolve-local-package-dependencies.d.ts +1 -0
- package/src/generators/release-version/utils/resolve-local-package-dependencies.d.ts.map +1 -0
- package/src/generators/release-version/utils/resolve-version-spec.d.ts +1 -0
- package/src/generators/release-version/utils/resolve-version-spec.d.ts.map +1 -0
- package/src/generators/release-version/utils/sort-projects-topologically.d.ts +1 -0
- package/src/generators/release-version/utils/sort-projects-topologically.d.ts.map +1 -0
- package/src/generators/setup-build/generator.d.ts +1 -0
- package/src/generators/setup-build/generator.d.ts.map +1 -0
- package/src/generators/setup-prettier/generator.d.ts +1 -0
- package/src/generators/setup-prettier/generator.d.ts.map +1 -0
- package/src/generators/setup-verdaccio/generator.d.ts +1 -0
- package/src/generators/setup-verdaccio/generator.d.ts.map +1 -0
- package/src/generators/typescript-sync/typescript-sync.d.ts +1 -0
- package/src/generators/typescript-sync/typescript-sync.d.ts.map +1 -0
- package/src/generators/typescript-sync/typescript-sync.js +44 -33
- package/src/index.d.ts +1 -0
- package/src/index.d.ts.map +1 -0
- package/src/internal.d.ts +1 -0
- package/src/internal.d.ts.map +1 -0
- package/src/plugins/jest/start-local-registry.d.ts +1 -0
- package/src/plugins/jest/start-local-registry.d.ts.map +1 -0
- package/src/plugins/rollup/type-definitions.d.ts +1 -0
- package/src/plugins/rollup/type-definitions.d.ts.map +1 -0
- package/src/plugins/typescript/plugin.d.ts +1 -0
- package/src/plugins/typescript/plugin.d.ts.map +1 -0
- package/src/plugins/typescript/util.d.ts +1 -0
- package/src/plugins/typescript/util.d.ts.map +1 -0
- package/src/release/utils/update-lock-file.d.ts +1 -0
- package/src/release/utils/update-lock-file.d.ts.map +1 -0
- package/src/release/version-actions.d.ts +1 -0
- package/src/release/version-actions.d.ts.map +1 -0
- package/src/utils/add-babel-inputs.d.ts +1 -0
- package/src/utils/add-babel-inputs.d.ts.map +1 -0
- package/src/utils/add-local-registry-scripts.d.ts +1 -0
- package/src/utils/add-local-registry-scripts.d.ts.map +1 -0
- package/src/utils/assets/assets.d.ts +1 -0
- package/src/utils/assets/assets.d.ts.map +1 -0
- package/src/utils/assets/copy-assets-handler.d.ts +1 -0
- package/src/utils/assets/copy-assets-handler.d.ts.map +1 -0
- package/src/utils/assets/copy-assets-handler.js +9 -2
- package/src/utils/assets/index.d.ts +1 -0
- package/src/utils/assets/index.d.ts.map +1 -0
- package/src/utils/buildable-libs-utils.d.ts +1 -0
- package/src/utils/buildable-libs-utils.d.ts.map +1 -0
- package/src/utils/check-dependencies.d.ts +1 -0
- package/src/utils/check-dependencies.d.ts.map +1 -0
- package/src/utils/code-frames/highlight.d.ts +1 -0
- package/src/utils/code-frames/highlight.d.ts.map +1 -0
- package/src/utils/code-frames/identifiers.d.ts +1 -0
- package/src/utils/code-frames/identifiers.d.ts.map +1 -0
- package/src/utils/compiler-helper-dependency.d.ts +1 -0
- package/src/utils/compiler-helper-dependency.d.ts.map +1 -0
- package/src/utils/find-npm-dependencies.d.ts +1 -0
- package/src/utils/find-npm-dependencies.d.ts.map +1 -0
- package/src/utils/generate-globs.d.ts +1 -0
- package/src/utils/generate-globs.d.ts.map +1 -0
- package/src/utils/generator-prompts.d.ts +1 -0
- package/src/utils/generator-prompts.d.ts.map +1 -0
- package/src/utils/get-import-path.d.ts +1 -0
- package/src/utils/get-import-path.d.ts.map +1 -0
- package/src/utils/get-main-file-dir.d.ts +1 -0
- package/src/utils/get-main-file-dir.d.ts.map +1 -0
- package/src/utils/inline.d.ts +1 -0
- package/src/utils/inline.d.ts.map +1 -0
- package/src/utils/is-locally-linked-package-version.d.ts +1 -0
- package/src/utils/is-locally-linked-package-version.d.ts.map +1 -0
- package/src/utils/is-valid-variable.d.ts +1 -0
- package/src/utils/is-valid-variable.d.ts.map +1 -0
- package/src/utils/npm-config.d.ts +1 -0
- package/src/utils/npm-config.d.ts.map +1 -0
- package/src/utils/package-json/create-entry-points.d.ts +1 -0
- package/src/utils/package-json/create-entry-points.d.ts.map +1 -0
- package/src/utils/package-json/get-npm-scope.d.ts +1 -0
- package/src/utils/package-json/get-npm-scope.d.ts.map +1 -0
- package/src/utils/package-json/index.d.ts +1 -0
- package/src/utils/package-json/index.d.ts.map +1 -0
- package/src/utils/package-json/sort-fields.d.ts +1 -0
- package/src/utils/package-json/sort-fields.d.ts.map +1 -0
- package/src/utils/package-json/update-package-json.d.ts +1 -0
- package/src/utils/package-json/update-package-json.d.ts.map +1 -0
- package/src/utils/package-manager-workspaces.d.ts +1 -0
- package/src/utils/package-manager-workspaces.d.ts.map +1 -0
- package/src/utils/prettier.d.ts +1 -0
- package/src/utils/prettier.d.ts.map +1 -0
- package/src/utils/swc/add-swc-config.d.ts +1 -0
- package/src/utils/swc/add-swc-config.d.ts.map +1 -0
- package/src/utils/swc/add-swc-dependencies.d.ts +1 -0
- package/src/utils/swc/add-swc-dependencies.d.ts.map +1 -0
- package/src/utils/swc/compile-swc.d.ts +1 -0
- package/src/utils/swc/compile-swc.d.ts.map +1 -0
- package/src/utils/swc/get-swcrc-path.d.ts +1 -0
- package/src/utils/swc/get-swcrc-path.d.ts.map +1 -0
- package/src/utils/swc/inline.d.ts +1 -0
- package/src/utils/swc/inline.d.ts.map +1 -0
- package/src/utils/typescript/__mocks__/function-after-declarations-plugin.d.ts +1 -0
- package/src/utils/typescript/__mocks__/function-after-declarations-plugin.d.ts.map +1 -0
- package/src/utils/typescript/__mocks__/function-after-plugin.d.ts +1 -0
- package/src/utils/typescript/__mocks__/function-after-plugin.d.ts.map +1 -0
- package/src/utils/typescript/__mocks__/function-direct-export.d.ts +1 -0
- package/src/utils/typescript/__mocks__/function-direct-export.d.ts.map +1 -0
- package/src/utils/typescript/__mocks__/function-multiple-hooks.d.ts +1 -0
- package/src/utils/typescript/__mocks__/function-multiple-hooks.d.ts.map +1 -0
- package/src/utils/typescript/__mocks__/plugin-a.d.ts +1 -0
- package/src/utils/typescript/__mocks__/plugin-a.d.ts.map +1 -0
- package/src/utils/typescript/__mocks__/plugin-b.d.ts +1 -0
- package/src/utils/typescript/__mocks__/plugin-b.d.ts.map +1 -0
- package/src/utils/typescript/add-tslib-dependencies.d.ts +1 -0
- package/src/utils/typescript/add-tslib-dependencies.d.ts.map +1 -0
- package/src/utils/typescript/ast-utils.d.ts +1 -0
- package/src/utils/typescript/ast-utils.d.ts.map +1 -0
- package/src/utils/typescript/compile-typescript-files.d.ts +1 -0
- package/src/utils/typescript/compile-typescript-files.d.ts.map +1 -0
- package/src/utils/typescript/configuration.d.ts +1 -0
- package/src/utils/typescript/configuration.d.ts.map +1 -0
- package/src/utils/typescript/create-ts-config.d.ts +1 -0
- package/src/utils/typescript/create-ts-config.d.ts.map +1 -0
- package/src/utils/typescript/ensure-typescript.d.ts +1 -0
- package/src/utils/typescript/ensure-typescript.d.ts.map +1 -0
- package/src/utils/typescript/get-source-nodes.d.ts +1 -0
- package/src/utils/typescript/get-source-nodes.d.ts.map +1 -0
- package/src/utils/typescript/load-ts-transformers.d.ts +1 -0
- package/src/utils/typescript/load-ts-transformers.d.ts.map +1 -0
- package/src/utils/typescript/plugin.d.ts +1 -0
- package/src/utils/typescript/plugin.d.ts.map +1 -0
- package/src/utils/typescript/print-diagnostics.d.ts +1 -0
- package/src/utils/typescript/print-diagnostics.d.ts.map +1 -0
- package/src/utils/typescript/run-type-check.d.ts +1 -0
- package/src/utils/typescript/run-type-check.d.ts.map +1 -0
- package/src/utils/typescript/ts-config.d.ts +1 -0
- package/src/utils/typescript/ts-config.d.ts.map +1 -0
- package/src/utils/typescript/ts-solution-setup.d.ts +1 -0
- package/src/utils/typescript/ts-solution-setup.d.ts.map +1 -0
- package/src/utils/typescript/types.d.ts +1 -0
- package/src/utils/typescript/types.d.ts.map +1 -0
- package/src/utils/versions.d.ts +1 -0
- package/src/utils/versions.d.ts.map +1 -0
- package/src/utils/watch-for-single-file-changes.d.ts +1 -0
- package/src/utils/watch-for-single-file-changes.d.ts.map +1 -0
- package/typescript.d.ts +1 -0
- package/typescript.d.ts.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verdaccio.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/executors/verdaccio/verdaccio.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAU,MAAM,YAAY,CAAC;AAMrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAUnD;;;;GAIG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,eAAe;;;GAqDzB;AAmTD,eAAe,iBAAiB,CAAC"}
|
|
@@ -2,3 +2,4 @@ import { Tree } from '@nx/devkit';
|
|
|
2
2
|
import { ConvertToSwcGeneratorSchema } from './schema';
|
|
3
3
|
export declare function convertToSwcGenerator(tree: Tree, schema: ConvertToSwcGeneratorSchema): Promise<() => void>;
|
|
4
4
|
export default convertToSwcGenerator;
|
|
5
|
+
//# sourceMappingURL=convert-to-swc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert-to-swc.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/generators/convert-to-swc/convert-to-swc.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,IAAI,EAEL,MAAM,YAAY,CAAC;AAKpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAEvD,wBAAsB,qBAAqB,CACzC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,2BAA2B,uBAapC;AAkFD,eAAe,qBAAqB,CAAC"}
|
|
@@ -3,3 +3,4 @@ import { InitSchema } from './schema';
|
|
|
3
3
|
export declare function initGenerator(tree: Tree, schema: InitSchema): Promise<GeneratorCallback>;
|
|
4
4
|
export declare function initGeneratorInternal(tree: Tree, schema: InitSchema): Promise<GeneratorCallback>;
|
|
5
5
|
export default initGenerator;
|
|
6
|
+
//# sourceMappingURL=init.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/generators/init/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,iBAAiB,EAIjB,IAAI,EACL,MAAM,YAAY,CAAC;AAoBpB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAoCtC,wBAAsB,aAAa,CACjC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,iBAAiB,CAAC,CAS5B;AAED,wBAAsB,qBAAqB,CACzC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,UAAU,GACjB,OAAO,CAAC,iBAAiB,CAAC,CA8H5B;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -5,3 +5,4 @@ export declare function libraryGeneratorInternal(tree: Tree, schema: LibraryGene
|
|
|
5
5
|
export type AddLintOptions = Pick<NormalizedLibraryGeneratorOptions, 'name' | 'linter' | 'projectRoot' | 'unitTestRunner' | 'js' | 'setParserOptionsProject' | 'rootProject' | 'bundler' | 'addPlugin'>;
|
|
6
6
|
export declare function addLint(tree: Tree, options: AddLintOptions): Promise<GeneratorCallback>;
|
|
7
7
|
export default libraryGenerator;
|
|
8
|
+
//# sourceMappingURL=library.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/generators/library/library.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,iBAAiB,EAYjB,IAAI,EAKL,MAAM,YAAY,CAAC;AAwCpB,OAAO,KAAK,EAEV,sBAAsB,EACtB,iCAAiC,EAClC,MAAM,UAAU,CAAC;AASlB,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,sBAAsB,8BAO/B;AAED,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,sBAAsB,8BAoL/B;AA4HD,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,iCAAiC,EAC/B,MAAM,GACN,QAAQ,GACR,aAAa,GACb,gBAAgB,GAChB,IAAI,GACJ,yBAAyB,GACzB,aAAa,GACb,SAAS,GACT,WAAW,CACd,CAAC;AAEF,wBAAsB,OAAO,CAC3B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,iBAAiB,CAAC,CAqG5B;AA4vBD,eAAe,gBAAgB,CAAC"}
|
|
@@ -9,3 +9,4 @@ export declare function addReleaseConfigForTsSolution(tree: Tree, projectName: s
|
|
|
9
9
|
*/
|
|
10
10
|
export declare function addReleaseConfigForNonTsSolution(useLegacyVersioning: boolean, tree: Tree, projectName: string, projectConfiguration: ProjectConfiguration, defaultOutputDirectory?: string): Promise<ProjectConfiguration>;
|
|
11
11
|
export declare function releaseTasks(tree: Tree): Promise<GeneratorCallback>;
|
|
12
|
+
//# sourceMappingURL=add-release-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-release-config.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/generators/library/utils/add-release-config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAIjB,oBAAoB,EAIpB,IAAI,EAEL,MAAM,YAAY,CAAC;AAIpB;;GAEG;AACH,wBAAsB,6BAA6B,CACjD,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,GACzC,OAAO,CAAC,IAAI,CAAC,CAuFf;AAED;;;GAGG;AACH,wBAAsB,gCAAgC,CACpD,mBAAmB,EAAE,OAAO,EAC5B,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,sBAAsB,GAAE,MAAe,iCA0CxC;AAuBD,wBAAsB,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAKzE"}
|
|
@@ -3,3 +3,4 @@ import { ReleaseVersionGeneratorResult } from 'nx/src/command-line/release/versi
|
|
|
3
3
|
import { ReleaseVersionGeneratorSchema } from './schema';
|
|
4
4
|
export declare function releaseVersionGenerator(tree: Tree, options: ReleaseVersionGeneratorSchema): Promise<ReleaseVersionGeneratorResult>;
|
|
5
5
|
export default releaseVersionGenerator;
|
|
6
|
+
//# sourceMappingURL=release-version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"release-version.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/generators/release-version/release-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,IAAI,EAQL,MAAM,YAAY,CAAC;AAqBpB,OAAO,EACL,6BAA6B,EAI9B,MAAM,4CAA4C,CAAC;AAOpD,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAezD,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,6BAA6B,GACrC,OAAO,CAAC,6BAA6B,CAAC,CAw9BxC;AAED,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-workspace-with-package-dependencies.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/generators/release-version/test-utils/create-workspace-with-package-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,IAAI,EAAa,MAAM,YAAY,CAAC;AAE3D,UAAU,qBAAqB;IAC7B,CAAC,WAAW,EAAE,MAAM,GAAG;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;QAChB,eAAe,EAAE,MAAM,CAAC;QACxB,iBAAiB,EAAE;YACjB,WAAW,EAAE,MAAM,CAAC;YACpB,oBAAoB,EAChB,cAAc,GACd,iBAAiB,GACjB,sBAAsB,CAAC;YAC3B,OAAO,EAAE,MAAM,CAAC;SACjB,EAAE,CAAC;KACL,CAAC;CACH;AAED,wBAAgB,sCAAsC,CACpD,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,qBAAqB,GAC3C,YAAY,CAuCd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/generators/release-version/utils/package.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,qBAAa,OAAO;IAMhB,OAAO,CAAC,WAAW;IALrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;gBAGP,WAAW,EAAE,WAAW,EAChC,aAAa,EAAE,MAAM,EACrB,yBAAyB,EAAE,MAAM;IAOnC,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG;QACnC,UAAU,EAAE,cAAc,GAAG,iBAAiB,GAAG,sBAAsB,CAAC;QACxE,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,IAAI;CAqBT"}
|
|
@@ -9,3 +9,4 @@ export interface LocalPackageDependency extends ProjectGraphDependency {
|
|
|
9
9
|
dependencyCollection: 'dependencies' | 'devDependencies' | 'optionalDependencies';
|
|
10
10
|
}
|
|
11
11
|
export declare function resolveLocalPackageDependencies(tree: Tree, projectGraph: ProjectGraph, filteredProjects: ProjectGraphProjectNode[], projectNameToPackageRootMap: Map<string, string>, resolvePackageRoot: (projectNode: ProjectGraphProjectNode) => string, includeAll?: boolean): Record<string, LocalPackageDependency[]>;
|
|
12
|
+
//# sourceMappingURL=resolve-local-package-dependencies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-local-package-dependencies.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/generators/release-version/utils/resolve-local-package-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,sBAAsB,EACtB,uBAAuB,EACvB,IAAI,EAIL,MAAM,YAAY,CAAC;AAMpB,MAAM,WAAW,sBAAuB,SAAQ,sBAAsB;IACpE;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB,oBAAoB,EAChB,cAAc,GACd,iBAAiB,GACjB,sBAAsB,CAAC;CAE5B;AAED,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,uBAAuB,EAAE,EAC3C,2BAA2B,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAChD,kBAAkB,EAAE,CAAC,WAAW,EAAE,uBAAuB,KAAK,MAAM,EACpE,UAAU,UAAQ,GACjB,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,CAAC,CAqF1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-version-spec.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/generators/release-version/utils/resolve-version-spec.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,GAChB,MAAM,CAwBR"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { ProjectGraph, ProjectGraphProjectNode } from '@nx/devkit';
|
|
2
2
|
export declare function sortProjectsTopologically(projectGraph: ProjectGraph, projectNodes: ProjectGraphProjectNode[]): ProjectGraphProjectNode[];
|
|
3
|
+
//# sourceMappingURL=sort-projects-topologically.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sort-projects-topologically.d.ts","sourceRoot":"","sources":["../../../../../../../packages/js/src/generators/release-version/utils/sort-projects-topologically.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAEZ,uBAAuB,EACxB,MAAM,YAAY,CAAC;AAEpB,wBAAgB,yBAAyB,CACvC,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,uBAAuB,EAAE,GACtC,uBAAuB,EAAE,CAsD3B"}
|
|
@@ -2,3 +2,4 @@ import { type GeneratorCallback, type Tree } from '@nx/devkit';
|
|
|
2
2
|
import { SetupBuildGeneratorSchema } from './schema';
|
|
3
3
|
export declare function setupBuildGenerator(tree: Tree, options: SetupBuildGeneratorSchema): Promise<GeneratorCallback>;
|
|
4
4
|
export default setupBuildGenerator;
|
|
5
|
+
//# sourceMappingURL=generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/generators/setup-build/generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAWL,KAAK,iBAAiB,EAEtB,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AAoBpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC;AAIrD,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,iBAAiB,CAAC,CAkL5B;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -2,3 +2,4 @@ import { type GeneratorCallback, type Tree } from '@nx/devkit';
|
|
|
2
2
|
import type { GeneratorOptions } from './schema';
|
|
3
3
|
export declare function setupPrettierGenerator(tree: Tree, options: GeneratorOptions): Promise<GeneratorCallback>;
|
|
4
4
|
export default setupPrettierGenerator;
|
|
5
|
+
//# sourceMappingURL=generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/generators/setup-prettier/generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AAGpB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,iBAAiB,CAAC,CAgB5B;AAED,eAAe,sBAAsB,CAAC"}
|
|
@@ -2,3 +2,4 @@ import { Tree } from '@nx/devkit';
|
|
|
2
2
|
import { SetupVerdaccioGeneratorSchema } from './schema';
|
|
3
3
|
export declare function setupVerdaccio(tree: Tree, options: SetupVerdaccioGeneratorSchema): Promise<import("@nx/devkit").GeneratorCallback>;
|
|
4
4
|
export default setupVerdaccio;
|
|
5
|
+
//# sourceMappingURL=generator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/generators/setup-verdaccio/generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,IAAI,EAEL,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAKzD,wBAAsB,cAAc,CAClC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,6BAA6B,mDA8DvC;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -2,3 +2,4 @@ import { type Tree } from '@nx/devkit';
|
|
|
2
2
|
import { type SyncGeneratorResult } from 'nx/src/utils/sync-generators';
|
|
3
3
|
export declare function syncGenerator(tree: Tree): Promise<SyncGeneratorResult>;
|
|
4
4
|
export default syncGenerator;
|
|
5
|
+
//# sourceMappingURL=typescript-sync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typescript-sync.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/generators/typescript-sync/typescript-sync.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,IAAI,EACV,MAAM,YAAY,CAAC;AAIpB,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAC;AAuCtC,wBAAsB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAgO5E;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -22,7 +22,6 @@ async function syncGenerator(tree) {
|
|
|
22
22
|
composite: new Map(),
|
|
23
23
|
content: new Map(),
|
|
24
24
|
exists: new Map(),
|
|
25
|
-
isFile: new Map(),
|
|
26
25
|
};
|
|
27
26
|
// Root tsconfig containing project references for the whole workspace
|
|
28
27
|
const rootTsconfigPath = 'tsconfig.json';
|
|
@@ -63,18 +62,18 @@ async function syncGenerator(tree) {
|
|
|
63
62
|
// made by this generator to know if the TS config is out of sync with the
|
|
64
63
|
// project graph. Therefore, we don't format the files if there were no changes
|
|
65
64
|
// to avoid potential format-only changes that can lead to false positives.
|
|
66
|
-
|
|
65
|
+
const changedFiles = new Map();
|
|
67
66
|
if (tsconfigProjectNodeValues.length > 0) {
|
|
68
67
|
const referencesSet = new Set();
|
|
69
68
|
for (const ref of rootTsconfig.references ?? []) {
|
|
70
69
|
// reference path is relative to the tsconfig file
|
|
71
|
-
const resolvedRefPath = getTsConfigPathFromReferencePath(
|
|
70
|
+
const resolvedRefPath = getTsConfigPathFromReferencePath(rootTsconfigPath, ref.path);
|
|
72
71
|
if (tsconfigExists(tree, tsconfigInfoCaches, resolvedRefPath)) {
|
|
73
72
|
// we only keep the references that still exist
|
|
74
73
|
referencesSet.add(normalizeReferencePath(ref.path));
|
|
75
74
|
}
|
|
76
75
|
else {
|
|
77
|
-
|
|
76
|
+
addChangedFile(changedFiles, rootTsconfigPath, resolvedRefPath, 'stale');
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
79
|
for (const node of tsconfigProjectNodeValues) {
|
|
@@ -82,10 +81,10 @@ async function syncGenerator(tree) {
|
|
|
82
81
|
// Skip the root tsconfig itself
|
|
83
82
|
if (node.data.root !== '.' && !referencesSet.has(normalizedPath)) {
|
|
84
83
|
referencesSet.add(normalizedPath);
|
|
85
|
-
|
|
84
|
+
addChangedFile(changedFiles, rootTsconfigPath, toFullProjectReferencePath(node.data.root), 'missing');
|
|
86
85
|
}
|
|
87
86
|
}
|
|
88
|
-
if (
|
|
87
|
+
if (changedFiles.size > 0) {
|
|
89
88
|
const updatedReferences = Array.from(referencesSet)
|
|
90
89
|
// Check composite is true in the internal reference before proceeding
|
|
91
90
|
.filter((ref) => hasCompositeEnabled(tsSysFromTree, tsconfigInfoCaches, (0, devkit_1.joinPathFragments)(ref, 'tsconfig.json')))
|
|
@@ -101,7 +100,7 @@ async function syncGenerator(tree) {
|
|
|
101
100
|
COMMON_RUNTIME_TS_CONFIG_FILE_NAMES,
|
|
102
101
|
};
|
|
103
102
|
const collectedDependencies = new Map();
|
|
104
|
-
for (const
|
|
103
|
+
for (const projectName of Object.keys(projectGraph.dependencies)) {
|
|
105
104
|
if (!projectGraph.nodes[projectName] ||
|
|
106
105
|
projectGraph.nodes[projectName].data.root === '.') {
|
|
107
106
|
continue;
|
|
@@ -124,17 +123,26 @@ async function syncGenerator(tree) {
|
|
|
124
123
|
continue;
|
|
125
124
|
}
|
|
126
125
|
// Update project references for the runtime tsconfig
|
|
127
|
-
|
|
128
|
-
updateTsConfigReferences(tree, tsSysFromTree, tsconfigInfoCaches, runtimeTsConfigPath, dependencies, sourceProjectNode.data.root, projectRoots, runtimeTsConfigFileName, runtimeTsConfigFileNames) || hasChanges;
|
|
126
|
+
updateTsConfigReferences(tree, tsSysFromTree, tsconfigInfoCaches, runtimeTsConfigPath, dependencies, sourceProjectNode.data.root, projectRoots, changedFiles, runtimeTsConfigFileName, runtimeTsConfigFileNames);
|
|
129
127
|
}
|
|
130
128
|
// Update project references for the tsconfig.json file
|
|
131
|
-
|
|
132
|
-
updateTsConfigReferences(tree, tsSysFromTree, tsconfigInfoCaches, sourceProjectTsconfigPath, dependencies, sourceProjectNode.data.root, projectRoots) || hasChanges;
|
|
129
|
+
updateTsConfigReferences(tree, tsSysFromTree, tsconfigInfoCaches, sourceProjectTsconfigPath, dependencies, sourceProjectNode.data.root, projectRoots, changedFiles);
|
|
133
130
|
}
|
|
134
|
-
if (
|
|
131
|
+
if (changedFiles.size > 0) {
|
|
135
132
|
await (0, devkit_1.formatFiles)(tree);
|
|
133
|
+
const outOfSyncDetails = [];
|
|
134
|
+
for (const [filePath, details] of changedFiles) {
|
|
135
|
+
outOfSyncDetails.push(`${filePath}:`);
|
|
136
|
+
if (details.missing.size > 0) {
|
|
137
|
+
outOfSyncDetails.push(` - Missing references: ${Array.from(details.missing).join(', ')}`);
|
|
138
|
+
}
|
|
139
|
+
if (details.stale.size > 0) {
|
|
140
|
+
outOfSyncDetails.push(` - Stale references: ${Array.from(details.stale).join(', ')}`);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
136
143
|
return {
|
|
137
|
-
outOfSyncMessage: 'Some TypeScript configuration files are missing project references to the projects they depend on or contain
|
|
144
|
+
outOfSyncMessage: 'Some TypeScript configuration files are missing project references to the projects they depend on or contain stale project references.',
|
|
145
|
+
outOfSyncDetails,
|
|
138
146
|
};
|
|
139
147
|
}
|
|
140
148
|
}
|
|
@@ -159,7 +167,7 @@ function tsconfigExists(tree, tsconfigInfoCaches, tsconfigPath) {
|
|
|
159
167
|
}
|
|
160
168
|
return tsconfigInfoCaches.exists.get(tsconfigPath);
|
|
161
169
|
}
|
|
162
|
-
function updateTsConfigReferences(tree, tsSysFromTree, tsconfigInfoCaches, tsConfigPath, dependencies, projectRoot, projectRoots, runtimeTsConfigFileName, possibleRuntimeTsConfigFileNames) {
|
|
170
|
+
function updateTsConfigReferences(tree, tsSysFromTree, tsconfigInfoCaches, tsConfigPath, dependencies, projectRoot, projectRoots, changedFiles, runtimeTsConfigFileName, possibleRuntimeTsConfigFileNames) {
|
|
163
171
|
const stringifiedJsonContents = readRawTsconfigContents(tree, tsconfigInfoCaches, tsConfigPath);
|
|
164
172
|
const tsConfig = (0, devkit_1.parseJson)(stringifiedJsonContents);
|
|
165
173
|
const ignoredReferences = new Set(tsConfig.nx?.sync?.ignoredReferences ?? []);
|
|
@@ -177,13 +185,16 @@ function updateTsConfigReferences(tree, tsSysFromTree, tsconfigInfoCaches, tsCon
|
|
|
177
185
|
continue;
|
|
178
186
|
}
|
|
179
187
|
// reference path is relative to the tsconfig file
|
|
180
|
-
const resolvedRefPath = getTsConfigPathFromReferencePath(
|
|
181
|
-
if (isProjectReferenceWithinNxProject(
|
|
188
|
+
const resolvedRefPath = getTsConfigPathFromReferencePath(tsConfigPath, ref.path);
|
|
189
|
+
if (isProjectReferenceWithinNxProject(resolvedRefPath, projectRoot, projectRoots) ||
|
|
182
190
|
isProjectReferenceIgnored(tree, resolvedRefPath)) {
|
|
183
191
|
// we keep all references within the current Nx project or that are ignored
|
|
184
192
|
references.push(ref);
|
|
185
193
|
newReferencesSet.add(normalizedPath);
|
|
186
194
|
}
|
|
195
|
+
if (!newReferencesSet.has(normalizedPath)) {
|
|
196
|
+
addChangedFile(changedFiles, tsConfigPath, resolvedRefPath, 'stale');
|
|
197
|
+
}
|
|
187
198
|
}
|
|
188
199
|
let hasChanges = false;
|
|
189
200
|
for (const dep of dependencies) {
|
|
@@ -238,13 +249,13 @@ function updateTsConfigReferences(tree, tsSysFromTree, tsconfigInfoCaches, tsCon
|
|
|
238
249
|
}
|
|
239
250
|
if (!originalReferencesSet.has(relativePathToTargetRoot)) {
|
|
240
251
|
hasChanges = true;
|
|
252
|
+
addChangedFile(changedFiles, tsConfigPath, toFullProjectReferencePath(referencePath), 'missing');
|
|
241
253
|
}
|
|
242
254
|
}
|
|
243
255
|
hasChanges ||= newReferencesSet.size !== originalReferencesSet.size;
|
|
244
256
|
if (hasChanges) {
|
|
245
257
|
patchTsconfigJsonReferences(tree, tsconfigInfoCaches, tsConfigPath, references);
|
|
246
258
|
}
|
|
247
|
-
return hasChanges;
|
|
248
259
|
}
|
|
249
260
|
// TODO(leo): follow up with the TypeScript team to confirm if we really need
|
|
250
261
|
// to reference transitive dependencies.
|
|
@@ -288,8 +299,14 @@ function normalizeReferencePath(path) {
|
|
|
288
299
|
.replace(/\/tsconfig.json$/, '')
|
|
289
300
|
.replace(/^\.\//, '');
|
|
290
301
|
}
|
|
291
|
-
function
|
|
292
|
-
|
|
302
|
+
function toFullProjectReferencePath(path) {
|
|
303
|
+
const normalizedPath = normalizeReferencePath(path);
|
|
304
|
+
return normalizedPath.endsWith('.json')
|
|
305
|
+
? normalizedPath
|
|
306
|
+
: (0, devkit_1.joinPathFragments)(normalizedPath, 'tsconfig.json');
|
|
307
|
+
}
|
|
308
|
+
function isProjectReferenceWithinNxProject(refTsConfigPath, projectRoot, projectRoots) {
|
|
309
|
+
let currentPath = getTsConfigDirName(refTsConfigPath);
|
|
293
310
|
if ((0, posix_1.relative)(projectRoot, currentPath).startsWith('..')) {
|
|
294
311
|
// it's outside of the project root, so it's an external project reference
|
|
295
312
|
return false;
|
|
@@ -315,14 +332,14 @@ function isProjectReferenceIgnored(tree, refTsConfigPath) {
|
|
|
315
332
|
}
|
|
316
333
|
return ig.ignores(refTsConfigPath);
|
|
317
334
|
}
|
|
318
|
-
function getTsConfigDirName(
|
|
319
|
-
return
|
|
335
|
+
function getTsConfigDirName(tsConfigPath) {
|
|
336
|
+
return tsConfigPath.endsWith('.json')
|
|
320
337
|
? (0, posix_1.dirname)(tsConfigPath)
|
|
321
338
|
: (0, posix_1.normalize)(tsConfigPath);
|
|
322
339
|
}
|
|
323
|
-
function getTsConfigPathFromReferencePath(
|
|
340
|
+
function getTsConfigPathFromReferencePath(ownerTsConfigPath, referencePath) {
|
|
324
341
|
const resolvedRefPath = (0, devkit_1.joinPathFragments)((0, posix_1.dirname)(ownerTsConfigPath), referencePath);
|
|
325
|
-
return
|
|
342
|
+
return resolvedRefPath.endsWith('.json')
|
|
326
343
|
? resolvedRefPath
|
|
327
344
|
: (0, devkit_1.joinPathFragments)(resolvedRefPath, 'tsconfig.json');
|
|
328
345
|
}
|
|
@@ -344,15 +361,9 @@ function hasCompositeEnabled(tsSysFromTree, tsconfigInfoCaches, tsconfigPath) {
|
|
|
344
361
|
}
|
|
345
362
|
return tsconfigInfoCaches.composite.get(tsconfigPath);
|
|
346
363
|
}
|
|
347
|
-
function
|
|
348
|
-
if (
|
|
349
|
-
|
|
350
|
-
}
|
|
351
|
-
if (tsconfigInfoCaches.content.has(tsconfigPath)) {
|
|
352
|
-
// if it has content, it's a file
|
|
353
|
-
tsconfigInfoCaches.isFile.set(tsconfigPath, true);
|
|
354
|
-
return true;
|
|
364
|
+
function addChangedFile(changedFiles, filePath, referencePath, type) {
|
|
365
|
+
if (!changedFiles.has(filePath)) {
|
|
366
|
+
changedFiles.set(filePath, { missing: new Set(), stale: new Set() });
|
|
355
367
|
}
|
|
356
|
-
|
|
357
|
-
return tsconfigInfoCaches.isFile.get(tsconfigPath);
|
|
368
|
+
changedFiles.get(filePath)[type].add(referencePath);
|
|
358
369
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -18,3 +18,4 @@ export { setupVerdaccio } from './generators/setup-verdaccio/generator';
|
|
|
18
18
|
export { isValidVariable } from './utils/is-valid-variable';
|
|
19
19
|
export { createLockFile, getLockFileName, } from 'nx/src/plugins/js/lock-file/lock-file';
|
|
20
20
|
export { createPackageJson } from 'nx/src/plugins/js/package-json/create-package-json';
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/js/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yCAAyC,CAAC;AACxD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,EACL,cAAc,EACd,eAAe,GAChB,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC"}
|
package/src/internal.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export { resolveModuleByImport } from './utils/typescript/ast-utils';
|
|
|
2
2
|
export { registerTsProject, registerTsConfigPaths, } from 'nx/src/plugins/js/utils/register';
|
|
3
3
|
export { TargetProjectLocator, isBuiltinModuleImport, } from 'nx/src/plugins/js/project-graph/build-dependencies/target-project-locator';
|
|
4
4
|
export { findProjectsNpmDependencies } from 'nx/src/plugins/js/package-json/create-package-json';
|
|
5
|
+
//# sourceMappingURL=internal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../../packages/js/src/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EACL,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,2EAA2E,CAAC;AAEnF,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start-local-registry.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/plugins/jest/start-local-registry.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,mBAAmB,EACnB,OAAO,EACP,OAAO,EACP,YAAY,EACZ,aAAa,GACd,EAAE;IACD,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,iBAK0B,IAAI,EA4E9B;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type-definitions.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/plugins/rollup/type-definitions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAiB3C,wBAAgB,eAAe,CAAC,OAAO,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE;;0BAGhC,OAAO,UAAU,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;EA2C5E"}
|
|
@@ -18,3 +18,4 @@ export declare const createDependencies: CreateDependencies;
|
|
|
18
18
|
export declare const PLUGIN_NAME = "@nx/js/typescript";
|
|
19
19
|
export declare const createNodesV2: CreateNodesV2<TscPluginOptions>;
|
|
20
20
|
export declare const createNodes: CreateNodes<TscPluginOptions>;
|
|
21
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/plugins/typescript/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAGhB,KAAK,aAAa,EAInB,MAAM,YAAY,CAAC;AAiCpB,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EACN,OAAO,GACP;QACE,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IACN,KAAK,CAAC,EACF,OAAO,GACP;QACE,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACN,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAwFD;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,kBAEhC,CAAC;AAEF,eAAO,MAAM,WAAW,sBAAsB,CAAC;AAI/C,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,gBAAgB,CA6DzD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,gBAAgB,CAsCrD,CAAC"}
|
|
@@ -16,3 +16,4 @@ export declare function addBuildAndWatchDepsTargets(workspaceRoot: string, proje
|
|
|
16
16
|
watchDepsTargetName?: string;
|
|
17
17
|
}, pmc: PackageManagerCommands): void;
|
|
18
18
|
export declare function isValidPackageJsonBuildConfig(tsConfig: ParsedTsconfigData, workspaceRoot: string, projectRoot: string): boolean;
|
|
19
|
+
//# sourceMappingURL=util.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/plugins/typescript/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGpE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAE3E,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAGpD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,iBAAiB,EACjB,SAAS,GAAG,mBAAmB,GAAG,KAAK,CACxC,GAAG;IACF,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;CAC3C,CAAC;AAEF;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,EAC5C,OAAO,EAAE;IAAE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAAC,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAAE,EACvE,GAAG,EAAE,sBAAsB,GAC1B,IAAI,CA2BN;AAED,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,kBAAkB,EAC5B,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,GAClB,OAAO,CAgLT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-lock-file.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/release/utils/update-lock-file.ts"],"names":[],"mappings":"AAaA,wBAAsB,cAAc,CAClC,GAAG,EAAE,MAAM,EACX,EACE,MAAM,EACN,OAAO,EACP,mBAAmB,EACnB,OAAO,GACR,EAAE;IACD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE;QACR,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;KAChC,CAAC;CACH,qBAgGF"}
|
|
@@ -20,3 +20,4 @@ export default class JsVersionActions extends VersionActions {
|
|
|
20
20
|
updateProjectDependencies(tree: Tree, projectGraph: ProjectGraph, dependenciesToUpdate: Record<string, string>): Promise<string[]>;
|
|
21
21
|
private isLocalDependencyProtocol;
|
|
22
22
|
}
|
|
23
|
+
//# sourceMappingURL=version-actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version-actions.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/release/version-actions.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,IAAI,EAGL,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACvE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAK3E,eAAO,MAAM,yBAAyB,EAAE,yBAmBvC,CAAC;AAKF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,cAAc;IAC1D,sBAAsB,WAAoB;IAEpC,oCAAoC,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAAC;QAC9D,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;IAkBI,8BAA8B,CAClC,IAAI,EAAE,IAAI,EACV,8BAA8B,EAAE,6BAA6B,CAAC,gCAAgC,CAAC,GAC9F,OAAO,CAAC;QACT,cAAc,EAAE,MAAM,CAAC;QACvB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IA0DI,8BAA8B,CAClC,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,qBAAqB,EAAE,MAAM,GAC5B,OAAO,CAAC;QACT,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;QAC9B,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;KACrC,CAAC;IA+BI,oBAAoB,CACxB,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,EAAE,CAAC;IAcd,yBAAyB,CAC7B,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC3C,OAAO,CAAC,MAAM,EAAE,CAAC;IA+DpB,OAAO,CAAC,yBAAyB;CAyClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-babel-inputs.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/utils/add-babel-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,IAAI,EAGL,MAAM,YAAY,CAAC;AAEpB,kGAAkG;AAElG,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,QAsBxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-local-registry-scripts.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/utils/add-local-registry-scripts.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AA2D/E,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI;;;EA0CjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assets.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/utils/assets/assets.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,eAAe,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,EACjC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GACb,eAAe,EAAE,CA0CnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-assets-handler.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/utils/assets/copy-assets-handler.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,EAAE,WAAW,EAAgB,MAAM,6BAA6B,CAAC;AAGxE,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CAC1C;AAUD,eAAO,MAAM,uBAAuB,GAAI,QAAQ,SAAS,EAAE,SAiB1D,CAAC;AAEF,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAS;IACjC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAe;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IACnD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAgC;gBAE7C,IAAI,EAAE,uBAAuB;IAuDnC,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAmB3C,wBAAwB,IAAI,IAAI;IAgB1B,4BAA4B,IAAI,OAAO,CAAC,MAAM,IAAI,CAAC;IAqBnD,kBAAkB,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAgC9D,OAAO,CAAC,YAAY;IAkBpB,OAAO,CAAC,qBAAqB;CAG9B"}
|
|
@@ -41,10 +41,12 @@ class CopyAssetsHandler {
|
|
|
41
41
|
this.ignore = (0, ignore_1.default)();
|
|
42
42
|
const gitignore = pathPosix.join(opts.rootDir, '.gitignore');
|
|
43
43
|
const nxignore = pathPosix.join(opts.rootDir, '.nxignore');
|
|
44
|
-
if ((0, node_fs_1.existsSync)(gitignore))
|
|
44
|
+
if ((0, node_fs_1.existsSync)(gitignore)) {
|
|
45
45
|
this.ignore.add((0, node_fs_1.readFileSync)(gitignore).toString());
|
|
46
|
-
|
|
46
|
+
}
|
|
47
|
+
if ((0, node_fs_1.existsSync)(nxignore)) {
|
|
47
48
|
this.ignore.add((0, node_fs_1.readFileSync)(nxignore).toString());
|
|
49
|
+
}
|
|
48
50
|
this.assetGlobs = opts.assets.map((f) => {
|
|
49
51
|
let isGlob = false;
|
|
50
52
|
let pattern;
|
|
@@ -85,6 +87,8 @@ class CopyAssetsHandler {
|
|
|
85
87
|
cwd: this.rootDir,
|
|
86
88
|
dot: true, // enable hidden files
|
|
87
89
|
expandDirectories: false,
|
|
90
|
+
// Ignore common directories that should not be copied or processed
|
|
91
|
+
ignore: ['**/node_modules/**', '**/.git/**'],
|
|
88
92
|
});
|
|
89
93
|
this.callback(this.filesToEvent(files, ag));
|
|
90
94
|
}));
|
|
@@ -97,6 +101,7 @@ class CopyAssetsHandler {
|
|
|
97
101
|
cwd: this.rootDir,
|
|
98
102
|
dot: true, // enable hidden files
|
|
99
103
|
expandDirectories: false,
|
|
104
|
+
ignore: ['**/node_modules/**', '**/.git/**'],
|
|
100
105
|
});
|
|
101
106
|
this.callback(this.filesToEvent(files, ag));
|
|
102
107
|
});
|
|
@@ -120,6 +125,8 @@ class CopyAssetsHandler {
|
|
|
120
125
|
return () => unregisterFileWatcher();
|
|
121
126
|
}
|
|
122
127
|
async processWatchEvents(events) {
|
|
128
|
+
if (events.length === 0)
|
|
129
|
+
return;
|
|
123
130
|
const fileEvents = [];
|
|
124
131
|
for (const event of events) {
|
|
125
132
|
const pathFromRoot = event.path.startsWith(this.rootDir)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/utils/assets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAqB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,eAAe,EAA2B,MAAM,YAAY,CAAC;AAEtE,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CACxC;AAED,wBAAsB,UAAU,CAC9B,OAAO,EAAE,iBAAiB,EAC1B,OAAO,EAAE,eAAe,GACvB,OAAO,CAAC,gBAAgB,CAAC,CAgC3B"}
|
|
@@ -39,3 +39,4 @@ export declare function updatePaths(dependencies: DependentBuildableProjectNode[
|
|
|
39
39
|
* the proper dependency and version
|
|
40
40
|
*/
|
|
41
41
|
export declare function updateBuildableProjectPackageJsonDependencies(root: string, projectName: string, targetName: string, configurationName: string, node: ProjectGraphProjectNode, dependencies: DependentBuildableProjectNode[], typeOfDependency?: 'dependencies' | 'peerDependencies'): void;
|
|
42
|
+
//# sourceMappingURL=buildable-libs-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildable-libs-utils.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/utils/buildable-libs-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACV,MAAM,YAAY,CAAC;AAYpB,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAgBtC,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,EAAE,uBAAuB,GAAG,wBAAwB,CAAC;CAC1D,CAAC;AAEF,wBAAgB,qCAAqC,CACnD,SAAS,EAAE,SAAS,GAAG,SAAS,EAChC,SAAS,EAAE,YAAY,EACvB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,OAAO,GAChB;IACD,MAAM,EAAE,uBAAuB,CAAC;IAChC,YAAY,EAAE,6BAA6B,EAAE,CAAC;IAC9C,wBAAwB,EAAE,MAAM,EAAE,CAAC;IACnC,oBAAoB,EAAE,6BAA6B,EAAE,CAAC;CACvD,CAqBA;AAED,wBAAgB,4BAA4B,CAC1C,SAAS,EAAE,YAAY,EACvB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,OAAO,GAChB;IACD,MAAM,EAAE,uBAAuB,CAAC;IAChC,YAAY,EAAE,6BAA6B,EAAE,CAAC;IAC9C,wBAAwB,EAAE,MAAM,EAAE,CAAC;IACnC,oBAAoB,EAAE,6BAA6B,EAAE,CAAC;CACvD,CA+EA;AAgED,wBAAgB,kCAAkC,CAChD,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,EAC1B,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,OAAO,GAChB;IACD,MAAM,EAAE,uBAAuB,CAAC;IAChC,YAAY,EAAE,6BAA6B,EAAE,CAAC;IAC9C,wBAAwB,EAAE,MAAM,EAAE,CAAC;IACnC,oBAAoB,EAAE,6BAA6B,EAAE,CAAC;CACvD,CA8EA;AAkGD;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,GAAG,EAAE,CAAC,iBAAiB,EACvC,YAAY,EAAE,6BAA6B,EAAE,wBAK9C;AAED,wBAAgB,iBAAiB,CAC/B,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,6BAA6B,EAAE,EAC7C,qBAAqB,GAAE,OAAe,UA2BvC;AAUD,wBAAgB,WAAW,CACzB,YAAY,EAAE,6BAA6B,EAAE,EAC7C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,QAoDhC;AAED;;;GAGG;AACH,wBAAgB,6CAA6C,CAC3D,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,uBAAuB,EAC7B,YAAY,EAAE,6BAA6B,EAAE,EAC7C,gBAAgB,GAAE,cAAc,GAAG,kBAAmC,QAkFvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-dependencies.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/utils/check-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EAGL,6BAA6B,EAC9B,MAAM,wBAAwB,CAAC;AAEhC,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,MAAM,GACnB;IACD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,uBAAuB,CAAC;IAChC,YAAY,EAAE,6BAA6B,EAAE,CAAC;CAC/C,CA+BA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlight.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/utils/code-frames/highlight.ts"],"names":[],"mappings":"AA8FA,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAG9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identifiers.d.ts","sourceRoot":"","sources":["../../../../../../packages/js/src/utils/code-frames/identifiers.ts"],"names":[],"mappings":"AAuCA;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,CAExE;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE/C"}
|
|
@@ -16,3 +16,4 @@ export declare enum HelperDependency {
|
|
|
16
16
|
*/
|
|
17
17
|
export declare function getHelperDependency(helperDependency: HelperDependency, configPath: string, dependencies: DependentBuildableProjectNode[], projectGraph: ProjectGraph, returnDependencyIfFound?: boolean): DependentBuildableProjectNode | null;
|
|
18
18
|
export declare function getHelperDependenciesFromProjectGraph(contextRoot: string, sourceProject: string, projectGraph: ProjectGraph): ProjectGraphDependency[];
|
|
19
|
+
//# sourceMappingURL=compiler-helper-dependency.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compiler-helper-dependency.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/utils/compiler-helper-dependency.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAG5B,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAMvE,oBAAY,gBAAgB;IAC1B,GAAG,cAAc;IACjB,GAAG,qBAAqB;CACzB;AAwBD;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,6BAA6B,EAAE,EAC7C,YAAY,EAAE,YAAY,EAC1B,uBAAuB,UAAQ,GAC9B,6BAA6B,GAAG,IAAI,CAoDtC;AAED,wBAAgB,qCAAqC,CACnD,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,YAAY,GACzB,sBAAsB,EAAE,CA0E1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-npm-dependencies.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/utils/find-npm-dependencies.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAE7B,MAAM,YAAY,CAAC;AASpB;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,MAAM,EACrB,aAAa,EAAE,uBAAuB,EACtC,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE;IACP,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,qCAAqC,CAAC,EAAE,OAAO,CAAC;IAChD,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,GACL,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA+CxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-globs.d.ts","sourceRoot":"","sources":["../../../../../packages/js/src/utils/generate-globs.ts"],"names":[],"mappings":"AAsBA;;;;GAIG;AACH,wBAAgB,iCAAiC,CAC/C,OAAO,EAAE,MAAM,EACf,eAAe,EAAE,MAAM,GACtB,MAAM,EAAE,CA2EV"}
|