-
Notifications
You must be signed in to change notification settings - Fork 447
Expand file tree
/
Copy pathproject.json
More file actions
104 lines (104 loc) · 2.76 KB
/
Copy pathproject.json
File metadata and controls
104 lines (104 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "php-wasm-compile-extension",
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/php-wasm/compile-extension/src",
"projectType": "library",
"tags": ["scope:php-wasm-public", "scope:cli"],
"targets": {
"build": {
"executor": "nx:noop",
"dependsOn": ["build:README"]
},
"build:README": {
"executor": "nx:run-commands",
"options": {
"commands": [
"cp packages/php-wasm/compile-extension/README.md dist/packages/php-wasm/compile-extension"
]
},
"dependsOn": ["build:package-json"]
},
"build:clean": {
"executor": "nx:run-commands",
"options": {
"command": "rm -rf dist/packages/php-wasm/compile-extension"
}
},
"build:package-json": {
"executor": "@wp-playground/nx-extensions:package-json",
"options": {
"tsConfig": "packages/php-wasm/compile-extension/tsconfig.lib.json",
"outputPath": "dist/packages/php-wasm/compile-extension",
"buildTarget": "php-wasm-compile-extension:build:bundle:production"
},
"dependsOn": ["build:clean"]
},
"build:bundle": {
"executor": "@nx/vite:build",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/php-wasm/compile-extension"
},
"defaultConfiguration": "production",
"configurations": {
"development": {
"minify": false
},
"production": {
"minify": true
}
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"useFlatConfig": false,
"lintFilePatterns": [
"packages/php-wasm/compile-extension/**/*.ts"
],
"maxWarnings": 0
}
},
"test": {
"executor": "@nx/vitest:test",
"outputs": [
"{workspaceRoot}/coverage/packages/php-wasm/compile-extension"
],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../../coverage/packages/php-wasm/compile-extension",
"typecheck": {
"tsconfig": "{projectRoot}/tsconfig.spec.json"
}
}
},
"typecheck": {
"executor": "nx:run-commands",
"options": {
"commands": [
"tsc -p packages/php-wasm/compile-extension/tsconfig.lib.json --noEmit",
"tsc -p packages/php-wasm/compile-extension/tsconfig.spec.json --noEmit"
]
}
},
"test-compile-extension-integration": {
"executor": "nx:run-commands",
"options": {
"command": "packages/php-wasm/compile-extension/tests/run-integration-tests.sh"
}
},
"test-external-extension-abi": {
"executor": "nx:run-commands",
"options": {
"command": "packages/php-wasm/compile-extension/tests/test-external-extension-abi.sh"
}
},
"test-lazy-docker-asset-fetch": {
"executor": "nx:run-commands",
"options": {
"command": "packages/php-wasm/compile-extension/tests/test-lazy-docker-asset-fetch.sh"
}
}
}
}