@idevconn/create-icore 0.6.1 → 0.6.2

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/cli.js CHANGED
@@ -452,6 +452,13 @@ async function removePaymentStack(targetDir) {
452
452
  "@idevconn/payment"
453
453
  ]);
454
454
  await stripGatewayTransport(targetDir, "PAYMENT");
455
+ const mainTsPath = join2(targetDir, "apps/api/src/main.ts");
456
+ try {
457
+ const src = await readFile2(mainTsPath, "utf8");
458
+ const next = src.replace(/\n\s*\{ name: 'payment', prefix: 'PAYMENT' \},/, "");
459
+ await writeFile(mainTsPath, next);
460
+ } catch {
461
+ }
455
462
  }
456
463
  async function removeNotesStack(targetDir) {
457
464
  for (const p3 of [
@@ -477,6 +484,13 @@ async function removeNotesStack(targetDir) {
477
484
  "@casl/ability"
478
485
  ]);
479
486
  await stripGatewayTransport(targetDir, "NOTES");
487
+ const mainTsPath = join2(targetDir, "apps/api/src/main.ts");
488
+ try {
489
+ const src = await readFile2(mainTsPath, "utf8");
490
+ const next = src.replace(/\n\s*\{ name: 'notes', prefix: 'NOTES' \},/, "");
491
+ await writeFile(mainTsPath, next);
492
+ } catch {
493
+ }
480
494
  const tsconfigPath = join2(targetDir, "tsconfig.base.json");
481
495
  try {
482
496
  const src = await readFile2(tsconfigPath, "utf8");
package/dist/index.cjs CHANGED
@@ -258,6 +258,13 @@ async function removePaymentStack(targetDir) {
258
258
  "@idevconn/payment"
259
259
  ]);
260
260
  await stripGatewayTransport(targetDir, "PAYMENT");
261
+ const mainTsPath = (0, import_node_path.join)(targetDir, "apps/api/src/main.ts");
262
+ try {
263
+ const src = await (0, import_promises.readFile)(mainTsPath, "utf8");
264
+ const next = src.replace(/\n\s*\{ name: 'payment', prefix: 'PAYMENT' \},/, "");
265
+ await (0, import_promises.writeFile)(mainTsPath, next);
266
+ } catch {
267
+ }
261
268
  }
262
269
  async function removeNotesStack(targetDir) {
263
270
  for (const p2 of [
@@ -283,6 +290,13 @@ async function removeNotesStack(targetDir) {
283
290
  "@casl/ability"
284
291
  ]);
285
292
  await stripGatewayTransport(targetDir, "NOTES");
293
+ const mainTsPath = (0, import_node_path.join)(targetDir, "apps/api/src/main.ts");
294
+ try {
295
+ const src = await (0, import_promises.readFile)(mainTsPath, "utf8");
296
+ const next = src.replace(/\n\s*\{ name: 'notes', prefix: 'NOTES' \},/, "");
297
+ await (0, import_promises.writeFile)(mainTsPath, next);
298
+ } catch {
299
+ }
286
300
  const tsconfigPath = (0, import_node_path.join)(targetDir, "tsconfig.base.json");
287
301
  try {
288
302
  const src = await (0, import_promises.readFile)(tsconfigPath, "utf8");
package/dist/index.js CHANGED
@@ -216,6 +216,13 @@ async function removePaymentStack(targetDir) {
216
216
  "@idevconn/payment"
217
217
  ]);
218
218
  await stripGatewayTransport(targetDir, "PAYMENT");
219
+ const mainTsPath = join(targetDir, "apps/api/src/main.ts");
220
+ try {
221
+ const src = await readFile(mainTsPath, "utf8");
222
+ const next = src.replace(/\n\s*\{ name: 'payment', prefix: 'PAYMENT' \},/, "");
223
+ await writeFile(mainTsPath, next);
224
+ } catch {
225
+ }
219
226
  }
220
227
  async function removeNotesStack(targetDir) {
221
228
  for (const p2 of [
@@ -241,6 +248,13 @@ async function removeNotesStack(targetDir) {
241
248
  "@casl/ability"
242
249
  ]);
243
250
  await stripGatewayTransport(targetDir, "NOTES");
251
+ const mainTsPath = join(targetDir, "apps/api/src/main.ts");
252
+ try {
253
+ const src = await readFile(mainTsPath, "utf8");
254
+ const next = src.replace(/\n\s*\{ name: 'notes', prefix: 'NOTES' \},/, "");
255
+ await writeFile(mainTsPath, next);
256
+ } catch {
257
+ }
244
258
  const tsconfigPath = join(targetDir, "tsconfig.base.json");
245
259
  try {
246
260
  const src = await readFile(tsconfigPath, "utf8");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idevconn/create-icore",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Bootstrap a new project from the iCore scaffold (Nx + NestJS + React + Vite + shadcn/Tailwind, swappable auth + storage providers).",
5
5
  "license": "Apache-2.0",
6
6
  "author": "iDEVconn",
@@ -10,8 +10,6 @@ import pkg from '@icore/package.json';
10
10
  const GATEWAY_SERVICES = [
11
11
  { name: 'auth', prefix: 'AUTH' },
12
12
  { name: 'upload', prefix: 'UPLOAD' },
13
- { name: 'notes', prefix: 'NOTES' },
14
- { name: 'payment', prefix: 'PAYMENT' },
15
13
  ];
16
14
 
17
15
  const DEFAULT_PORT = 3001;
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "jobs",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "dependencies": {
6
+ "@icore/shared": "*",
7
+ "@nestjs/common": "^11.1.24",
8
+ "@nestjs/config": "^4.0.4",
9
+ "@nestjs/core": "^11.1.24",
10
+ "bullmq": "^5.77.6",
11
+ "ioredis": "^5.11.0",
12
+ "reflect-metadata": "^0.2.2",
13
+ "rxjs": "^7.8.2",
14
+ "tslib": "^2.3.0"
15
+ }
16
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "notes",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "dependencies": {
6
+ "@icore/db-firestore": "*",
7
+ "@icore/db-supabase": "*",
8
+ "@icore/firebase-admin": "*",
9
+ "@icore/shared": "*",
10
+ "@nestjs/common": "^11.1.24",
11
+ "@nestjs/config": "^4.0.4",
12
+ "@nestjs/core": "^11.1.24",
13
+ "@nestjs/microservices": "^11.1.24",
14
+ "@supabase/supabase-js": "^2.106.2",
15
+ "reflect-metadata": "^0.2.2",
16
+ "rxjs": "^7.8.2",
17
+ "tslib": "^2.3.0"
18
+ }
19
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "payment",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "dependencies": {
6
+ "@icore/shared": "*",
7
+ "@idevconn/payment": "^1.2.0",
8
+ "@nestjs/common": "^11.1.24",
9
+ "@nestjs/config": "^4.0.4",
10
+ "@nestjs/core": "^11.1.24",
11
+ "@nestjs/microservices": "^11.1.24",
12
+ "reflect-metadata": "^0.2.2",
13
+ "rxjs": "^7.8.2",
14
+ "tslib": "^2.3.0"
15
+ }
16
+ }
@@ -8,12 +8,12 @@
8
8
  "@icore/storage-cloudinary": "*",
9
9
  "@icore/storage-firebase": "*",
10
10
  "@icore/storage-supabase": "*",
11
- "cloudinary": "^2.0.0",
12
11
  "@nestjs/common": "^11.1.24",
13
12
  "@nestjs/config": "^4.0.4",
14
13
  "@nestjs/core": "^11.1.24",
15
14
  "@nestjs/microservices": "^11.1.24",
16
15
  "@supabase/supabase-js": "^2.106.2",
16
+ "cloudinary": "^2.0.0",
17
17
  "reflect-metadata": "^0.2.2",
18
18
  "rxjs": "^7.8.2",
19
19
  "tslib": "^2.3.0"
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "client-antd",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "dependencies": {
6
+ "@ant-design/icons": "^6",
7
+ "antd": "^6"
8
+ }
9
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "client-mui",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "dependencies": {
6
+ "@emotion/react": "^11",
7
+ "@emotion/styled": "^11",
8
+ "@mui/icons-material": "^6",
9
+ "@mui/material": "^6"
10
+ }
11
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "client-shadcn",
3
+ "version": "0.0.1",
4
+ "private": true,
5
+ "dependencies": {
6
+ "@radix-ui/react-dialog": "^1.1.15",
7
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
8
+ "@radix-ui/react-label": "^2.1.8",
9
+ "@radix-ui/react-slot": "^1.2.4",
10
+ "@tailwindcss/vite": "^4.3.0",
11
+ "class-variance-authority": "^0.7.1",
12
+ "clsx": "^2.1.1",
13
+ "lucide-react": "^1.17.0",
14
+ "sonner": "^2.0.7",
15
+ "tailwind-merge": "^3.6.0",
16
+ "tailwindcss": "^4"
17
+ }
18
+ }
@@ -64,14 +64,12 @@
64
64
  "eslint-plugin-react": "7.35.0",
65
65
  "eslint-plugin-react-hooks": "5.0.0",
66
66
  "husky": "^9.1.7",
67
- "ioredis-mock": "^8.13.1",
68
67
  "jest": "~30.3.0",
69
68
  "jest-environment-node": "~30.3.0",
70
69
  "jest-util": "~30.3.0",
71
70
  "jiti": "2.4.2",
72
71
  "jsdom": "~22.1.0",
73
72
  "jsonc-eslint-parser": "^2.1.0",
74
- "less": "^4.0.0",
75
73
  "lint-staged": "^17.0.5",
76
74
  "nx": "22.7.5",
77
75
  "prettier": "~3.6.2",
@@ -97,18 +95,10 @@
97
95
  ]
98
96
  },
99
97
  "dependencies": {
100
- "@ant-design/icons": "^6",
101
- "@bull-board/api": "^7.1.5",
102
- "@bull-board/express": "^7.1.5",
103
98
  "@casl/ability": "^7",
104
99
  "@casl/react": "^7.0.0",
105
- "@emotion/react": "^11",
106
- "@emotion/styled": "^11",
107
100
  "@idevconn/api-client": "^0.3.0",
108
- "@idevconn/payment": "^1.2.0",
109
101
  "@idevconn/use-draft": "^0.2.0",
110
- "@mui/icons-material": "^6",
111
- "@mui/material": "^6",
112
102
  "@nestjs/common": "^11.1.24",
113
103
  "@nestjs/config": "^4.0.4",
114
104
  "@nestjs/core": "^11.1.24",
@@ -116,34 +106,18 @@
116
106
  "@nestjs/platform-express": "^11.0.0",
117
107
  "@nestjs/swagger": "^11.4.4",
118
108
  "@nestjs/throttler": "^6.5.0",
119
- "@radix-ui/react-dialog": "^1.1.15",
120
- "@radix-ui/react-dropdown-menu": "^2.1.16",
121
- "@radix-ui/react-label": "^2.1.8",
122
- "@radix-ui/react-slot": "^1.2.4",
123
109
  "@supabase/supabase-js": "^2.106.2",
124
- "@tailwindcss/vite": "^4.3.0",
125
110
  "@tanstack/react-query": "^5.100.14",
126
111
  "@tanstack/react-router": "^1.170.8",
127
- "antd": "^6",
128
112
  "axios": "^1.6.0",
129
- "bullmq": "^5.77.6",
130
- "class-variance-authority": "^0.7.1",
131
113
  "classnames": "^2.5.1",
132
114
  "cloudinary": "^2.10.0",
133
- "clsx": "^2.1.1",
134
115
  "cookie-parser": "^1.4.7",
135
116
  "dayjs": "^1.11.21",
136
- "firebase-admin": "^13.10.0",
137
117
  "i18next": "^26.3.0",
138
- "ioredis": "^5.11.0",
139
- "lucide-react": "^1.17.0",
140
118
  "react-i18next": "^17.0.8",
141
- "react-router-dom": "6.30.3",
142
119
  "reflect-metadata": "^0.2.2",
143
120
  "rxjs": "^7.8.2",
144
- "sonner": "^2.0.7",
145
- "tailwind-merge": "^3.6.0",
146
- "tailwindcss": "^4",
147
121
  "zustand": "^5.0.14"
148
122
  }
149
123
  }
