create-nx-plugin 22.2.0 → 22.2.2
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 +17 -6
- package/package.json +2 -2
package/bin/create-nx-plugin.js
CHANGED
|
@@ -97,13 +97,16 @@ async function main(parsedArgs) {
|
|
|
97
97
|
const workspaceInfo = await (0, create_nx_workspace_1.createWorkspace)(`@nx/plugin@${nxVersion}`, populatedArguments, rawArgs);
|
|
98
98
|
await (0, ab_testing_1.recordStat)({
|
|
99
99
|
nxVersion,
|
|
100
|
-
command: 'create-nx-
|
|
100
|
+
command: 'create-nx-plugin',
|
|
101
101
|
useCloud: parsedArgs.nxCloud !== 'skip',
|
|
102
|
-
meta:
|
|
103
|
-
|
|
104
|
-
ab_testing_1.messages.codeOfSelectedPromptMessage('
|
|
105
|
-
|
|
106
|
-
|
|
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
|
+
},
|
|
107
110
|
});
|
|
108
111
|
if (parsedArgs.nxCloud && workspaceInfo.nxCloudInfo) {
|
|
109
112
|
console.log(workspaceInfo.nxCloudInfo);
|
|
@@ -118,6 +121,14 @@ async function main(parsedArgs) {
|
|
|
118
121
|
async function normalizeArgsMiddleware(argv) {
|
|
119
122
|
rawArgs = { ...argv };
|
|
120
123
|
try {
|
|
124
|
+
await (0, ab_testing_1.recordStat)({
|
|
125
|
+
nxVersion,
|
|
126
|
+
command: 'create-nx-plugin',
|
|
127
|
+
meta: {
|
|
128
|
+
type: 'start',
|
|
129
|
+
},
|
|
130
|
+
useCloud: argv.nxCloud !== 'skip',
|
|
131
|
+
});
|
|
121
132
|
const pluginName = await determinePluginName(argv);
|
|
122
133
|
const createPackageName = await determineCreatePackageName(argv);
|
|
123
134
|
const packageManager = await (0, prompts_1.determinePackageManager)(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.2",
|
|
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.2",
|
|
33
33
|
"picocolors": "^1.1.0",
|
|
34
34
|
"enquirer": "~2.3.6",
|
|
35
35
|
"tslib": "^2.3.0",
|