create-unisphere-project 2.7.1 → 2.8.0

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/dist/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # create-unisphere-project
2
2
 
3
+ ## 2.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - documetatoin update
8
+
9
+ ## 2.7.2
10
+
11
+ ### Patch Changes
12
+
13
+ - sync templates with @unisphere/nx@3.23.0 migrations
14
+ - pin @unisphere/nx to 3.23.0
15
+
3
16
  ## 2.7.1
4
17
 
5
18
  ### Patch Changes
@@ -42,7 +42,7 @@
42
42
  "@types/react-dom": "19.2.3",
43
43
  "@typescript-eslint/eslint-plugin": "^7.3.0",
44
44
  "@typescript-eslint/parser": "^7.3.0",
45
- "@unisphere/nx": "3.22.0",
45
+ "@unisphere/nx": "3.23.0",
46
46
  "@vitejs/plugin-react": "4.7.0",
47
47
  "@vitest/coverage-v8": "^1.0.4",
48
48
  "@vitest/ui": "^1.3.1",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-unisphere-project",
3
- "version": "2.7.1",
3
+ "version": "2.8.0",
4
4
  "private": false,
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -1 +1 @@
1
- {"version":3,"file":"create-unisphere-repo-command.d.ts","sourceRoot":"","sources":["../../../src/lib/create-unisphere-repo-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAsC5C,eAAO,MAAM,gCAAgC,GAC3C,eAAe,OAAO,KACrB,OAuWF,CAAC"}
1
+ {"version":3,"file":"create-unisphere-repo-command.d.ts","sourceRoot":"","sources":["../../../src/lib/create-unisphere-repo-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAsC5C,eAAO,MAAM,gCAAgC,GAC3C,eAAe,OAAO,KACrB,OA2XF,CAAC"}
@@ -270,6 +270,24 @@ legacy-peer-deps=true`);
270
270
  task.title = 'Types package created';
271
271
  },
272
272
  },
273
+ {
274
+ title: 'Create documentation site',
275
+ skip: () => options.skipPackagesCreation,
276
+ task: async (ctx, task) => {
277
+ const packageName = options.nxpluginPath || '@unisphere/nx';
278
+ const createDocumentationCommand = `npx nx g ${packageName}:add-documentation --isExperienceLevel --skipInstall --no-interactive`;
279
+ debug(`Running: ${createDocumentationCommand}`);
280
+ task.title = 'Creating documentation site';
281
+ (0, child_process_1.execSync)(createDocumentationCommand, {
282
+ cwd: newProjectPath,
283
+ stdio: 'inherit',
284
+ env: {
285
+ ...process.env
286
+ }
287
+ });
288
+ task.title = 'Documentation site created';
289
+ },
290
+ },
273
291
  {
274
292
  title: 'Initialize git repository',
275
293
  task: async (ctx, task) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-unisphere-project",
3
- "version": "2.7.1",
3
+ "version": "2.8.0",
4
4
  "private": false,
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",