create-nx-plugin 22.2.1 → 22.2.3
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/bin/create-nx-plugin.js +11 -5
- package/package.json +2 -2
package/bin/create-nx-plugin.js
CHANGED
|
@@ -99,10 +99,14 @@ async function main(parsedArgs) {
|
|
|
99
99
|
nxVersion,
|
|
100
100
|
command: 'create-nx-plugin',
|
|
101
101
|
useCloud: parsedArgs.nxCloud !== 'skip',
|
|
102
|
-
meta:
|
|
103
|
-
|
|
104
|
-
ab_testing_1.messages.codeOfSelectedPromptMessage('
|
|
105
|
-
|
|
102
|
+
meta: {
|
|
103
|
+
type: 'complete',
|
|
104
|
+
setupCIPrompt: ab_testing_1.messages.codeOfSelectedPromptMessage('setupCI'),
|
|
105
|
+
setupCloudPrompt: ab_testing_1.messages.codeOfSelectedPromptMessage('setupNxCloud'),
|
|
106
|
+
nxCloudArg: parsedArgs.nxCloud ?? '',
|
|
107
|
+
nxCloudArgRaw: rawArgs.nxCloud ?? '',
|
|
108
|
+
pushedToVcs: '',
|
|
109
|
+
},
|
|
106
110
|
});
|
|
107
111
|
if (parsedArgs.nxCloud && workspaceInfo.nxCloudInfo) {
|
|
108
112
|
console.log(workspaceInfo.nxCloudInfo);
|
|
@@ -120,7 +124,9 @@ async function normalizeArgsMiddleware(argv) {
|
|
|
120
124
|
await (0, ab_testing_1.recordStat)({
|
|
121
125
|
nxVersion,
|
|
122
126
|
command: 'create-nx-plugin',
|
|
123
|
-
meta:
|
|
127
|
+
meta: {
|
|
128
|
+
type: 'start',
|
|
129
|
+
},
|
|
124
130
|
useCloud: argv.nxCloud !== 'skip',
|
|
125
131
|
});
|
|
126
132
|
const pluginName = await determinePluginName(argv);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nx-plugin",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "This package is used to scaffold a brand-new workspace used to develop an Nx plugin, and sets up a pre-configured plugin with the specified name. The new plugin is created with a default generator, executor, and e2e app.",
|
|
6
6
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://nx.dev",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"create-nx-workspace": "22.2.
|
|
32
|
+
"create-nx-workspace": "22.2.3",
|
|
33
33
|
"picocolors": "^1.1.0",
|
|
34
34
|
"enquirer": "~2.3.6",
|
|
35
35
|
"tslib": "^2.3.0",
|