@idealyst/cli 1.0.99 → 1.1.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/dist/index.js CHANGED
File without changes
File without changes
@@ -17,6 +17,15 @@ const config = {
17
17
  ],
18
18
  // Important for Idealyst to use .native extensions for React Native (eg: @idealyst/components/src/Button/Button.native.tsx)
19
19
  sourceExts: ['native.tsx', 'native.ts', 'tsx', 'ts', 'native.jsx', 'native.js', 'jsx', 'js', 'json', 'cjs'],
20
+ extraNodeModules: {
21
+ // Redirect react and react-native imports to the local node_modules
22
+ react: path.resolve(__dirname, 'node_modules/react'),
23
+ 'react-native': path.resolve(__dirname, 'node_modules/react-native'),
24
+ // Ensure Idealyst packages use mobile's node_modules
25
+ '@idealyst/components': path.resolve(__dirname, 'node_modules/@idealyst/components'),
26
+ '@idealyst/navigation': path.resolve(__dirname, 'node_modules/@idealyst/navigation'),
27
+ '@idealyst/theme': path.resolve(__dirname, 'node_modules/@idealyst/theme'),
28
+ },
20
29
  },
21
30
  watcher: {
22
31
  // When configuring custom components with .native extensions, make sure the watcher looks for them
@@ -22,8 +22,8 @@
22
22
  "@trpc/client": "^11.5.1",
23
23
  "@trpc/react-query": "^11.5.1",
24
24
  "@trpc/server": "^11.5.1",
25
- "react": "19.1.1",
26
- "react-native": "0.82.1",
25
+ "react": "^19.2.0",
26
+ "react-native": "^0.83.1",
27
27
  "react-native-edge-to-edge": "^1.6.2",
28
28
  "react-native-gesture-handler": "^2.27.1",
29
29
  "react-native-nitro-modules": "^0.30.0",
@@ -39,18 +39,18 @@
39
39
  "@babel/core": "^7.20.0",
40
40
  "@babel/preset-env": "^7.20.0",
41
41
  "@babel/runtime": "^7.20.0",
42
- "@react-native/babel-preset": "^0.73.0",
43
- "@react-native/eslint-config": "^0.73.0",
44
- "@react-native/metro-config": "^0.73.0",
45
- "@react-native/typescript-config": "^0.73.0",
42
+ "@react-native/babel-preset": "^0.83.0",
43
+ "@react-native/eslint-config": "^0.83.0",
44
+ "@react-native/metro-config": "^0.83.0",
45
+ "@react-native/typescript-config": "^0.83.0",
46
46
  "@types/jest": "^29.5.12",
47
- "@types/react": "^18.2.6",
48
- "@types/react-test-renderer": "^18.0.7",
47
+ "@types/react": "^19.2.0",
48
+ "@types/react-test-renderer": "^19.0.0",
49
49
  "eslint": "^8.19.0",
50
50
  "jest": "^29.6.3",
51
51
  "metro-react-native-babel-preset": "^0.76.8",
52
52
  "prettier": "^2.4.1",
53
- "react-test-renderer": "^18.2.0",
53
+ "react-test-renderer": "^19.2.0",
54
54
  "typescript": "^5.0.4"
55
55
  },
56
56
  "idealyst": {
@@ -26,8 +26,8 @@
26
26
  "@trpc/client": "^11.5.1",
27
27
  "@trpc/react-query": "^11.5.1",
28
28
  "@trpc/server": "^11.5.1",
29
- "react": "^19.1.0",
30
- "react-native": "^0.80.1",
29
+ "react": "^19.2.0",
30
+ "react-native": "^0.83.1",
31
31
  "@{{workspaceScope}}/api": "*"
32
32
  },
