@nx/plugin 16.0.0-beta.5

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 (132) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/LICENSE +22 -0
  3. package/README.md +67 -0
  4. package/executors.json +16 -0
  5. package/generators.d.ts +6 -0
  6. package/generators.js +10 -0
  7. package/generators.js.map +1 -0
  8. package/generators.json +81 -0
  9. package/index.d.ts +0 -0
  10. package/index.js +1 -0
  11. package/index.js.map +1 -0
  12. package/migrations.json +46 -0
  13. package/package.json +45 -0
  14. package/src/executors/e2e/compat.d.ts +1 -0
  15. package/src/executors/e2e/compat.js +7 -0
  16. package/src/executors/e2e/compat.js.map +1 -0
  17. package/src/executors/e2e/e2e.impl.d.ts +7 -0
  18. package/src/executors/e2e/e2e.impl.js +81 -0
  19. package/src/executors/e2e/e2e.impl.js.map +1 -0
  20. package/src/executors/e2e/schema.d.ts +6 -0
  21. package/src/executors/e2e/schema.json +220 -0
  22. package/src/generators/create-package/create-package.d.ts +5 -0
  23. package/src/generators/create-package/create-package.js +115 -0
  24. package/src/generators/create-package/create-package.js.map +1 -0
  25. package/src/generators/create-package/files/create-framework-package/bin/index.ts__tmpl__ +26 -0
  26. package/src/generators/create-package/files/e2e/__name__.spec.ts__tmpl__ +30 -0
  27. package/src/generators/create-package/schema.d.ts +17 -0
  28. package/src/generators/create-package/schema.json +69 -0
  29. package/src/generators/create-package/utils/normalize-schema.d.ts +10 -0
  30. package/src/generators/create-package/utils/normalize-schema.js +22 -0
  31. package/src/generators/create-package/utils/normalize-schema.js.map +1 -0
  32. package/src/generators/e2e-project/e2e.d.ts +6 -0
  33. package/src/generators/e2e-project/e2e.js +107 -0
  34. package/src/generators/e2e-project/e2e.js.map +1 -0
  35. package/src/generators/e2e-project/files/tests/__pluginName__.spec.ts__tmpl__ +37 -0
  36. package/src/generators/e2e-project/files/tsconfig.json__tmpl__ +6 -0
  37. package/src/generators/e2e-project/schema.d.ts +12 -0
  38. package/src/generators/e2e-project/schema.json +57 -0
  39. package/src/generators/executor/executor.d.ts +6 -0
  40. package/src/generators/executor/executor.js +104 -0
  41. package/src/generators/executor/executor.js.map +1 -0
  42. package/src/generators/executor/files/executor/__fileName__/executor.spec.ts__tmpl__ +11 -0
  43. package/src/generators/executor/files/executor/__fileName__/executor.ts__tmpl__ +11 -0
  44. package/src/generators/executor/files/executor/__fileName__/schema.d.ts__tmpl__ +1 -0
  45. package/src/generators/executor/files/executor/__fileName__/schema.json__tmpl__ +9 -0
  46. package/src/generators/executor/files/hasher/__fileName__/hasher.spec.ts__tmpl__ +22 -0
  47. package/src/generators/executor/files/hasher/__fileName__/hasher.ts__tmpl__ +12 -0
  48. package/src/generators/executor/schema.d.ts +9 -0
  49. package/src/generators/executor/schema.json +64 -0
  50. package/src/generators/generator/files/generator/__fileName__/generator.spec.ts__tmpl__ +20 -0
  51. package/src/generators/generator/files/generator/__fileName__/generator.ts__tmpl__ +72 -0
  52. package/src/generators/generator/files/generator/__fileName__/schema.d.ts__tmpl__ +5 -0
  53. package/src/generators/generator/files/generator/__fileName__/schema.json__tmpl__ +27 -0
  54. package/src/generators/generator/generator.d.ts +6 -0
  55. package/src/generators/generator/generator.js +106 -0
  56. package/src/generators/generator/generator.js.map +1 -0
  57. package/src/generators/generator/schema.d.ts +8 -0
  58. package/src/generators/generator/schema.json +60 -0
  59. package/src/generators/lint-checks/generator.d.ts +7 -0
  60. package/src/generators/lint-checks/generator.js +187 -0
  61. package/src/generators/lint-checks/generator.js.map +1 -0
  62. package/src/generators/lint-checks/schema.d.ts +4 -0
  63. package/src/generators/lint-checks/schema.json +25 -0
  64. package/src/generators/migration/files/migration/__name__/__name__.spec.ts__tmpl__ +17 -0
  65. package/src/generators/migration/files/migration/__name__/__name__.ts__tmpl__ +6 -0
  66. package/src/generators/migration/migration.d.ts +5 -0
  67. package/src/generators/migration/migration.js +111 -0
  68. package/src/generators/migration/migration.js.map +1 -0
  69. package/src/generators/migration/schema.d.ts +8 -0
  70. package/src/generators/migration/schema.json +59 -0
  71. package/src/generators/plugin/files/plugin/src/index.ts__tmpl__ +0 -0
  72. package/src/generators/plugin/plugin.d.ts +5 -0
  73. package/src/generators/plugin/plugin.js +95 -0
  74. package/src/generators/plugin/plugin.js.map +1 -0
  75. package/src/generators/plugin/schema.d.ts +17 -0
  76. package/src/generators/plugin/schema.json +93 -0
  77. package/src/generators/plugin/utils/normalize-schema.d.ts +14 -0
  78. package/src/generators/plugin/utils/normalize-schema.js +31 -0
  79. package/src/generators/plugin/utils/normalize-schema.js.map +1 -0
  80. package/src/generators/preset/generator.d.ts +3 -0
  81. package/src/generators/preset/generator.js +53 -0
  82. package/src/generators/preset/generator.js.map +1 -0
  83. package/src/generators/preset/schema.d.ts +4 -0
  84. package/src/generators/preset/schema.json +20 -0
  85. package/src/migrations/update-14-1-9/add-swc-deps-if-needed.d.ts +2 -0
  86. package/src/migrations/update-14-1-9/add-swc-deps-if-needed.js +14 -0
  87. package/src/migrations/update-14-1-9/add-swc-deps-if-needed.js.map +1 -0
  88. package/src/migrations/update-15-0-0/specify-output-capture.d.ts +2 -0
  89. package/src/migrations/update-15-0-0/specify-output-capture.js +57 -0
  90. package/src/migrations/update-15-0-0/specify-output-capture.js.map +1 -0
  91. package/src/migrations/update-15-9-0/jest-29-configs.d.ts +3 -0
  92. package/src/migrations/update-15-9-0/jest-29-configs.js +154 -0
  93. package/src/migrations/update-15-9-0/jest-29-configs.js.map +1 -0
  94. package/src/migrations/update-15-9-0/jest-29-tests.d.ts +5 -0
  95. package/src/migrations/update-15-9-0/jest-29-tests.js +65 -0
  96. package/src/migrations/update-15-9-0/jest-29-tests.js.map +1 -0
  97. package/src/migrations/update-16-0-0/cli-in-schema-json.d.ts +3 -0
  98. package/src/migrations/update-16-0-0/cli-in-schema-json.js +84 -0
  99. package/src/migrations/update-16-0-0/cli-in-schema-json.js.map +1 -0
  100. package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.d.ts +2 -0
  101. package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.js +13 -0
  102. package/src/migrations/update-16-0-0-add-nx-packages/update-16-0-0-add-nx-packages.js.map +1 -0
  103. package/src/utils/has-generator.d.ts +2 -0
  104. package/src/utils/has-generator.js +17 -0
  105. package/src/utils/has-generator.js.map +1 -0
  106. package/src/utils/testing-utils/async-commands.d.ts +28 -0
  107. package/src/utils/testing-utils/async-commands.js +51 -0
  108. package/src/utils/testing-utils/async-commands.js.map +1 -0
  109. package/src/utils/testing-utils/commands.d.ts +17 -0
  110. package/src/utils/testing-utils/commands.js +64 -0
  111. package/src/utils/testing-utils/commands.js.map +1 -0
  112. package/src/utils/testing-utils/create-package-cli.d.ts +18 -0
  113. package/src/utils/testing-utils/create-package-cli.js +53 -0
  114. package/src/utils/testing-utils/create-package-cli.js.map +1 -0
  115. package/src/utils/testing-utils/index.d.ts +6 -0
  116. package/src/utils/testing-utils/index.js +10 -0
  117. package/src/utils/testing-utils/index.js.map +1 -0
  118. package/src/utils/testing-utils/nx-project.d.ts +25 -0
  119. package/src/utils/testing-utils/nx-project.js +64 -0
  120. package/src/utils/testing-utils/nx-project.js.map +1 -0
  121. package/src/utils/testing-utils/paths.d.ts +15 -0
  122. package/src/utils/testing-utils/paths.js +33 -0
  123. package/src/utils/testing-utils/paths.js.map +1 -0
  124. package/src/utils/testing-utils/utils.d.ts +80 -0
  125. package/src/utils/testing-utils/utils.js +145 -0
  126. package/src/utils/testing-utils/utils.js.map +1 -0
  127. package/src/utils/versions.d.ts +1 -0
  128. package/src/utils/versions.js +5 -0
  129. package/src/utils/versions.js.map +1 -0
  130. package/testing.d.ts +1 -0
  131. package/testing.js +5 -0
  132. package/testing.js.map +1 -0