@@ -64,14 +64,12 @@
64
64
  "eslint-plugin-react": "7.35.0",
65
65
  "eslint-plugin-react-hooks": "5.0.0",
66
66
  "husky": "^9.1.7",
67
- "ioredis-mock": "^8.13.1",
68
67
  "jest": "~30.3.0",
69
68
  "jest-environment-node": "~30.3.0",
70
69
  "jest-util": "~30.3.0",
71
70
  "jiti": "2.4.2",
72
71
  "jsdom": "~22.1.0",
73
72
  "jsonc-eslint-parser": "^2.1.0",
74
- "less": "^4.0.0",
75
73
  "lint-staged": "^17.0.5",
76
74
  "nx": "22.7.5",
77
75
  "prettier": "~3.6.2",
@@ -97,18 +95,10 @@
97
95
  ]
98
96
  },
99
97
  "dependencies": {
100
- "@ant-design/icons": "^6",
101
- "@bull-board/api": "^7.1.5",
102
- "@bull-board/express": "^7.1.5",
103
98
  "@casl/ability": "^7",
104
99
  "@casl/react": "^7.0.0",
105
- "@emotion/react": "^11",
106
- "@emotion/styled": "^11",
107
100
  "@idevconn/api-client": "^0.3.0",
108
- "@idevconn/payment": "^1.2.0",
109
101
  "@idevconn/use-draft": "^0.2.0",
110
- "@mui/icons-material": "^6",
111
- "@mui/material": "^6",
112
102
  "@nestjs/common": "^11.1.24",
113
103
  "@nestjs/config": "^4.0.4",
114
104
  "@nestjs/core": "^11.1.24",
@@ -116,34 +106,18 @@
116
106
  "@nestjs/platform-express": "^11.0.0",
117
107
  "@nestjs/swagger": "^11.4.4",
118
108
  "@nestjs/throttler": "^6.5.0",
119
- "@radix-ui/react-dialog": "^1.1.15",
120
- "@radix-ui/react-dropdown-menu": "^2.1.16",
121
- "@radix-ui/react-label": "^2.1.8",
122
- "@radix-ui/react-slot": "^1.2.4",
123
109
  "@supabase/supabase-js": "^2.106.2",
124
- "@tailwindcss/vite": "^4.3.0",
125
110
  "@tanstack/react-query": "^5.100.14",
126
111
  "@tanstack/react-router": "^1.170.8",
127
- "antd": "^6",
128
112
  "axios": "^1.6.0",
129
- "bullmq": "^5.77.6",
130
- "class-variance-authority": "^0.7.1",
131
113
  "classnames": "^2.5.1",
132
114
  "cloudinary": "^2.10.0",
133
- "clsx": "^2.1.1",
134
115
  "cookie-parser": "^1.4.7",
135
116
  "dayjs": "^1.11.21",
136
- "firebase-admin": "^13.10.0",
137
117
  "i18next": "^26.3.0",
138
- "ioredis": "^5.11.0",
139
- "lucide-react": "^1.17.0",
140
118
  "react-i18next": "^17.0.8",
141
- "react-router-dom": "6.30.3",
142
119
  "reflect-metadata": "^0.2.2",
143
120
  "rxjs": "^7.8.2",
144
- "sonner": "^2.0.7",
145
- "tailwind-merge": "^3.6.0",
146
- "tailwindcss": "^4",
147
121
  "zustand": "^5.0.14"
148
122
  }
149
123
  }