33
33
  "peerDependenciesMeta": {
@@ -50,7 +50,7 @@
50
50
  "@trpc/react-query": "^11.5.1",
51
51
  "@trpc/server": "^11.5.1",
52
52
  "@types/jest": "^29.5.12",
53
- "@types/react": "^19.1.0",
53
+ "@types/react": "^19.2.0",
54
54
  "jest": "^29.7.0",
55
55
  "ts-jest": "^29.1.2",
56
56
  "typescript": "^5.0.0"
@@ -21,7 +21,7 @@
21
21
  "@{{workspaceScope}}/api": "workspace:*",
22
22
  "@mdi/js": "^7.4.47",
23
23
  "@mdi/react": "^1.6.1",
24
- "@react-native/normalize-colors": "^0.80.1",
24
+ "@react-native/normalize-colors": "^0.83.1",
25
25
  "@tanstack/react-query": "^5.83.0",
26
26
  "@trpc/client": "^11.5.1",
27
27
  "@trpc/react-query": "^11.5.1",
@@ -29,9 +29,9 @@
29
29
  "@types/react-router-dom": "^5.3.3",
30
30
  "compression": "^1.7.4",
31
31
  "express": "^4.18.2",
32
- "react": "^19.1.0",
33
- "react-dom": "^19.1.0",
34
- "react-native": "^0.80.1",
32
+ "react": "^19.2.0",
33
+ "react-dom": "^19.2.0",
34
+ "react-native": "^0.83.1",
35
35
  "react-native-edge-to-edge": "^1.6.2",
36
36
  "react-native-nitro-modules": "0.30.0",
37
37
  "react-native-unistyles": "^3.0.10",
@@ -51,8 +51,8 @@
51
51
  "@types/compression": "^1.7.5",
52
52
  "@types/express": "^4.17.21",
53
53
  "@types/jest": "^29.5.12",
54
- "@types/react": "^19.1.0",
55
- "@types/react-dom": "^19.1.0",
54
+ "@types/react": "^19.2.0",
55
+ "@types/react-dom": "^19.2.0",
56
56
  "@typescript-eslint/eslint-plugin": "^7.2.0",
57
57
  "@typescript-eslint/parser": "^7.2.0",
58
58
  "@vitejs/plugin-react": "^4.6.0",
@@ -48,7 +48,7 @@ export default defineConfig({
48
48
  "react-native": path.resolve(__dirname, "node_modules/react-native-web"),
49
49
  "@react-native/normalize-colors": path.resolve(
50
50
  __dirname,
51
- "../../node_modules/@react-native/normalize-colors"
51
+ "node_modules/@react-native/normalize-colors"
52
52
  ),
53
53
  },
54
54
  // Platform-specific file resolution
@@ -1,31 +1,22 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "ES2020",
4
- "lib": ["ES2020"],
5
- "module": "commonjs",
4
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
5
+ "module": "ESNext",
6
+ "moduleResolution": "bundler",
6
7
  "esModuleInterop": true,
7
8
  "allowSyntheticDefaultImports": true,
8
9
  "strict": true,
9
10
  "skipLibCheck": true,
10
11
  "forceConsistentCasingInFileNames": true,
11
- "declaration": true,
12
- "declarationMap": true,
13
- "sourceMap": true,
14
- "outDir": "./dist",
15
- "rootDir": "./src"
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "react-jsx"
16
15
  },
17
- "include": [
18
- "packages/*/src/**/*"
19
- ],
20
16
  "exclude": [
21
17
  "node_modules",
22
18
  "dist",
23
- "**/*.test.ts",
24
- "**/*.spec.ts"
25
- ],
26
- "references": [
27
- {
28
- "path": "./packages/*"
29
- }
19
+ "**/node_modules",
20
+ "**/dist"
30
21
  ]
31
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idealyst/cli",
3
- "version": "1.0.99",
3
+ "version": "1.1.1",
4
4
  "description": "CLI tool for generating Idealyst Framework projects",
5
5
  "readme": "README.md",
6
6
  "main": "dist/index.js",
@@ -67,4 +67,4 @@
67
67
  "cross-platform",
68
68
  "idealyst"
69
69
  ]
70
- }
70
+ }
File without changes
@@ -22,8 +22,8 @@
22
22
  "@trpc/client": "^11.5.1",
23
23
  "@trpc/react-query": "^11.5.1",
24
24
  "@trpc/server": "^11.5.1",
25
- "react": "19.1.1",
26
- "react-native": "0.82.1",
25
+ "react": "^19.2.0",
26
+ "react-native": "^0.83.1",
27
27
  "react-native-edge-to-edge": "^1.6.2",
28
28
  "react-native-gesture-handler": "^2.27.1",
29
29
  "react-native-nitro-modules": "^0.30.0",
@@ -39,18 +39,18 @@
39
39
  "@babel/core": "^7.20.0",
40
40
  "@babel/preset-env": "^7.20.0",
41
41
  "@babel/runtime": "^7.20.0",
42
- "@react-native/babel-preset": "^0.73.0",
43
- "@react-native/eslint-config": "^0.73.0",
44
- "@react-native/metro-config": "^0.73.0",
45
- "@react-native/typescript-config": "^0.73.0",
42
+ "@react-native/babel-preset": "^0.83.0",
43
+ "@react-native/eslint-config": "^0.83.0",
44
+ "@react-native/metro-config": "^0.83.0",
45
+ "@react-native/typescript-config": "^0.83.0",
46
46
  "@types/jest": "^29.5.12",
47
- "@types/react": "^18.2.6",
48
- "@types/react-test-renderer": "^18.0.7",
47
+ "@types/react": "^19.2.0",
48
+ "@types/react-test-renderer": "^19.0.0",
49
49
  "eslint": "^8.19.0",
