File tree 5 files changed +203
-196
lines changed
5 files changed +203
-196
lines changed Original file line number Diff line number Diff line change @@ -231,6 +231,10 @@ async function handleStripe() {
231
231
process . exit ( 0 ) ;
232
232
}
233
233
234
+ process . env . NX_DISABLE_DB = "true" ;
235
+ await exec ( "yarn nx reset --onlyDaemon" ) ;
236
+ await exec ( "yarn nx daemon --start" ) ;
237
+
234
238
console . log ( `Running projects: ${ commands . map ( c => chalk . green ( c . name ) ) . join ( ', ' ) } ` ) ;
235
239
236
240
const { result} = concurrently ( commands , {
Original file line number Diff line number Diff line change @@ -48,8 +48,10 @@ typings/
48
48
# Optional npm cache directory
49
49
.npm
50
50
51
- # Nx cache
51
+ # Nx
52
52
.nxcache
53
+ .nx /cache
54
+ .nx /workspace-data
53
55
54
56
# Optional eslint cache
55
57
.eslintcache
Original file line number Diff line number Diff line change 1
1
{
2
- "tasksRunnerOptions" : {
3
- "default" : {
4
- "runner" : " nx/tasks-runners/default" ,
5
- "options" : {
6
- "cacheableOperations" : [
7
- " build" ,
8
- " build:ts" ,
9
- " lint" ,
10
- " test" ,
11
- " test:unit"
12
- ],
13
- "useDaemonProcess" : false ,
14
- "cacheDirectory" : " .nxcache"
15
- }
16
- }
17
- },
2
+ "$schema" : " ./node_modules/nx/schemas/nx-schema.json" ,
18
3
"namedInputs" : {
19
- "default" : [
20
- " {projectRoot}/**/*" ,
21
- " {workspaceRoot}/ghost/tsconfig.json"
22
- ]
4
+ "default" : [" {projectRoot}/**/*" , " {workspaceRoot}/ghost/tsconfig.json" ]
23
5
},
24
6
"targetDefaults" : {
25
7
"build" : {
26
- "dependsOn" : [
27
- " ^build"
28
- ],
8
+ "dependsOn" : [" ^build" ],
29
9
"inputs" : [
30
- { "env" : " GHOST_CDN_URL" },
10
+ {
11
+ "env" : " GHOST_CDN_URL"
12
+ },
31
13
" default" ,
32
14
" ^default"
33
15
],
36
18
" {projectRoot}/es" ,
37
19
" {projectRoot}/types" ,
38
20
" {projectRoot}/umd"
39
- ]
21
+ ],
22
+ "cache" : true
40
23
},
41
24
"build:ts" : {
42
- "dependsOn" : [
43
- " ^build:ts"
44
- ],
45
- "inputs" : [
46
- " default" ,
47
- " ^default"
48
- ],
49
- "outputs" : [
50
- " {projectRoot}/build"
51
- ]
25
+ "dependsOn" : [" ^build:ts" ],
26
+ "inputs" : [" default" , " ^default" ],
27
+ "outputs" : [" {projectRoot}/build" ],
28
+ "cache" : true
29
+ },
30
+ "lint" : {
31
+ "cache" : true
32
+ },
33
+ "test" : {
34
+ "cache" : true
35
+ },
36
+ "test:unit" : {
37
+ "cache" : true
52
38
}
53
39
},
54
- "$schema " : " ./node_modules/nx/schemas/nx-schema.json "
40
+ "cacheDirectory " : " .nxcache "
55
41
}
Original file line number Diff line number Diff line change 120
120
"husky" : " 8.0.3" ,
121
121
"inquirer" : " 8.2.6" ,
122
122
"lint-staged" : " 15.2.10" ,
123
- "nx" : " 16 .8.1 " ,
123
+ "nx" : " 19 .8.0 " ,
124
124
"rimraf" : " 5.0.10" ,
125
125
"ts-node" : " 10.9.2" ,
126
126
"typescript" : " 5.4.5"
You can’t perform that action at this time.
0 commit comments