@nx/js 23.0.0-beta.11 → 23.0.0-beta.13
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 → dist/babel.d.ts} +0 -1
- package/dist/internal.d.ts +26 -0
- package/dist/internal.js +101 -0
- package/{plugins → dist/plugins}/jest/local-registry.d.ts +0 -1
- package/{src → dist/src}/executors/copy-workspace-modules/copy-workspace-modules.d.ts +0 -1
- package/{src → dist/src}/executors/node/lib/coalescing-debounce.d.ts +0 -1
- package/{src → dist/src}/executors/node/lib/detect-module-format.d.ts +0 -1
- package/{src → dist/src}/executors/node/lib/esm-loader.d.ts +0 -1
- package/{src → dist/src}/executors/node/lib/kill-tree.d.ts +0 -1
- package/{src → dist/src}/executors/node/lib/line-aware-writer.d.ts +0 -1
- package/{src → dist/src}/executors/node/lib/output-file.d.ts +0 -1
- package/dist/src/executors/node/node-with-esm-loader.d.ts +1 -0
- package/{src → dist/src}/executors/node/node-with-esm-loader.js +2 -0
- package/dist/src/executors/node/node-with-require-overrides.d.ts +1 -0
- package/{src → dist/src}/executors/node/node-with-require-overrides.js +2 -0
- package/{src → dist/src}/executors/node/node.impl.d.ts +0 -1
- package/{src → dist/src}/executors/node/node.impl.js +1 -1
- package/{src → dist/src}/executors/prune-lockfile/prune-lockfile.d.ts +0 -1
- package/{src → dist/src}/executors/release-publish/extract-npm-publish-json-data.d.ts +0 -1
- package/{src → dist/src}/executors/release-publish/format-bytes.d.ts +0 -1
- package/{src → dist/src}/executors/release-publish/log-tar.d.ts +0 -1
- package/{src → dist/src}/executors/release-publish/release-publish.impl.d.ts +0 -1
- package/{src → dist/src}/executors/swc/swc.impl.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/batch/build-task-info-per-tsconfig-map.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/batch/index.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/batch/normalize-tasks-options.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/batch/types.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/batch/watch.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/batch/watch.js +1 -1
- package/{src → dist/src}/executors/tsc/lib/get-custom-transformers-factory.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/get-task-options.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/get-tsconfig.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/index.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/normalize-options.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/typescript-compilation.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/lib/typescript-diagnostic-reporters.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/tsc.batch-impl.d.ts +0 -1
- package/{src → dist/src}/executors/tsc/tsc.impl.d.ts +0 -1
- package/{src → dist/src}/executors/verdaccio/verdaccio.impl.d.ts +0 -1
- package/{src → dist/src}/generators/convert-to-swc/convert-to-swc.d.ts +0 -1
- package/{src → dist/src}/generators/init/init.d.ts +0 -1
- package/{src → dist/src}/generators/library/library.d.ts +0 -1
- package/{src → dist/src}/generators/library/utils/add-release-config.d.ts +0 -1
- package/dist/src/generators/release-version/release-version.d.ts +1 -0
- package/{src → dist/src}/generators/setup-build/generator.d.ts +0 -1
- package/{src → dist/src}/generators/setup-build/generator.js +1 -3
- package/{src → dist/src}/generators/setup-prettier/generator.d.ts +0 -1
- package/{src → dist/src}/generators/setup-verdaccio/generator.d.ts +0 -1
- package/{src → dist/src}/generators/typescript-sync/typescript-sync.d.ts +0 -1
- package/{src → dist/src}/index.d.ts +0 -1
- package/{src → dist/src}/migrations/update-21-5-0/migrate-development-custom-condition.d.ts +0 -1
- package/{src → dist/src}/migrations/update-22-0-0/remove-external-options-from-js-executors.d.ts +0 -1
- package/{src → dist/src}/migrations/update-22-0-0/remove-external-options-from-js-executors.js +45 -16
- package/{src → dist/src}/migrations/update-22-1-0/remove-redundant-ts-project-references.d.ts +0 -1
- package/dist/src/migrations/update-23-0-0/rewrite-internal-subpath-imports.d.ts +3 -0
- package/dist/src/migrations/update-23-0-0/rewrite-internal-subpath-imports.js +129 -0
- package/{src → dist/src}/plugins/jest/start-local-registry.d.ts +0 -1
- package/{src → dist/src}/plugins/typescript/plugin.d.ts +0 -1
- package/{src → dist/src}/plugins/typescript/util.d.ts +0 -1
- package/{src → dist/src}/plugins/typescript/util.js +1 -1
- package/{src → dist/src}/release/utils/semver.d.ts +0 -1
- package/{src → dist/src}/release/utils/update-lock-file.d.ts +0 -1
- package/{src → dist/src}/release/version-actions.d.ts +0 -1
- package/{src → dist/src}/utils/add-babel-inputs.d.ts +0 -1
- package/{src → dist/src}/utils/add-local-registry-scripts.d.ts +0 -1
- package/{src → dist/src}/utils/assets/assets.d.ts +0 -1
- package/{src → dist/src}/utils/assets/copy-assets-handler.d.ts +0 -1
- package/{src → dist/src}/utils/assets/index.d.ts +0 -1
- package/{src → dist/src}/utils/assets/normalize-assets.d.ts +0 -1
- package/{src → dist/src}/utils/buildable-libs-utils.d.ts +0 -1
- package/{src → dist/src}/utils/check-dependencies.d.ts +0 -1
- package/{src → dist/src}/utils/code-frames/highlight.d.ts +0 -1
- package/{src → dist/src}/utils/code-frames/identifiers.d.ts +0 -1
- package/{src → dist/src}/utils/compiler-helper-dependency.d.ts +0 -1
- package/{src → dist/src}/utils/find-npm-dependencies.d.ts +0 -1
- package/{src → dist/src}/utils/generate-globs.d.ts +0 -1
- package/{src → dist/src}/utils/generator-prompts.d.ts +0 -1
- package/{src → dist/src}/utils/get-import-path.d.ts +0 -1
- package/{src → dist/src}/utils/get-main-file-dir.d.ts +0 -1
- package/{src → dist/src}/utils/is-locally-linked-package-version.d.ts +0 -1
- package/{src → dist/src}/utils/is-valid-variable.d.ts +0 -1
- package/{src → dist/src}/utils/npm-config.d.ts +0 -1
- package/{src → dist/src}/utils/package-json/create-entry-points.d.ts +0 -1
- package/{src → dist/src}/utils/package-json/get-npm-scope.d.ts +0 -1
- package/{src → dist/src}/utils/package-json/index.d.ts +0 -1
- package/{src → dist/src}/utils/package-json/sort-fields.d.ts +0 -1
- package/{src → dist/src}/utils/package-json/update-package-json.d.ts +0 -1
- package/{src → dist/src}/utils/package-manager-workspaces.d.ts +0 -1
- package/{src → dist/src}/utils/prettier.d.ts +0 -1
- package/{src → dist/src}/utils/prettier.js +3 -36
- package/{src → dist/src}/utils/strip-glob-to-base-dir.d.ts +0 -1
- package/{src → dist/src}/utils/swc/add-swc-config.d.ts +0 -1
- package/{src → dist/src}/utils/swc/add-swc-dependencies.d.ts +0 -1
- package/{src → dist/src}/utils/swc/compile-swc.d.ts +0 -1
- package/{src → dist/src}/utils/swc/get-swcrc-path.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/__mocks__/function-after-declarations-plugin.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/__mocks__/function-after-plugin.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/__mocks__/function-direct-export.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/__mocks__/function-multiple-hooks.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/__mocks__/plugin-a.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/__mocks__/plugin-b.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/add-tslib-dependencies.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/ast-utils.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/compilation.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/compile-typescript-files.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/configuration.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/create-ts-config.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/ensure-typescript.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/get-source-nodes.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/load-ts-transformers.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/plugin.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/print-diagnostics.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/raw-tsconfig.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/run-type-check.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/run-type-check.js +1 -1
- package/{src → dist/src}/utils/typescript/ts-config.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/ts-solution-setup.d.ts +0 -1
- package/{src → dist/src}/utils/typescript/types.d.ts +0 -1
- package/dist/src/utils/typescript/types.js +2 -0
- package/{src → dist/src}/utils/versions.d.ts +0 -1
- package/{src → dist/src}/utils/versions.js +2 -1
- package/{src → dist/src}/utils/watch-for-single-file-changes.d.ts +0 -1
- package/{typescript.d.ts → dist/typescript.d.ts} +0 -1
- package/executors.json +15 -15
- package/generators.json +14 -14
- package/migrations.json +8 -3
- package/package.json +79 -8
- package/babel.d.ts.map +0 -1
- package/plugins/jest/local-registry.d.ts.map +0 -1
- package/src/executors/copy-workspace-modules/copy-workspace-modules.d.ts.map +0 -1
- package/src/executors/node/lib/coalescing-debounce.d.ts.map +0 -1
- package/src/executors/node/lib/detect-module-format.d.ts.map +0 -1
- package/src/executors/node/lib/esm-loader.d.ts.map +0 -1
- package/src/executors/node/lib/kill-tree.d.ts.map +0 -1
- package/src/executors/node/lib/line-aware-writer.d.ts.map +0 -1
- package/src/executors/node/lib/output-file.d.ts.map +0 -1
- package/src/executors/node/node-with-esm-loader.d.ts +0 -6
- package/src/executors/node/node-with-esm-loader.d.ts.map +0 -1
- package/src/executors/node/node-with-require-overrides.d.ts +0 -8
- package/src/executors/node/node-with-require-overrides.d.ts.map +0 -1
- package/src/executors/node/node.impl.d.ts.map +0 -1
- package/src/executors/prune-lockfile/prune-lockfile.d.ts.map +0 -1
- package/src/executors/release-publish/extract-npm-publish-json-data.d.ts.map +0 -1
- package/src/executors/release-publish/format-bytes.d.ts.map +0 -1
- package/src/executors/release-publish/log-tar.d.ts.map +0 -1
- package/src/executors/release-publish/release-publish.impl.d.ts.map +0 -1
- package/src/executors/swc/swc.impl.d.ts.map +0 -1
- package/src/executors/tsc/lib/batch/build-task-info-per-tsconfig-map.d.ts.map +0 -1
- package/src/executors/tsc/lib/batch/index.d.ts.map +0 -1
- package/src/executors/tsc/lib/batch/normalize-tasks-options.d.ts.map +0 -1
- package/src/executors/tsc/lib/batch/types.d.ts.map +0 -1
- package/src/executors/tsc/lib/batch/watch.d.ts.map +0 -1
- package/src/executors/tsc/lib/get-custom-transformers-factory.d.ts.map +0 -1
- package/src/executors/tsc/lib/get-task-options.d.ts.map +0 -1
- package/src/executors/tsc/lib/get-tsconfig.d.ts.map +0 -1
- package/src/executors/tsc/lib/index.d.ts.map +0 -1
- package/src/executors/tsc/lib/normalize-options.d.ts.map +0 -1
- package/src/executors/tsc/lib/typescript-compilation.d.ts.map +0 -1
- package/src/executors/tsc/lib/typescript-diagnostic-reporters.d.ts.map +0 -1
- package/src/executors/tsc/tsc.batch-impl.d.ts.map +0 -1
- package/src/executors/tsc/tsc.impl.d.ts.map +0 -1
- package/src/executors/verdaccio/verdaccio.impl.d.ts.map +0 -1
- package/src/generators/convert-to-swc/convert-to-swc.d.ts.map +0 -1
- package/src/generators/init/init.d.ts.map +0 -1
- package/src/generators/library/library.d.ts.map +0 -1
- package/src/generators/library/utils/add-release-config.d.ts.map +0 -1
- package/src/generators/release-version/release-version.d.ts +0 -1
- package/src/generators/release-version/release-version.d.ts.map +0 -1
- package/src/generators/release-version/release-version.js +0 -0
- package/src/generators/setup-build/generator.d.ts.map +0 -1
- package/src/generators/setup-prettier/generator.d.ts.map +0 -1
- package/src/generators/setup-verdaccio/generator.d.ts.map +0 -1
- package/src/generators/typescript-sync/typescript-sync.d.ts.map +0 -1
- package/src/index.d.ts.map +0 -1
- package/src/internal.d.ts +0 -6
- package/src/internal.d.ts.map +0 -1
- package/src/internal.js +0 -18
- package/src/migrations/update-21-5-0/migrate-development-custom-condition.d.ts.map +0 -1
- package/src/migrations/update-22-0-0/remove-external-options-from-js-executors.d.ts.map +0 -1
- package/src/migrations/update-22-1-0/remove-redundant-ts-project-references.d.ts.map +0 -1
- package/src/plugins/jest/start-local-registry.d.ts.map +0 -1
- package/src/plugins/rollup/type-definitions.d.ts +0 -8
- package/src/plugins/rollup/type-definitions.d.ts.map +0 -1
- package/src/plugins/rollup/type-definitions.js +0 -49
- package/src/plugins/typescript/plugin.d.ts.map +0 -1
- package/src/plugins/typescript/util.d.ts.map +0 -1
- package/src/release/utils/semver.d.ts.map +0 -1
- package/src/release/utils/update-lock-file.d.ts.map +0 -1
- package/src/release/version-actions.d.ts.map +0 -1
- package/src/utils/add-babel-inputs.d.ts.map +0 -1
- package/src/utils/add-local-registry-scripts.d.ts.map +0 -1
- package/src/utils/assets/assets.d.ts.map +0 -1
- package/src/utils/assets/copy-assets-handler.d.ts.map +0 -1
- package/src/utils/assets/index.d.ts.map +0 -1
- package/src/utils/assets/normalize-assets.d.ts.map +0 -1
- package/src/utils/buildable-libs-utils.d.ts.map +0 -1
- package/src/utils/check-dependencies.d.ts.map +0 -1
- package/src/utils/code-frames/highlight.d.ts.map +0 -1
- package/src/utils/code-frames/identifiers.d.ts.map +0 -1
- package/src/utils/compiler-helper-dependency.d.ts.map +0 -1
- package/src/utils/find-npm-dependencies.d.ts.map +0 -1
- package/src/utils/generate-globs.d.ts.map +0 -1
- package/src/utils/generator-prompts.d.ts.map +0 -1
- package/src/utils/get-import-path.d.ts.map +0 -1
- package/src/utils/get-main-file-dir.d.ts.map +0 -1
- package/src/utils/is-locally-linked-package-version.d.ts.map +0 -1
- package/src/utils/is-valid-variable.d.ts.map +0 -1
- package/src/utils/npm-config.d.ts.map +0 -1
- package/src/utils/package-json/create-entry-points.d.ts.map +0 -1
- package/src/utils/package-json/get-npm-scope.d.ts.map +0 -1
- package/src/utils/package-json/index.d.ts.map +0 -1
- package/src/utils/package-json/sort-fields.d.ts.map +0 -1
- package/src/utils/package-json/update-package-json.d.ts.map +0 -1
- package/src/utils/package-manager-workspaces.d.ts.map +0 -1
- package/src/utils/prettier.d.ts.map +0 -1
- package/src/utils/strip-glob-to-base-dir.d.ts.map +0 -1
- package/src/utils/swc/add-swc-config.d.ts.map +0 -1
- package/src/utils/swc/add-swc-dependencies.d.ts.map +0 -1
- package/src/utils/swc/compile-swc.d.ts.map +0 -1
- package/src/utils/swc/get-swcrc-path.d.ts.map +0 -1
- package/src/utils/typescript/__mocks__/function-after-declarations-plugin.d.ts.map +0 -1
- package/src/utils/typescript/__mocks__/function-after-plugin.d.ts.map +0 -1
- package/src/utils/typescript/__mocks__/function-direct-export.d.ts.map +0 -1
- package/src/utils/typescript/__mocks__/function-multiple-hooks.d.ts.map +0 -1
- package/src/utils/typescript/__mocks__/plugin-a.d.ts.map +0 -1
- package/src/utils/typescript/__mocks__/plugin-b.d.ts.map +0 -1
- package/src/utils/typescript/add-tslib-dependencies.d.ts.map +0 -1
- package/src/utils/typescript/ast-utils.d.ts.map +0 -1
- package/src/utils/typescript/compilation.d.ts.map +0 -1
- package/src/utils/typescript/compile-typescript-files.d.ts.map +0 -1
- package/src/utils/typescript/configuration.d.ts.map +0 -1
- package/src/utils/typescript/create-ts-config.d.ts.map +0 -1
- package/src/utils/typescript/ensure-typescript.d.ts.map +0 -1
- package/src/utils/typescript/get-source-nodes.d.ts.map +0 -1
- package/src/utils/typescript/load-ts-transformers.d.ts.map +0 -1
- package/src/utils/typescript/plugin.d.ts.map +0 -1
- package/src/utils/typescript/print-diagnostics.d.ts.map +0 -1
- package/src/utils/typescript/raw-tsconfig.d.ts.map +0 -1
- package/src/utils/typescript/run-type-check.d.ts.map +0 -1
- package/src/utils/typescript/ts-config.d.ts.map +0 -1
- package/src/utils/typescript/ts-solution-setup.d.ts.map +0 -1
- package/src/utils/typescript/types.d.ts.map +0 -1
- package/src/utils/versions.d.ts.map +0 -1
- package/src/utils/watch-for-single-file-changes.d.ts.map +0 -1
- package/typescript.d.ts.map +0 -1
- /package/{LICENSE → dist/LICENSE} +0 -0
- /package/{babel.js → dist/babel.js} +0 -0
- /package/{plugins → dist/plugins}/jest/local-registry.js +0 -0
- /package/{src → dist/src}/executors/copy-workspace-modules/copy-workspace-modules.js +0 -0
- /package/{src → dist/src}/executors/copy-workspace-modules/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/copy-workspace-modules/schema.json +0 -0
- /package/{src → dist/src}/executors/node/lib/coalescing-debounce.js +0 -0
- /package/{src → dist/src}/executors/node/lib/detect-module-format.js +0 -0
- /package/{src → dist/src}/executors/node/lib/esm-loader.js +0 -0
- /package/{src → dist/src}/executors/node/lib/kill-tree.js +0 -0
- /package/{src → dist/src}/executors/node/lib/line-aware-writer.js +0 -0
- /package/{src → dist/src}/executors/node/lib/output-file.js +0 -0
- /package/{src → dist/src}/executors/node/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/node/schema.json +0 -0
- /package/{src → dist/src}/executors/prune-lockfile/prune-lockfile.js +0 -0
- /package/{src → dist/src}/executors/prune-lockfile/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/prune-lockfile/schema.json +0 -0
- /package/{src → dist/src}/executors/release-publish/extract-npm-publish-json-data.js +0 -0
- /package/{src → dist/src}/executors/release-publish/format-bytes.js +0 -0
- /package/{src → dist/src}/executors/release-publish/log-tar.js +0 -0
- /package/{src → dist/src}/executors/release-publish/release-publish.impl.js +0 -0
- /package/{src → dist/src}/executors/release-publish/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/release-publish/schema.json +0 -0
- /package/{src → dist/src}/executors/swc/schema.json +0 -0
- /package/{src → dist/src}/executors/swc/swc.impl.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/batch/build-task-info-per-tsconfig-map.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/batch/index.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/batch/normalize-tasks-options.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/batch/types.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/get-custom-transformers-factory.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/get-task-options.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/get-tsconfig.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/index.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/normalize-options.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/typescript-compilation.js +0 -0
- /package/{src → dist/src}/executors/tsc/lib/typescript-diagnostic-reporters.js +0 -0
- /package/{src → dist/src}/executors/tsc/schema.json +0 -0
- /package/{src → dist/src}/executors/tsc/tsc.batch-impl.js +0 -0
- /package/{src → dist/src}/executors/tsc/tsc.impl.js +0 -0
- /package/{src → dist/src}/executors/verdaccio/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/verdaccio/schema.json +0 -0
- /package/{src → dist/src}/executors/verdaccio/verdaccio.impl.js +0 -0
- /package/{src → dist/src}/generators/convert-to-swc/convert-to-swc.js +0 -0
- /package/{src → dist/src}/generators/convert-to-swc/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/convert-to-swc/schema.json +0 -0
- /package/{src → dist/src}/generators/init/files/non-ts-solution/__fileName__ +0 -0
- /package/{src → dist/src}/generators/init/files/ts-solution/tsconfig.base.json__tmpl__ +0 -0
- /package/{src → dist/src}/generators/init/files/ts-solution/tsconfig.json__tmpl__ +0 -0
- /package/{src → dist/src}/generators/init/init.js +0 -0
- /package/{src → dist/src}/generators/init/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/init/schema.json +0 -0
- /package/{src → dist/src}/generators/library/files/jest-config/jest.config.__ext__ +0 -0
- /package/{src → dist/src}/generators/library/files/lib/src/index.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/library/files/lib/src/lib/__fileName__.spec.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/library/files/lib/src/lib/__fileName__.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/library/files/readme/README.md +0 -0
- /package/{src → dist/src}/generators/library/files/tsconfig-lib/non-ts-solution/tsconfig.lib.json__tmpl__ +0 -0
- /package/{src → dist/src}/generators/library/files/tsconfig-lib/ts-solution/tsconfig.lib.json__tmpl__ +0 -0
- /package/{src → dist/src}/generators/library/library.js +0 -0
- /package/{src → dist/src}/generators/library/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/library/schema.json +0 -0
- /package/{src → dist/src}/generators/library/utils/add-release-config.js +0 -0
- /package/{src/utils/typescript/types.js → dist/src/generators/release-version/release-version.js} +0 -0
- /package/{src → dist/src}/generators/setup-build/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/setup-build/schema.json +0 -0
- /package/{src → dist/src}/generators/setup-prettier/generator.js +0 -0
- /package/{src → dist/src}/generators/setup-prettier/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/setup-prettier/schema.json +0 -0
- /package/{src → dist/src}/generators/setup-verdaccio/files/config.yml +0 -0
- /package/{src → dist/src}/generators/setup-verdaccio/generator.js +0 -0
- /package/{src → dist/src}/generators/setup-verdaccio/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/setup-verdaccio/schema.json +0 -0
- /package/{src → dist/src}/generators/typescript-sync/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/typescript-sync/schema.json +0 -0
- /package/{src → dist/src}/generators/typescript-sync/typescript-sync.js +0 -0
- /package/{src → dist/src}/index.js +0 -0
- /package/{src → dist/src}/migrations/update-21-5-0/migrate-development-custom-condition.js +0 -0
- /package/{src → dist/src}/migrations/update-22-1-0/remove-redundant-ts-project-references.js +0 -0
- /package/{src → dist/src}/plugins/jest/start-local-registry.js +0 -0
- /package/{src → dist/src}/plugins/typescript/plugin.js +0 -0
- /package/{src → dist/src}/release/utils/semver.js +0 -0
- /package/{src → dist/src}/release/utils/update-lock-file.js +0 -0
- /package/{src → dist/src}/release/version-actions.js +0 -0
- /package/{src → dist/src}/utils/add-babel-inputs.js +0 -0
- /package/{src → dist/src}/utils/add-local-registry-scripts.js +0 -0
- /package/{src → dist/src}/utils/assets/assets.js +0 -0
- /package/{src → dist/src}/utils/assets/copy-assets-handler.js +0 -0
- /package/{src → dist/src}/utils/assets/index.js +0 -0
- /package/{src → dist/src}/utils/assets/normalize-assets.js +0 -0
- /package/{src → dist/src}/utils/buildable-libs-utils.js +0 -0
- /package/{src → dist/src}/utils/check-dependencies.js +0 -0
- /package/{src → dist/src}/utils/code-frames/highlight.js +0 -0
- /package/{src → dist/src}/utils/code-frames/identifiers.js +0 -0
- /package/{src → dist/src}/utils/compiler-helper-dependency.js +0 -0
- /package/{src → dist/src}/utils/find-npm-dependencies.js +0 -0
- /package/{src → dist/src}/utils/generate-globs.js +0 -0
- /package/{src → dist/src}/utils/generator-prompts.js +0 -0
- /package/{src → dist/src}/utils/get-import-path.js +0 -0
- /package/{src → dist/src}/utils/get-main-file-dir.js +0 -0
- /package/{src → dist/src}/utils/is-locally-linked-package-version.js +0 -0
- /package/{src → dist/src}/utils/is-valid-variable.js +0 -0
- /package/{src → dist/src}/utils/npm-config.js +0 -0
- /package/{src → dist/src}/utils/package-json/create-entry-points.js +0 -0
- /package/{src → dist/src}/utils/package-json/get-npm-scope.js +0 -0
- /package/{src → dist/src}/utils/package-json/index.js +0 -0
- /package/{src → dist/src}/utils/package-json/sort-fields.js +0 -0
- /package/{src → dist/src}/utils/package-json/update-package-json.js +0 -0
- /package/{src → dist/src}/utils/package-manager-workspaces.js +0 -0
- /package/{src → dist/src}/utils/schema.d.ts +0 -0
- /package/{src → dist/src}/utils/strip-glob-to-base-dir.js +0 -0
- /package/{src → dist/src}/utils/swc/add-swc-config.js +0 -0
- /package/{src → dist/src}/utils/swc/add-swc-dependencies.js +0 -0
- /package/{src → dist/src}/utils/swc/compile-swc.js +0 -0
- /package/{src → dist/src}/utils/swc/get-swcrc-path.js +0 -0
- /package/{src → dist/src}/utils/typescript/__mocks__/function-after-declarations-plugin.js +0 -0
- /package/{src → dist/src}/utils/typescript/__mocks__/function-after-plugin.js +0 -0
- /package/{src → dist/src}/utils/typescript/__mocks__/function-direct-export.js +0 -0
- /package/{src → dist/src}/utils/typescript/__mocks__/function-multiple-hooks.js +0 -0
- /package/{src → dist/src}/utils/typescript/__mocks__/plugin-a.js +0 -0
- /package/{src → dist/src}/utils/typescript/__mocks__/plugin-b.js +0 -0
- /package/{src → dist/src}/utils/typescript/add-tslib-dependencies.js +0 -0
- /package/{src → dist/src}/utils/typescript/ast-utils.js +0 -0
- /package/{src → dist/src}/utils/typescript/compilation.js +0 -0
- /package/{src → dist/src}/utils/typescript/compile-typescript-files.js +0 -0
- /package/{src → dist/src}/utils/typescript/configuration.js +0 -0
- /package/{src → dist/src}/utils/typescript/create-ts-config.js +0 -0
- /package/{src → dist/src}/utils/typescript/ensure-typescript.js +0 -0
- /package/{src → dist/src}/utils/typescript/get-source-nodes.js +0 -0
- /package/{src → dist/src}/utils/typescript/load-ts-transformers.js +0 -0
- /package/{src → dist/src}/utils/typescript/plugin.js +0 -0
- /package/{src → dist/src}/utils/typescript/print-diagnostics.js +0 -0
- /package/{src → dist/src}/utils/typescript/raw-tsconfig.js +0 -0
- /package/{src → dist/src}/utils/typescript/ts-config.js +0 -0
- /package/{src → dist/src}/utils/typescript/ts-solution-setup.js +0 -0
- /package/{src → dist/src}/utils/watch-for-single-file-changes.js +0 -0
- /package/{typescript.js → dist/typescript.js} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { registerTsProject, registerTsConfigPaths, } from 'nx/src/plugins/js/utils/register';
|
|
2
|
+
export { TargetProjectLocator, isBuiltinModuleImport, } from 'nx/src/plugins/js/project-graph/build-dependencies/target-project-locator';
|
|
3
|
+
export { findProjectsNpmDependencies } from 'nx/src/plugins/js/package-json/create-package-json';
|
|
4
|
+
export { walkTsconfigExtendsChain, type RawTsconfigJsonCache, } from './src/utils/typescript/raw-tsconfig';
|
|
5
|
+
export { TS_SOLUTION_SETUP_TSCONFIG_INPUT, addProjectToTsSolutionWorkspace, assertNotUsingTsSolutionSetup, findRuntimeTsConfigName, getDefinedCustomConditionName, getProjectSourceRoot, getProjectType, isUsingTsSolutionSetup, shouldConfigureTsSolutionSetup, updateTsconfigFiles, } from './src/utils/typescript/ts-solution-setup';
|
|
6
|
+
export { ensureTypescript } from './src/utils/typescript/ensure-typescript';
|
|
7
|
+
export { getNeededCompilerOptionOverrides } from './src/utils/typescript/configuration';
|
|
8
|
+
export { compileTypeScript, type TypeScriptCompilationOptions, } from './src/utils/typescript/compilation';
|
|
9
|
+
export { calculateProjectBuildableDependencies, calculateProjectDependencies, computeCompilerOptionsPaths, createTmpTsConfig, type DependentBuildableProjectNode, } from './src/utils/buildable-libs-utils';
|
|
10
|
+
export { addSwcConfig, addSwcTestConfig } from './src/utils/swc/add-swc-config';
|
|
11
|
+
export { addSwcDependencies, addSwcRegisterDependencies, } from './src/utils/swc/add-swc-dependencies';
|
|
12
|
+
export { type AssetGlob } from './src/utils/assets/assets';
|
|
13
|
+
export { CopyAssetsHandler } from './src/utils/assets/copy-assets-handler';
|
|
14
|
+
export { sortPackageJsonFields } from './src/utils/package-json/sort-fields';
|
|
15
|
+
export { getNpmScope } from './src/utils/package-json/get-npm-scope';
|
|
16
|
+
export { getProjectPackageManagerWorkspaceState, getProjectPackageManagerWorkspaceStateWarningTask, } from './src/utils/package-manager-workspaces';
|
|
17
|
+
export { findNpmDependencies } from './src/utils/find-npm-dependencies';
|
|
18
|
+
export { addBuildAndWatchDepsTargets, isValidPackageJsonBuildConfig, } from './src/plugins/typescript/util';
|
|
19
|
+
export { normalizeLinterOption, normalizeUnitTestRunnerOption, } from './src/utils/generator-prompts';
|
|
20
|
+
export { createGlobPatternsForDependencies } from './src/utils/generate-globs';
|
|
21
|
+
export { getImportPath } from './src/utils/get-import-path';
|
|
22
|
+
export { stripGlobToBaseDir } from './src/utils/strip-glob-to-base-dir';
|
|
23
|
+
export { addLocalRegistryScripts } from './src/utils/add-local-registry-scripts';
|
|
24
|
+
export type { LibraryGeneratorSchema } from './src/generators/library/schema';
|
|
25
|
+
export { addReleaseConfigForNonTsSolution, addReleaseConfigForTsSolution, releaseTasks, } from './src/generators/library/utils/add-release-config';
|
|
26
|
+
export { nxVersion, esbuildVersion, prettierVersion, swcCliVersion, swcCoreVersion, swcHelpersVersion, swcNodeVersion, tsLibVersion, typesNodeVersion, } from './src/utils/versions';
|
package/dist/internal.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Semi-private surface for first-party Nx packages.
|
|
3
|
+
//
|
|
4
|
+
// External plugins should NOT import from here — this entry is curated for
|
|
5
|
+
// internal consumers and may change without semver protection. Consider it
|
|
6
|
+
// the @nx/js equivalent of `@nx/devkit/internal`.
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.swcHelpersVersion = exports.swcCoreVersion = exports.swcCliVersion = exports.prettierVersion = exports.esbuildVersion = exports.nxVersion = exports.releaseTasks = exports.addReleaseConfigForTsSolution = exports.addReleaseConfigForNonTsSolution = exports.addLocalRegistryScripts = exports.stripGlobToBaseDir = exports.getImportPath = exports.createGlobPatternsForDependencies = exports.normalizeUnitTestRunnerOption = exports.normalizeLinterOption = exports.isValidPackageJsonBuildConfig = exports.addBuildAndWatchDepsTargets = exports.findNpmDependencies = exports.getProjectPackageManagerWorkspaceStateWarningTask = exports.getProjectPackageManagerWorkspaceState = exports.getNpmScope = exports.sortPackageJsonFields = exports.CopyAssetsHandler = exports.addSwcRegisterDependencies = exports.addSwcDependencies = exports.addSwcTestConfig = exports.addSwcConfig = exports.createTmpTsConfig = exports.computeCompilerOptionsPaths = exports.calculateProjectDependencies = exports.calculateProjectBuildableDependencies = exports.compileTypeScript = exports.getNeededCompilerOptionOverrides = exports.ensureTypescript = exports.updateTsconfigFiles = exports.shouldConfigureTsSolutionSetup = exports.isUsingTsSolutionSetup = exports.getProjectType = exports.getProjectSourceRoot = exports.getDefinedCustomConditionName = exports.findRuntimeTsConfigName = exports.assertNotUsingTsSolutionSetup = exports.addProjectToTsSolutionWorkspace = exports.TS_SOLUTION_SETUP_TSCONFIG_INPUT = exports.walkTsconfigExtendsChain = exports.findProjectsNpmDependencies = exports.isBuiltinModuleImport = exports.TargetProjectLocator = exports.registerTsConfigPaths = exports.registerTsProject = void 0;
|
|
9
|
+
exports.typesNodeVersion = exports.tsLibVersion = exports.swcNodeVersion = void 0;
|
|
10
|
+
// Re-exports of nx-source internals (need `no-restricted-imports` overrides).
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
12
|
+
var register_1 = require("nx/src/plugins/js/utils/register");
|
|
13
|
+
Object.defineProperty(exports, "registerTsProject", { enumerable: true, get: function () { return register_1.registerTsProject; } });
|
|
14
|
+
Object.defineProperty(exports, "registerTsConfigPaths", { enumerable: true, get: function () { return register_1.registerTsConfigPaths; } });
|
|
15
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
16
|
+
var target_project_locator_1 = require("nx/src/plugins/js/project-graph/build-dependencies/target-project-locator");
|
|
17
|
+
Object.defineProperty(exports, "TargetProjectLocator", { enumerable: true, get: function () { return target_project_locator_1.TargetProjectLocator; } });
|
|
18
|
+
Object.defineProperty(exports, "isBuiltinModuleImport", { enumerable: true, get: function () { return target_project_locator_1.isBuiltinModuleImport; } });
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
|
20
|
+
var create_package_json_1 = require("nx/src/plugins/js/package-json/create-package-json");
|
|
21
|
+
Object.defineProperty(exports, "findProjectsNpmDependencies", { enumerable: true, get: function () { return create_package_json_1.findProjectsNpmDependencies; } });
|
|
22
|
+
// Raw tsconfig walkers (the other AST utils ship via the public @nx/js entry)
|
|
23
|
+
var raw_tsconfig_1 = require("./src/utils/typescript/raw-tsconfig");
|
|
24
|
+
Object.defineProperty(exports, "walkTsconfigExtendsChain", { enumerable: true, get: function () { return raw_tsconfig_1.walkTsconfigExtendsChain; } });
|
|
25
|
+
// TS solution setup detection
|
|
26
|
+
var ts_solution_setup_1 = require("./src/utils/typescript/ts-solution-setup");
|
|
27
|
+
Object.defineProperty(exports, "TS_SOLUTION_SETUP_TSCONFIG_INPUT", { enumerable: true, get: function () { return ts_solution_setup_1.TS_SOLUTION_SETUP_TSCONFIG_INPUT; } });
|
|
28
|
+
Object.defineProperty(exports, "addProjectToTsSolutionWorkspace", { enumerable: true, get: function () { return ts_solution_setup_1.addProjectToTsSolutionWorkspace; } });
|
|
29
|
+
Object.defineProperty(exports, "assertNotUsingTsSolutionSetup", { enumerable: true, get: function () { return ts_solution_setup_1.assertNotUsingTsSolutionSetup; } });
|
|
30
|
+
Object.defineProperty(exports, "findRuntimeTsConfigName", { enumerable: true, get: function () { return ts_solution_setup_1.findRuntimeTsConfigName; } });
|
|
31
|
+
Object.defineProperty(exports, "getDefinedCustomConditionName", { enumerable: true, get: function () { return ts_solution_setup_1.getDefinedCustomConditionName; } });
|
|
32
|
+
Object.defineProperty(exports, "getProjectSourceRoot", { enumerable: true, get: function () { return ts_solution_setup_1.getProjectSourceRoot; } });
|
|
33
|
+
Object.defineProperty(exports, "getProjectType", { enumerable: true, get: function () { return ts_solution_setup_1.getProjectType; } });
|
|
34
|
+
Object.defineProperty(exports, "isUsingTsSolutionSetup", { enumerable: true, get: function () { return ts_solution_setup_1.isUsingTsSolutionSetup; } });
|
|
35
|
+
Object.defineProperty(exports, "shouldConfigureTsSolutionSetup", { enumerable: true, get: function () { return ts_solution_setup_1.shouldConfigureTsSolutionSetup; } });
|
|
36
|
+
Object.defineProperty(exports, "updateTsconfigFiles", { enumerable: true, get: function () { return ts_solution_setup_1.updateTsconfigFiles; } });
|
|
37
|
+
// TypeScript helpers (resolvePathsBaseUrl, extractTsConfigBase,
|
|
38
|
+
// tsConfigBaseOptions, addTsLibDependencies, resolveModuleByImport — all ship
|
|
39
|
+
// via the public @nx/js entry)
|
|
40
|
+
var ensure_typescript_1 = require("./src/utils/typescript/ensure-typescript");
|
|
41
|
+
Object.defineProperty(exports, "ensureTypescript", { enumerable: true, get: function () { return ensure_typescript_1.ensureTypescript; } });
|
|
42
|
+
var configuration_1 = require("./src/utils/typescript/configuration");
|
|
43
|
+
Object.defineProperty(exports, "getNeededCompilerOptionOverrides", { enumerable: true, get: function () { return configuration_1.getNeededCompilerOptionOverrides; } });
|
|
44
|
+
var compilation_1 = require("./src/utils/typescript/compilation");
|
|
45
|
+
Object.defineProperty(exports, "compileTypeScript", { enumerable: true, get: function () { return compilation_1.compileTypeScript; } });
|
|
46
|
+
// Build orchestration
|
|
47
|
+
var buildable_libs_utils_1 = require("./src/utils/buildable-libs-utils");
|
|
48
|
+
Object.defineProperty(exports, "calculateProjectBuildableDependencies", { enumerable: true, get: function () { return buildable_libs_utils_1.calculateProjectBuildableDependencies; } });
|
|
49
|
+
Object.defineProperty(exports, "calculateProjectDependencies", { enumerable: true, get: function () { return buildable_libs_utils_1.calculateProjectDependencies; } });
|
|
50
|
+
Object.defineProperty(exports, "computeCompilerOptionsPaths", { enumerable: true, get: function () { return buildable_libs_utils_1.computeCompilerOptionsPaths; } });
|
|
51
|
+
Object.defineProperty(exports, "createTmpTsConfig", { enumerable: true, get: function () { return buildable_libs_utils_1.createTmpTsConfig; } });
|
|
52
|
+
// SWC helpers
|
|
53
|
+
var add_swc_config_1 = require("./src/utils/swc/add-swc-config");
|
|
54
|
+
Object.defineProperty(exports, "addSwcConfig", { enumerable: true, get: function () { return add_swc_config_1.addSwcConfig; } });
|
|
55
|
+
Object.defineProperty(exports, "addSwcTestConfig", { enumerable: true, get: function () { return add_swc_config_1.addSwcTestConfig; } });
|
|
56
|
+
var add_swc_dependencies_1 = require("./src/utils/swc/add-swc-dependencies");
|
|
57
|
+
Object.defineProperty(exports, "addSwcDependencies", { enumerable: true, get: function () { return add_swc_dependencies_1.addSwcDependencies; } });
|
|
58
|
+
Object.defineProperty(exports, "addSwcRegisterDependencies", { enumerable: true, get: function () { return add_swc_dependencies_1.addSwcRegisterDependencies; } });
|
|
59
|
+
var copy_assets_handler_1 = require("./src/utils/assets/copy-assets-handler");
|
|
60
|
+
Object.defineProperty(exports, "CopyAssetsHandler", { enumerable: true, get: function () { return copy_assets_handler_1.CopyAssetsHandler; } });
|
|
61
|
+
// Package-manager / package.json helpers
|
|
62
|
+
var sort_fields_1 = require("./src/utils/package-json/sort-fields");
|
|
63
|
+
Object.defineProperty(exports, "sortPackageJsonFields", { enumerable: true, get: function () { return sort_fields_1.sortPackageJsonFields; } });
|
|
64
|
+
var get_npm_scope_1 = require("./src/utils/package-json/get-npm-scope");
|
|
65
|
+
Object.defineProperty(exports, "getNpmScope", { enumerable: true, get: function () { return get_npm_scope_1.getNpmScope; } });
|
|
66
|
+
var package_manager_workspaces_1 = require("./src/utils/package-manager-workspaces");
|
|
67
|
+
Object.defineProperty(exports, "getProjectPackageManagerWorkspaceState", { enumerable: true, get: function () { return package_manager_workspaces_1.getProjectPackageManagerWorkspaceState; } });
|
|
68
|
+
Object.defineProperty(exports, "getProjectPackageManagerWorkspaceStateWarningTask", { enumerable: true, get: function () { return package_manager_workspaces_1.getProjectPackageManagerWorkspaceStateWarningTask; } });
|
|
69
|
+
var find_npm_dependencies_1 = require("./src/utils/find-npm-dependencies");
|
|
70
|
+
Object.defineProperty(exports, "findNpmDependencies", { enumerable: true, get: function () { return find_npm_dependencies_1.findNpmDependencies; } });
|
|
71
|
+
// Plugin helpers
|
|
72
|
+
var util_1 = require("./src/plugins/typescript/util");
|
|
73
|
+
Object.defineProperty(exports, "addBuildAndWatchDepsTargets", { enumerable: true, get: function () { return util_1.addBuildAndWatchDepsTargets; } });
|
|
74
|
+
Object.defineProperty(exports, "isValidPackageJsonBuildConfig", { enumerable: true, get: function () { return util_1.isValidPackageJsonBuildConfig; } });
|
|
75
|
+
// Generator helpers
|
|
76
|
+
var generator_prompts_1 = require("./src/utils/generator-prompts");
|
|
77
|
+
Object.defineProperty(exports, "normalizeLinterOption", { enumerable: true, get: function () { return generator_prompts_1.normalizeLinterOption; } });
|
|
78
|
+
Object.defineProperty(exports, "normalizeUnitTestRunnerOption", { enumerable: true, get: function () { return generator_prompts_1.normalizeUnitTestRunnerOption; } });
|
|
79
|
+
var generate_globs_1 = require("./src/utils/generate-globs");
|
|
80
|
+
Object.defineProperty(exports, "createGlobPatternsForDependencies", { enumerable: true, get: function () { return generate_globs_1.createGlobPatternsForDependencies; } });
|
|
81
|
+
var get_import_path_1 = require("./src/utils/get-import-path");
|
|
82
|
+
Object.defineProperty(exports, "getImportPath", { enumerable: true, get: function () { return get_import_path_1.getImportPath; } });
|
|
83
|
+
var strip_glob_to_base_dir_1 = require("./src/utils/strip-glob-to-base-dir");
|
|
84
|
+
Object.defineProperty(exports, "stripGlobToBaseDir", { enumerable: true, get: function () { return strip_glob_to_base_dir_1.stripGlobToBaseDir; } });
|
|
85
|
+
var add_local_registry_scripts_1 = require("./src/utils/add-local-registry-scripts");
|
|
86
|
+
Object.defineProperty(exports, "addLocalRegistryScripts", { enumerable: true, get: function () { return add_local_registry_scripts_1.addLocalRegistryScripts; } });
|
|
87
|
+
var add_release_config_1 = require("./src/generators/library/utils/add-release-config");
|
|
88
|
+
Object.defineProperty(exports, "addReleaseConfigForNonTsSolution", { enumerable: true, get: function () { return add_release_config_1.addReleaseConfigForNonTsSolution; } });
|
|
89
|
+
Object.defineProperty(exports, "addReleaseConfigForTsSolution", { enumerable: true, get: function () { return add_release_config_1.addReleaseConfigForTsSolution; } });
|
|
90
|
+
Object.defineProperty(exports, "releaseTasks", { enumerable: true, get: function () { return add_release_config_1.releaseTasks; } });
|
|
91
|
+
// Version constants
|
|
92
|
+
var versions_1 = require("./src/utils/versions");
|
|
93
|
+
Object.defineProperty(exports, "nxVersion", { enumerable: true, get: function () { return versions_1.nxVersion; } });
|
|
94
|
+
Object.defineProperty(exports, "esbuildVersion", { enumerable: true, get: function () { return versions_1.esbuildVersion; } });
|
|
95
|
+
Object.defineProperty(exports, "prettierVersion", { enumerable: true, get: function () { return versions_1.prettierVersion; } });
|
|
96
|
+
Object.defineProperty(exports, "swcCliVersion", { enumerable: true, get: function () { return versions_1.swcCliVersion; } });
|
|
97
|
+
Object.defineProperty(exports, "swcCoreVersion", { enumerable: true, get: function () { return versions_1.swcCoreVersion; } });
|
|
98
|
+
Object.defineProperty(exports, "swcHelpersVersion", { enumerable: true, get: function () { return versions_1.swcHelpersVersion; } });
|
|
99
|
+
Object.defineProperty(exports, "swcNodeVersion", { enumerable: true, get: function () { return versions_1.swcNodeVersion; } });
|
|
100
|
+
Object.defineProperty(exports, "tsLibVersion", { enumerable: true, get: function () { return versions_1.tsLibVersion; } });
|
|
101
|
+
Object.defineProperty(exports, "typesNodeVersion", { enumerable: true, get: function () { return versions_1.typesNodeVersion; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -231,7 +231,7 @@ async function* nodeExecutor(options, context) {
|
|
|
231
231
|
if ((0, devkit_1.isDaemonEnabled)()) {
|
|
232
232
|
additionalExitHandler = await client_1.daemonClient.registerFileWatcher({
|
|
233
233
|
watchProjects: [context.projectName],
|
|
234
|
-
|
|
234
|
+
includeDependencies: true,
|
|
235
235
|
}, async (err, data) => {
|
|
236
236
|
if (err === 'reconnecting') {
|
|
237
237
|
// Silent - daemon restarts automatically on lockfile changes
|
|
@@ -3,4 +3,3 @@ import type { NormalizedExecutorOptions } from '../../../../utils/schema';
|
|
|
3
3
|
import type { TypescriptInMemoryTsConfig } from '../typescript-compilation';
|
|
4
4
|
import type { TaskInfo } from './types';
|
|
5
5
|
export declare function createTaskInfoPerTsConfigMap(tasksOptions: Record<string, NormalizedExecutorOptions>, context: ExecutorContext, tasks: string[], taskInMemoryTsConfigMap: Record<string, TypescriptInMemoryTsConfig>): Record<string, TaskInfo>;
|
|
6
|
-
//# sourceMappingURL=build-task-info-per-tsconfig-map.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { ExecutorContext } from '@nx/devkit';
|
|
2
2
|
import type { ExecutorOptions, NormalizedExecutorOptions } from '../../../../utils/schema';
|
|
3
3
|
export declare function normalizeTasksOptions(inputs: Record<string, ExecutorOptions>, context: ExecutorContext): Record<string, NormalizedExecutorOptions>;
|
|
4
|
-
//# sourceMappingURL=normalize-tasks-options.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { TaskInfo } from './types';
|
|
2
2
|
export declare function watchTaskProjectsPackageJsonFileChanges(taskInfos: TaskInfo[], callback: (changedTaskInfos: TaskInfo[]) => void): Promise<() => void>;
|
|
3
3
|
export declare function watchTaskProjectsFileChangesForAssets(taskInfos: TaskInfo[]): Promise<() => void>;
|
|
4
|
-
//# sourceMappingURL=watch.d.ts.map
|
|
@@ -45,7 +45,7 @@ async function watchTaskProjectsPackageJsonFileChanges(taskInfos, callback) {
|
|
|
45
45
|
async function watchTaskProjectsFileChangesForAssets(taskInfos) {
|
|
46
46
|
const unregisterFileWatcher = await client_1.daemonClient.registerFileWatcher({
|
|
47
47
|
watchProjects: taskInfos.map((t) => t.context.projectName),
|
|
48
|
-
|
|
48
|
+
includeDependencies: true,
|
|
49
49
|
includeGlobalWorkspaceFiles: true,
|
|
50
50
|
}, (err, data) => {
|
|
51
51
|
if (err === 'reconnecting') {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import * as ts from 'typescript';
|
|
2
2
|
import type { TransformerEntry } from '../../../utils/typescript/types';
|
|
3
3
|
export declare function getCustomTrasformersFactory(transformers: TransformerEntry[]): (program: ts.Program) => ts.CustomTransformers;
|
|
4
|
-
//# sourceMappingURL=get-custom-transformers-factory.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { ExecutorContext } from '@nx/devkit';
|
|
2
2
|
import type { NormalizedExecutorOptions } from '../../../utils/schema';
|
|
3
3
|
export declare function getTaskOptions(taskName: string, context: ExecutorContext): NormalizedExecutorOptions | null;
|
|
4
|
-
//# sourceMappingURL=get-task-options.d.ts.map
|
|
@@ -2,4 +2,3 @@ import { type ExecutorContext } from '@nx/devkit';
|
|
|
2
2
|
import type { NormalizedExecutorOptions } from '../../../utils/schema';
|
|
3
3
|
import type { TypescriptInMemoryTsConfig } from './typescript-compilation';
|
|
4
4
|
export declare function getProcessedTaskTsConfigs(tasks: string[], tasksOptions: Record<string, NormalizedExecutorOptions>, context: ExecutorContext): Record<string, TypescriptInMemoryTsConfig>;
|
|
5
|
-
//# sourceMappingURL=get-tsconfig.d.ts.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import type { ExecutorOptions, NormalizedExecutorOptions } from '../../../utils/schema';
|
|
2
2
|
export declare function normalizeOptions(options: ExecutorOptions, contextRoot: string, sourceRoot: string, projectRoot: string): NormalizedExecutorOptions;
|
|
3
|
-
//# sourceMappingURL=normalize-options.d.ts.map
|
|
@@ -27,4 +27,3 @@ export declare function compileTypescriptSolution(context: Record<string, Typesc
|
|
|
27
27
|
solutionBuilderStatusReporter?: ReporterWithTsConfig<ts.DiagnosticReporter>;
|
|
28
28
|
watchStatusReporter?: ReporterWithTsConfig<ts.WatchStatusReporter>;
|
|
29
29
|
}): AsyncIterable<TypescriptCompilationResult>;
|
|
30
|
-
//# sourceMappingURL=typescript-compilation.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import * as ts from 'typescript';
|
|
2
2
|
export declare function formatDiagnosticReport(diagnostic: ts.Diagnostic, host: ts.FormatDiagnosticsHost): string;
|
|
3
3
|
export declare function formatSolutionBuilderStatusReport(diagnostic: ts.Diagnostic): string;
|
|
4
|
-
//# sourceMappingURL=typescript-diagnostic-reporters.d.ts.map
|
|
@@ -3,4 +3,3 @@ import type { BatchExecutorTaskResult } from 'nx/src/config/misc-interfaces';
|
|
|
3
3
|
import type { ExecutorOptions } from '../../utils/schema';
|
|
4
4
|
export declare function tscBatchExecutor(taskGraph: TaskGraph, inputs: Record<string, ExecutorOptions>, overrides: ExecutorOptions, context: ExecutorContext): AsyncGenerator<BatchExecutorTaskResult, any, unknown>;
|
|
5
5
|
export default tscBatchExecutor;
|
|
6
|
-
//# sourceMappingURL=tsc.batch-impl.d.ts.map
|
|
@@ -5,4 +5,3 @@ export declare function determineModuleFormatFromTsConfig(absolutePathToTsConfig
|
|
|
5
5
|
export declare function createTypeScriptCompilationOptions(normalizedOptions: NormalizedExecutorOptions, context: ExecutorContext): TypeScriptCompilationOptions;
|
|
6
6
|
export declare function tscExecutor(_options: ExecutorOptions, context: ExecutorContext): AsyncGenerator<import("../../utils/typescript/compile-typescript-files").TypescriptCompilationResult, any, any>;
|
|
7
7
|
export default tscExecutor;
|
|
8
|
-
//# sourceMappingURL=tsc.impl.d.ts.map
|
|
@@ -2,4 +2,3 @@ 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
|
|
@@ -3,4 +3,3 @@ 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
|
|
@@ -5,4 +5,3 @@ export declare function libraryGeneratorInternal(tree: Tree, schema: LibraryGene
|
|
|
5
5
|
export type AddLintOptions = Pick<NormalizedLibraryGeneratorOptions, 'name' | 'linter' | 'projectRoot' | 'unitTestRunner' | 'js' | 'setParserOptionsProject' | 'rootProject' | 'bundler' | 'addPlugin' | 'isUsingTsSolutionConfig'>;
|
|
6
6
|
export declare function addLint(tree: Tree, options: AddLintOptions): Promise<GeneratorCallback>;
|
|
7
7
|
export default libraryGenerator;
|
|
8
|
-
//# sourceMappingURL=library.d.ts.map
|
|
@@ -9,4 +9,3 @@ export declare function addReleaseConfigForTsSolution(tree: Tree, projectName: s
|
|
|
9
9
|
*/
|
|
10
10
|
export declare function addReleaseConfigForNonTsSolution(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
|
+
export {};
|
|
@@ -2,4 +2,3 @@ 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
|
|
@@ -247,7 +247,5 @@ function updatePackageJson(tree, projectName, projectRoot, main, outputPath, roo
|
|
|
247
247
|
function mergeTargetDefaults(tree, project, buildTarget) {
|
|
248
248
|
const nxJson = (0, devkit_1.readNxJson)(tree);
|
|
249
249
|
const projectTarget = project.targets[buildTarget];
|
|
250
|
-
return (0, devkit_internals_1.mergeTargetConfigurations)(projectTarget, (projectTarget.executor
|
|
251
|
-
? nxJson.targetDefaults?.[projectTarget.executor]
|
|
252
|
-
: undefined) ?? nxJson.targetDefaults?.[buildTarget]);
|
|
250
|
+
return (0, devkit_internals_1.mergeTargetConfigurations)(projectTarget, (0, internal_1.readTargetDefaultsForTarget)(buildTarget, nxJson.targetDefaults, projectTarget.executor));
|
|
253
251
|
}
|
|
@@ -2,4 +2,3 @@ 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
|
|
@@ -2,4 +2,3 @@ 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
|
|
@@ -2,4 +2,3 @@ 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
|
|
@@ -18,4 +18,3 @@ 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
|
package/{src → dist/src}/migrations/update-22-0-0/remove-external-options-from-js-executors.js
RENAMED
|
@@ -35,30 +35,59 @@ async function default_1(tree) {
|
|
|
35
35
|
if (!nxJson.targetDefaults) {
|
|
36
36
|
return;
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
if (
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
delete targetConfig.options.external;
|
|
45
|
-
delete targetConfig.options.externalBuildTargets;
|
|
46
|
-
if (!Object.keys(targetConfig.options).length) {
|
|
47
|
-
delete targetConfig.options;
|
|
38
|
+
const cleanEntry = (entry) => {
|
|
39
|
+
if (entry.options) {
|
|
40
|
+
delete entry.options.external;
|
|
41
|
+
delete entry.options.externalBuildTargets;
|
|
42
|
+
if (!Object.keys(entry.options).length) {
|
|
43
|
+
delete entry.options;
|
|
48
44
|
}
|
|
49
45
|
}
|
|
50
|
-
Object.entries(
|
|
46
|
+
Object.entries(entry.configurations ?? {}).forEach(([, config]) => {
|
|
51
47
|
delete config.external;
|
|
52
48
|
delete config.externalBuildTargets;
|
|
53
49
|
});
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
50
|
+
};
|
|
51
|
+
if (Array.isArray(nxJson.targetDefaults)) {
|
|
52
|
+
const remaining = [];
|
|
53
|
+
for (const entry of nxJson.targetDefaults) {
|
|
54
|
+
const matches = exports.executors.includes(entry.executor) || exports.executors.includes(entry.target);
|
|
55
|
+
if (!matches) {
|
|
56
|
+
remaining.push(entry);
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
cleanEntry(entry);
|
|
60
|
+
const meaningfulKeys = Object.keys(entry).filter((k) => k !== 'target' &&
|
|
61
|
+
k !== 'executor' &&
|
|
62
|
+
k !== 'projects' &&
|
|
63
|
+
k !== 'plugin');
|
|
64
|
+
if (meaningfulKeys.length === 0)
|
|
65
|
+
continue;
|
|
66
|
+
remaining.push(entry);
|
|
58
67
|
}
|
|
59
|
-
if (
|
|
68
|
+
if (remaining.length === 0) {
|
|
60
69
|
delete nxJson.targetDefaults;
|
|
61
70
|
}
|
|
71
|
+
else {
|
|
72
|
+
nxJson.targetDefaults = remaining;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
for (const [targetOrExecutor, targetConfig] of Object.entries(nxJson.targetDefaults)) {
|
|
77
|
+
if (!exports.executors.includes(targetOrExecutor) &&
|
|
78
|
+
!exports.executors.includes(targetConfig.executor)) {
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
cleanEntry(targetConfig);
|
|
82
|
+
if (!Object.keys(targetConfig).length ||
|
|
83
|
+
(Object.keys(targetConfig).length === 1 &&
|
|
84
|
+
Object.keys(targetConfig)[0] === 'executor')) {
|
|
85
|
+
delete nxJson.targetDefaults[targetOrExecutor];
|
|
86
|
+
}
|
|
87
|
+
if (!Object.keys(nxJson.targetDefaults).length) {
|
|
88
|
+
delete nxJson.targetDefaults;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
62
91
|
}
|
|
63
92
|
(0, devkit_1.updateNxJson)(tree, nxJson);
|
|
64
93
|
await (0, devkit_1.formatFiles)(tree);
|