@idealyst/cli 1.0.24 → 1.0.26
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/README.md +109 -109
- package/dist/index.js +233 -36
- package/dist/types/generators/api.d.ts +2 -0
- package/dist/types/generators/index.d.ts +1 -0
- package/dist/types/generators/utils.d.ts +18 -1
- package/dist/types/types.d.ts +2 -1
- package/package.json +1 -1
- package/templates/api/README.md +207 -0
- package/templates/api/env.example +12 -0
- package/templates/api/package.json +49 -0
- package/templates/api/prisma/schema.prisma +21 -0
- package/templates/api/src/context.ts +23 -0
- package/templates/api/src/controllers/UserController.ts +102 -0
- package/templates/api/src/index.ts +14 -0
- package/templates/api/src/lib/controller.ts +90 -0
- package/templates/api/src/lib/middleware.ts +170 -0
- package/templates/api/src/middleware/auth.ts +75 -0
- package/templates/api/src/middleware/common.ts +103 -0
- package/templates/api/src/router/index.ts +130 -0
- package/templates/api/src/server.ts +50 -0
- package/templates/api/src/trpc.ts +28 -0
- package/templates/api/tsconfig.json +44 -0
- package/templates/native/.yarnrc.yml +18 -18
- package/templates/native/App.tsx +23 -23
- package/templates/native/README.md +85 -85
- package/templates/native/app.json +4 -4
- package/templates/native/babel.config.js +9 -9
- package/templates/native/index.js +5 -5
- package/templates/native/metro.config.js +27 -27
- package/templates/native/package.json +9 -9
- package/templates/native/src/App-with-trpc.tsx +72 -0
- package/templates/native/src/utils/trpc.ts +127 -0
- package/templates/native/tsconfig.json +29 -29
- package/templates/shared/README.md +108 -108
- package/templates/shared/package.json +39 -39
- package/templates/shared/tsconfig.json +24 -24
- package/templates/web/README.md +89 -89
- package/templates/web/index.html +12 -12
- package/templates/web/package.json +55 -51
- package/templates/web/src/App-with-trpc.tsx +80 -0
- package/templates/web/src/App.tsx +14 -14
- package/templates/web/src/main.tsx +24 -24
- package/templates/web/src/utils/trpc.ts +93 -0
- package/templates/web/tsconfig.json +26 -26
- package/templates/web/vite.config.ts +68 -68
- package/templates/workspace/.yarnrc.yml +25 -25
- package/templates/workspace/README.md +79 -79
- package/templates/workspace/package.json +24 -24
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{packageName}}",
|
|
3
|
-
"version": "{{version}}",
|
|
4
|
-
"description": "{{description}}",
|
|
5
|
-
"private": true,
|
|
6
|
-
"workspaces": [
|
|
7
|
-
"packages/*"
|
|
8
|
-
],
|
|
9
|
-
"packageManager": "yarn@4.1.0",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"publish:all": "yarn workspaces foreach --include '@/*' npm publish",
|
|
12
|
-
"version:patch": "yarn workspaces foreach --include '@/*' version patch",
|
|
13
|
-
"version:minor": "yarn workspaces foreach --include '@/*' version minor",
|
|
14
|
-
"version:major": "yarn workspaces foreach --include '@/*' version major",
|
|
15
|
-
"build:all": "yarn workspaces foreach --include '@/*' run build",
|
|
16
|
-
"test:all": "yarn workspaces foreach --include '@/*' run test"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@babel/core": "^7.28.0",
|
|
20
|
-
"@babel/preset-env": "^7.28.0",
|
|
21
|
-
"@babel/preset-react": "^7.27.1",
|
|
22
|
-
"@babel/preset-typescript": "^7.27.1",
|
|
23
|
-
"typescript": "^5.0.0"
|
|
24
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "{{packageName}}",
|
|
3
|
+
"version": "{{version}}",
|
|
4
|
+
"description": "{{description}}",
|
|
5
|
+
"private": true,
|
|
6
|
+
"workspaces": [
|
|
7
|
+
"packages/*"
|
|
8
|
+
],
|
|
9
|
+
"packageManager": "yarn@4.1.0",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"publish:all": "yarn workspaces foreach --include '@/*' npm publish",
|
|
12
|
+
"version:patch": "yarn workspaces foreach --include '@/*' version patch",
|
|
13
|
+
"version:minor": "yarn workspaces foreach --include '@/*' version minor",
|
|
14
|
+
"version:major": "yarn workspaces foreach --include '@/*' version major",
|
|
15
|
+
"build:all": "yarn workspaces foreach --include '@/*' run build",
|
|
16
|
+
"test:all": "yarn workspaces foreach --include '@/*' run test"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@babel/core": "^7.28.0",
|
|
20
|
+
"@babel/preset-env": "^7.28.0",
|
|
21
|
+
"@babel/preset-react": "^7.27.1",
|
|
22
|
+
"@babel/preset-typescript": "^7.27.1",
|
|
23
|
+
"typescript": "^5.0.0"
|
|
24
|
+
}
|
|
25
25
|
}
|