-
Notifications
You must be signed in to change notification settings - Fork 5
/
workspacePackageConfig.json
70 lines (70 loc) · 1.88 KB
/
workspacePackageConfig.json
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
{
"workspacePackageConfigs": [
{
"files": [
"packages/**",
"devPackages/testapis-proto",
"e2e/!(testapis)/**"
],
"package.json": {
"devDependencies": {
"@proto-graphql/tsconfig": "workspace:*"
}
}
},
{
"files": ["packages/**"],
"package.json": {
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": ["src/", "dist/", "!src/**/*.test.ts", "!src/**/__tests__/"],
"scripts": {
"build": "tsup",
"test": "vitest run --passWithNoTests"
}
},
"copy": [
{ "src": "configs/.gitignore", "dest": ".gitignore" },
{ "src": "configs/tsconfig.json", "dest": "tsconfig.json" }
]
},
{
"files": ["e2e/helper", "e2e/testapis/ts-proto*"],
"package.json": {
"main": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"copy": [
{ "src": "configs/tsconfig.json", "dest": "tsconfig.json" },
{ "src": "configs/tsconfig.cjs.json", "dest": "tsconfig.cjs.json" }
]
},
{
"files": ["e2e/helper", "e2e/testapis/ts-proto*"],
"package.json": {
"scripts": {
"build:e2e": "tsc --build tsconfig.cjs.json",
"clean": "pnpm run build:e2e --clean"
}
},
"copy": [{ "src": "configs/.gitignore.test", "dest": ".gitignore" }]
},
{
"files": ["e2e/tests/*"],
"copy": [{ "src": "configs/tsconfig.e2e.json", "dest": "tsconfig.json" }]
}
],
"sortFields": {
"scripts": "alphabetically",
"devDependencies": "alphabetically"
}
}