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 +15 -0
- package/dist/_templates/unisphere-project/.eslintrc.json +1 -1
- package/dist/_templates/unisphere-project/gitignore +4 -0
- package/dist/_templates/unisphere-project/package.json +1 -1
- package/dist/package.json +1 -1
- package/dist/src/lib/create-unisphere-repo-command.js +1 -1
- package/package.json +1 -1
- package/dist/_templates/unisphere-project/patches/@nx+rollup+22.1.3.patch +0 -27
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
|
|
@@ -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.
|
|
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
|
@@ -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 ? '
|
|
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,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
|
-
},
|