create-unisphere-project 2.5.1 → 2.7.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,20 @@
1
1
  # create-unisphere-project
2
2
 
3
+ ## 2.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fix vite deps issue
8
+
9
+ ## 2.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - sync templates with @unisphere/nx@3.19.3 migrations
14
+ - add user-scripts/ and Claude Code config to .gitignore
15
+ - remove outdated @nx/rollup patch file
16
+ - pin @unisphere/nx to 3.19.3
17
+
3
18
  ## 2.5.1
4
19
 
5
20
  ### Patch Changes
@@ -38,7 +38,7 @@
38
38
  "parser": "jsonc-eslint-parser",
39
39
  "rules": {
40
40
  "@nx/dependency-checks": ["error", {
41
- "ignoredFiles": ["**/vite.config.ts", "**/rollup.config.js"]
41
+ "ignoredFiles": ["**/vite.config.{ts,mts,js,mjs}", "**/rollup.config.{js,mjs}"]
42
42
  }]
43
43
  }
44
44
  }
@@ -49,4 +49,8 @@ storybook-static
49
49
  # Migration files
50
50
  migrations.json
51
51
  ai-migrations
52
+ user-scripts/
52
53
 
54
+ # Claude Code configuration
55
+ .claude/*
56
+ !.claude/skills
@@ -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.7.0",
45
+ "@unisphere/nx": "3.19.3",
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.5.1",
3
+ "version": "2.7.0",
4
4
  "private": false,
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -245,7 +245,7 @@ legacy-peer-deps=true`);
245
245
  skip: () => options.skipPackagesCreation,
246
246
  task: async (ctx, task) => {
247
247
  const packageName = options.nxpluginPath || '@unisphere/nx';
248
- const createTypesCommand = `npx nx g ${packageName}:add-package --packageName="types" --scope="${_isInternalProduct ? 'internal' : 'public'}" --no-interactive`;
248
+ const createTypesCommand = `npx nx g ${packageName}:add-package --packageName="types" --scope="${_isInternalProduct ? 'kaltura-corp' : 'unisphere'}" --no-interactive`;
249
249
  debug(`Running: ${createTypesCommand}`);
250
250
  task.title = 'Creating types package';
251
251
  (0, child_process_1.execSync)(createTypesCommand, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-unisphere-project",
3
- "version": "2.5.1",
3
+ "version": "2.7.0",
4
4
  "private": false,
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -1,27 +0,0 @@
1
- diff --git a/node_modules/@nx/rollup/src/plugins/with-nx/with-nx.js b/node_modules/@nx/rollup/src/plugins/with-nx/with-nx.js
2
- index 1135bba..4762053 100644
3
- --- a/node_modules/@nx/rollup/src/plugins/with-nx/with-nx.js
4
- +++ b/node_modules/@nx/rollup/src/plugins/with-nx/with-nx.js
5
- @@ -149,7 +149,13 @@ dependencies) {
6
- else {
7
- options.generatePackageJson ??= true;
8
- }
9
- - const compilerOptions = createTsCompilerOptions(projectRoot, tsConfig, options, dependencies);
10
- + let compilerOptionsInterceptor = ((config) => config);
11
- + if (rollupConfig.unisphere?.interceptors?.compilerOptions) {
12
- + console.log(`[unisphere.nx.rollup] using monkey patched interceptor for TS compiler options`);
13
- + compilerOptionsInterceptor = rollupConfig.unisphere?.interceptors?.compilerOptions;
14
- + }
15
- +
16
- + const compilerOptions = compilerOptionsInterceptor(createTsCompilerOptions(projectRoot, tsConfig, options, dependencies));
17
- compilerOptions.outDir = Array.isArray(finalConfig.output)
18
- ? finalConfig.output[0].dir
19
- : finalConfig.output.dir;
20
- @@ -170,6 +176,7 @@ dependencies) {
21
- return require('rollup-plugin-typescript2')({
22
- check: !options.skipTypeCheck,
23
- tsconfig: tsConfigPath,
24
- + exclude: ['**/*.stories.ts', '**/*.stories.tsx'],
25
- tsconfigOverride: {
26
- compilerOptions,
27
- },