-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.13 KB
/
package.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "@madatdata/root",
"packageManager": "yarn@3.2.2",
"private": true,
"workspaces": [
"packages/*",
"scripts"
],
"devDependencies": {
"@types/node": "18.7.13",
"@vitejs/plugin-react": "2.0.1",
"@vitest/coverage-c8": "0.30.0",
"c8": "7.11.3",
"global-agent": "3.0.0",
"jsdom": "20.0.0",
"msw": "^1.2.1",
"prettier": "2.8.8",
"rimraf": "3.0.2",
"tsc-multi": "1.0.0",
"typescript": "5.0.2",
"undici": "5.10.0",
"verdaccio": "5.13.1",
"vitest": "0.30.0",
"wireit": "0.7.1"
},
"resolutions": {
"@madatdata/tiny-react-sandbox/react": "^18",
"tsc-multi@1.0.0": "patch:tsc-multi@npm:1.0.0#.yarn/patches/tsc-multi-npm-1.0.0-509fa4971c.patch"
},
"dependencies": {
"cross-fetch": "3.1.5"
},
"scripts": {
"zx": "$(yarn zx-bin-esno) $(yarn zx-bin-zx)",
"codegen": "wireit",
"typecheck": "wireit",
"test": "yarn vitest",
"build": "wireit",
"clean": "yarn rimraf dist ; yarn rimraf packages/*/build/* ; yarn rimraf packages/*/.wireit",
"check": "yarn format.check && yarn codegen && yarn typecheck && yarn test-ci && yarn build",
"test-ci": "yarn vitest run",
"test-mitm": "INSECURE_TLS=1 MITM=http://127.0.0.1:7979 yarn vitest",
"yeet": "yarn workspace @madatdata/yeet run yeet",
"zx-bin-esno": "yarn workspace scripts bin esno",
"zx-bin-zx": "yarn workspace scripts bin zx",
"format": "yarn run format.base --write --list-different .",
"format.check": "yarn run format.base --check . || { yarn run format.warn ; }",
"format.base": "yarn prettier --config .prettierrc --ignore-path .prettierignore --ignore-unknown",
"format.warn": "echo ; echo \"Formatting issues found. To apply changes, run yarn format\" ; exit 1 ;",
"version-all": "yarn workspaces foreach -Atv run version",
"version-all-patch": "yarn version-all patch -d",
"publish-all": "yarn workspaces foreach -Atv run publish",
"with-verdaccio": "yarn verdaccio.check && VERDACCIO=http://localhost:4873 yarn",
"verdaccio.start": "yarn verdaccio --config ./verdaccio.yaml",
"verdaccio.reset": "yarn rimraf '.verdaccio/storage/{.*,*}' && touch .verdaccio/storage/.gitkeep",
"verdaccio.check": "curl -Isqf http://localhost:4873 || ( yarn verdaccio.warn ; exit 1 ; )",
"verdaccio.warn": "echo 'Error: Verdaccio not running at localhost:4873. To start: `yarn verdaccio.start`'"
},
"wireit": {
"build": {
"dependencies": [
"typecheck"
],
"command": "yarn tsc-multi --verbose",
"clean": true,
"//": "NOTE: declare output but not input, to always force a clean build",
"output": [
"packages/**/build"
],
"packageLocks": [
"yarn.lock"
]
},
"typecheck": {
"dependencies": [
"codegen"
],
"command": "yarn tsc --build --verbose --pretty tsconfig.json",
"//": "NOTE: let tsc handle incremental builds (don't declare wireit files/output)"
},
"codegen": {
"dependencies": [
"./packages/db-splitgraph:generate-code"
],
"command": "echo codegen-shim",
"output": [],
"files": []
}
}
}