create-nx-plugin 22.2.0 → 22.2.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.
- package/bin/create-nx-plugin.js +7 -2
- package/package.json +2 -2
package/bin/create-nx-plugin.js
CHANGED
|
@@ -97,13 +97,12 @@ 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
102
|
meta: [
|
|
103
103
|
ab_testing_1.messages.codeOfSelectedPromptMessage('setupCI'),
|
|
104
104
|
ab_testing_1.messages.codeOfSelectedPromptMessage('setupNxCloud'),
|
|
105
105
|
],
|
|
106
|
-
directory: workspaceInfo.directory,
|
|
107
106
|
});
|
|
108
107
|
if (parsedArgs.nxCloud && workspaceInfo.nxCloudInfo) {
|
|
109
108
|
console.log(workspaceInfo.nxCloudInfo);
|
|
@@ -118,6 +117,12 @@ async function main(parsedArgs) {
|
|
|
118
117
|
async function normalizeArgsMiddleware(argv) {
|
|
119
118
|
rawArgs = { ...argv };
|
|
120
119
|
try {
|
|
120
|
+
await (0, ab_testing_1.recordStat)({
|
|
121
|
+
nxVersion,
|
|
122
|
+
command: 'create-nx-plugin',
|
|
123
|
+
meta: ['start'],
|
|
124
|
+
useCloud: argv.nxCloud !== 'skip',
|
|
125
|
+
});
|
|
121
126
|
const pluginName = await determinePluginName(argv);
|
|
122
127
|
const createPackageName = await determineCreatePackageName(argv);
|
|
123
128
|
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.1",
|
|
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.1",
|
|
33
33
|
"picocolors": "^1.1.0",
|
|
34
34
|
"enquirer": "~2.3.6",
|
|
35
35
|
"tslib": "^2.3.0",
|