50
50
  "jest": "^29.6.3",
51
51
  "metro-react-native-babel-preset": "^0.76.8",
52
52
  "prettier": "^2.4.1",
53
- "react-test-renderer": "^18.2.0",
53
+ "react-test-renderer": "^19.2.0",
54
54
  "typescript": "^5.0.4"
55
55
  },
56
56
  "idealyst": {
@@ -26,8 +26,8 @@
26
26
  "@trpc/client": "^11.5.1",
27
27
  "@trpc/react-query": "^11.5.1",
28
28
  "@trpc/server": "^11.5.1",
29
- "react": "^19.1.0",
30
- "react-native": "^0.80.1",
29
+ "react": "^19.2.0",
30
+ "react-native": "^0.83.1",
31
31
  "@{{workspaceScope}}/api": "*"
32
32
  },
33
33
  "peerDependenciesMeta": {
@@ -50,7 +50,7 @@
50
50
  "@trpc/react-query": "^11.5.1",
51
51
  "@trpc/server": "^11.5.1",
52
52
  "@types/jest": "^29.5.12",
53
- "@types/react": "^19.1.0",
53
+ "@types/react": "^19.2.0",
54
54
  "jest": "^29.7.0",
55
55
  "ts-jest": "^29.1.2",
56
56
  "typescript": "^5.0.0"
@@ -21,7 +21,7 @@
21
21
  "@{{workspaceScope}}/api": "workspace:*",
22
22
  "@mdi/js": "^7.4.47",
23
23
  "@mdi/react": "^1.6.1",
24
- "@react-native/normalize-colors": "^0.80.1",
24
+ "@react-native/normalize-colors": "^0.83.1",
25
25
  "@tanstack/react-query": "^5.83.0",
26
26
  "@trpc/client": "^11.5.1",
27
27
  "@trpc/react-query": "^11.5.1",
@@ -29,9 +29,9 @@
29
29
  "@types/react-router-dom": "^5.3.3",
30
30
  "compression": "^1.7.4",
31
31
  "express": "^4.18.2",
32
- "react": "^19.1.0",
33
- "react-dom": "^19.1.0",
34
- "react-native": "^0.80.1",
32
+ "react": "^19.2.0",
33
+ "react-dom": "^19.2.0",
34
+ "react-native": "^0.83.1",
35
35
  "react-native-edge-to-edge": "^1.6.2",
36
36
  "react-native-nitro-modules": "0.30.0",
37
37
  "react-native-unistyles": "^3.0.10",
@@ -51,8 +51,8 @@
51
51
  "@types/compression": "^1.7.5",
52
52
  "@types/express": "^4.17.21",
53
53
  "@types/jest": "^29.5.12",
54
- "@types/react": "^19.1.0",
55
- "@types/react-dom": "^19.1.0",
54
+ "@types/react": "^19.2.0",
55
+ "@types/react-dom": "^19.2.0",
56
56
  "@typescript-eslint/eslint-plugin": "^7.2.0",
57
57
  "@typescript-eslint/parser": "^7.2.0",
58
58
  "@vitejs/plugin-react": "^4.6.0",
@@ -48,7 +48,7 @@ export default defineConfig({
48
48
  "react-native": path.resolve(__dirname, "node_modules/react-native-web"),
49
49
  "@react-native/normalize-colors": path.resolve(
50
50
  __dirname,
51
- "../../node_modules/@react-native/normalize-colors"
51
+ "node_modules/@react-native/normalize-colors"
52
52
  ),
53
53
  },
54
54
  // Platform-specific file resolution
@@ -1,31 +1,22 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "ES2020",
4
- "lib": ["ES2020"],
5
- "module": "commonjs",
4
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
5
+ "module": "ESNext",
6
+ "moduleResolution": "bundler",
6
7
  "esModuleInterop": true,
7
8
  "allowSyntheticDefaultImports": true,
8
9
  "strict": true,
9
10
  "skipLibCheck": true,
10
11
  "forceConsistentCasingInFileNames": true,
11
- "declaration": true,
12
- "declarationMap": true,
13
- "sourceMap": true,
14
- "outDir": "./dist",
15
- "rootDir": "./src"
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "react-jsx"
16
15
  },
17
- "include": [
18
- "packages/*/src/**/*"
19
- ],
20
16
  "exclude": [
21
17
  "node_modules",
22
18
  "dist",
23
- "**/*.test.ts",
24
- "**/*.spec.ts"
25
- ],
26
- "references": [
27
- {
28
- "path": "./packages/*"
29
- }
19
+ "**/node_modules",
20
+ "**/dist"
30
21
  ]
31
22
  }