@nx/node 16.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +22 -0
  3. package/README.md +61 -0
  4. package/executors.json +26 -0
  5. package/generators.json +62 -0
  6. package/index.d.ts +3 -0
  7. package/index.js +10 -0
  8. package/index.js.map +1 -0
  9. package/migrations.json +60 -0
  10. package/package.json +48 -0
  11. package/src/executors/node/compat.d.ts +2 -0
  12. package/src/executors/node/compat.js +6 -0
  13. package/src/executors/node/compat.js.map +1 -0
  14. package/src/executors/node/node.impl.d.ts +4 -0
  15. package/src/executors/node/node.impl.js +14 -0
  16. package/src/executors/node/node.impl.js.map +1 -0
  17. package/src/executors/node/schema.json +74 -0
  18. package/src/executors/webpack/compat.d.ts +2 -0
  19. package/src/executors/webpack/compat.js +6 -0
  20. package/src/executors/webpack/compat.js.map +1 -0
  21. package/src/executors/webpack/schema.json +275 -0
  22. package/src/executors/webpack/webpack.impl.d.ts +8 -0
  23. package/src/executors/webpack/webpack.impl.js +19 -0
  24. package/src/executors/webpack/webpack.impl.js.map +1 -0
  25. package/src/generators/application/application.d.ts +10 -0
  26. package/src/generators/application/application.js +277 -0
  27. package/src/generators/application/application.js.map +1 -0
  28. package/src/generators/application/files/common/src/assets/.gitkeep +0 -0
  29. package/src/generators/application/files/common/src/main.ts__tmpl__ +1 -0
  30. package/src/generators/application/files/common/tsconfig.app.json +10 -0
  31. package/src/generators/application/files/common/tsconfig.json +10 -0
  32. package/src/generators/application/files/common/webpack.config.js__tmpl__ +8 -0
  33. package/src/generators/application/files/express/src/main.ts__tmpl__ +14 -0
  34. package/src/generators/application/files/fastify/src/app/app.spec.ts__tmpl__ +20 -0
  35. package/src/generators/application/files/fastify/src/app/app.ts__tmpl__ +27 -0
  36. package/src/generators/application/files/fastify/src/app/plugins/sensible.ts__tmpl__ +12 -0
  37. package/src/generators/application/files/fastify/src/app/routes/root.ts__tmpl__ +7 -0
  38. package/src/generators/application/files/fastify/src/main.ts__tmpl__ +23 -0
  39. package/src/generators/application/files/koa/src/main.ts__tmpl__ +14 -0
  40. package/src/generators/application/schema.d.ts +26 -0
  41. package/src/generators/application/schema.json +123 -0
  42. package/src/generators/e2e-project/e2e-project.d.ts +5 -0
  43. package/src/generators/e2e-project/e2e-project.js +108 -0
  44. package/src/generators/e2e-project/e2e-project.js.map +1 -0
  45. package/src/generators/e2e-project/files/cli/jest.config.ts__tmpl__ +14 -0
  46. package/src/generators/e2e-project/files/cli/src/__fileName__/__fileName__.spec.ts__tmpl__ +13 -0
  47. package/src/generators/e2e-project/files/cli/src/test-setup.ts__tmpl__ +1 -0
  48. package/src/generators/e2e-project/files/cli/tsconfig.json__tmpl__ +13 -0
  49. package/src/generators/e2e-project/files/cli/tsconfig.spec.json__tmpl__ +12 -0
  50. package/src/generators/e2e-project/files/server/common/jest.config.ts__tmpl__ +16 -0
  51. package/src/generators/e2e-project/files/server/common/src/__fileName__/__fileName__.spec.ts__tmpl__ +10 -0
  52. package/src/generators/e2e-project/files/server/common/src/support/global-setup.ts__tmpl__ +11 -0
  53. package/src/generators/e2e-project/files/server/common/src/support/global-teardown.ts__tmpl__ +7 -0
  54. package/src/generators/e2e-project/files/server/common/src/support/test-setup.ts__tmpl__ +10 -0
  55. package/src/generators/e2e-project/files/server/common/tsconfig.json__tmpl__ +13 -0
  56. package/src/generators/e2e-project/files/server/common/tsconfig.spec.json__tmpl__ +12 -0
  57. package/src/generators/e2e-project/files/server/nest/src/__fileName__/__fileName__.spec.ts__tmpl__ +10 -0
  58. package/src/generators/e2e-project/schema.d.ts +11 -0
  59. package/src/generators/e2e-project/schema.json +65 -0
  60. package/src/generators/init/init.d.ts +5 -0
  61. package/src/generators/init/init.js +37 -0
  62. package/src/generators/init/init.js.map +1 -0
  63. package/src/generators/init/schema.d.ts +6 -0
  64. package/src/generators/init/schema.json +27 -0
  65. package/src/generators/library/files/lib/package.json__tmpl__ +4 -0
  66. package/src/generators/library/files/lib/src/lib/__fileName__.spec.ts__tmpl__ +7 -0
  67. package/src/generators/library/files/lib/src/lib/__fileName__.ts__tmpl__ +3 -0
  68. package/src/generators/library/files/lib/tsconfig.lib.json +11 -0
  69. package/src/generators/library/library.d.ts +14 -0
  70. package/src/generators/library/library.js +108 -0
  71. package/src/generators/library/library.js.map +1 -0
  72. package/src/generators/library/schema.d.ts +24 -0
  73. package/src/generators/library/schema.json +129 -0
  74. package/src/generators/setup-docker/files/Dockerfile__tmpl__ +24 -0
  75. package/src/generators/setup-docker/schema.d.ts +6 -0
  76. package/src/generators/setup-docker/schema.json +29 -0
  77. package/src/generators/setup-docker/setup-docker.d.ts +6 -0
  78. package/src/generators/setup-docker/setup-docker.js +54 -0
  79. package/src/generators/setup-docker/setup-docker.js.map +1 -0
  80. package/src/migrations/update-13-0-0/remove-deprecated-options-13-0-0.d.ts +2 -0
  81. package/src/migrations/update-13-0-0/remove-deprecated-options-13-0-0.js +31 -0
  82. package/src/migrations/update-13-0-0/remove-deprecated-options-13-0-0.js.map +1 -0
  83. package/src/migrations/update-13-0-0/remove-webpack-5-packages-13-0-0.d.ts +2 -0
  84. package/src/migrations/update-13-0-0/remove-webpack-5-packages-13-0-0.js +33 -0
  85. package/src/migrations/update-13-0-0/remove-webpack-5-packages-13-0-0.js.map +1 -0
  86. package/src/migrations/update-13-8-5/rename-build-to-webpack.d.ts +2 -0
  87. package/src/migrations/update-13-8-5/rename-build-to-webpack.js +17 -0
  88. package/src/migrations/update-13-8-5/rename-build-to-webpack.js.map +1 -0
  89. package/src/migrations/update-13-8-5/rename-execute-to-node.d.ts +2 -0
  90. package/src/migrations/update-13-8-5/rename-execute-to-node.js +17 -0
  91. package/src/migrations/update-13-8-5/rename-execute-to-node.js.map +1 -0
  92. package/src/migrations/update-13-8-5/update-package-to-tsc.d.ts +2 -0
  93. package/src/migrations/update-13-8-5/update-package-to-tsc.js +39 -0
  94. package/src/migrations/update-13-8-5/update-package-to-tsc.js.map +1 -0
  95. package/src/migrations/update-14-7-6/update-webpack-executor.d.ts +2 -0
  96. package/src/migrations/update-14-7-6/update-webpack-executor.js +21 -0
  97. package/src/migrations/update-14-7-6/update-webpack-executor.js.map +1 -0
  98. package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.d.ts +2 -0
  99. package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.js +13 -0
  100. package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.js.map +1 -0
  101. package/src/utils/versions.d.ts +13 -0
  102. package/src/utils/versions.js +17 -0
  103. package/src/utils/versions.js.map +1 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+
