@idealyst/cli 1.0.88 → 1.0.90
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/generators/index.js +3 -40
- package/dist/generators/index.js.map +1 -1
- package/dist/generators/init.js +273 -0
- package/dist/generators/init.js.map +1 -0
- package/dist/generators/utils.js +5 -0
- package/dist/generators/utils.js.map +1 -1
- package/dist/index.js +20 -202
- package/dist/index.js.map +1 -1
- package/dist/scripts/configure-react-native-monorepo.js +144 -0
- package/dist/scripts/configure-react-native-monorepo.js.map +1 -0
- package/dist/{templates/workspace → template}/README.md +66 -12
- package/dist/template/package.json +45 -0
- package/{templates → dist/template/packages}/api/package.json +3 -1
- package/{templates → dist/template/packages}/database/package.json +1 -1
- package/dist/{templates/native → template/packages/mobile}/babel.config.js +1 -0
- package/{templates/native → dist/template/packages/mobile}/metro.config.js +4 -4
- package/{templates/native → dist/template/packages/mobile}/package.json +5 -2
- package/{templates → dist/template/packages}/shared/package.json +2 -2
- package/{templates → dist/template/packages}/web/package.json +4 -1
- package/dist/types/generators/index.d.ts +1 -7
- package/dist/types/generators/init.d.ts +5 -0
- package/dist/types/scripts/configure-react-native-monorepo.d.ts +23 -0
- package/dist/types/types.d.ts +0 -4
- package/package.json +1 -1
- package/dist/generators/api.js +0 -31
- package/dist/generators/api.js.map +0 -1
- package/dist/generators/database.js +0 -31
- package/dist/generators/database.js.map +0 -1
- package/dist/generators/fullstack.js +0 -418
- package/dist/generators/fullstack.js.map +0 -1
- package/dist/generators/native.js +0 -112
- package/dist/generators/native.js.map +0 -1
- package/dist/generators/shared.js +0 -29
- package/dist/generators/shared.js.map +0 -1
- package/dist/generators/web.js +0 -45
- package/dist/generators/web.js.map +0 -1
- package/dist/generators/workspace.js +0 -83
- package/dist/generators/workspace.js.map +0 -1
- package/dist/templates/api/package.json +0 -54
- package/dist/templates/database/package.json +0 -49
- package/dist/templates/native/metro.config.js +0 -27
- package/dist/templates/native/package.json +0 -49
- package/dist/templates/native/src/App.tsx +0 -8
- package/dist/templates/shared/package.json +0 -62
- package/dist/templates/shared/src/components/App.tsx +0 -47
- package/dist/templates/shared/src/components/HelloWorld.tsx +0 -307
- package/dist/templates/shared/src/navigation/AppRouter.tsx +0 -98
- package/dist/templates/web/package.json +0 -66
- package/dist/templates/web/src/App.tsx +0 -14
- package/dist/templates/workspace/package.json +0 -35
- package/dist/types/generators/api.d.ts +0 -2
- package/dist/types/generators/database.d.ts +0 -2
- package/dist/types/generators/fullstack.d.ts +0 -2
- package/dist/types/generators/native.d.ts +0 -2
- package/dist/types/generators/shared.d.ts +0 -2
- package/dist/types/generators/web.d.ts +0 -2
- package/dist/types/generators/workspace.d.ts +0 -2
- package/templates/api/.env.example +0 -6
- package/templates/api/README.md +0 -274
- package/templates/api/__tests__/api.test.ts +0 -26
- package/templates/api/jest.config.js +0 -23
- package/templates/api/jest.setup.js +0 -9
- package/templates/api/src/context.ts +0 -19
- package/templates/api/src/controllers/TestController.ts +0 -0
- package/templates/api/src/index.ts +0 -9
- package/templates/api/src/lib/crud.ts +0 -150
- package/templates/api/src/lib/database.ts +0 -23
- package/templates/api/src/router/index.ts +0 -163
- package/templates/api/src/routers/test.ts +0 -59
- package/templates/api/src/routers/user.example.ts +0 -83
- package/templates/api/src/server.ts +0 -50
- package/templates/api/src/trpc.ts +0 -28
- package/templates/api/tsconfig.json +0 -43
- package/templates/database/README.md +0 -162
- package/templates/database/prisma/seed.ts +0 -64
- package/templates/database/schema.prisma +0 -107
- package/templates/database/src/index.ts +0 -15
- package/templates/database/src/validators.ts +0 -10
- package/templates/database/tsconfig.json +0 -18
- package/templates/native/README.md +0 -86
- package/templates/native/__tests__/App.test.tsx +0 -156
- package/templates/native/__tests__/components.test.tsx +0 -300
- package/templates/native/app.json +0 -5
- package/templates/native/babel.config.js +0 -10
- package/templates/native/index.js +0 -6
- package/templates/native/jest.config.js +0 -21
- package/templates/native/jest.setup.js +0 -12
- package/templates/native/src/App-with-trpc.tsx +0 -30
- package/templates/native/src/App.tsx +0 -8
- package/templates/native/src/utils/trpc.ts +0 -7
- package/templates/native/tsconfig.json +0 -28
- package/templates/shared/README.md +0 -135
- package/templates/shared/__tests__/shared.test.ts +0 -51
- package/templates/shared/jest.config.js +0 -22
- package/templates/shared/src/components/index.ts +0 -1
- package/templates/shared/src/index.ts +0 -14
- package/templates/shared/src/trpc/client.ts +0 -44
- package/templates/shared/tsconfig.json +0 -22
- package/templates/web/README.md +0 -131
- package/templates/web/__tests__/App.test.tsx +0 -342
- package/templates/web/__tests__/components.test.tsx +0 -564
- package/templates/web/index.html +0 -13
- package/templates/web/jest.config.js +0 -27
- package/templates/web/jest.setup.js +0 -24
- package/templates/web/src/App-with-trpc.tsx +0 -32
- package/templates/web/src/App.tsx +0 -14
- package/templates/web/src/components/TestDemo.tsx +0 -164
- package/templates/web/src/main.tsx +0 -25
- package/templates/web/src/utils/trpc.ts +0 -7
- package/templates/web/tsconfig.json +0 -26
- package/templates/web/vite.config.ts +0 -98
- package/templates/workspace/.devcontainer/Dockerfile +0 -26
- package/templates/workspace/.devcontainer/devcontainer.json +0 -113
- package/templates/workspace/.devcontainer/docker-compose.yml +0 -59
- package/templates/workspace/.devcontainer/figma-mcp.sh +0 -32
- package/templates/workspace/.devcontainer/setup.sh +0 -45
- package/templates/workspace/.dockerignore +0 -151
- package/templates/workspace/.env.example +0 -36
- package/templates/workspace/.env.production +0 -56
- package/templates/workspace/DOCKER.md +0 -0
- package/templates/workspace/Dockerfile +0 -111
- package/templates/workspace/README.md +0 -179
- package/templates/workspace/docker/nginx/prod.conf +0 -238
- package/templates/workspace/docker/nginx.conf +0 -131
- package/templates/workspace/docker/postgres/init.sql +0 -41
- package/templates/workspace/docker/prometheus/prometheus.yml +0 -52
- package/templates/workspace/docker-compose.prod.yml +0 -146
- package/templates/workspace/docker-compose.yml +0 -143
- package/templates/workspace/jest.config.js +0 -20
- package/templates/workspace/package.json +0 -38
- package/templates/workspace/setup.sh +0 -30
- package/templates/workspace/tsconfig.json +0 -31
- /package/dist/{templates/workspace → template}/.devcontainer/Dockerfile +0 -0
- /package/dist/{templates/workspace → template}/.devcontainer/devcontainer.json +0 -0
- /package/dist/{templates/workspace → template}/.devcontainer/docker-compose.yml +0 -0
- /package/dist/{templates/workspace → template}/.devcontainer/figma-mcp.sh +0 -0
- /package/dist/{templates/workspace → template}/.devcontainer/setup.sh +0 -0
- /package/dist/{templates/workspace → template}/.dockerignore +0 -0
- /package/dist/{templates/workspace → template}/.env.example +0 -0
- /package/dist/{templates/workspace → template}/DOCKER.md +0 -0
- /package/dist/{templates/workspace → template}/Dockerfile +0 -0
- /package/dist/{templates/workspace → template}/docker/nginx/prod.conf +0 -0
- /package/dist/{templates/workspace → template}/docker/nginx.conf +0 -0
- /package/dist/{templates/workspace → template}/docker/postgres/init.sql +0 -0
- /package/dist/{templates/workspace → template}/docker/prometheus/prometheus.yml +0 -0
- /package/dist/{templates/workspace → template}/docker-compose.prod.yml +0 -0
- /package/dist/{templates/workspace → template}/docker-compose.yml +0 -0
- /package/dist/{templates/workspace → template}/jest.config.js +0 -0
- /package/dist/{templates → template/packages}/api/.env.example +0 -0
- /package/dist/{templates → template/packages}/api/README.md +0 -0
- /package/dist/{templates → template/packages}/api/__tests__/api.test.ts +0 -0
- /package/dist/{templates → template/packages}/api/jest.config.js +0 -0
- /package/dist/{templates → template/packages}/api/jest.setup.js +0 -0
- /package/dist/{templates → template/packages}/api/src/context.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/controllers/TestController.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/index.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/lib/crud.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/lib/database.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/router/index.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/routers/test.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/routers/user.example.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/server.ts +0 -0
- /package/dist/{templates → template/packages}/api/src/trpc.ts +0 -0
- /package/dist/{templates → template/packages}/api/tsconfig.json +0 -0
- /package/dist/{templates → template/packages}/database/README.md +0 -0
- /package/dist/{templates → template/packages}/database/prisma/seed.ts +0 -0
- /package/dist/{templates → template/packages}/database/schema.prisma +0 -0
- /package/dist/{templates → template/packages}/database/src/index.ts +0 -0
- /package/dist/{templates → template/packages}/database/src/validators.ts +0 -0
- /package/dist/{templates → template/packages}/database/tsconfig.json +0 -0
- /package/dist/{templates/native → template/packages/mobile}/README.md +0 -0
- /package/dist/{templates/native → template/packages/mobile}/__tests__/App.test.tsx +0 -0
- /package/dist/{templates/native → template/packages/mobile}/__tests__/components.test.tsx +0 -0
- /package/dist/{templates/native → template/packages/mobile}/app.json +0 -0
- /package/dist/{templates/native → template/packages/mobile}/index.js +0 -0
- /package/dist/{templates/native → template/packages/mobile}/jest.config.js +0 -0
- /package/dist/{templates/native → template/packages/mobile}/jest.setup.js +0 -0
- /package/dist/{templates/native → template/packages/mobile}/src/App-with-trpc-and-shared.tsx +0 -0
- /package/dist/{templates/native → template/packages/mobile}/src/App-with-trpc.tsx +0 -0
- /package/{templates/native/src/App-with-trpc-and-shared.tsx → dist/template/packages/mobile/src/App.tsx} +0 -0
- /package/dist/{templates/native → template/packages/mobile}/src/utils/trpc.ts +0 -0
- /package/dist/{templates/native → template/packages/mobile}/tsconfig.json +0 -0
- /package/dist/{templates → template/packages}/shared/README.md +0 -0
- /package/dist/{templates → template/packages}/shared/__tests__/shared.test.ts +0 -0
- /package/dist/{templates → template/packages}/shared/jest.config.js +0 -0
- /package/{templates → dist/template/packages}/shared/src/components/App.tsx +0 -0
- /package/{templates → dist/template/packages}/shared/src/components/HelloWorld.tsx +0 -0
- /package/dist/{templates → template/packages}/shared/src/components/index.ts +0 -0
- /package/dist/{templates → template/packages}/shared/src/index.ts +0 -0
- /package/{templates → dist/template/packages}/shared/src/navigation/AppRouter.tsx +0 -0
- /package/dist/{templates → template/packages}/shared/src/trpc/client.ts +0 -0
- /package/dist/{templates → template/packages}/shared/tsconfig.json +0 -0
- /package/dist/{templates → template/packages}/web/README.md +0 -0
- /package/dist/{templates → template/packages}/web/__tests__/App.test.tsx +0 -0
- /package/dist/{templates → template/packages}/web/__tests__/components.test.tsx +0 -0
- /package/dist/{templates → template/packages}/web/index.html +0 -0
- /package/dist/{templates → template/packages}/web/jest.config.js +0 -0
- /package/dist/{templates → template/packages}/web/jest.setup.js +0 -0
- /package/dist/{templates → template/packages}/web/src/App-with-trpc-and-shared.tsx +0 -0
- /package/dist/{templates → template/packages}/web/src/App-with-trpc.tsx +0 -0
- /package/{templates/web/src/App-with-trpc-and-shared.tsx → dist/template/packages/web/src/App.tsx} +0 -0
- /package/dist/{templates → template/packages}/web/src/components/TestDemo.tsx +0 -0
- /package/dist/{templates → template/packages}/web/src/main.tsx +0 -0
- /package/dist/{templates → template/packages}/web/src/utils/trpc.ts +0 -0
- /package/dist/{templates → template/packages}/web/tsconfig.json +0 -0
- /package/dist/{templates → template/packages}/web/vite.config.ts +0 -0
- /package/dist/{templates/workspace → template}/setup.sh +0 -0
- /package/dist/{templates/workspace → template}/tsconfig.json +0 -0
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
version: '3.8'
|
|
2
|
-
|
|
3
|
-
services:
|
|
4
|
-
# PostgreSQL Database
|
|
5
|
-
postgres:
|
|
6
|
-
image: postgres:15-alpine
|
|
7
|
-
container_name: ${PROJECT_NAME:-idealyst}-postgres
|
|
8
|
-
environment:
|
|
9
|
-
POSTGRES_DB: ${POSTGRES_DB:-idealyst_db}
|
|
10
|
-
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
|
11
|
-
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
|
|
12
|
-
ports:
|
|
13
|
-
- "${POSTGRES_PORT:-5432}:5432"
|
|
14
|
-
volumes:
|
|
15
|
-
- postgres_data:/var/lib/postgresql/data
|
|
16
|
-
- ./docker/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
|
|
17
|
-
healthcheck:
|
|
18
|
-
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
|
|
19
|
-
interval: 30s
|
|
20
|
-
timeout: 10s
|
|
21
|
-
retries: 5
|
|
22
|
-
networks:
|
|
23
|
-
- idealyst-network
|
|
24
|
-
|
|
25
|
-
# Redis Cache
|
|
26
|
-
redis:
|
|
27
|
-
image: redis:7-alpine
|
|
28
|
-
container_name: ${PROJECT_NAME:-idealyst}-redis
|
|
29
|
-
ports:
|
|
30
|
-
- "${REDIS_PORT:-6379}:6379"
|
|
31
|
-
volumes:
|
|
32
|
-
- redis_data:/data
|
|
33
|
-
healthcheck:
|
|
34
|
-
test: ["CMD", "redis-cli", "ping"]
|
|
35
|
-
interval: 30s
|
|
36
|
-
timeout: 10s
|
|
37
|
-
retries: 5
|
|
38
|
-
networks:
|
|
39
|
-
- idealyst-network
|
|
40
|
-
|
|
41
|
-
# API Service
|
|
42
|
-
api:
|
|
43
|
-
build:
|
|
44
|
-
context: .
|
|
45
|
-
dockerfile: Dockerfile
|
|
46
|
-
target: api-runner
|
|
47
|
-
container_name: ${PROJECT_NAME:-idealyst}-api
|
|
48
|
-
environment:
|
|
49
|
-
NODE_ENV: ${NODE_ENV:-production}
|
|
50
|
-
PORT: 3000
|
|
51
|
-
DATABASE_URL: postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres:5432/${POSTGRES_DB:-idealyst_db}
|
|
52
|
-
REDIS_URL: redis://redis:6379
|
|
53
|
-
ports:
|
|
54
|
-
- "${API_PORT:-3000}:3000"
|
|
55
|
-
depends_on:
|
|
56
|
-
postgres:
|
|
57
|
-
condition: service_healthy
|
|
58
|
-
redis:
|
|
59
|
-
condition: service_healthy
|
|
60
|
-
volumes:
|
|
61
|
-
- ./uploads:/app/uploads
|
|
62
|
-
restart: unless-stopped
|
|
63
|
-
healthcheck:
|
|
64
|
-
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
|
|
65
|
-
interval: 30s
|
|
66
|
-
timeout: 10s
|
|
67
|
-
retries: 5
|
|
68
|
-
networks:
|
|
69
|
-
- idealyst-network
|
|
70
|
-
|
|
71
|
-
# Web Application
|
|
72
|
-
web:
|
|
73
|
-
build:
|
|
74
|
-
context: .
|
|
75
|
-
dockerfile: Dockerfile
|
|
76
|
-
target: web-runner
|
|
77
|
-
container_name: ${PROJECT_NAME:-idealyst}-web
|
|
78
|
-
ports:
|
|
79
|
-
- "${WEB_PORT:-80}:80"
|
|
80
|
-
depends_on:
|
|
81
|
-
- api
|
|
82
|
-
restart: unless-stopped
|
|
83
|
-
healthcheck:
|
|
84
|
-
test: ["CMD", "curl", "-f", "http://localhost"]
|
|
85
|
-
interval: 30s
|
|
86
|
-
timeout: 10s
|
|
87
|
-
retries: 5
|
|
88
|
-
networks:
|
|
89
|
-
- idealyst-network
|
|
90
|
-
|
|
91
|
-
# Development Service (for local development)
|
|
92
|
-
dev:
|
|
93
|
-
build:
|
|
94
|
-
context: .
|
|
95
|
-
dockerfile: Dockerfile
|
|
96
|
-
target: dev
|
|
97
|
-
container_name: ${PROJECT_NAME:-idealyst}-dev
|
|
98
|
-
environment:
|
|
99
|
-
NODE_ENV: development
|
|
100
|
-
ports:
|
|
101
|
-
- "3000:3000" # API dev server
|
|
102
|
-
- "5173:5173" # Vite dev server
|
|
103
|
-
- "8080:8080" # Additional dev server
|
|
104
|
-
- "19006:19006" # Expo dev tools
|
|
105
|
-
volumes:
|
|
106
|
-
- .:/app
|
|
107
|
-
- /app/node_modules
|
|
108
|
-
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
109
|
-
depends_on:
|
|
110
|
-
postgres:
|
|
111
|
-
condition: service_healthy
|
|
112
|
-
redis:
|
|
113
|
-
condition: service_healthy
|
|
114
|
-
networks:
|
|
115
|
-
- idealyst-network
|
|
116
|
-
tty: true
|
|
117
|
-
stdin_open: true
|
|
118
|
-
|
|
119
|
-
# Test Runner
|
|
120
|
-
test:
|
|
121
|
-
build:
|
|
122
|
-
context: .
|
|
123
|
-
dockerfile: Dockerfile
|
|
124
|
-
target: test-runner
|
|
125
|
-
container_name: ${PROJECT_NAME:-idealyst}-test
|
|
126
|
-
environment:
|
|
127
|
-
NODE_ENV: test
|
|
128
|
-
CI: true
|
|
129
|
-
volumes:
|
|
130
|
-
- .:/app
|
|
131
|
-
- /app/node_modules
|
|
132
|
-
networks:
|
|
133
|
-
- idealyst-network
|
|
134
|
-
profiles:
|
|
135
|
-
- testing
|
|
136
|
-
|
|
137
|
-
volumes:
|
|
138
|
-
postgres_data:
|
|
139
|
-
redis_data:
|
|
140
|
-
|
|
141
|
-
networks:
|
|
142
|
-
idealyst-network:
|
|
143
|
-
driver: bridge
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/** @type {import('jest').Config} */
|
|
2
|
-
module.exports = {
|
|
3
|
-
projects: [
|
|
4
|
-
'<rootDir>/packages/*/jest.config.js',
|
|
5
|
-
],
|
|
6
|
-
collectCoverage: true,
|
|
7
|
-
collectCoverageFrom: [
|
|
8
|
-
'packages/*/src/**/*.{ts,tsx}',
|
|
9
|
-
'!packages/*/src/**/*.d.ts',
|
|
10
|
-
'!packages/*/src/**/index.ts',
|
|
11
|
-
],
|
|
12
|
-
coverageDirectory: '<rootDir>/coverage',
|
|
13
|
-
coverageReporters: ['text', 'lcov', 'html'],
|
|
14
|
-
testTimeout: 30000,
|
|
15
|
-
// Ignore template files in node_modules
|
|
16
|
-
testPathIgnorePatterns: [
|
|
17
|
-
'/node_modules/',
|
|
18
|
-
'/templates/',
|
|
19
|
-
],
|
|
20
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
-
"test": "yarn workspaces foreach --include '@/*' run test",
|
|
12
|
-
"test:watch": "yarn workspaces foreach --include '@/*' run test:watch",
|
|
13
|
-
"test:coverage": "yarn workspaces foreach --include '@/*' run test:coverage",
|
|
14
|
-
"test:ci": "yarn workspaces foreach --include '@/*' --parallel run test --passWithNoTests",
|
|
15
|
-
"test:runner": "node scripts/test-runner.js",
|
|
16
|
-
"test:help": "node scripts/test-runner.js help",
|
|
17
|
-
"publish:all": "yarn workspaces foreach --include '@/*' npm publish",
|
|
18
|
-
"version:patch": "yarn workspaces foreach --include '@/*' version patch",
|
|
19
|
-
"version:minor": "yarn workspaces foreach --include '@/*' version minor",
|
|
20
|
-
"version:major": "yarn workspaces foreach --include '@/*' version major",
|
|
21
|
-
"build:all": "yarn workspaces foreach --include '@/*' run build",
|
|
22
|
-
"lint:all": "yarn workspaces foreach --include '@/*' run lint",
|
|
23
|
-
"type-check:all": "yarn workspaces foreach --include '@/*' run type-check"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@babel/core": "^7.28.0",
|
|
27
|
-
"@babel/preset-env": "^7.28.0",
|
|
28
|
-
"@babel/preset-react": "^7.27.1",
|
|
29
|
-
"@babel/preset-typescript": "^7.27.1",
|
|
30
|
-
"@idealyst/mcp-server": "^{{idealystVersion}}",
|
|
31
|
-
"@mobilenext/mobile-mcp": "^0.2.0",
|
|
32
|
-
"@playwright/mcp": "^0.2.1",
|
|
33
|
-
"@types/jest": "^29.5.12",
|
|
34
|
-
"jest": "^29.7.0",
|
|
35
|
-
"ts-jest": "^29.1.2",
|
|
36
|
-
"typescript": "^5.0.0"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
# Idealyst Framework Workspace Setup Script
|
|
4
|
-
# This script sets up the development environment for your workspace
|
|
5
|
-
|
|
6
|
-
echo "🏗️ Setting up Idealyst Framework workspace..."
|
|
7
|
-
|
|
8
|
-
# Install dependencies
|
|
9
|
-
echo "📦 Installing dependencies..."
|
|
10
|
-
yarn install
|
|
11
|
-
|
|
12
|
-
# Build all packages
|
|
13
|
-
echo "🔨 Building packages..."
|
|
14
|
-
yarn build:packages
|
|
15
|
-
|
|
16
|
-
# Set up git hooks (if using husky)
|
|
17
|
-
if [ -f "package.json" ] && grep -q "husky" package.json; then
|
|
18
|
-
echo "🪝 Setting up git hooks..."
|
|
19
|
-
yarn prepare
|
|
20
|
-
fi
|
|
21
|
-
|
|
22
|
-
echo "✅ Workspace setup complete!"
|
|
23
|
-
echo ""
|
|
24
|
-
echo "🚀 Quick start:"
|
|
25
|
-
echo " • Run 'yarn dev' to start development mode"
|
|
26
|
-
echo " • Run 'yarn build' to build all packages"
|
|
27
|
-
echo " • Run 'yarn test' to run tests"
|
|
28
|
-
echo " • Use 'idealyst create <type> <name>' to add new projects"
|
|
29
|
-
echo ""
|
|
30
|
-
echo "📚 Check README.md and DOCKER.md for more information."
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"lib": ["ES2020"],
|
|
5
|
-
"module": "commonjs",
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"allowSyntheticDefaultImports": true,
|
|
8
|
-
"strict": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"declarationMap": true,
|
|
13
|
-
"sourceMap": true,
|
|
14
|
-
"outDir": "./dist",
|
|
15
|
-
"rootDir": "./src"
|
|
16
|
-
},
|
|
17
|
-
"include": [
|
|
18
|
-
"packages/*/src/**/*"
|
|
19
|
-
],
|
|
20
|
-
"exclude": [
|
|
21
|
-
"node_modules",
|
|
22
|
-
"dist",
|
|
23
|
-
"**/*.test.ts",
|
|
24
|
-
"**/*.spec.ts"
|
|
25
|
-
],
|
|
26
|
-
"references": [
|
|
27
|
-
{
|
|
28
|
-
"path": "./packages/*"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{templates/native → template/packages/mobile}/src/App-with-trpc-and-shared.tsx
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{templates/web/src/App-with-trpc-and-shared.tsx → dist/template/packages/web/src/App.tsx}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|