-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
77 lines (77 loc) · 3.06 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
{
"name": "@javamodules/attic",
"version": "1.0.0",
"private": true,
"type": "module",
"workspaces": [
"site",
"workers/common",
"workers/graph"
],
"scripts": {
"check": "pnpm run /:check$/",
"clean": "rm -fr dist && rm -fr site/dist && rm -fr workers/*/build workers/*/dist",
"dist": "mkdir -p dist && pnpm run site:build:prod && cp -frv site/dist/* dist/",
"devcontainer:build": "docker buildx build --attest=type=provenance --attest=type=sbom --push -t ghcr.io/javamodules/javamodules.dev/devcontainer -f .devcontainer/Dockerfile .",
"devcontainer:push": "docker push ghcr.io/javamodules/javamodules.dev/devcontainer",
"devcontainer": "docker run --rm -it ghcr.io/javamodules/javamodules.dev/devcontainer",
"format": "pnpm run fmt:write",
"fmt:check": "prettier . --check",
"fmt:write": "prettier . --write",
"libs:build": "pnpm --filter !@javamodules/site -r build",
"libs:test": "pnpm --filter !@javamodules/site -r test",
"site:build": "cd site && pnpm run build",
"site:build:prod": "cd site && pnpm run dist",
"site:deploy": "cd site && pnpm run deploy",
"site:test": "cd site && pnpm run test",
"site:start": "cd site && pnpm run start",
"build:all": "pnpm run libs:build && pnpm run site:build",
"test:all": "pnpm run /:test$/",
"dev": "pnpm run build && pnpm run test && cd site && pnpm run dev",
"start": "pnpm run site:start",
"build": "mv bun.lockb bun.inert && turbo build --no-daemon --cache-dir .dev/cache/turbo --no-update-notifier ; mv bun.inert bun.lockb",
"build:remote-cache": "cp -f .turbo/config.tpl.json .turbo/config.json && mv bun.lockb bun.inert && turbo build --token $BUILDLESS_APIKEY --no-daemon --cache-dir .dev/cache/turbo --no-update-notifier ; mv bun.inert bun.lockb && rm -f ./.turbo/config.json",
"test": "mv bun.lockb bun.inert && turbo test --no-daemon --cache-dir .dev/cache/turbo --no-update-notifier ; mv bun.inert bun.lockb",
"test:remote-cache": "cp -f .turbo/config.tpl.json .turbo/config.json && mv bun.lockb bun.inert && turbo test --token $BUILDLESS_APIKEY --no-daemon --cache-dir .dev/cache/turbo --no-update-notifier ; mv bun.inert bun.lockb && rm -f ./.turbo/config.json",
"storybook": "pnpm run build && cd site && pnpm run storybook",
"chromatic": "pnpm run build && cd site && pnpm run chromatic",
"prepare": "husky",
"turbo": "turbo"
},
"devDependencies": {
"@changesets/cli": "2.27.1",
"@commitlint/cli": "19.2.0",
"@commitlint/config-conventional": "19.1.0",
"commitlint": "19.2.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"prettier": "3.2.5",
"turbo": "1.12.5",
"typescript": "5.4.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"pnpm": {
"allowDeprecated": {
"rollup-plugin-inject": "*",
"sourcemap-codec": "*"
}
},
"lint-staged": {
"*": "pnpm run check"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"signed-off-by": [
2,
"always"
]
}
}
}