|
2 | 2 | "name": "demo-app",
|
3 | 3 | "$schema": "../../node_modules/nx/schemas/project-schema.json",
|
4 | 4 | "projectType": "application",
|
5 |
| - "sourceRoot": "packages/demo-app/src", |
| 5 | + "sourceRoot": "apps/demo-app/src", |
6 | 6 | "targets": {
|
7 | 7 | "build": {
|
8 | 8 | "executor": "qwik-nx:build",
|
|
11 | 11 | "demo-app:build.client",
|
12 | 12 | "demo-app:build.ssr"
|
13 | 13 | ],
|
14 |
| - "outputPath": "dist/packages/demo-app" |
| 14 | + "outputPath": "dist/apps/demo-app" |
15 | 15 | },
|
16 | 16 | "configurations": {
|
17 | 17 | "preview": {}
|
|
20 | 20 | "build.client": {
|
21 | 21 | "executor": "@nrwl/vite:build",
|
22 | 22 | "options": {
|
23 |
| - "outputPath": "dist/packages/demo-app", |
24 |
| - "configFile": "packages/demo-app/vite.config.ts" |
| 23 | + "outputPath": "dist/apps/demo-app", |
| 24 | + "configFile": "apps/demo-app/vite.config.ts" |
25 | 25 | }
|
26 | 26 | },
|
27 | 27 | "build.ssr": {
|
28 | 28 | "executor": "@nrwl/vite:build",
|
29 | 29 | "defaultConfiguration": "preview",
|
30 | 30 | "options": {
|
31 |
| - "outputPath": "dist/packages/demo-app" |
| 31 | + "outputPath": "dist/apps/demo-app" |
32 | 32 | },
|
33 | 33 | "configurations": {
|
34 | 34 | "preview": {
|
|
45 | 45 | },
|
46 | 46 | "test": {
|
47 | 47 | "executor": "@nrwl/vite:test",
|
48 |
| - "outputs": ["../../coverage/packages/demo-app"], |
| 48 | + "outputs": ["../../coverage/apps/demo-app"], |
49 | 49 | "options": {
|
50 | 50 | "passWithNoTests": true,
|
51 |
| - "reportsDirectory": "../../coverage/packages/demo-app" |
| 51 | + "reportsDirectory": "../../coverage/apps/demo-app" |
52 | 52 | }
|
53 | 53 | },
|
54 | 54 | "serve": {
|
|
62 | 62 | "executor": "nx:run-commands",
|
63 | 63 | "options": {
|
64 | 64 | "command": "node --inspect-brk ../../node_modules/vite/bin/vite.js --mode ssr --force",
|
65 |
| - "cwd": "packages/demo-app" |
| 65 | + "cwd": "apps/demo-app" |
66 | 66 | }
|
67 | 67 | },
|
68 | 68 | "lint": {
|
69 | 69 | "executor": "@nrwl/linter:eslint",
|
70 | 70 | "outputs": ["{options.outputFile}"],
|
71 | 71 | "options": {
|
72 |
| - "lintFilePatterns": ["packages/demo-app/**/*.{ts,tsx,js,jsx}"] |
| 72 | + "lintFilePatterns": ["apps/demo-app/**/*.{ts,tsx,js,jsx}"] |
73 | 73 | }
|
74 | 74 | }
|
75 | 75 | },
|
|
0 commit comments