@vivswan/github-settings-as-code 0.0.0 → 2.0.1-main.658.20260922.gdcb742f

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/package.json CHANGED
@@ -1,14 +1,102 @@
1
1
  {
2
2
  "name": "@vivswan/github-settings-as-code",
3
- "version": "0.0.0",
4
- "description": "GitHub Action applying declarative repository settings: rulesets, labels, branch protection, and more (placeholder; the real releases come from the repository's CI)",
3
+ "version": "2.0.1-main.658.20260922.gdcb742f",
4
+ "description": "GitHub Action applying declarative repository settings: rulesets, labels, branch protection, and more.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
+ "type": "module",
6
7
  "repository": {
7
8
  "type": "git",
8
9
  "url": "git+https://github.com/Vivswan/github-settings-as-code.git"
9
10
  },
10
- "homepage": "https://github.com/Vivswan/github-settings-as-code",
11
+ "engines": {
12
+ "node": ">=22.14"
13
+ },
14
+ "sideEffects": false,
15
+ "exports": {
16
+ ".": {
17
+ "types": "./lib/pkg/index.d.ts",
18
+ "default": "./lib/pkg/index.js"
19
+ },
20
+ "./internal": {
21
+ "types": "./lib/pkg/internal.d.ts",
22
+ "default": "./lib/pkg/internal.js"
23
+ },
24
+ "./settings.schema.json": "./lib/settings.schema.json",
25
+ "./package.json": "./package.json"
26
+ },
27
+ "bin": {
28
+ "github-settings-as-code": "lib/pkg/cli.js",
29
+ "gsac": "lib/pkg/cli.js"
30
+ },
31
+ "files": [
32
+ "lib/pkg/",
33
+ "lib/settings.schema.json",
34
+ "LICENSE.md",
35
+ "README.md"
36
+ ],
11
37
  "publishConfig": {
12
38
  "access": "public"
39
+ },
40
+ "scripts": {
41
+ "check": "bun run lint && bun run lint:arch && bun run check:compat && bun run typecheck && bun run test && bun run build:check",
42
+ "check:compat": "bun .github/scripts/check-compat-markers.ts",
43
+ "lint": "bun x biome ci --error-on-warnings .",
44
+ "lint:yaml": "git ls-files -z '*.yml' '*.yaml' | xargs -0 yamllint -s",
45
+ "lint:fix": "bun x biome check --write .",
46
+ "lint:arch": "bun .github/scripts/arch-lint.ts",
47
+ "lint:package": "bun x publint --strict && bun x attw --pack . --profile esm-only",
48
+ "typecheck": "bun x tsc -p .",
49
+ "knip": "knip",
50
+ "test": "bun test",
51
+ "test:e2e": "bun test/e2e/run.ts",
52
+ "fuzz": "bun test/e2e/fuzz.ts",
53
+ "build": "bun run build:bundle && bun run build:lib && bun run build:schema && bun run build:docs && bun run build:action-docs",
54
+ "build:bundle": "bun build src/main.ts --target=node --outfile lib/index.js",
55
+ "build:lib": "bun x tsdown",
56
+ "build:schema": "bun .github/scripts/gen-settings-schema.ts",
57
+ "build:docs": "bun .github/scripts/gen-docs.ts",
58
+ "build:action-docs": "bun .github/scripts/gen-action-docs.ts",
59
+ "build:check": "bun .github/scripts/generated.ts"
60
+ },
61
+ "dependencies": {
62
+ "@noble/ciphers": "2.4.0",
63
+ "@noble/curves": "2.4.0",
64
+ "@noble/hashes": "2.4.0",
65
+ "@octokit/core": "7.0.8",
66
+ "@octokit/openapi-types": "29.0.1",
67
+ "@octokit/plugin-request-log": "6.0.0",
68
+ "@octokit/plugin-retry": "8.1.1",
69
+ "@octokit/plugin-throttling": "11.0.5",
70
+ "@octokit/types": "18.0.0",
71
+ "age-encryption": "0.3.1",
72
+ "bottleneck": "2.19.5",
73
+ "commander": "15.0.0",
74
+ "consola": "3.4.2",
75
+ "neverthrow": "8.2.0",
76
+ "picocolors": "1.1.1",
77
+ "yaml": "2.9.0",
78
+ "zod": "4.5.4"
79
+ },
80
+ "devDependencies": {
81
+ "@actions/artifact": "6.2.1",
82
+ "@actions/core": "3.0.1",
83
+ "@arethetypeswrong/cli": "0.18.5",
84
+ "@biomejs/biome": "2.5.11",
85
+ "@octokit/graphql-schema": "15.26.1",
86
+ "@octokit/openapi": "23.0.2",
87
+ "@octokit/openapi-webhooks": "12.1.0",
88
+ "@types/bun": "1.4.0",
89
+ "@types/node": "26.4.1",
90
+ "ajv": "8.20.0",
91
+ "ajv-formats": "3.0.1",
92
+ "entities": "8.1.0",
93
+ "graphql": "17.0.2",
94
+ "knip": "6.34.0",
95
+ "lefthook": "2.1.12",
96
+ "libsodium-wrappers": "0.8.4",
97
+ "oxc-parser": "0.147.0",
98
+ "publint": "0.3.24",
99
+ "tsdown": "0.23.0",
100
+ "typescript": "7.0.2"
13
101
  }
14
102
  }