neex 0.7.2 → 0.7.4
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 +25 -40
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
</picture>
|
|
8
8
|
</a>
|
|
9
9
|
|
|
10
|
-
# Neex v0.7.
|
|
10
|
+
# Neex v0.7.4
|
|
11
11
|
|
|
12
12
|
### Neex - Modern Fullstack Framework Built on Express and Next.js. Fast to Start, Easy to Build, Ready to Deploy.
|
|
13
13
|
|
|
@@ -158,25 +158,6 @@ neex start dist/server.js --health-port 3001
|
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
Below is an example of `package.json` scripts for running two projects (frontend and backend) concurrently, along with ORM (Prisma) integration, tailored for a Neex project with a polyrepo-in-monorepo architecture. This example demonstrates how to use Neex commands to manage development, building, and production workflows efficiently.
|
|
162
|
-
|
|
163
|
-
```json
|
|
164
|
-
{
|
|
165
|
-
"scripts": {
|
|
166
|
-
"dev": "neex p dev:client dev:server",
|
|
167
|
-
"dev:client": "cd apps/client && bun run dev",
|
|
168
|
-
"dev:server": "cd apps/server && bun run dev",
|
|
169
|
-
"build": "neex s prisma:generate prisma:migrate build:client build:server",
|
|
170
|
-
"build:client": "cd apps/client && bun run build",
|
|
171
|
-
"build:server": "cd apps/server && bun run build",
|
|
172
|
-
"start": "neex p start:client start:server",
|
|
173
|
-
"start:client": "cd apps/client && bun run start",
|
|
174
|
-
"start:server": "cd apps/server && bun run start",
|
|
175
|
-
"prisma:generate": "cd apps/server && bunx prisma generate",
|
|
176
|
-
"prisma:migrate": "cd apps/server && bunx prisma db push"
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
```
|
|
180
161
|
|
|
181
162
|
### Explanation of Scripts
|
|
182
163
|
|
|
@@ -200,26 +181,6 @@ npm run build # Sequentially generates Prisma client, applies migrations,
|
|
|
200
181
|
npm run start # Starts frontend and backend in production mode concurrently
|
|
201
182
|
```
|
|
202
183
|
|
|
203
|
-
Below is an example of `package.json` scripts for running two projects (frontend and backend) concurrently, along with ORM (Prisma) integration, tailored for a Neex project. This example demonstrates how to use Neex commands to manage development, building, and production workflows efficiently.
|
|
204
|
-
|
|
205
|
-
```json
|
|
206
|
-
{
|
|
207
|
-
"scripts": {
|
|
208
|
-
"dev": "neex p dev:client dev:server",
|
|
209
|
-
"dev:client": "cd apps/client && bun run dev",
|
|
210
|
-
"dev:server": "cd apps/server && bun run dev",
|
|
211
|
-
"build": "neex s prisma:generate prisma:migrate build:client build:server",
|
|
212
|
-
"build:client": "cd apps/client && bun run build",
|
|
213
|
-
"build:server": "cd apps/server && bun run build",
|
|
214
|
-
"start": "neex p start:client start:server",
|
|
215
|
-
"start:client": "cd apps/client && bun run start",
|
|
216
|
-
"start:server": "cd apps/server && bun run start",
|
|
217
|
-
"prisma:generate": "cd apps/server && bunx prisma generate",
|
|
218
|
-
"prisma:migrate": "cd apps/server && bunx prisma db push"
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
```
|
|
222
|
-
|
|
223
184
|
|
|
224
185
|
#### Parallel and Sequential Execution
|
|
225
186
|
|
|
@@ -236,6 +197,30 @@ neex s "npm run clean" "npm run build" "npm run deploy"
|
|
|
236
197
|
neex p -q "npm run step1" "npm run step2"
|
|
237
198
|
```
|
|
238
199
|
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
Below is an example of `package.json` scripts for running two projects (frontend and backend) concurrently, along with ORM (Prisma) integration, tailored for a Neex project with a polyrepo-in-monorepo architecture. This example demonstrates how to use Neex commands to manage development, building, and production workflows efficiently.
|
|
203
|
+
|
|
204
|
+
```json
|
|
205
|
+
{
|
|
206
|
+
"scripts": {
|
|
207
|
+
"dev": "neex p dev:client dev:server",
|
|
208
|
+
"dev:client": "cd apps/client && npm run dev",
|
|
209
|
+
"dev:server": "cd apps/server && npm run dev",
|
|
210
|
+
"build": "neex s prisma:generate prisma:migrate build:client build:server",
|
|
211
|
+
"build:client": "cd apps/client && npm run build",
|
|
212
|
+
"build:server": "cd apps/server && npm run build",
|
|
213
|
+
"start": "neex p start:client start:server",
|
|
214
|
+
"start:client": "cd apps/client && npm run start",
|
|
215
|
+
"start:server": "cd apps/server && npm run start",
|
|
216
|
+
"prisma:generate": "cd apps/server && npx prisma generate",
|
|
217
|
+
"prisma:migrate": "cd apps/server && npx prisma db push"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
239
224
|
## 📂 Project Structure
|
|
240
225
|
|
|
241
226
|
Neex creates a polyrepo-in-monorepo structure for clear separation and scalability:
|