create-nexu 1.1.8 → 1.2.0
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/index.js
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"packageManager": "pnpm@9.0.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "turbo build",
|
|
7
|
-
"dev": "turbo dev",
|
|
7
|
+
"dev": "turbo dev --filter='./apps/*'",
|
|
8
8
|
"lint": "turbo lint",
|
|
9
9
|
"lint:fix": "turbo lint:fix",
|
|
10
10
|
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test:coverage": "turbo test:coverage",
|
|
14
14
|
"typecheck": "turbo typecheck",
|
|
15
15
|
"clean": "turbo clean && rm -rf node_modules",
|
|
16
|
-
"nexu:version": "cat .nexu-version",
|
|
16
|
+
"nexu:version": "cat \"$PNPM_SCRIPT_SRC_DIR/.nexu-version\" 2>/dev/null || cat .nexu-version",
|
|
17
17
|
"prepare": "husky install",
|
|
18
18
|
"docker:dev": "docker-compose -f docker/docker-compose.dev.yml up",
|
|
19
19
|
"docker:build": "docker-compose -f docker/docker-compose.prod.yml build",
|
|
@@ -392,7 +392,7 @@ function createBackendApp(appDir, appName, framework, port) {
|
|
|
392
392
|
},
|
|
393
393
|
dependencies: {},
|
|
394
394
|
devDependencies: {
|
|
395
|
-
'@repo/
|
|
395
|
+
'@repo/config': 'workspace:*',
|
|
396
396
|
},
|
|
397
397
|
};
|
|
398
398
|
|
|
@@ -415,7 +415,7 @@ function createBackendApp(appDir, appName, framework, port) {
|
|
|
415
415
|
|
|
416
416
|
// Create tsconfig.json
|
|
417
417
|
const tsconfig = {
|
|
418
|
-
extends: '@repo/
|
|
418
|
+
extends: '@repo/config/typescript/base',
|
|
419
419
|
compilerOptions: {
|
|
420
420
|
outDir: 'dist',
|
|
421
421
|
rootDir: 'src',
|