-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 4.27 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 4.27 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
{
"name": "@elide-dev/setup-elide",
"description": "GitHub Action to setup the Elide runtime",
"version": "1.0.0",
"author": "Elide Team (https://elide.dev)",
"private": true,
"homepage": "https://github.com/elide-dev/setup-elide",
"repository": {
"type": "git",
"url": "git+https://github.com/elide-dev/setup-elide.git"
},
"bugs": {
"url": "https://github.com/elide-dev/setup-elide/issues"
},
"keywords": [
"actions",
"setup",
"elide",
"elide-runtime",
"polyglot"
],
"type": "module",
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=24"
},
"dependencies": {
"@actions/cache": "6.0.0",
"@actions/core": "3.0.0",
"@actions/exec": "3.0.0",
"@actions/github": "9.0.0",
"@actions/http-client": "4.0.0",
"@actions/io": "3.0.2",
"@actions/tool-cache": "4.0.0",
"@sentry/node": "^10.46.0",
"octokit": "5.0.5"
},
"devDependencies": {
"@biomejs/biome": "^2.4.9",
"@commitlint/cli": "20.5.0",
"@commitlint/config-conventional": "20.5.0",
"@types/bun": "latest",
"@types/node": "25.5.0",
"husky": "9.1.7",
"js-yaml": "4.1.1",
"oxlint": "^1.57.0",
"typescript": "6.0.2"
},
"scripts": {
"turbo:build": "bun run turbo build --token $BUILDLESS_APIKEY --no-daemon --remote-only",
"turbo:test": "bun run turbo test --token $BUILDLESS_APIKEY --no-daemon --remote-only",
"build": "bun run bundle",
"bundle": "bun run format:write && bun run package",
"ci:build": "bun run turbo:build",
"ci:test": "bun run turbo:test",
"format:write": "biome format --write src __tests__",
"format:check": "biome format src __tests__",
"lint": "oxlint src __tests__",
"package": "bun build src/index.ts src/post.ts --outdir=dist --target=node --minify --sourcemap=linked",
"package:watch": "bun build src/index.ts src/post.ts --outdir=dist --target=node --sourcemap=linked --watch",
"test": "rm -rf coverage && bun test __tests__/options.test.ts __tests__/platform.test.ts __tests__/releases.test.ts __tests__/index.test.ts && cp coverage/lcov.info coverage/batch1.info && bun test __tests__/command.test.ts && cp coverage/lcov.info coverage/batch2.info && bun test __tests__/releases-download.test.ts && cp coverage/lcov.info coverage/batch3.info && bun test __tests__/telemetry.test.ts && cp coverage/lcov.info coverage/batch4.info && bun test __tests__/install-apt.test.ts __tests__/install-shell.test.ts __tests__/install-msi.test.ts __tests__/install-pkg.test.ts __tests__/install-rpm.test.ts && cp coverage/lcov.info coverage/batch5.info && bun test __tests__/main.test.ts && cp coverage/lcov.info coverage/batch6.info && cat coverage/batch*.info > coverage/lcov.info",
"test:ci": "rm -rf coverage test-results && mkdir -p test-results && bun test --reporter=junit --reporter-outfile=test-results/batch1.xml __tests__/options.test.ts __tests__/platform.test.ts __tests__/releases.test.ts __tests__/index.test.ts && cp coverage/lcov.info coverage/batch1.info && bun test --reporter=junit --reporter-outfile=test-results/batch2.xml __tests__/command.test.ts && cp coverage/lcov.info coverage/batch2.info && bun test --reporter=junit --reporter-outfile=test-results/batch3.xml __tests__/releases-download.test.ts && cp coverage/lcov.info coverage/batch3.info && bun test --reporter=junit --reporter-outfile=test-results/batch4.xml __tests__/telemetry.test.ts && cp coverage/lcov.info coverage/batch4.info && bun test --reporter=junit --reporter-outfile=test-results/batch5.xml __tests__/install-apt.test.ts __tests__/install-shell.test.ts __tests__/install-msi.test.ts __tests__/install-pkg.test.ts __tests__/install-rpm.test.ts && cp coverage/lcov.info coverage/batch5.info && bun test --reporter=junit --reporter-outfile=test-results/batch6.xml __tests__/main.test.ts && cp coverage/lcov.info coverage/batch6.info && cat coverage/batch*.info > coverage/lcov.info",
"test:docker": "docker build -t setup-elide-test . && docker run --rm setup-elide-test sh -c 'bun run build && bun run test'",
"all": "bun run format:write && bun run build && bun run test"
},
"license": "MIT",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"signed-off-by": [
2,
"always",
"Signed-off-by:"
]
}
}
}