generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 4.83 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "typescript-action",
"description": "Github Action to setup caching with Buildless",
"version": "1.0.0",
"author": "Buildless (https://less.build)",
"private": true,
"homepage": "https://github.com/buildless/setup-buildless",
"repository": {
"type": "git",
"url": "git+https://github.com/buildless/setup-buildless.git"
},
"bugs": {
"url": "https://github.com/buildless/setup-buildless/issues"
},
"keywords": [
"actions",
"node",
"setup"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"scripts": {
"build": "pnpm run bundle",
"release": "pnpm run build && pnpm run sentry:sourcemaps",
"bundle": "pnpm run format:write && pnpm run package",
"ci-test": "jest --forceExit --coverage",
"clean": "shx rm -fr dist src/gen",
"gen": "test -d src/gen || buf generate --include-imports",
"coverage": "make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "pnpm run gen && concurrently 'pnpm run package:main' 'pnpm run package:cleanup'",
"package:main": "ncc build src/index.ts --license licenses.txt --minify --source-map",
"package:cleanup": "ncc build src/cleanup.ts -o dist/cleanup --minify --source-map",
"package:watch": "pnpm run package -- --watch",
"test": "jest --runInBand --forceExit --no-watchman --coverage",
"test:debug": "jest --runInBand --detectOpenHandles",
"all": "pnpm run format:write && pnpm run lint && pnpm run test && pnpm run coverage && pnpm run package",
"commitlint": "commitlint --edit",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org elide --project buildless-setup ./dist && sentry-cli sourcemaps upload --org elide --project buildless-setup ./dist"
},
"license": "MIT",
"jestSonar": {},
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"testResultsProcessor": "jest-sonar-reporter",
"setupFiles": [
"<rootDir>/.dev/test-env.js"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"coveragePathIgnorePatterns": [
"src/gen"
],
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"dependencies": {
"@actions/cache": "^3.2.2",
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^6.0.0",
"@actions/http-client": "^2.2.0",
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1",
"@bufbuild/buf": "^1.30.0",
"@bufbuild/protobuf": "^1.7.1",
"@bufbuild/protoc-gen-es": "^1.7.1",
"@connectrpc/connect": "^1.1.4",
"@connectrpc/protoc-gen-connect-es": "^1.1.4",
"@sentry/node": "^7.90.0",
"octokit": "^3.1.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.5.0",
"@connectrpc/connect-node": "^1.1.4",
"@jest/globals": "^29.7.0",
"@sentry/cli": "^2.25.0",
"@sentry/types": "^7.107.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.6",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.19.0",
"@vercel/ncc": "^0.38.1",
"concurrently": "^8.2.2",
"eslint": "^8.55.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-github": "^4.10.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.6.3",
"eslint-plugin-jsonc": "^2.12.2",
"eslint-plugin-prettier": "^5.1.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-sonar-reporter": "^2.0.0",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.2.2",
"prettier-eslint": "^16.1.2",
"shx": "^0.3.4",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"signed-off-by": [
2,
"always",
"Signed-off-by:"
]
}
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "none",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "avoid",
"proseWrap": "always",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "lf"
}
}