flagshark 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +175 -0
- package/action/index.ts +243 -0
- package/bin/flagshark.mjs +2 -0
- package/dist/action.js +3811 -0
- package/dist/cli.js +4003 -0
- package/package.json +56 -0
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "flagshark",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Find stale feature flags in your codebase",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/FlagShark/flagshark.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://flagshark.com",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"feature-flags",
|
|
14
|
+
"launchdarkly",
|
|
15
|
+
"unleash",
|
|
16
|
+
"flipt",
|
|
17
|
+
"split",
|
|
18
|
+
"posthog",
|
|
19
|
+
"cleanup",
|
|
20
|
+
"stale-flags",
|
|
21
|
+
"technical-debt",
|
|
22
|
+
"github-action"
|
|
23
|
+
],
|
|
24
|
+
"bin": {
|
|
25
|
+
"flagshark": "./bin/flagshark.mjs"
|
|
26
|
+
},
|
|
27
|
+
"main": "./dist/cli.js",
|
|
28
|
+
"files": [
|
|
29
|
+
"dist/",
|
|
30
|
+
"bin/",
|
|
31
|
+
"action/"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "npm run build:cli && npm run build:action",
|
|
35
|
+
"build:cli": "esbuild src/cli.ts --bundle --platform=node --target=node18 --format=esm --outfile=dist/cli.js --external:zod",
|
|
36
|
+
"build:action": "esbuild action/index.ts --bundle --platform=node --target=node18 --format=esm --outfile=dist/action.js --external:@actions/core --external:@actions/github --external:zod",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"test:watch": "vitest",
|
|
39
|
+
"prepublishOnly": "npm run build && npm test"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"p-limit": "^6.0.0",
|
|
43
|
+
"zod": "^3.23.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@actions/core": "^1.10.0",
|
|
47
|
+
"@actions/github": "^6.0.0",
|
|
48
|
+
"@types/node": "^22.0.0",
|
|
49
|
+
"esbuild": "^0.24.0",
|
|
50
|
+
"typescript": "^5.7.0",
|
|
51
|
+
"vitest": "^3.0.0"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">=18.0.0"
|
|
55
|
+
}
|
|
56
|
+
}
|