7
+
8
+ **Note:** Version bump only for package @nx/node
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2017-2023 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/README.md ADDED
@@ -0,0 +1,61 @@
1
+ <p style="text-align: center;"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx.png" width="600" alt="Nx - Smart, Fast and Extensible Build System"></p>
2
+
3
+ <div style="text-align: center;">
4
+
5
+ [![CircleCI](https://circleci.com/gh/nrwl/nx.svg?style=svg)](https://circleci.com/gh/nrwl/nx)
6
+ [![License](https://img.shields.io/npm/l/@nrwl/workspace.svg?style=flat-square)]()
7
+ [![NPM Version](https://badge.fury.io/js/%40nrwl%2Fworkspace.svg)](https://www.npmjs.com/@nrwl/workspace)
8
+ [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)]()
9
+ [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
10
+ [![Join the chat at https://gitter.im/nrwl-nx/community](https://badges.gitter.im/nrwl-nx/community.svg)](https://gitter.im/nrwl-nx/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
11
+ [![Join us @nrwl/community on slack](https://img.shields.io/badge/slack-%40nrwl%2Fcommunity-brightgreen)](https://join.slack.com/t/nrwlcommunity/shared_invite/enQtNzU5MTE4OTQwOTk0LTgxY2E0ZWYzMWE0YzA5ZDA2MWM1NDVhNmI2ZWMyYmZhNWJiODk3MjkxZjY3MzU5ZjRmM2NmNWU1OTgyZmE4Mzc)
12
+
13
+ </div>
14
+
15
+
16
+ <hr>
17
+
18
+ # Nx: Smart, Fast and Extensible Build System
19
+
20
+ Nx is a next generation build system with first class monorepo support and powerful integrations.
21
+
22
+ ## Getting Started
23
+
24
+ ### Creating an Nx Workspace
25
+
26
+ **Using `npx`**
27
+
28
+ ```bash
29
+ npx create-nx-workspace
30
+ ```
31
+
32
+ **Using `npm init`**
33
+
34
+ ```bash
35
+ npm init nx-workspace
36
+ ```
37
+
38
+ **Using `yarn create`**
39
+
40
+ ```bash
41
+ yarn create nx-workspace
42
+ ```
43
+
44
+ ### Adding Nx to an Existing Repository
45
+
46
+ Run:
47
+
48
+ ```bash
49
+ npx nx@latest init
50
+ ```
51
+
52
+ ## Documentation & Resources
53
+
54
+ - [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
55
+ - [Intro to Nx](https://nx.dev/getting-started/intro)
56
+ - [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
57
+ - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
58
+
59
+ <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"
60
+ width="100%" alt="Nx - Smart, Fast and Extensible Build System"></a></p>
61
+
package/executors.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "executors": {
3
+ "webpack": {
4
+ "implementation": "./src/executors/webpack/webpack.impl",
5
+ "schema": "./src/executors/webpack/schema.json",
6
+ "description": "Build a Node application using Webpack."
7
+ },
8
+ "node": {
9
+ "implementation": "./src/executors/node/node.impl",
10
+ "schema": "./src/executors/node/schema.json",
11
+ "description": "Execute a Node application."
12
+ }
13
+ },
14
+ "builders": {
15
+ "webpack": {
16
+ "implementation": "./src/executors/webpack/compat",
17
+ "schema": "./src/executors/webpack/schema.json",
18
+ "description": "Build a Node application using Webpack."
19
+ },
20
+ "node": {
21
+ "implementation": "./src/executors/node/compat",
22
+ "schema": "./src/executors/node/schema.json",
23
+ "description": "Execute a Node application."
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "nx/node",
3
+ "version": "0.1",
4
+ "extends": ["@nrwl/workspace"],
5
+ "generators": {
6
+ "init": {
7
+ "factory": "./src/generators/init/init",
8
+ "schema": "./src/generators/init/schema.json",
9
+ "description": "Initialize the `@nrwl/node` plugin.",
10
+ "aliases": ["ng-add"],
11
+ "hidden": true
12
+ },
13
+ "application": {
14
+ "factory": "./src/generators/application/application",
15
+ "schema": "./src/generators/application/schema.json",
16
+ "aliases": ["app"],
17
+ "x-type": "application",
18
+ "description": "Create a node application."
19
+ },
20
+ "library": {
21
+ "factory": "./src/generators/library/library",
22
+ "schema": "./src/generators/library/schema.json",
23
+ "aliases": ["lib"],
24
+ "x-type": "library",
25
+ "description": "Create a node library."
26
+ },
27
+ "setup-docker": {
28
+ "factory": "./src/generators/setup-docker/setup-docker",
29
+ "schema": "./src/generators/setup-docker/schema.json",
30
+ "description": "Set up Docker configuration for a project.",
31
+ "hidden": false
32
+ }
33
+ },
34
+ "schematics": {
35
+ "init": {
36
+ "factory": "./src/generators/init/init#initSchematic",
37
+ "schema": "./src/generators/init/schema.json",
38
+ "description": "Initialize the `@nrwl/node` plugin.",
39
+ "aliases": ["ng-add"],
40
+ "hidden": true
41
+ },
42
+ "application": {
43
+ "factory": "./src/generators/application/application#applicationSchematic",
44
+ "schema": "./src/generators/application/schema.json",
45
+ "aliases": ["app"],
46
+ "x-type": "application",
47
+ "description": "Create a node application."
48
+ },
49
+ "library": {
50
+ "factory": "./src/generators/library/library#librarySchematic",
51
+ "schema": "./src/generators/library/schema.json",
52
+ "aliases": ["lib"],
53
+ "x-type": "library",
54
+ "description": "Create a node library."
55
+ },
56
+ "setup-docker": {
57
+ "factory": "./src/generators/setup-docker/setup-docker#setupDockerGenerator",
58
+ "schema": "./src/generators/setup-docker/schema.json",
59
+ "description": "Set up Docker configuration for a project."
60
+ }
61
+ }
62
+ }
package/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export { applicationGenerator } from './src/generators/application/application';
2
+ export { libraryGenerator } from './src/generators/library/library';
3
+ export { initGenerator } from './src/generators/init/init';
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.initGenerator = exports.libraryGenerator = exports.applicationGenerator = void 0;
4
+ var application_1 = require("./src/generators/application/application");
5
+ Object.defineProperty(exports, "applicationGenerator", { enumerable: true, get: function () { return application_1.applicationGenerator; } });
6
+ var library_1 = require("./src/generators/library/library");
7
+ Object.defineProperty(exports, "libraryGenerator", { enumerable: true, get: function () { return library_1.libraryGenerator; } });
8
+ var init_1 = require("./src/generators/init/init");
9
+ Object.defineProperty(exports, "initGenerator", { enumerable: true, get: function () { return init_1.initGenerator; } });
10
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/node/index.ts"],"names":[],"mappings":";;;AAAA,wEAAgF;AAAvE,mHAAA,oBAAoB,OAAA;AAC7B,4DAAoE;AAA3D,2GAAA,gBAAgB,OAAA;AACzB,mDAA2D;AAAlD,qGAAA,aAAa,OAAA"}
@@ -0,0 +1,60 @@
1
+ {
2
+ "generators": {
3
+ "remove-webpack-5-packages": {
4
+ "cli": "nx",
5
+ "version": "13.0.0-beta.1",
6
+ "description": "Remove packages installed by Nx 12's `@nrwl/node:webpack5` generator.",
7
+ "factory": "./src/migrations/update-13-0-0/remove-webpack-5-packages-13-0-0"
8
+ },
9
+ "rename-build-to-webpack": {
10
+ "cli": "nx",
11
+ "version": "13.8.5-beta.1",
12
+ "description": "Renames @nrwl/node:build to @nrwl/node:webpack",
13
+ "factory": "./src/migrations/update-13-8-5/rename-build-to-webpack"
14
+ },
15
+ "rename-execute-to-node": {
16
+ "cli": "nx",
17
+ "version": "13.8.5-beta.1",
18
+ "description": "Renames @nrwl/node:execute to @nrwl/node:node",
19
+ "factory": "./src/migrations/update-13-8-5/rename-execute-to-node"
20
+ },
21
+ "update-package-to-tsc": {
22
+ "cli": "nx",
23
+ "version": "13.8.5-beta.1",
24
+ "description": "Renames @nrwl/node:package to @nrwl/js:tsc",
25
+ "factory": "./src/migrations/update-13-8-5/update-package-to-tsc"
26
+ },
27
+ "update-webpack-executor": {
28
+ "cli": "nx",
29
+ "version": "14.7.6-beta.1",
30
+ "description": "Update usages of webpack executors to @nrwl/webpack",
31
+ "factory": "./src/migrations/update-14-7-6/update-webpack-executor"
32
+ },
33
+ "update-16-0-0-add-nx-packages": {
34
+ "cli": "nx",
35
+ "version": "16.0.0-beta.1",
36
+ "description": "Replace @nrwl/node with @nx/node",
37
+ "implementation": "./src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages"
38
+ }
39
+ },
40
+ "packageJsonUpdates": {
41
+ "14.3.7": {
42
+ "version": "14.3.7-beta.0",
43
+ "packages": {
44
+ "@types/node": {
45
+ "version": "18.0.0",
46
+ "alwaysAddToPackageJson": false
47
+ }
48
+ }
49
+ },
50
+ "14.5.5": {
51
+ "version": "14.5.5-beta.0",
52
+ "packages": {
53
+ "@types/node": {
54
+ "version": "18.7.1",
55
+ "alwaysAddToPackageJson": false
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@nx/node",
3
+ "version": "16.0.0-beta.1",
4
+ "private": false,
5
+ "description": "The Node Plugin for Nx contains generators and executors to manage Node applications within an Nx workspace.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/nrwl/nx.git",
9
+ "directory": "packages/node"
10
+ },
11
+ "keywords": [
12
+ "Monorepo",
13
+ "Node",
14
+ "Nest",
15
+ "Jest",
16
+ "Cypress",
17
+ "CLI"
18
+ ],
19
+ "main": "./index",
20
+ "typings": "./index.d.ts",
21
+ "author": "Victor Savkin",
22
+ "license": "MIT",
23
+ "bugs": {
24
+ "url": "https://github.com/nrwl/nx/issues"
25
+ },
26
+ "homepage": "https://nx.dev",
27
+ "schematics": "./generators.json",
28
+ "builders": "./executors.json",
29
+ "ng-update": {
30
+ "requirements": {},
31
+ "migrations": "./migrations.json"
32
+ },
33
+ "dependencies": {
34
+ "@nrwl/node": "16.0.0-beta.1",
35
+ "@nx/devkit": "16.0.0-beta.1",
36
+ "@nx/jest": "16.0.0-beta.1",
37
+ "@nx/js": "16.0.0-beta.1",
38
+ "@nx/linter": "16.0.0-beta.1",
39
+ "@nx/webpack": "16.0.0-beta.1",
40
+ "@nx/workspace": "16.0.0-beta.1",
41
+ "tslib": "^2.3.0"
42
+ },
43
+ "publishConfig": {
44
+ "access": "public"
45
+ },
46
+ "types": "./index.d.ts",
47
+ "gitHead": "abf534c265f5aa3aac146e55bb31de598ea281d7"
48
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const node_impl_1 = require("./node.impl");
5
+ exports.default = (0, devkit_1.convertNxExecutor)(node_impl_1.default);
6
+ //# sourceMappingURL=compat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../packages/node/src/executors/node/compat.ts"],"names":[],"mappings":";;AAAA,uCAA+C;AAC/C,2CAAuC;AAEvC,kBAAe,IAAA,0BAAiB,EAAC,mBAAY,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ExecutorContext } from '@nx/devkit';
2
+ import type { NodeExecutorOptions } from '@nx/js/src/executors/node/schema';
3
+ export declare function nodeExecutor(options: NodeExecutorOptions, context: ExecutorContext): AsyncGenerator<import("@nx/js/src/executors/node/node.impl").ExecutorEvent, void, unknown>;
4
+ export default nodeExecutor;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.nodeExecutor = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const node_impl_1 = require("@nx/js/src/executors/node/node.impl");
6
+ // TODO(jack): Remove for Nx 16
7
+ function nodeExecutor(options, context) {
8
+ return tslib_1.__asyncGenerator(this, arguments, function* nodeExecutor_1() {
9
+ yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues((0, node_impl_1.nodeExecutor)(options, context))));
10
+ });
11
+ }
12
+ exports.nodeExecutor = nodeExecutor;
13
+ exports.default = nodeExecutor;
14
+ //# sourceMappingURL=node.impl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.impl.js","sourceRoot":"","sources":["../../../../../../packages/node/src/executors/node/node.impl.ts"],"names":[],"mappings":";;;;AAEA,mEAAqF;AAErF,+BAA+B;AAC/B,SAAuB,YAAY,CACjC,OAA4B,EAC5B,OAAwB;;QAExB,sBAAA,KAAK,CAAC,CAAC,yBAAA,sBAAA,IAAA,wBAAc,EAAC,OAAO,EAAE,OAAO,CAAC,CAAA,CAAA,CAAA,CAAC;IAC1C,CAAC;CAAA;AALD,oCAKC;AAED,kBAAe,YAAY,CAAC"}
@@ -0,0 +1,74 @@
1
+ {
2
+ "version": 2,
3
+ "outputCapture": "direct-nodejs",
4
+ "$schema": "http://json-schema.org/schema",
5
+ "cli": "nx",
6
+ "title": "Node executor",
7
+ "description": "Execute Nodejs applications.",
8
+ "type": "object",
9
+ "properties": {
10
+ "buildTarget": {
11
+ "type": "string",
12
+ "description": "The target to run to build you the app."
13
+ },
14
+ "buildTargetOptions": {
15
+ "type": "object",
16
+ "description": "Additional options to pass into the build target.",
17
+ "default": {}
18
+ },
19
+ "waitUntilTargets": {
20
+ "type": "array",
21
+ "description": "The targets to run before starting the node app.",
22
+ "default": [],
23
+ "items": {
24
+ "type": "string"
25
+ }
26
+ },
27
+ "host": {
28
+ "type": "string",
29
+ "default": "localhost",
30
+ "description": "The host to inspect the process on."
31
+ },
32
+ "port": {
33
+ "type": "number",
34
+ "default": 9229,
35
+ "description": "The port to inspect the process on. Setting port to 0 will assign random free ports to all forked processes."
36
+ },
37
+ "inspect": {
38
+ "oneOf": [
39
+ {
40
+ "type": "string",
41
+ "enum": ["inspect", "inspect-brk"]
42
+ },
43
+ {
44
+ "type": "boolean"
45
+ }
46
+ ],
47
+ "description": "Ensures the app is starting with debugging.",
48
+ "default": "inspect"
49
+ },
50
+ "runtimeArgs": {
51
+ "type": "array",
52
+ "description": "Extra args passed to the node process.",
53
+ "default": [],
54
+ "items": {
55
+ "type": "string"
56
+ }
57
+ },
58
+ "args": {
59
+ "type": "array",
60
+ "description": "Extra args when starting the app.",
61
+ "default": [],
62
+ "items": {
63
+ "type": "string"
64
+ }
65
+ },
66
+ "watch": {
67
+ "type": "boolean",
68
+ "description": "Enable re-building when files change.",
69
+ "default": true
70
+ }
71
+ },
72
+ "additionalProperties": false,
73
+ "required": ["buildTarget"]
74
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const devkit_1 = require("@nx/devkit");
4
+ const webpack_impl_1 = require("./webpack.impl");
5
+ exports.default = (0, devkit_1.convertNxExecutor)(webpack_impl_1.webpackExecutor);
6
+ //# sourceMappingURL=compat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compat.js","sourceRoot":"","sources":["../../../../../../packages/node/src/executors/webpack/compat.ts"],"names":[],"mappings":";;AAAA,uCAA+C;AAE/C,iDAAiD;AAEjD,kBAAe,IAAA,0BAAiB,EAAC,8BAAe,CAAC,CAAC"}