@ohos-ports/nx 19.8.4-beta.0 → 23.2.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -61
- package/local-natives.js +59 -0
- package/package.json +12 -188
- package/.eslintrc.json +0 -140
- package/LICENSE +0 -22
- package/bin/init-local.d.ts +0 -8
- package/bin/init-local.js +0 -183
- package/bin/nx-cloud.d.ts +0 -3
- package/bin/nx-cloud.js +0 -47
- package/bin/nx.d.ts +0 -2
- package/bin/nx.js +0 -226
- package/bin/post-install.d.ts +0 -1
- package/bin/post-install.js +0 -64
- package/bin/run-executor.d.ts +0 -1
- package/bin/run-executor.js +0 -66
- package/executors.json +0 -19
- package/generators.json +0 -10
- package/migrations.json +0 -94
- package/node_modules/@nrwl/tao/LICENSE +0 -22
- package/node_modules/@nrwl/tao/README.md +0 -18
- package/node_modules/@nrwl/tao/index.d.ts +0 -1
- package/node_modules/@nrwl/tao/index.js +0 -7
- package/node_modules/@nrwl/tao/package.json +0 -41
- package/node_modules/@nrwl/tao/src/commands/ngcli-adapter.d.ts +0 -1
- package/node_modules/@nrwl/tao/src/commands/ngcli-adapter.js +0 -5
- package/node_modules/@nrwl/tao/src/shared/logger.d.ts +0 -1
- package/node_modules/@nrwl/tao/src/shared/logger.js +0 -5
- package/node_modules/@nrwl/tao/src/shared/nx.d.ts +0 -1
- package/node_modules/@nrwl/tao/src/shared/nx.js +0 -5
- package/node_modules/@nrwl/tao/src/shared/package-manager.d.ts +0 -1
- package/node_modules/@nrwl/tao/src/shared/package-manager.js +0 -5
- package/node_modules/@nrwl/tao/src/shared/project-graph.d.ts +0 -1
- package/node_modules/@nrwl/tao/src/shared/project-graph.js +0 -5
- package/node_modules/@nrwl/tao/src/shared/tree.d.ts +0 -1
- package/node_modules/@nrwl/tao/src/shared/tree.js +0 -5
- package/node_modules/@nrwl/tao/src/utils/app-root.d.ts +0 -1
- package/node_modules/@nrwl/tao/src/utils/app-root.js +0 -5
- package/plugins/package-json.d.ts +0 -1
- package/plugins/package-json.js +0 -12
- package/presets/core.json +0 -1
- package/presets/npm.json +0 -7
- package/release/changelog-renderer/index.d.ts +0 -80
- package/release/changelog-renderer/index.js +0 -315
- package/release/index.d.ts +0 -4
- package/release/index.js +0 -12
- package/schemas/nx-schema.json +0 -819
- package/schemas/project-schema.json +0 -331
- package/schemas/workspace-schema.json +0 -185
- package/src/adapter/angular-json.d.ts +0 -10
- package/src/adapter/angular-json.js +0 -128
- package/src/adapter/compat.d.ts +0 -2
- package/src/adapter/compat.js +0 -143
- package/src/adapter/decorate-cli.d.ts +0 -1
- package/src/adapter/decorate-cli.js +0 -24
- package/src/adapter/ngcli-adapter.d.ts +0 -90
- package/src/adapter/ngcli-adapter.js +0 -854
- package/src/adapter/rxjs-for-await.d.ts +0 -109
- package/src/adapter/rxjs-for-await.js +0 -362
- package/src/command-line/activate-powerpack/activate-powerpack.d.ts +0 -2
- package/src/command-line/activate-powerpack/activate-powerpack.js +0 -34
- package/src/command-line/activate-powerpack/command-object.d.ts +0 -6
- package/src/command-line/activate-powerpack/command-object.js +0 -26
- package/src/command-line/add/add.d.ts +0 -3
- package/src/command-line/add/add.js +0 -150
- package/src/command-line/add/command-object.d.ts +0 -8
- package/src/command-line/add/command-object.js +0 -27
- package/src/command-line/affected/affected.d.ts +0 -10
- package/src/command-line/affected/affected.js +0 -88
- package/src/command-line/affected/command-object.d.ts +0 -6
- package/src/command-line/affected/command-object.js +0 -82
- package/src/command-line/connect/command-object.d.ts +0 -3
- package/src/command-line/connect/command-object.js +0 -32
- package/src/command-line/connect/connect-to-nx-cloud.d.ts +0 -12
- package/src/command-line/connect/connect-to-nx-cloud.js +0 -149
- package/src/command-line/connect/view-logs.d.ts +0 -1
- package/src/command-line/connect/view-logs.js +0 -55
- package/src/command-line/daemon/command-object.d.ts +0 -2
- package/src/command-line/daemon/command-object.js +0 -21
- package/src/command-line/daemon/daemon.d.ts +0 -2
- package/src/command-line/daemon/daemon.js +0 -26
- package/src/command-line/deprecated/command-objects.d.ts +0 -9
- package/src/command-line/deprecated/command-objects.js +0 -48
- package/src/command-line/examples.d.ts +0 -5
- package/src/command-line/examples.js +0 -379
- package/src/command-line/exec/command-object.d.ts +0 -2
- package/src/command-line/exec/command-object.js +0 -19
- package/src/command-line/exec/exec.d.ts +0 -1
- package/src/command-line/exec/exec.js +0 -142
- package/src/command-line/format/command-object.d.ts +0 -3
- package/src/command-line/format/command-object.js +0 -46
- package/src/command-line/format/format.d.ts +0 -2
- package/src/command-line/format/format.js +0 -195
- package/src/command-line/generate/command-object.d.ts +0 -2
- package/src/command-line/generate/command-object.js +0 -67
- package/src/command-line/generate/generate.d.ts +0 -21
- package/src/command-line/generate/generate.js +0 -262
- package/src/command-line/generate/generator-utils.d.ts +0 -18
- package/src/command-line/generate/generator-utils.js +0 -86
- package/src/command-line/graph/command-object.d.ts +0 -25
- package/src/command-line/graph/command-object.js +0 -75
- package/src/command-line/graph/graph.d.ts +0 -68
- package/src/command-line/graph/graph.js +0 -806
- package/src/command-line/import/command-object.d.ts +0 -2
- package/src/command-line/import/command-object.js +0 -44
- package/src/command-line/import/import.d.ts +0 -25
- package/src/command-line/import/import.js +0 -328
- package/src/command-line/import/utils/merge-remote-source.d.ts +0 -2
- package/src/command-line/import/utils/merge-remote-source.js +0 -14
- package/src/command-line/import/utils/needs-install.d.ts +0 -3
- package/src/command-line/import/utils/needs-install.js +0 -31
- package/src/command-line/import/utils/prepare-source-repo.d.ts +0 -2
- package/src/command-line/import/utils/prepare-source-repo.js +0 -27
- package/src/command-line/init/command-object.d.ts +0 -2
- package/src/command-line/init/command-object.js +0 -83
- package/src/command-line/init/implementation/add-nx-to-monorepo.d.ts +0 -6
- package/src/command-line/init/implementation/add-nx-to-monorepo.js +0 -130
- package/src/command-line/init/implementation/add-nx-to-nest.d.ts +0 -5
- package/src/command-line/init/implementation/add-nx-to-nest.js +0 -345
- package/src/command-line/init/implementation/add-nx-to-npm-repo.d.ts +0 -6
- package/src/command-line/init/implementation/add-nx-to-npm-repo.js +0 -72
- package/src/command-line/init/implementation/angular/index.d.ts +0 -2
- package/src/command-line/init/implementation/angular/index.js +0 -125
- package/src/command-line/init/implementation/angular/integrated-workspace.d.ts +0 -1
- package/src/command-line/init/implementation/angular/integrated-workspace.js +0 -12
- package/src/command-line/init/implementation/angular/legacy-angular-versions.d.ts +0 -2
- package/src/command-line/init/implementation/angular/legacy-angular-versions.js +0 -122
- package/src/command-line/init/implementation/angular/standalone-workspace.d.ts +0 -1
- package/src/command-line/init/implementation/angular/standalone-workspace.js +0 -175
- package/src/command-line/init/implementation/angular/types.d.ts +0 -20
- package/src/command-line/init/implementation/angular/types.js +0 -2
- package/src/command-line/init/implementation/dot-nx/add-nx-scripts.d.ts +0 -8
- package/src/command-line/init/implementation/dot-nx/add-nx-scripts.js +0 -106
- package/src/command-line/init/implementation/dot-nx/nxw.d.ts +0 -1
- package/src/command-line/init/implementation/dot-nx/nxw.js +0 -117
- package/src/command-line/init/implementation/react/add-craco-commands-to-package-scripts.d.ts +0 -1
- package/src/command-line/init/implementation/react/add-craco-commands-to-package-scripts.js +0 -21
- package/src/command-line/init/implementation/react/add-vite-commands-to-package-scripts.d.ts +0 -1
- package/src/command-line/init/implementation/react/add-vite-commands-to-package-scripts.js +0 -18
- package/src/command-line/init/implementation/react/check-for-custom-webpack-setup.d.ts +0 -1
- package/src/command-line/init/implementation/react/check-for-custom-webpack-setup.js +0 -17
- package/src/command-line/init/implementation/react/check-for-uncommitted-changes.d.ts +0 -1
- package/src/command-line/init/implementation/react/check-for-uncommitted-changes.js +0 -20
- package/src/command-line/init/implementation/react/clean-up-files.d.ts +0 -1
- package/src/command-line/init/implementation/react/clean-up-files.js +0 -30
- package/src/command-line/init/implementation/react/index.d.ts +0 -4
- package/src/command-line/init/implementation/react/index.js +0 -230
- package/src/command-line/init/implementation/react/read-name-from-package-json.d.ts +0 -1
- package/src/command-line/init/implementation/react/read-name-from-package-json.js +0 -16
- package/src/command-line/init/implementation/react/rename-js-to-jsx.d.ts +0 -1
- package/src/command-line/init/implementation/react/rename-js-to-jsx.js +0 -22
- package/src/command-line/init/implementation/react/tsconfig-setup.d.ts +0 -1
- package/src/command-line/init/implementation/react/tsconfig-setup.js +0 -108
- package/src/command-line/init/implementation/react/write-craco-config.d.ts +0 -1
- package/src/command-line/init/implementation/react/write-craco-config.js +0 -61
- package/src/command-line/init/implementation/react/write-vite-config.d.ts +0 -1
- package/src/command-line/init/implementation/react/write-vite-config.js +0 -37
- package/src/command-line/init/implementation/react/write-vite-index-html.d.ts +0 -1
- package/src/command-line/init/implementation/react/write-vite-index-html.js +0 -24
- package/src/command-line/init/implementation/utils.d.ts +0 -16
- package/src/command-line/init/implementation/utils.js +0 -205
- package/src/command-line/init/init-v1.d.ts +0 -11
- package/src/command-line/init/init-v1.js +0 -130
- package/src/command-line/init/init-v2.d.ts +0 -14
- package/src/command-line/init/init-v2.js +0 -239
- package/src/command-line/list/command-object.d.ts +0 -2
- package/src/command-line/list/command-object.js +0 -15
- package/src/command-line/list/list.d.ts +0 -13
- package/src/command-line/list/list.js +0 -44
- package/src/command-line/login/command-object.d.ts +0 -2
- package/src/command-line/login/command-object.js +0 -16
- package/src/command-line/login/login.d.ts +0 -5
- package/src/command-line/login/login.js +0 -16
- package/src/command-line/logout/command-object.d.ts +0 -2
- package/src/command-line/logout/command-object.js +0 -12
- package/src/command-line/logout/logout.d.ts +0 -4
- package/src/command-line/logout/logout.js +0 -13
- package/src/command-line/migrate/command-object.d.ts +0 -3
- package/src/command-line/migrate/command-object.js +0 -171
- package/src/command-line/migrate/migrate.d.ts +0 -114
- package/src/command-line/migrate/migrate.js +0 -1110
- package/src/command-line/new/command-object.d.ts +0 -2
- package/src/command-line/new/command-object.js +0 -25
- package/src/command-line/new/new.d.ts +0 -3
- package/src/command-line/new/new.js +0 -30
- package/src/command-line/nx-commands.d.ts +0 -10
- package/src/command-line/nx-commands.js +0 -128
- package/src/command-line/release/changelog.d.ts +0 -34
- package/src/command-line/release/changelog.js +0 -997
- package/src/command-line/release/command-object.d.ts +0 -69
- package/src/command-line/release/command-object.js +0 -297
- package/src/command-line/release/config/config.d.ts +0 -54
- package/src/command-line/release/config/config.js +0 -864
- package/src/command-line/release/config/conventional-commits.d.ts +0 -2
- package/src/command-line/release/config/conventional-commits.js +0 -98
- package/src/command-line/release/config/deep-merge-json.d.ts +0 -1
- package/src/command-line/release/config/deep-merge-json.js +0 -28
- package/src/command-line/release/config/filter-release-groups.d.ts +0 -15
- package/src/command-line/release/config/filter-release-groups.js +0 -150
- package/src/command-line/release/config/version-plans.d.ts +0 -42
- package/src/command-line/release/config/version-plans.js +0 -220
- package/src/command-line/release/index.d.ts +0 -30
- package/src/command-line/release/index.js +0 -37
- package/src/command-line/release/plan-check.d.ts +0 -4
- package/src/command-line/release/plan-check.js +0 -169
- package/src/command-line/release/plan.d.ts +0 -4
- package/src/command-line/release/plan.js +0 -259
- package/src/command-line/release/publish.d.ts +0 -4
- package/src/command-line/release/publish.js +0 -164
- package/src/command-line/release/release.d.ts +0 -5
- package/src/command-line/release/release.js +0 -242
- package/src/command-line/release/utils/batch-projects-by-generator-config.d.ts +0 -7
- package/src/command-line/release/utils/batch-projects-by-generator-config.js +0 -36
- package/src/command-line/release/utils/exec-command.d.ts +0 -1
- package/src/command-line/release/utils/exec-command.js +0 -34
- package/src/command-line/release/utils/generate-version-plan-content.d.ts +0 -1
- package/src/command-line/release/utils/generate-version-plan-content.js +0 -20
- package/src/command-line/release/utils/get-touched-projects-for-group.d.ts +0 -7
- package/src/command-line/release/utils/get-touched-projects-for-group.js +0 -78
- package/src/command-line/release/utils/git.d.ts +0 -67
- package/src/command-line/release/utils/git.js +0 -407
- package/src/command-line/release/utils/github.d.ts +0 -31
- package/src/command-line/release/utils/github.js +0 -322
- package/src/command-line/release/utils/launch-editor.d.ts +0 -1
- package/src/command-line/release/utils/launch-editor.js +0 -46
- package/src/command-line/release/utils/markdown.d.ts +0 -6
- package/src/command-line/release/utils/markdown.js +0 -28
- package/src/command-line/release/utils/print-changes.d.ts +0 -6
- package/src/command-line/release/utils/print-changes.js +0 -61
- package/src/command-line/release/utils/print-config.d.ts +0 -7
- package/src/command-line/release/utils/print-config.js +0 -36
- package/src/command-line/release/utils/resolve-changelog-renderer.d.ts +0 -2
- package/src/command-line/release/utils/resolve-changelog-renderer.js +0 -30
- package/src/command-line/release/utils/resolve-nx-json-error-message.d.ts +0 -1
- package/src/command-line/release/utils/resolve-nx-json-error-message.js +0 -52
- package/src/command-line/release/utils/resolve-semver-specifier.d.ts +0 -4
- package/src/command-line/release/utils/resolve-semver-specifier.js +0 -57
- package/src/command-line/release/utils/semver.d.ts +0 -11
- package/src/command-line/release/utils/semver.js +0 -58
- package/src/command-line/release/utils/shared.d.ts +0 -53
- package/src/command-line/release/utils/shared.js +0 -219
- package/src/command-line/release/version.d.ts +0 -60
- package/src/command-line/release/version.js +0 -463
- package/src/command-line/repair/command-object.d.ts +0 -2
- package/src/command-line/repair/command-object.js +0 -20
- package/src/command-line/repair/repair.d.ts +0 -3
- package/src/command-line/repair/repair.js +0 -36
- package/src/command-line/report/command-object.d.ts +0 -2
- package/src/command-line/report/command-object.js +0 -11
- package/src/command-line/report/report.d.ts +0 -57
- package/src/command-line/report/report.js +0 -303
- package/src/command-line/reset/command-object.d.ts +0 -8
- package/src/command-line/reset/command-object.js +0 -26
- package/src/command-line/reset/reset.d.ts +0 -2
- package/src/command-line/reset/reset.js +0 -131
- package/src/command-line/run/command-object.d.ts +0 -6
- package/src/command-line/run/command-object.js +0 -42
- package/src/command-line/run/executor-utils.d.ts +0 -7
- package/src/command-line/run/executor-utils.js +0 -86
- package/src/command-line/run/run-one.d.ts +0 -7
- package/src/command-line/run/run-one.js +0 -116
- package/src/command-line/run/run.d.ts +0 -51
- package/src/command-line/run/run.js +0 -179
- package/src/command-line/run-many/command-object.d.ts +0 -2
- package/src/command-line/run-many/command-object.js +0 -17
- package/src/command-line/run-many/run-many.d.ts +0 -10
- package/src/command-line/run-many/run-many.js +0 -92
- package/src/command-line/show/command-object.d.ts +0 -26
- package/src/command-line/show/command-object.js +0 -115
- package/src/command-line/show/project.d.ts +0 -2
- package/src/command-line/show/project.js +0 -60
- package/src/command-line/show/projects.d.ts +0 -2
- package/src/command-line/show/projects.js +0 -77
- package/src/command-line/sync/command-object.d.ts +0 -6
- package/src/command-line/sync/command-object.js +0 -20
- package/src/command-line/sync/sync.d.ts +0 -6
- package/src/command-line/sync/sync.js +0 -114
- package/src/command-line/watch/command-object.d.ts +0 -2
- package/src/command-line/watch/command-object.js +0 -64
- package/src/command-line/watch/watch.d.ts +0 -23
- package/src/command-line/watch/watch.js +0 -173
- package/src/command-line/yargs-utils/documentation.d.ts +0 -2
- package/src/command-line/yargs-utils/documentation.js +0 -11
- package/src/command-line/yargs-utils/shared-options.d.ts +0 -75
- package/src/command-line/yargs-utils/shared-options.js +0 -253
- package/src/commands-runner/command-graph.d.ts +0 -13
- package/src/commands-runner/command-graph.js +0 -2
- package/src/commands-runner/create-command-graph.d.ts +0 -4
- package/src/commands-runner/create-command-graph.js +0 -67
- package/src/commands-runner/get-command-projects.d.ts +0 -3
- package/src/commands-runner/get-command-projects.js +0 -18
- package/src/config/calculate-default-project-name.d.ts +0 -4
- package/src/config/calculate-default-project-name.js +0 -41
- package/src/config/configuration.d.ts +0 -8
- package/src/config/configuration.js +0 -17
- package/src/config/misc-interfaces.d.ts +0 -212
- package/src/config/misc-interfaces.js +0 -2
- package/src/config/nx-json.d.ts +0 -479
- package/src/config/nx-json.js +0 -39
- package/src/config/project-graph.d.ts +0 -137
- package/src/config/project-graph.js +0 -37
- package/src/config/schema-utils.d.ts +0 -15
- package/src/config/schema-utils.js +0 -58
- package/src/config/task-graph.d.ts +0 -104
- package/src/config/task-graph.js +0 -2
- package/src/config/to-project-name.d.ts +0 -5
- package/src/config/to-project-name.js +0 -12
- package/src/config/workspace-json-project-json.d.ts +0 -225
- package/src/config/workspace-json-project-json.js +0 -2
- package/src/core/graph/environment.js +0 -1
- package/src/core/graph/favicon.ico +0 -0
- package/src/core/graph/index.html +0 -30
- package/src/core/graph/main.js +0 -1
- package/src/core/graph/runtime.js +0 -1
- package/src/core/graph/styles.css +0 -3
- package/src/core/graph/styles.js +0 -1
- package/src/daemon/cache.d.ts +0 -9
- package/src/daemon/cache.js +0 -68
- package/src/daemon/client/client.d.ts +0 -72
- package/src/daemon/client/client.js +0 -505
- package/src/daemon/client/daemon-socket-messenger.d.ts +0 -12
- package/src/daemon/client/daemon-socket-messenger.js +0 -26
- package/src/daemon/client/exec-is-server-available.d.ts +0 -1
- package/src/daemon/client/exec-is-server-available.js +0 -11
- package/src/daemon/client/generate-help-output.d.ts +0 -1
- package/src/daemon/client/generate-help-output.js +0 -26
- package/src/daemon/is-on-daemon.d.ts +0 -1
- package/src/daemon/is-on-daemon.js +0 -6
- package/src/daemon/message-types/flush-sync-generator-changes-to-disk.d.ts +0 -6
- package/src/daemon/message-types/flush-sync-generator-changes-to-disk.js +0 -11
- package/src/daemon/message-types/force-shutdown.d.ts +0 -5
- package/src/daemon/message-types/force-shutdown.js +0 -11
- package/src/daemon/message-types/get-context-file-data.d.ts +0 -5
- package/src/daemon/message-types/get-context-file-data.js +0 -11
- package/src/daemon/message-types/get-files-in-directory.d.ts +0 -6
- package/src/daemon/message-types/get-files-in-directory.js +0 -11
- package/src/daemon/message-types/get-nx-workspace-files.d.ts +0 -6
- package/src/daemon/message-types/get-nx-workspace-files.js +0 -11
- package/src/daemon/message-types/get-registered-sync-generators.d.ts +0 -5
- package/src/daemon/message-types/get-registered-sync-generators.js +0 -11
- package/src/daemon/message-types/get-sync-generator-changes.d.ts +0 -6
- package/src/daemon/message-types/get-sync-generator-changes.js +0 -11
- package/src/daemon/message-types/glob.d.ts +0 -7
- package/src/daemon/message-types/glob.js +0 -11
- package/src/daemon/message-types/hash-glob.d.ts +0 -7
- package/src/daemon/message-types/hash-glob.js +0 -11
- package/src/daemon/message-types/task-history.d.ts +0 -19
- package/src/daemon/message-types/task-history.js +0 -27
- package/src/daemon/message-types/update-workspace-context.d.ts +0 -8
- package/src/daemon/message-types/update-workspace-context.js +0 -11
- package/src/daemon/server/file-watching/changed-projects.d.ts +0 -10
- package/src/daemon/server/file-watching/changed-projects.js +0 -44
- package/src/daemon/server/file-watching/file-watcher-sockets.d.ts +0 -12
- package/src/daemon/server/file-watching/file-watcher-sockets.js +0 -66
- package/src/daemon/server/handle-context-file-data.d.ts +0 -2
- package/src/daemon/server/handle-context-file-data.js +0 -12
- package/src/daemon/server/handle-flush-sync-generator-changes-to-disk.d.ts +0 -2
- package/src/daemon/server/handle-flush-sync-generator-changes-to-disk.js +0 -11
- package/src/daemon/server/handle-force-shutdown.d.ts +0 -5
- package/src/daemon/server/handle-force-shutdown.js +0 -18
- package/src/daemon/server/handle-get-files-in-directory.d.ts +0 -2
- package/src/daemon/server/handle-get-files-in-directory.js +0 -12
- package/src/daemon/server/handle-get-registered-sync-generators.d.ts +0 -2
- package/src/daemon/server/handle-get-registered-sync-generators.js +0 -11
- package/src/daemon/server/handle-get-sync-generator-changes.d.ts +0 -2
- package/src/daemon/server/handle-get-sync-generator-changes.js +0 -19
- package/src/daemon/server/handle-glob.d.ts +0 -2
- package/src/daemon/server/handle-glob.js +0 -12
- package/src/daemon/server/handle-hash-glob.d.ts +0 -2
- package/src/daemon/server/handle-hash-glob.js +0 -12
- package/src/daemon/server/handle-hash-tasks.d.ts +0 -10
- package/src/daemon/server/handle-hash-tasks.js +0 -35
- package/src/daemon/server/handle-nx-workspace-files.d.ts +0 -2
- package/src/daemon/server/handle-nx-workspace-files.js +0 -12
- package/src/daemon/server/handle-outputs-tracking.d.ts +0 -15
- package/src/daemon/server/handle-outputs-tracking.js +0 -35
- package/src/daemon/server/handle-process-in-background.d.ts +0 -6
- package/src/daemon/server/handle-process-in-background.js +0 -32
- package/src/daemon/server/handle-request-project-graph.d.ts +0 -2
- package/src/daemon/server/handle-request-project-graph.js +0 -36
- package/src/daemon/server/handle-request-shutdown.d.ts +0 -5
- package/src/daemon/server/handle-request-shutdown.js +0 -27
- package/src/daemon/server/handle-task-history.d.ts +0 -13
- package/src/daemon/server/handle-task-history.js +0 -30
- package/src/daemon/server/handle-update-workspace-context.d.ts +0 -2
- package/src/daemon/server/handle-update-workspace-context.js +0 -11
- package/src/daemon/server/logger.d.ts +0 -18
- package/src/daemon/server/logger.js +0 -37
- package/src/daemon/server/outputs-tracking.d.ts +0 -8
- package/src/daemon/server/outputs-tracking.js +0 -93
- package/src/daemon/server/plugins.d.ts +0 -3
- package/src/daemon/server/plugins.js +0 -32
- package/src/daemon/server/project-graph-incremental-recomputation.d.ts +0 -24
- package/src/daemon/server/project-graph-incremental-recomputation.js +0 -300
- package/src/daemon/server/server.d.ts +0 -9
- package/src/daemon/server/server.js +0 -380
- package/src/daemon/server/shutdown-utils.d.ts +0 -17
- package/src/daemon/server/shutdown-utils.js +0 -89
- package/src/daemon/server/start.d.ts +0 -1
- package/src/daemon/server/start.js +0 -17
- package/src/daemon/server/sync-generators.d.ts +0 -13
- package/src/daemon/server/sync-generators.js +0 -357
- package/src/daemon/server/watcher.d.ts +0 -11
- package/src/daemon/server/watcher.js +0 -103
- package/src/daemon/socket-utils.d.ts +0 -12
- package/src/daemon/socket-utils.js +0 -55
- package/src/daemon/tmp-dir.d.ts +0 -12
- package/src/daemon/tmp-dir.js +0 -70
- package/src/devkit-exports.d.ts +0 -136
- package/src/devkit-exports.js +0 -142
- package/src/devkit-internals.d.ts +0 -26
- package/src/devkit-internals.js +0 -52
- package/src/devkit-testing-exports.d.ts +0 -2
- package/src/devkit-testing-exports.js +0 -8
- package/src/executors/noop/noop.impl.d.ts +0 -3
- package/src/executors/noop/noop.impl.js +0 -6
- package/src/executors/noop/schema.json +0 -10
- package/src/executors/run-commands/run-commands.impl.d.ts +0 -57
- package/src/executors/run-commands/run-commands.impl.js +0 -480
- package/src/executors/run-commands/schema.json +0 -184
- package/src/executors/run-script/run-script.impl.d.ts +0 -8
- package/src/executors/run-script/run-script.impl.js +0 -57
- package/src/executors/run-script/schema.json +0 -28
- package/src/executors/utils/convert-nx-executor.d.ts +0 -10
- package/src/executors/utils/convert-nx-executor.js +0 -85
- package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.d.ts +0 -14
- package/src/generators/internal-utils/format-changed-files-with-prettier-if-available.js +0 -58
- package/src/generators/testing-utils/create-tree-with-empty-workspace.d.ts +0 -11
- package/src/generators/testing-utils/create-tree-with-empty-workspace.js +0 -52
- package/src/generators/testing-utils/create-tree.d.ts +0 -5
- package/src/generators/testing-utils/create-tree.js +0 -10
- package/src/generators/tree.d.ts +0 -125
- package/src/generators/tree.js +0 -309
- package/src/generators/utils/glob.d.ts +0 -22
- package/src/generators/utils/glob.js +0 -51
- package/src/generators/utils/json.d.ts +0 -28
- package/src/generators/utils/json.js +0 -48
- package/src/generators/utils/nx-json.d.ts +0 -11
- package/src/generators/utils/nx-json.js +0 -58
- package/src/generators/utils/project-configuration.d.ts +0 -42
- package/src/generators/utils/project-configuration.js +0 -278
- package/src/hasher/create-task-hasher.d.ts +0 -4
- package/src/hasher/create-task-hasher.js +0 -15
- package/src/hasher/file-hasher.d.ts +0 -2
- package/src/hasher/file-hasher.js +0 -18
- package/src/hasher/hash-task.d.ts +0 -8
- package/src/hasher/hash-task.js +0 -85
- package/src/hasher/native-task-hasher-impl.d.ts +0 -18
- package/src/hasher/native-task-hasher-impl.js +0 -37
- package/src/hasher/node-task-hasher-impl.d.ts +0 -48
- package/src/hasher/node-task-hasher-impl.js +0 -449
- package/src/hasher/task-hasher.d.ts +0 -128
- package/src/hasher/task-hasher.js +0 -266
- package/src/index.d.ts +0 -1
- package/src/index.js +0 -5
- package/src/migrations/update-15-0-0/migrate-to-inputs.d.ts +0 -2
- package/src/migrations/update-15-0-0/migrate-to-inputs.js +0 -102
- package/src/migrations/update-15-0-0/prefix-outputs.d.ts +0 -2
- package/src/migrations/update-15-0-0/prefix-outputs.js +0 -49
- package/src/migrations/update-16-0-0/remove-nrwl-cli.d.ts +0 -2
- package/src/migrations/update-16-0-0/remove-nrwl-cli.js +0 -16
- package/src/migrations/update-16-0-0/update-depends-on-to-tokens.d.ts +0 -2
- package/src/migrations/update-16-0-0/update-depends-on-to-tokens.js +0 -97
- package/src/migrations/update-16-0-0/update-nx-cloud-runner.d.ts +0 -2
- package/src/migrations/update-16-0-0/update-nx-cloud-runner.js +0 -29
- package/src/migrations/update-16-2-0/remove-run-commands-output-path.d.ts +0 -2
- package/src/migrations/update-16-2-0/remove-run-commands-output-path.js +0 -45
- package/src/migrations/update-16-8-0/escape-dollar-sign-env-variables.d.ts +0 -12
- package/src/migrations/update-16-8-0/escape-dollar-sign-env-variables.js +0 -67
- package/src/migrations/update-16-9-0/remove-project-name-and-root-format.d.ts +0 -2
- package/src/migrations/update-16-9-0/remove-project-name-and-root-format.js +0 -21
- package/src/migrations/update-17-0-0/move-cache-directory.d.ts +0 -2
- package/src/migrations/update-17-0-0/move-cache-directory.js +0 -35
- package/src/migrations/update-17-0-0/rm-default-collection-npm-scope.d.ts +0 -2
- package/src/migrations/update-17-0-0/rm-default-collection-npm-scope.js +0 -72
- package/src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.d.ts +0 -2
- package/src/migrations/update-17-0-0/use-minimal-config-for-tasks-runner-options.js +0 -122
- package/src/migrations/update-17-2-0/move-default-base.d.ts +0 -5
- package/src/migrations/update-17-2-0/move-default-base.js +0 -21
- package/src/migrations/update-17-3-0/nx-release-path.d.ts +0 -3
- package/src/migrations/update-17-3-0/nx-release-path.js +0 -47
- package/src/migrations/update-17-3-0/update-nxw.d.ts +0 -2
- package/src/migrations/update-17-3-0/update-nxw.js +0 -7
- package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.d.ts +0 -2
- package/src/migrations/update-18-0-0/disable-crystal-for-existing-workspaces.js +0 -11
- package/src/migrations/update-19-2-0/move-workspace-data-directory.d.ts +0 -4
- package/src/migrations/update-19-2-0/move-workspace-data-directory.js +0 -33
- package/src/migrations/update-19-2-4/set-project-name.d.ts +0 -2
- package/src/migrations/update-19-2-4/set-project-name.js +0 -34
- package/src/native/assert-supported-platform.d.ts +0 -1
- package/src/native/assert-supported-platform.js +0 -38
- package/src/native/browser.js +0 -1
- package/src/native/index.d.ts +0 -282
- package/src/native/index.js +0 -94
- package/src/native/native-bindings.js +0 -405
- package/src/native/native-file-cache-location.d.ts +0 -1
- package/src/native/native-file-cache-location.js +0 -22
- package/src/native/nx.openharmony-arm64.node +0 -0
- package/src/native/nx.wasi-browser.js +0 -114
- package/src/native/nx.wasi.cjs +0 -145
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/native/transform-objects.d.ts +0 -3
- package/src/native/transform-objects.js +0 -51
- package/src/native/wasi-worker-browser.mjs +0 -32
- package/src/native/wasi-worker.mjs +0 -63
- package/src/nx-cloud/debug-logger.d.ts +0 -1
- package/src/nx-cloud/debug-logger.js +0 -8
- package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.d.ts +0 -14
- package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +0 -159
- package/src/nx-cloud/generators/connect-to-nx-cloud/schema.json +0 -41
- package/src/nx-cloud/models/onboarding-status.d.ts +0 -1
- package/src/nx-cloud/models/onboarding-status.js +0 -2
- package/src/nx-cloud/nx-cloud-tasks-runner-shell.d.ts +0 -16
- package/src/nx-cloud/nx-cloud-tasks-runner-shell.js +0 -41
- package/src/nx-cloud/resolution-helpers.d.ts +0 -1
- package/src/nx-cloud/resolution-helpers.js +0 -19
- package/src/nx-cloud/update-manager.d.ts +0 -19
- package/src/nx-cloud/update-manager.js +0 -240
- package/src/nx-cloud/utilities/axios.d.ts +0 -2
- package/src/nx-cloud/utilities/axios.js +0 -24
- package/src/nx-cloud/utilities/client.d.ts +0 -10
- package/src/nx-cloud/utilities/client.js +0 -35
- package/src/nx-cloud/utilities/environment.d.ts +0 -3
- package/src/nx-cloud/utilities/environment.js +0 -47
- package/src/nx-cloud/utilities/get-cloud-options.d.ts +0 -5
- package/src/nx-cloud/utilities/get-cloud-options.js +0 -23
- package/src/nx-cloud/utilities/is-workspace-claimed.d.ts +0 -1
- package/src/nx-cloud/utilities/is-workspace-claimed.js +0 -25
- package/src/nx-cloud/utilities/onboarding.d.ts +0 -5
- package/src/nx-cloud/utilities/onboarding.js +0 -28
- package/src/nx-cloud/utilities/url-shorten.d.ts +0 -10
- package/src/nx-cloud/utilities/url-shorten.js +0 -156
- package/src/plugins/js/hasher/hasher.d.ts +0 -5
- package/src/plugins/js/hasher/hasher.js +0 -51
- package/src/plugins/js/index.d.ts +0 -4
- package/src/plugins/js/index.js +0 -106
- package/src/plugins/js/lock-file/lock-file.d.ts +0 -34
- package/src/plugins/js/lock-file/lock-file.js +0 -211
- package/src/plugins/js/lock-file/npm-parser.d.ts +0 -7
- package/src/plugins/js/lock-file/npm-parser.js +0 -475
- package/src/plugins/js/lock-file/pnpm-parser.d.ts +0 -7
- package/src/plugins/js/lock-file/pnpm-parser.js +0 -466
- package/src/plugins/js/lock-file/project-graph-pruning.d.ts +0 -7
- package/src/plugins/js/lock-file/project-graph-pruning.js +0 -154
- package/src/plugins/js/lock-file/utils/package-json.d.ts +0 -10
- package/src/plugins/js/lock-file/utils/package-json.js +0 -33
- package/src/plugins/js/lock-file/utils/pnpm-normalizer.d.ts +0 -20
- package/src/plugins/js/lock-file/utils/pnpm-normalizer.js +0 -854
- package/src/plugins/js/lock-file/yarn-parser.d.ts +0 -7
- package/src/plugins/js/lock-file/yarn-parser.js +0 -436
- package/src/plugins/js/package-json/create-package-json.d.ts +0 -29
- package/src/plugins/js/package-json/create-package-json.js +0 -247
- package/src/plugins/js/project-graph/affected/lock-file-changes.d.ts +0 -4
- package/src/plugins/js/project-graph/affected/lock-file-changes.js +0 -28
- package/src/plugins/js/project-graph/affected/npm-packages.d.ts +0 -4
- package/src/plugins/js/project-graph/affected/npm-packages.js +0 -68
- package/src/plugins/js/project-graph/affected/touched-projects.d.ts +0 -2
- package/src/plugins/js/project-graph/affected/touched-projects.js +0 -18
- package/src/plugins/js/project-graph/affected/tsconfig-json-changes.d.ts +0 -4
- package/src/plugins/js/project-graph/affected/tsconfig-json-changes.js +0 -63
- package/src/plugins/js/project-graph/build-dependencies/build-dependencies.d.ts +0 -6
- package/src/plugins/js/project-graph/build-dependencies/build-dependencies.js +0 -45
- package/src/plugins/js/project-graph/build-dependencies/explicit-package-json-dependencies.d.ts +0 -4
- package/src/plugins/js/project-graph/build-dependencies/explicit-package-json-dependencies.js +0 -94
- package/src/plugins/js/project-graph/build-dependencies/explicit-project-dependencies.d.ts +0 -4
- package/src/plugins/js/project-graph/build-dependencies/explicit-project-dependencies.js +0 -88
- package/src/plugins/js/project-graph/build-dependencies/strip-source-code.d.ts +0 -7
- package/src/plugins/js/project-graph/build-dependencies/strip-source-code.js +0 -155
- package/src/plugins/js/project-graph/build-dependencies/target-project-locator.d.ts +0 -59
- package/src/plugins/js/project-graph/build-dependencies/target-project-locator.js +0 -296
- package/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.d.ts +0 -16
- package/src/plugins/js/project-graph/build-dependencies/typescript-import-locator.js +0 -120
- package/src/plugins/js/project-graph/build-nodes/build-npm-package-nodes.d.ts +0 -2
- package/src/plugins/js/project-graph/build-nodes/build-npm-package-nodes.js +0 -31
- package/src/plugins/js/utils/config.d.ts +0 -2
- package/src/plugins/js/utils/config.js +0 -68
- package/src/plugins/js/utils/register.d.ts +0 -152
- package/src/plugins/js/utils/register.js +0 -343
- package/src/plugins/js/utils/resolve-relative-to-dir.d.ts +0 -5
- package/src/plugins/js/utils/resolve-relative-to-dir.js +0 -17
- package/src/plugins/js/utils/typescript.d.ts +0 -14
- package/src/plugins/js/utils/typescript.js +0 -97
- package/src/plugins/js/versions.d.ts +0 -1
- package/src/plugins/js/versions.js +0 -4
- package/src/plugins/package-json/create-nodes.d.ts +0 -20
- package/src/plugins/package-json/create-nodes.js +0 -187
- package/src/plugins/package-json/index.d.ts +0 -2
- package/src/plugins/package-json/index.js +0 -6
- package/src/plugins/project-json/build-nodes/project-json.d.ts +0 -6
- package/src/plugins/project-json/build-nodes/project-json.js +0 -45
- package/src/project-graph/affected/affected-project-graph-models.d.ts +0 -11
- package/src/project-graph/affected/affected-project-graph-models.js +0 -2
- package/src/project-graph/affected/affected-project-graph.d.ts +0 -4
- package/src/project-graph/affected/affected-project-graph.js +0 -82
- package/src/project-graph/affected/locators/project-glob-changes.d.ts +0 -2
- package/src/project-graph/affected/locators/project-glob-changes.js +0 -31
- package/src/project-graph/affected/locators/workspace-json-changes.d.ts +0 -4
- package/src/project-graph/affected/locators/workspace-json-changes.js +0 -47
- package/src/project-graph/affected/locators/workspace-projects.d.ts +0 -3
- package/src/project-graph/affected/locators/workspace-projects.js +0 -74
- package/src/project-graph/build-project-graph.d.ts +0 -22
- package/src/project-graph/build-project-graph.js +0 -292
- package/src/project-graph/error-types.d.ts +0 -135
- package/src/project-graph/error-types.js +0 -305
- package/src/project-graph/file-map-utils.d.ts +0 -15
- package/src/project-graph/file-map-utils.js +0 -55
- package/src/project-graph/file-utils.d.ts +0 -30
- package/src/project-graph/file-utils.js +0 -179
- package/src/project-graph/nx-deps-cache.d.ts +0 -48
- package/src/project-graph/nx-deps-cache.js +0 -227
- package/src/project-graph/operators.d.ts +0 -12
- package/src/project-graph/operators.js +0 -114
- package/src/project-graph/plugins/index.d.ts +0 -3
- package/src/project-graph/plugins/index.js +0 -10
- package/src/project-graph/plugins/internal-api.d.ts +0 -29
- package/src/project-graph/plugins/internal-api.js +0 -134
- package/src/project-graph/plugins/isolation/index.d.ts +0 -3
- package/src/project-graph/plugins/isolation/index.js +0 -14
- package/src/project-graph/plugins/isolation/messaging.d.ts +0 -125
- package/src/project-graph/plugins/isolation/messaging.js +0 -46
- package/src/project-graph/plugins/isolation/plugin-pool.d.ts +0 -3
- package/src/project-graph/plugins/isolation/plugin-pool.js +0 -301
- package/src/project-graph/plugins/isolation/plugin-worker.d.ts +0 -1
- package/src/project-graph/plugins/isolation/plugin-worker.js +0 -158
- package/src/project-graph/plugins/loader.d.ts +0 -24
- package/src/project-graph/plugins/loader.js +0 -220
- package/src/project-graph/plugins/public-api.d.ts +0 -130
- package/src/project-graph/plugins/public-api.js +0 -4
- package/src/project-graph/plugins/utils.d.ts +0 -8
- package/src/project-graph/plugins/utils.js +0 -63
- package/src/project-graph/project-graph-builder.d.ts +0 -133
- package/src/project-graph/project-graph-builder.js +0 -379
- package/src/project-graph/project-graph.d.ts +0 -51
- package/src/project-graph/project-graph.js +0 -261
- package/src/project-graph/utils/build-all-workspace-files.d.ts +0 -2
- package/src/project-graph/utils/build-all-workspace-files.js +0 -14
- package/src/project-graph/utils/find-project-for-path.d.ts +0 -20
- package/src/project-graph/utils/find-project-for-path.js +0 -55
- package/src/project-graph/utils/implicit-project-dependencies.d.ts +0 -3
- package/src/project-graph/utils/implicit-project-dependencies.js +0 -18
- package/src/project-graph/utils/normalize-project-nodes.d.ts +0 -6
- package/src/project-graph/utils/normalize-project-nodes.js +0 -88
- package/src/project-graph/utils/project-configuration-utils.d.ts +0 -74
- package/src/project-graph/utils/project-configuration-utils.js +0 -781
- package/src/project-graph/utils/retrieve-workspace-files.d.ts +0 -30
- package/src/project-graph/utils/retrieve-workspace-files.js +0 -88
- package/src/tasks-runner/batch/batch-messages.d.ts +0 -33
- package/src/tasks-runner/batch/batch-messages.js +0 -9
- package/src/tasks-runner/batch/run-batch.d.ts +0 -1
- package/src/tasks-runner/batch/run-batch.js +0 -77
- package/src/tasks-runner/cache.d.ts +0 -64
- package/src/tasks-runner/cache.js +0 -399
- package/src/tasks-runner/create-task-graph.d.ts +0 -28
- package/src/tasks-runner/create-task-graph.js +0 -242
- package/src/tasks-runner/default-tasks-runner.d.ts +0 -26
- package/src/tasks-runner/default-tasks-runner.js +0 -62
- package/src/tasks-runner/fork.d.ts +0 -1
- package/src/tasks-runner/fork.js +0 -30
- package/src/tasks-runner/forked-process-task-runner.d.ts +0 -42
- package/src/tasks-runner/forked-process-task-runner.js +0 -405
- package/src/tasks-runner/init-tasks-runner.d.ts +0 -13
- package/src/tasks-runner/init-tasks-runner.js +0 -61
- package/src/tasks-runner/life-cycle.d.ts +0 -43
- package/src/tasks-runner/life-cycle.js +0 -71
- package/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.d.ts +0 -25
- package/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle.js +0 -353
- package/src/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.d.ts +0 -24
- package/src/tasks-runner/life-cycles/dynamic-run-one-terminal-output-life-cycle.js +0 -228
- package/src/tasks-runner/life-cycles/empty-terminal-output-life-cycle.d.ts +0 -5
- package/src/tasks-runner/life-cycles/empty-terminal-output-life-cycle.js +0 -16
- package/src/tasks-runner/life-cycles/formatting-utils.d.ts +0 -3
- package/src/tasks-runner/life-cycles/formatting-utils.js +0 -55
- package/src/tasks-runner/life-cycles/invoke-runner-terminal-output-life-cycle.d.ts +0 -13
- package/src/tasks-runner/life-cycles/invoke-runner-terminal-output-life-cycle.js +0 -67
- package/src/tasks-runner/life-cycles/pretty-time.d.ts +0 -4
- package/src/tasks-runner/life-cycles/pretty-time.js +0 -73
- package/src/tasks-runner/life-cycles/static-run-many-terminal-output-life-cycle.d.ts +0 -29
- package/src/tasks-runner/life-cycles/static-run-many-terminal-output-life-cycle.js +0 -106
- package/src/tasks-runner/life-cycles/static-run-one-terminal-output-life-cycle.d.ts +0 -28
- package/src/tasks-runner/life-cycles/static-run-one-terminal-output-life-cycle.js +0 -97
- package/src/tasks-runner/life-cycles/store-run-information-life-cycle.d.ts +0 -17
- package/src/tasks-runner/life-cycles/store-run-information-life-cycle.js +0 -87
- package/src/tasks-runner/life-cycles/task-history-life-cycle-old.d.ts +0 -9
- package/src/tasks-runner/life-cycles/task-history-life-cycle-old.js +0 -54
- package/src/tasks-runner/life-cycles/task-history-life-cycle.d.ts +0 -10
- package/src/tasks-runner/life-cycles/task-history-life-cycle.js +0 -55
- package/src/tasks-runner/life-cycles/task-profiling-life-cycle.d.ts +0 -14
- package/src/tasks-runner/life-cycles/task-profiling-life-cycle.js +0 -73
- package/src/tasks-runner/life-cycles/task-results-life-cycle.d.ts +0 -6
- package/src/tasks-runner/life-cycles/task-results-life-cycle.js +0 -17
- package/src/tasks-runner/life-cycles/task-timings-life-cycle.d.ts +0 -8
- package/src/tasks-runner/life-cycles/task-timings-life-cycle.js +0 -39
- package/src/tasks-runner/life-cycles/view-logs-utils.d.ts +0 -1
- package/src/tasks-runner/life-cycles/view-logs-utils.js +0 -15
- package/src/tasks-runner/pseudo-ipc.d.ts +0 -48
- package/src/tasks-runner/pseudo-ipc.js +0 -140
- package/src/tasks-runner/pseudo-terminal.d.ts +0 -45
- package/src/tasks-runner/pseudo-terminal.js +0 -168
- package/src/tasks-runner/remove-old-cache-records.d.ts +0 -1
- package/src/tasks-runner/remove-old-cache-records.js +0 -60
- package/src/tasks-runner/run-command.d.ts +0 -38
- package/src/tasks-runner/run-command.js +0 -590
- package/src/tasks-runner/task-env.d.ts +0 -20
- package/src/tasks-runner/task-env.js +0 -171
- package/src/tasks-runner/task-graph-utils.d.ts +0 -10
- package/src/tasks-runner/task-graph-utils.js +0 -88
- package/src/tasks-runner/task-orchestrator.d.ts +0 -53
- package/src/tasks-runner/task-orchestrator.js +0 -458
- package/src/tasks-runner/tasks-runner.d.ts +0 -23
- package/src/tasks-runner/tasks-runner.js +0 -2
- package/src/tasks-runner/tasks-schedule.d.ts +0 -41
- package/src/tasks-runner/tasks-schedule.js +0 -192
- package/src/tasks-runner/utils.d.ts +0 -57
- package/src/tasks-runner/utils.js +0 -392
- package/src/utils/ab-testing.d.ts +0 -51
- package/src/utils/ab-testing.js +0 -112
- package/src/utils/all-file-data.d.ts +0 -2
- package/src/utils/all-file-data.js +0 -8
- package/src/utils/app-root.d.ts +0 -8
- package/src/utils/app-root.js +0 -12
- package/src/utils/assert-workspace-validity.d.ts +0 -3
- package/src/utils/assert-workspace-validity.js +0 -84
- package/src/utils/async-iterator.d.ts +0 -2
- package/src/utils/async-iterator.js +0 -18
- package/src/utils/cache-directory.d.ts +0 -7
- package/src/utils/cache-directory.js +0 -71
- package/src/utils/child-process.d.ts +0 -18
- package/src/utils/child-process.js +0 -119
- package/src/utils/chunkify.d.ts +0 -11
- package/src/utils/chunkify.js +0 -44
- package/src/utils/code-frames.d.ts +0 -14
- package/src/utils/code-frames.js +0 -118
- package/src/utils/collapse-expanded-outputs.d.ts +0 -1
- package/src/utils/collapse-expanded-outputs.js +0 -40
- package/src/utils/command-line-utils.d.ts +0 -54
- package/src/utils/command-line-utils.js +0 -267
- package/src/utils/consume-messages-from-socket.d.ts +0 -1
- package/src/utils/consume-messages-from-socket.js +0 -21
- package/src/utils/db-connection.d.ts +0 -5
- package/src/utils/db-connection.js +0 -22
- package/src/utils/default-base.d.ts +0 -1
- package/src/utils/default-base.js +0 -17
- package/src/utils/dotenv.d.ts +0 -7
- package/src/utils/dotenv.js +0 -21
- package/src/utils/exit-codes.d.ts +0 -5
- package/src/utils/exit-codes.js +0 -19
- package/src/utils/fileutils.d.ts +0 -75
- package/src/utils/fileutils.js +0 -151
- package/src/utils/find-matching-projects.d.ts +0 -10
- package/src/utils/find-matching-projects.js +0 -210
- package/src/utils/find-workspace-root.d.ts +0 -11
- package/src/utils/find-workspace-root.js +0 -33
- package/src/utils/get-package-name-from-import-path.d.ts +0 -1
- package/src/utils/get-package-name-from-import-path.js +0 -17
- package/src/utils/git-utils.d.ts +0 -41
- package/src/utils/git-utils.index-filter.d.ts +0 -0
- package/src/utils/git-utils.index-filter.js +0 -21
- package/src/utils/git-utils.js +0 -259
- package/src/utils/git-utils.tree-filter.d.ts +0 -11
- package/src/utils/git-utils.tree-filter.js +0 -45
- package/src/utils/globs.d.ts +0 -3
- package/src/utils/globs.js +0 -18
- package/src/utils/handle-errors.d.ts +0 -1
- package/src/utils/handle-errors.js +0 -71
- package/src/utils/ignore.d.ts +0 -8
- package/src/utils/ignore.js +0 -75
- package/src/utils/installation-directory.d.ts +0 -2
- package/src/utils/installation-directory.js +0 -12
- package/src/utils/is-ci.d.ts +0 -1
- package/src/utils/is-ci.js +0 -20
- package/src/utils/json-diff.d.ts +0 -18
- package/src/utils/json-diff.js +0 -112
- package/src/utils/json.d.ts +0 -44
- package/src/utils/json.js +0 -62
- package/src/utils/legacy-task-history.d.ts +0 -8
- package/src/utils/legacy-task-history.js +0 -87
- package/src/utils/logger.d.ts +0 -12
- package/src/utils/logger.js +0 -52
- package/src/utils/nx-cloud-utils.d.ts +0 -3
- package/src/utils/nx-cloud-utils.js +0 -18
- package/src/utils/nx-plugin.deprecated.d.ts +0 -31
- package/src/utils/nx-plugin.deprecated.js +0 -20
- package/src/utils/object-sort.d.ts +0 -1
- package/src/utils/object-sort.js +0 -9
- package/src/utils/output.d.ts +0 -71
- package/src/utils/output.js +0 -240
- package/src/utils/package-json.d.ts +0 -103
- package/src/utils/package-json.js +0 -173
- package/src/utils/package-manager.d.ts +0 -100
- package/src/utils/package-manager.js +0 -404
- package/src/utils/params.d.ts +0 -137
- package/src/utils/params.js +0 -664
- package/src/utils/path.d.ts +0 -19
- package/src/utils/path.js +0 -37
- package/src/utils/perf-logging.d.ts +0 -1
- package/src/utils/perf-logging.js +0 -13
- package/src/utils/plugins/core-plugins.d.ts +0 -6
- package/src/utils/plugins/core-plugins.js +0 -109
- package/src/utils/plugins/index.d.ts +0 -4
- package/src/utils/plugins/index.js +0 -13
- package/src/utils/plugins/installed-plugins.d.ts +0 -5
- package/src/utils/plugins/installed-plugins.js +0 -76
- package/src/utils/plugins/local-plugins.d.ts +0 -4
- package/src/utils/plugins/local-plugins.js +0 -30
- package/src/utils/plugins/output.d.ts +0 -6
- package/src/utils/plugins/output.js +0 -111
- package/src/utils/plugins/plugin-capabilities.d.ts +0 -14
- package/src/utils/plugins/plugin-capabilities.js +0 -77
- package/src/utils/powerpack.d.ts +0 -5
- package/src/utils/powerpack.js +0 -33
- package/src/utils/print-help.d.ts +0 -11
- package/src/utils/print-help.js +0 -264
- package/src/utils/project-graph-utils.d.ts +0 -13
- package/src/utils/project-graph-utils.js +0 -73
- package/src/utils/promised-based-queue.d.ts +0 -6
- package/src/utils/promised-based-queue.js +0 -43
- package/src/utils/serializable-error.d.ts +0 -4
- package/src/utils/serializable-error.js +0 -33
- package/src/utils/serialize-overrides-into-command-line.d.ts +0 -3
- package/src/utils/serialize-overrides-into-command-line.js +0 -42
- package/src/utils/serialize-target.d.ts +0 -1
- package/src/utils/serialize-target.js +0 -6
- package/src/utils/split-target.d.ts +0 -3
- package/src/utils/split-target.js +0 -48
- package/src/utils/strip-indents.d.ts +0 -14
- package/src/utils/strip-indents.js +0 -23
- package/src/utils/sync-generators.d.ts +0 -64
- package/src/utils/sync-generators.js +0 -353
- package/src/utils/task-history.d.ts +0 -17
- package/src/utils/task-history.js +0 -51
- package/src/utils/update-nxw.d.ts +0 -2
- package/src/utils/update-nxw.js +0 -11
- package/src/utils/versions.d.ts +0 -1
- package/src/utils/versions.js +0 -4
- package/src/utils/workspace-configuration-check.d.ts +0 -1
- package/src/utils/workspace-configuration-check.js +0 -36
- package/src/utils/workspace-context.d.ts +0 -19
- package/src/utils/workspace-context.js +0 -103
- package/src/utils/workspace-root.d.ts +0 -6
- package/src/utils/workspace-root.js +0 -39
- package/tasks-runners/default.d.ts +0 -1
- package/tasks-runners/default.js +0 -5
package/README.md
CHANGED
|
@@ -1,66 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-dark.svg">
|
|
4
|
-
<img alt="Nx - Smart Monorepos · Fast CI" src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-light.svg" width="100%">
|
|
5
|
-
</picture>
|
|
6
|
-
</p>
|
|
1
|
+
# @ohos-ports/nx (launcher-side local-natives loader, openharmony-arm64)
|
|
7
2
|
|
|
8
|
-
|
|
3
|
+
Launcher-side companion for the `@ohos-ports/nx-openharmony-arm64` native
|
|
4
|
+
binding package (ported from `@nx/nx-linux-arm-gnueabihf`). Follows the
|
|
5
|
+
upstream `@nx/nx` `local-natives.js` / `native-bindings.js` loading pattern:
|
|
6
|
+
resolve the binding dynamically via `process.platform` + `process.arch`. The
|
|
7
|
+
`openharmony` platform identifier is used verbatim and is never patched/aliased
|
|
8
|
+
to `linux`.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
[]()
|
|
12
|
-
[](https://www.npmjs.com/@nx/workspace)
|
|
13
|
-
[]()
|
|
14
|
-
[](http://commitizen.github.io/cz-cli/)
|
|
15
|
-
[](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
|
16
|
-
[](https://go.nx.dev/community)
|
|
10
|
+
## Usage
|
|
17
11
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<hr>
|
|
22
|
-
|
|
23
|
-
# Nx: Smart Monorepos · Fast CI
|
|
24
|
-
|
|
25
|
-
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
|
|
26
|
-
|
|
27
|
-
## Getting Started
|
|
28
|
-
|
|
29
|
-
### Creating an Nx Workspace
|
|
30
|
-
|
|
31
|
-
**Using `npx`**
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
npx create-nx-workspace
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
**Using `npm init`**
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
npm init nx-workspace
|
|
12
|
+
```js
|
|
13
|
+
const native = require('@ohos-ports/nx')
|
|
14
|
+
// e.g. native.formatDuration(...), native.hashArray(...), native.copy(...)
|
|
41
15
|
```
|
|
42
16
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
yarn create nx-workspace
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
### Adding Nx to an Existing Repository
|
|
50
|
-
|
|
51
|
-
Run:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
npx nx@latest init
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## Documentation & Resources
|
|
58
|
-
|
|
59
|
-
- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
|
|
60
|
-
- [Intro to Nx](https://nx.dev/getting-started/intro)
|
|
61
|
-
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
62
|
-
- [Blog Posts About Nx](https://nx.dev/blog)
|
|
63
|
-
|
|
64
|
-
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
|
65
|
-
width="100%" alt="Nx - Smart Monorepos · Fast CI"></a></p>
|
|
66
|
-
|
|
17
|
+
On `openharmony` / `arm64` the loader resolves `@ohos-ports/nx-openharmony-arm64`;
|
|
18
|
+
other platforms fall back to the upstream `@nx/nx-{platform}-{arch}` packages.
|
package/local-natives.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// Launcher-side local-natives loader for Nx on HarmonyOS.
|
|
2
|
+
// Mirrors the upstream @nx/nx native-bindings.js loading strategy:
|
|
3
|
+
// first try a locally shipped ./nx.{platform}-{arch}.node, then fall back to
|
|
4
|
+
// require of the platform-specific package resolved by process.platform + arch.
|
|
5
|
+
// NOTE: on openharmony the platform identifier is used verbatim — it is NEVER
|
|
6
|
+
// remapped to "linux" (or any other platform).
|
|
7
|
+
'use strict'
|
|
8
|
+
|
|
9
|
+
let nativeBinding = null
|
|
10
|
+
const loadErrors = []
|
|
11
|
+
|
|
12
|
+
const platform = process.platform
|
|
13
|
+
const arch = process.arch
|
|
14
|
+
|
|
15
|
+
function tryLoadLocal() {
|
|
16
|
+
try {
|
|
17
|
+
return require(`./nx.${platform}-${arch}.node`)
|
|
18
|
+
} catch (e) {
|
|
19
|
+
loadErrors.push(e)
|
|
20
|
+
return null
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function tryLoadPlatformPackage() {
|
|
25
|
+
const pkgName =
|
|
26
|
+
platform === 'openharmony' && arch === 'arm64'
|
|
27
|
+
? '@ohos-ports/nx-openharmony-arm64'
|
|
28
|
+
: `@nx/nx-${platform}-${arch}`
|
|
29
|
+
try {
|
|
30
|
+
const binding = require(pkgName)
|
|
31
|
+
const bindingPackageVersion = require(`${pkgName}/package.json`).version
|
|
32
|
+
if (
|
|
33
|
+
bindingPackageVersion !== '0.0.1' &&
|
|
34
|
+
process.env.NAPI_RS_ENFORCE_VERSION_CHECK &&
|
|
35
|
+
process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0'
|
|
36
|
+
) {
|
|
37
|
+
throw new Error(
|
|
38
|
+
`Native binding package version mismatch. You can reinstall dependencies to fix this issue.`
|
|
39
|
+
)
|
|
40
|
+
}
|
|
41
|
+
return binding
|
|
42
|
+
} catch (e) {
|
|
43
|
+
loadErrors.push(e)
|
|
44
|
+
return null
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
nativeBinding = tryLoadLocal() || tryLoadPlatformPackage()
|
|
49
|
+
|
|
50
|
+
if (!nativeBinding) {
|
|
51
|
+
for (const loadError of loadErrors) {
|
|
52
|
+
console.warn(loadError)
|
|
53
|
+
}
|
|
54
|
+
throw new Error(
|
|
55
|
+
`Could not load Nx native binding for your platform (${platform}-${arch}).`
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
module.exports = nativeBinding
|
package/package.json
CHANGED
|
@@ -1,198 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/nx",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
3
|
+
"version": "23.2.1-beta.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Launcher-side local-natives loader for Nx on HarmonyOS (openharmony). Resolves the platform native binding by process.platform + process.arch; openharmony is used verbatim and is never remapped to linux.",
|
|
6
|
+
"main": "local-natives.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"local-natives.js",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
6
11
|
"repository": {
|
|
7
12
|
"type": "git",
|
|
8
13
|
"url": "https://github.com/ohos-ports/ohos-ports.git",
|
|
9
|
-
"directory": "ports
|
|
10
|
-
},
|
|
11
|
-
"keywords": [
|
|
12
|
-
"Monorepo",
|
|
13
|
-
"Angular",
|
|
14
|
-
"React",
|
|
15
|
-
"Web",
|
|
16
|
-
"Node",
|
|
17
|
-
"Nest",
|
|
18
|
-
"Jest",
|
|
19
|
-
"Cypress",
|
|
20
|
-
"CLI",
|
|
21
|
-
"Testing",
|
|
22
|
-
"Front-end",
|
|
23
|
-
"Backend",
|
|
24
|
-
"Mobile"
|
|
25
|
-
],
|
|
26
|
-
"bin": {
|
|
27
|
-
"nx": "./bin/nx.js",
|
|
28
|
-
"nx-cloud": "./bin/nx-cloud.js"
|
|
29
|
-
},
|
|
30
|
-
"author": "Victor Savkin",
|
|
31
|
-
"license": "MIT",
|
|
32
|
-
"homepage": "https://nx.dev",
|
|
33
|
-
"dependencies": {
|
|
34
|
-
"@napi-rs/wasm-runtime": "0.2.4",
|
|
35
|
-
"@yarnpkg/lockfile": "^1.1.0",
|
|
36
|
-
"@yarnpkg/parsers": "3.0.0-rc.46",
|
|
37
|
-
"@zkochan/js-yaml": "0.0.7",
|
|
38
|
-
"axios": "^1.7.4",
|
|
39
|
-
"chalk": "^4.1.0",
|
|
40
|
-
"cli-cursor": "3.1.0",
|
|
41
|
-
"cli-spinners": "2.6.1",
|
|
42
|
-
"cliui": "^8.0.1",
|
|
43
|
-
"dotenv": "~16.4.5",
|
|
44
|
-
"dotenv-expand": "~11.0.6",
|
|
45
|
-
"enquirer": "~2.3.6",
|
|
46
|
-
"figures": "3.2.0",
|
|
47
|
-
"flat": "^5.0.2",
|
|
48
|
-
"front-matter": "^4.0.2",
|
|
49
|
-
"ignore": "^5.0.4",
|
|
50
|
-
"jest-diff": "^29.4.1",
|
|
51
|
-
"jsonc-parser": "3.2.0",
|
|
52
|
-
"lines-and-columns": "2.0.3",
|
|
53
|
-
"minimatch": "9.0.3",
|
|
54
|
-
"npm-run-path": "^4.0.1",
|
|
55
|
-
"open": "^8.4.0",
|
|
56
|
-
"semver": "^7.5.3",
|
|
57
|
-
"string-width": "^4.2.3",
|
|
58
|
-
"strong-log-transformer": "^2.1.0",
|
|
59
|
-
"tar-stream": "~2.2.0",
|
|
60
|
-
"tmp": "~0.2.1",
|
|
61
|
-
"tsconfig-paths": "^4.1.2",
|
|
62
|
-
"tslib": "^2.3.0",
|
|
63
|
-
"yargs": "^17.6.2",
|
|
64
|
-
"yargs-parser": "21.1.1",
|
|
65
|
-
"node-machine-id": "1.1.12",
|
|
66
|
-
"ora": "5.3.0",
|
|
67
|
-
"@nrwl/tao": "19.8.4"
|
|
68
|
-
},
|
|
69
|
-
"peerDependencies": {
|
|
70
|
-
"@swc-node/register": "^1.8.0",
|
|
71
|
-
"@swc/core": "^1.3.85"
|
|
72
|
-
},
|
|
73
|
-
"peerDependenciesMeta": {
|
|
74
|
-
"@swc-node/register": {
|
|
75
|
-
"optional": true
|
|
76
|
-
},
|
|
77
|
-
"@swc/core": {
|
|
78
|
-
"optional": true
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"optionalDependencies": {
|
|
82
|
-
"@nx/nx-darwin-x64": "19.8.4",
|
|
83
|
-
"@nx/nx-darwin-arm64": "19.8.4",
|
|
84
|
-
"@nx/nx-linux-x64-gnu": "19.8.4",
|
|
85
|
-
"@nx/nx-linux-x64-musl": "19.8.4",
|
|
86
|
-
"@nx/nx-win32-x64-msvc": "19.8.4",
|
|
87
|
-
"@nx/nx-linux-arm64-gnu": "19.8.4",
|
|
88
|
-
"@nx/nx-linux-arm64-musl": "19.8.4",
|
|
89
|
-
"@nx/nx-linux-arm-gnueabihf": "19.8.4",
|
|
90
|
-
"@nx/nx-win32-arm64-msvc": "19.8.4",
|
|
91
|
-
"@nx/nx-freebsd-x64": "19.8.4"
|
|
92
|
-
},
|
|
93
|
-
"nx-migrations": {
|
|
94
|
-
"migrations": "./migrations.json",
|
|
95
|
-
"packageGroup": [
|
|
96
|
-
"@nx/js",
|
|
97
|
-
"@nrwl/js",
|
|
98
|
-
"@nx/jest",
|
|
99
|
-
"@nrwl/jest",
|
|
100
|
-
"@nx/linter",
|
|
101
|
-
"@nx/eslint",
|
|
102
|
-
"@nrwl/linter",
|
|
103
|
-
"@nx/workspace",
|
|
104
|
-
"@nrwl/workspace",
|
|
105
|
-
"@nx/angular",
|
|
106
|
-
"@nrwl/angular",
|
|
107
|
-
"@nx/cypress",
|
|
108
|
-
"@nrwl/cypress",
|
|
109
|
-
"@nx/detox",
|
|
110
|
-
"@nrwl/detox",
|
|
111
|
-
"@nx/devkit",
|
|
112
|
-
"@nrwl/devkit",
|
|
113
|
-
"@nx/esbuild",
|
|
114
|
-
"@nrwl/esbuild",
|
|
115
|
-
"@nx/eslint-plugin",
|
|
116
|
-
"@nrwl/eslint-plugin-nx",
|
|
117
|
-
"@nx/expo",
|
|
118
|
-
"@nrwl/expo",
|
|
119
|
-
"@nx/express",
|
|
120
|
-
"@nrwl/express",
|
|
121
|
-
"@nx/gradle",
|
|
122
|
-
"@nx/nest",
|
|
123
|
-
"@nrwl/nest",
|
|
124
|
-
"@nx/next",
|
|
125
|
-
"@nrwl/next",
|
|
126
|
-
"@nx/node",
|
|
127
|
-
"@nrwl/node",
|
|
128
|
-
"@nx/nuxt",
|
|
129
|
-
"@nx/playwright",
|
|
130
|
-
"@nx/plugin",
|
|
131
|
-
"@nrwl/nx-plugin",
|
|
132
|
-
"@nx/react",
|
|
133
|
-
"@nrwl/react",
|
|
134
|
-
"@nx/react-native",
|
|
135
|
-
"@nrwl/react-native",
|
|
136
|
-
"@nx/rollup",
|
|
137
|
-
"@nrwl/rollup",
|
|
138
|
-
"@nx/remix",
|
|
139
|
-
"@nrwl/remix",
|
|
140
|
-
"@nx/storybook",
|
|
141
|
-
"@nrwl/storybook",
|
|
142
|
-
"@nrwl/tao",
|
|
143
|
-
"@nx/vite",
|
|
144
|
-
"@nrwl/vite",
|
|
145
|
-
"@nx/vue",
|
|
146
|
-
"@nx/web",
|
|
147
|
-
"@nrwl/web",
|
|
148
|
-
"@nx/webpack",
|
|
149
|
-
"@nrwl/webpack",
|
|
150
|
-
{
|
|
151
|
-
"package": "nx-cloud",
|
|
152
|
-
"version": "latest"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"package": "@nrwl/nx-cloud",
|
|
156
|
-
"version": "latest"
|
|
157
|
-
}
|
|
158
|
-
]
|
|
159
|
-
},
|
|
160
|
-
"generators": "./generators.json",
|
|
161
|
-
"executors": "./executors.json",
|
|
162
|
-
"builders": "./executors.json",
|
|
163
|
-
"publishConfig": {
|
|
164
|
-
"access": "public"
|
|
165
|
-
},
|
|
166
|
-
"napi": {
|
|
167
|
-
"binaryName": "nx",
|
|
168
|
-
"packageName": "@nx/nx",
|
|
169
|
-
"wasm": {
|
|
170
|
-
"initialMemory": 1024,
|
|
171
|
-
"maximumMemory": 32768
|
|
172
|
-
},
|
|
173
|
-
"targets": [
|
|
174
|
-
"x86_64-unknown-linux-gnu",
|
|
175
|
-
"x86_64-pc-windows-msvc",
|
|
176
|
-
"x86_64-apple-darwin",
|
|
177
|
-
"aarch64-apple-darwin",
|
|
178
|
-
"aarch64-unknown-linux-gnu",
|
|
179
|
-
"aarch64-unknown-linux-musl",
|
|
180
|
-
"aarch64-pc-windows-msvc",
|
|
181
|
-
"armv7-unknown-linux-gnueabihf",
|
|
182
|
-
"x86_64-unknown-linux-musl",
|
|
183
|
-
"x86_64-unknown-freebsd"
|
|
184
|
-
]
|
|
185
|
-
},
|
|
186
|
-
"main": "./bin/nx.js",
|
|
187
|
-
"type": "commonjs",
|
|
188
|
-
"types": "./bin/nx.d.ts",
|
|
189
|
-
"scripts": {
|
|
190
|
-
"postinstall": "node ./bin/post-install"
|
|
14
|
+
"directory": "ports/nx-openharmony-arm64/23.2.1"
|
|
191
15
|
},
|
|
192
16
|
"bugs": {
|
|
193
17
|
"url": "https://github.com/ohos-ports/ohos-ports/issues"
|
|
194
18
|
},
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
}
|
|
198
22
|
}
|
package/.eslintrc.json
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../.eslintrc",
|
|
3
|
-
"rules": {},
|
|
4
|
-
"ignorePatterns": ["!**/*", "**/__fixtures__/**/*"],
|
|
5
|
-
"overrides": [
|
|
6
|
-
{
|
|
7
|
-
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
8
|
-
"rules": {
|
|
9
|
-
"no-restricted-imports": [
|
|
10
|
-
"error",
|
|
11
|
-
{
|
|
12
|
-
"paths": [
|
|
13
|
-
{
|
|
14
|
-
"name": "fs-extra",
|
|
15
|
-
"message": "Please use equivalent utilities from `node:fs` instead."
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"patterns": [
|
|
19
|
-
{
|
|
20
|
-
"group": ["**/devkit-exports"],
|
|
21
|
-
"message": "Do not import from devkit-exports from the nx package"
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"files": ["*.ts"],
|
|
30
|
-
"excludedFiles": ["*.spec.ts"],
|
|
31
|
-
"rules": {
|
|
32
|
-
"@typescript-eslint/no-restricted-imports": [
|
|
33
|
-
"error",
|
|
34
|
-
{
|
|
35
|
-
"paths": [
|
|
36
|
-
{
|
|
37
|
-
"name": "typescript",
|
|
38
|
-
"message": "TypeScript is an optional dependency for Nx. If you need to use it, make sure its installed first with ensureTypescript.",
|
|
39
|
-
"allowTypeImports": true
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"patterns": [
|
|
43
|
-
{
|
|
44
|
-
"group": ["nx/*"],
|
|
45
|
-
"message": "Circular import in 'nx' found. Use relative path."
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"group": ["**/native-bindings", "**/native-bindings.js"],
|
|
49
|
-
"message": "Direct imports from native-bindings.js are not allowed. Import from index.js instead."
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"files": ["*.js", "*.jsx"],
|
|
58
|
-
"rules": {}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"files": ["./package.json", "./executors.json", "./migrations.json"],
|
|
62
|
-
"parser": "jsonc-eslint-parser",
|
|
63
|
-
"rules": {
|
|
64
|
-
"@nx/nx-plugin-checks": [
|
|
65
|
-
"error",
|
|
66
|
-
{
|
|
67
|
-
"allowedVersionStrings": ["latest"]
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"files": ["nxw.ts"],
|
|
74
|
-
"rules": {
|
|
75
|
-
"@typescript-eslint/no-restricted-imports": [
|
|
76
|
-
"error",
|
|
77
|
-
{
|
|
78
|
-
"patterns": [
|
|
79
|
-
{
|
|
80
|
-
"group": ["*", "!fs"],
|
|
81
|
-
"message": "The Nx wrapper is ran before packages are installed. It should only import node builtins.",
|
|
82
|
-
"allowTypeImports": true
|
|
83
|
-
}
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"no-restricted-modules": [
|
|
88
|
-
"error",
|
|
89
|
-
{
|
|
90
|
-
"patterns": ["*", "!fs", "!path", "!child_process", "!node:*"]
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"no-restricted-imports": "off"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"files": ["./package.json"],
|
|
98
|
-
"parser": "jsonc-eslint-parser",
|
|
99
|
-
"rules": {
|
|
100
|
-
"@nx/dependency-checks": [
|
|
101
|
-
"error",
|
|
102
|
-
{
|
|
103
|
-
"buildTargets": ["build-base"],
|
|
104
|
-
"ignoredDependencies": [
|
|
105
|
-
"typescript",
|
|
106
|
-
"@nrwl/angular",
|
|
107
|
-
"@angular-devkit/build-angular",
|
|
108
|
-
"@angular-devkit/core",
|
|
109
|
-
"@angular-devkit/architect",
|
|
110
|
-
"@swc/core", //Optional, used in JS analysis if available
|
|
111
|
-
"@swc/node-register", //Optional, used in JS analysis if available
|
|
112
|
-
"rxjs",
|
|
113
|
-
"@angular-devkit/schematics",
|
|
114
|
-
"@pnpm/lockfile-types",
|
|
115
|
-
"@nestjs/cli", // nx init nest makes use of nestjs cli (which should be available in NestJS CLI app) to parse the nest-cli.json file
|
|
116
|
-
"ts-node", // We *may* fall back on ts-node, but we want to encourage the use of @swc-node instead so we don't explicitly list ts-node as an optional dep
|
|
117
|
-
"memfs", // used in mock for handling .node files in tests
|
|
118
|
-
"events", // This is coming from @storybook/builder-manager since it uses the browser polyfill
|
|
119
|
-
"process", // This is coming from @storybook/builder-manager since it uses the browser polyfill
|
|
120
|
-
"prettier", // This is coming from @storybook/builder-manager since it uses the browser polyfill
|
|
121
|
-
"util", // This is coming from @storybook/builder-manager since it uses the browser polyfill
|
|
122
|
-
// The native modules are optional and only one of them will ever be installed on a given machine
|
|
123
|
-
"@nx/nx-darwin-x64",
|
|
124
|
-
"@nx/nx-darwin-arm64",
|
|
125
|
-
"@nx/nx-linux-x64-gnu",
|
|
126
|
-
"@nx/nx-linux-x64-musl",
|
|
127
|
-
"@nx/nx-win32-x64-msvc",
|
|
128
|
-
"@nx/nx-linux-arm64-gnu",
|
|
129
|
-
"@nx/nx-linux-arm64-musl",
|
|
130
|
-
"@nx/nx-linux-arm-gnueabihf",
|
|
131
|
-
"@nx/nx-win32-arm64-msvc",
|
|
132
|
-
"@nx/nx-freebsd-x64",
|
|
133
|
-
"@nx/powerpack-license"
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
]
|
|
140
|
-
}
|
package/LICENSE
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
(The MIT License)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017-2024 Narwhal Technologies Inc.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
-
a copy of this software and associated documentation files (the
|
|
7
|
-
'Software'), to deal in the Software without restriction, including
|
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
-
the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
|
14
|
-
included in all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/bin/init-local.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { WorkspaceTypeAndRoot } from '../src/utils/find-workspace-root';
|
|
2
|
-
/**
|
|
3
|
-
* Nx is being run inside a workspace.
|
|
4
|
-
*
|
|
5
|
-
* @param workspace Relevant local workspace properties
|
|
6
|
-
*/
|
|
7
|
-
export declare function initLocal(workspace: WorkspaceTypeAndRoot): void;
|
|
8
|
-
export declare function rewriteTargetsAndProjects(args: string[]): string[];
|