@@ -0,0 +1,80 @@
1
+ import type { JsonParseOptions } from '@nx/devkit';
2
+ import { directoryExists, fileExists } from 'nx/src/utils/fileutils';
3
+ export { directoryExists, fileExists };
4
+ /**
5
+ * Copies module folders from the working directory to the e2e directory
6
+ * @param modules a list of module names or scopes to copy
7
+ */
8
+ export declare function copyNodeModules(modules: string[]): void;
9
+ /**
10
+ * Assert test output from a asynchronous CLI command.
11
+ *
12
+ * @param output Output from an asynchronous command
13
+ */
14
+ export declare function expectTestsPass(output: {
15
+ stdout: string;
16
+ stderr: string;
17
+ }): void;
18
+ /**
19
+ * Update a file's content in the e2e directory.
20
+ *
21
+ * If the `content` param is a callback, it will provide the original file content as an argument.
22
+ *
23
+ * @param file Path of the file in the e2e directory
24
+ * @param content Content to replace the original content with
25
+ */
26
+ export declare function updateFile(file: string, content: string | ((originalFileContent: string) => string)): void;
27
+ /**
28
+ * Rename a file or directory within the e2e directory.
29
+ * @param path Original path
30
+ * @param newPath New path
31
+ */
32
+ export declare function renameFile(path: string, newPath: string): void;
33
+ /**
34
+ * Check if the file or directory exists.
35
+ *
36
+ * If a path starts with `/` or `C:/`, it will check it as absolute. Otherwise it will check within the e2e directory.
37
+ *
38
+ * @param expectedPaths Files or directories to check
39
+ * @usage `checkFileExists('file1', 'file2', '/var/user/file')`
40
+ */
41
+ export declare function checkFilesExist(...expectedPaths: string[]): void;
42
+ /**
43
+ * Get a list of all files within a directory.
44
+ * @param dirName Directory name within the e2e directory.
45
+ */
46
+ export declare function listFiles(dirName: string): string[];
47
+ /**
48
+ * Read a JSON file.
49
+ * @param path Path to the JSON file. Absolute or relative to the e2e directory.
50
+ * @param options JSON parse options
51
+ */
52
+ export declare function readJson<T extends object = any>(path: string, options?: JsonParseOptions): T;
53
+ /**
54
+ * Read a file.
55
+ * @param path Path to the file. Absolute or relative to the e2e directory.
56
+ */
57
+ export declare function readFile(path: string): string;
58
+ /**
59
+ * Deletes the e2e directory
60
+ */
61
+ export declare function cleanup(): void;
62
+ /**
63
+ * Remove the dist folder from the e2e directory
64
+ */
65
+ export declare function rmDist(): void;
66
+ export declare function removeTmpProject(project: string): void;
67
+ /**
68
+ * Get the currend `cwd` in the process
69
+ */
70
+ export declare function getCwd(): string;
71
+ /**
72
+ * Check if a file or directory exists.
73
+ * @param path Path to file or directory
74
+ */
75
+ export declare function exists(path: string): boolean;
76
+ /**
77
+ * Get the size of a file on disk
78
+ * @param filePath Path to the file
79
+ */
80
+ export declare function getSize(filePath: string): number;
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getSize = exports.exists = exports.getCwd = exports.removeTmpProject = exports.rmDist = exports.cleanup = exports.readFile = exports.readJson = exports.listFiles = exports.checkFilesExist = exports.renameFile = exports.updateFile = exports.expectTestsPass = exports.copyNodeModules = exports.fileExists = exports.directoryExists = void 0;
4
+ const fs_extra_1 = require("fs-extra");
5
+ const path_1 = require("path");
6
+ const paths_1 = require("./paths");
7
+ const devkit_1 = require("@nx/devkit");
8
+ const fileutils_1 = require("nx/src/utils/fileutils");
9
+ Object.defineProperty(exports, "directoryExists", { enumerable: true, get: function () { return fileutils_1.directoryExists; } });
10
+ Object.defineProperty(exports, "fileExists", { enumerable: true, get: function () { return fileutils_1.fileExists; } });
11
+ /**
12
+ * Copies module folders from the working directory to the e2e directory
13
+ * @param modules a list of module names or scopes to copy
14
+ */
15
+ function copyNodeModules(modules) {
16
+ modules.forEach((module) => {
17
+ (0, fs_extra_1.removeSync)(`${(0, paths_1.tmpProjPath)()}/node_modules/${module}`);
18
+ (0, fs_extra_1.copySync)(`./node_modules/${module}`, `${(0, paths_1.tmpProjPath)()}/node_modules/${module}`);
19
+ });
20
+ }
21
+ exports.copyNodeModules = copyNodeModules;
22
+ /**
23
+ * Assert test output from a asynchronous CLI command.
24
+ *
25
+ * @param output Output from an asynchronous command
26
+ */
27
+ function expectTestsPass(output) {
28
+ expect(output.stderr).toContain('Ran all test suites');
29
+ expect(output.stderr).not.toContain('fail');
30
+ }
31
+ exports.expectTestsPass = expectTestsPass;
32
+ // type callback =
33
+ /**
34
+ * Update a file's content in the e2e directory.
35
+ *
36
+ * If the `content` param is a callback, it will provide the original file content as an argument.
37
+ *
38
+ * @param file Path of the file in the e2e directory
39
+ * @param content Content to replace the original content with
40
+ */
41
+ function updateFile(file, content) {
42
+ (0, fs_extra_1.ensureDirSync)((0, path_1.dirname)((0, paths_1.tmpProjPath)(file)));
43
+ if (typeof content === 'string') {
44
+ (0, fs_extra_1.writeFileSync)((0, paths_1.tmpProjPath)(file), content);
45
+ }
46
+ else {
47
+ (0, fs_extra_1.writeFileSync)((0, paths_1.tmpProjPath)(file), content((0, fs_extra_1.readFileSync)((0, paths_1.tmpProjPath)(file)).toString()));
48
+ }
49
+ }
50
+ exports.updateFile = updateFile;
51
+ /**
52
+ * Rename a file or directory within the e2e directory.
53
+ * @param path Original path
54
+ * @param newPath New path
55
+ */
56
+ function renameFile(path, newPath) {
57
+ (0, fs_extra_1.ensureDirSync)((0, path_1.dirname)((0, paths_1.tmpProjPath)(newPath)));
58
+ (0, fs_extra_1.renameSync)((0, paths_1.tmpProjPath)(path), (0, paths_1.tmpProjPath)(newPath));
59
+ }
60
+ exports.renameFile = renameFile;
61
+ /**
62
+ * Check if the file or directory exists.
63
+ *
64
+ * If a path starts with `/` or `C:/`, it will check it as absolute. Otherwise it will check within the e2e directory.
65
+ *
66
+ * @param expectedPaths Files or directories to check
67
+ * @usage `checkFileExists('file1', 'file2', '/var/user/file')`
68
+ */
69
+ function checkFilesExist(...expectedPaths) {
70
+ expectedPaths.forEach((path) => {
71
+ const filePath = (0, path_1.isAbsolute)(path) ? path : (0, paths_1.tmpProjPath)(path);
72
+ if (!exists(filePath)) {
73
+ throw new Error(`'${filePath}' does not exist`);
74
+ }
75
+ });
76
+ }
77
+ exports.checkFilesExist = checkFilesExist;
78
+ /**
79
+ * Get a list of all files within a directory.
80
+ * @param dirName Directory name within the e2e directory.
81
+ */
82
+ function listFiles(dirName) {
83
+ return (0, fs_extra_1.readdirSync)((0, paths_1.tmpProjPath)(dirName));
84
+ }
85
+ exports.listFiles = listFiles;
86
+ /**
87
+ * Read a JSON file.
88
+ * @param path Path to the JSON file. Absolute or relative to the e2e directory.
89
+ * @param options JSON parse options
90
+ */
91
+ function readJson(path, options) {
92
+ return (0, devkit_1.parseJson)(readFile(path), options);
93
+ }
94
+ exports.readJson = readJson;
95
+ /**
96
+ * Read a file.
97
+ * @param path Path to the file. Absolute or relative to the e2e directory.
98
+ */
99
+ function readFile(path) {
100
+ const filePath = (0, path_1.isAbsolute)(path) ? path : (0, paths_1.tmpProjPath)(path);
101
+ return (0, fs_extra_1.readFileSync)(filePath, 'utf-8');
102
+ }
103
+ exports.readFile = readFile;
104
+ /**
105
+ * Deletes the e2e directory
106
+ */
107
+ function cleanup() {
108
+ (0, fs_extra_1.removeSync)((0, paths_1.tmpProjPath)());
109
+ }
110
+ exports.cleanup = cleanup;
111
+ /**
112
+ * Remove the dist folder from the e2e directory
113
+ */
114
+ function rmDist() {
115
+ (0, fs_extra_1.removeSync)(`${(0, paths_1.tmpProjPath)()}/dist`);
116
+ }
117
+ exports.rmDist = rmDist;
118
+ function removeTmpProject(project) {
119
+ (0, fs_extra_1.removeSync)(`${(0, paths_1.tmpFolder)()}/${project}`);
120
+ }
121
+ exports.removeTmpProject = removeTmpProject;
122
+ /**
123
+ * Get the currend `cwd` in the process
124
+ */
125
+ function getCwd() {
126
+ return process.cwd();
127
+ }
128
+ exports.getCwd = getCwd;
129
+ /**
130
+ * Check if a file or directory exists.
131
+ * @param path Path to file or directory
132
+ */
133
+ function exists(path) {
134
+ return (0, fileutils_1.directoryExists)(path) || (0, fileutils_1.fileExists)(path);
135
+ }
136
+ exports.exists = exists;
137
+ /**
138
+ * Get the size of a file on disk
139
+ * @param filePath Path to the file
140
+ */
141
+ function getSize(filePath) {
142
+ return (0, fs_extra_1.statSync)(filePath).size;
143
+ }
144
+ exports.getSize = getSize;
145
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../../packages/plugin/src/utils/testing-utils/utils.ts"],"names":[],"mappings":";;;AAAA,uCASkB;AA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;AAHD,4BAGC;AAED;;GAEG;AACH,SAAgB,OAAO;IACrB,IAAA,qBAAU,EAAC,IAAA,mBAAW,GAAE,CAAC,CAAC;AAC5B,CAAC;AAFD,0BAEC;AAED;;GAEG;AACH,SAAgB,MAAM;IACpB,IAAA,qBAAU,EAAC,GAAG,IAAA,mBAAW,GAAE,OAAO,CAAC,CAAC;AACtC,CAAC;AAFD,wBAEC;AAED,SAAgB,gBAAgB,CAAC,OAAe;IAC9C,IAAA,qBAAU,EAAC,GAAG,IAAA,iBAAS,GAAE,IAAI,OAAO,EAAE,CAAC,CAAC;AAC1C,CAAC;AAFD,4CAEC;AAED;;GAEG;AACH,SAAgB,MAAM;IACpB,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC;AACvB,CAAC;AAFD,wBAEC;AAED;;;GAGG;AACH,SAAgB,MAAM,CAAC,IAAY;IACjC,OAAO,IAAA,2BAAe,EAAC,IAAI,CAAC,IAAI,IAAA,sBAAU,EAAC,IAAI,CAAC,CAAC;AACnD,CAAC;AAFD,wBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,QAAgB;IACtC,OAAO,IAAA,mBAAQ,EAAC,QAAQ,CAAC,CAAC,IAAI,CAAC;AACjC,CAAC;AAFD,0BAEC"}
@@ -0,0 +1 @@
1
+ export declare const jsoncEslintParserVersion = "^2.1.0";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.jsoncEslintParserVersion = void 0;
4
+ exports.jsoncEslintParserVersion = '^2.1.0';
5
+ //# sourceMappingURL=versions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/plugin/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG,QAAQ,CAAC"}
package/testing.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './src/utils/testing-utils';
package/testing.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./src/utils/testing-utils"), exports);
5
+ //# sourceMappingURL=testing.js.map
package/testing.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testing.js","sourceRoot":"","sources":["../../../packages/plugin/testing.ts"],"names":[],"mappings":";;;AAAA,oEAA0C"}