@liblaf/actions 1.7.3 → 2.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/package.json CHANGED
@@ -1,77 +1,60 @@
1
1
  {
2
2
  "name": "@liblaf/actions",
3
- "version": "1.7.3",
3
+ "version": "2.0.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/liblaf/actions-src",
7
7
  "bugs": {
8
8
  "url": "https://github.com/liblaf/actions-src/issues"
9
9
  },
10
- "repository": "github:liblaf/actions-src",
11
- "funding": {
12
- "type": "github",
13
- "url": "https://github.com/liblaf/actions-src?sponsor=1"
14
- },
15
10
  "license": "MIT",
16
11
  "author": {
17
12
  "name": "liblaf",
18
13
  "email": "30631553+liblaf@users.noreply.github.com",
19
14
  "url": "https://github.com/liblaf"
20
15
  },
21
- "type": "module",
22
- "bin": {},
16
+ "repository": "github:liblaf/actions-src",
17
+ "funding": {
18
+ "type": "github",
19
+ "url": "https://github.com/liblaf/actions-src?sponsor=1"
20
+ },
23
21
  "files": [
24
22
  "dist"
25
23
  ],
24
+ "type": "module",
25
+ "publishConfig": {
26
+ "access": "public",
27
+ "provenance": true,
28
+ "registry": "https://registry.npmjs.org/"
29
+ },
26
30
  "scripts": {
27
31
  "build": "bun run './scripts/build.ts'",
28
- "format": "biome format",
29
- "format:fix": "biome format --write",
30
- "lint": "biome check",
31
- "lint:fix": "biome check --write",
32
- "prepack": "npm run build",
33
- "test": "bun test",
34
- "test:coverage": "bun test --coverage",
35
- "test:watch": "bun test --watch",
36
- "type-check": "tsc --noEmit"
37
- },
38
- "prettier": {
39
- "plugins": [
40
- "prettier-plugin-packagejson"
41
- ],
42
- "trailingComma": "none"
32
+ "fmt": "oxfmt",
33
+ "fmt:check": "oxfmt --check",
34
+ "lint": "oxlint",
35
+ "lint:fix": "oxlint --fix",
36
+ "prepack": "bun run build",
37
+ "type-check": "tsc --noEmit",
38
+ "update": "bun update --latest && bun install"
43
39
  },
44
40
  "dependencies": {
45
- "@actions/core": "^3.0.0",
41
+ "@actions/core": "^3.0.1",
46
42
  "@actions/exec": "^3.0.0",
47
- "@actions/github": "^9.0.0",
48
- "@actions/glob": "^0.6.1",
43
+ "@actions/github": "^9.1.1",
44
+ "@actions/glob": "^0.7.0",
49
45
  "@octokit/openapi-types": "^27.0.0",
50
46
  "consola": "^3.4.2",
51
47
  "octokit": "^5.0.5",
52
- "parse-duration": "^2.1.5"
48
+ "parse-duration": "^2.1.6"
53
49
  },
54
50
  "devDependencies": {
55
- "@biomejs/biome": "2.4.10",
56
- "@github/local-action": "7.0.1",
57
- "@liblaf/config": "0.1.3",
58
- "@types/node": "25.5.2",
51
+ "@liblaf/config": "0.3.1",
52
+ "@types/node": "25.6.0",
59
53
  "bunup": "0.16.31",
60
- "prettier": "3.8.1",
61
- "prettier-plugin-packagejson": "3.0.2"
62
- },
63
- "peerDependencies": {
64
- "typescript": "^5.9.3"
65
- },
66
- "peerDependenciesMeta": {
67
- "typescript": {
68
- "optional": true
69
- }
70
- },
71
- "publishConfig": {
72
- "access": "public",
73
- "provenance": true,
74
- "registry": "https://registry.npmjs.org/"
54
+ "oxfmt": "0.46.0",
55
+ "oxlint": "1.61.0",
56
+ "oxlint-tsgolint": "0.22.0",
57
+ "typescript": "6.0.3"
75
58
  },
76
59
  "readme": "./README.md"
77
60
  }
@@ -1,25 +0,0 @@
1
- # yaml-language-server: $schema=https://www.schemastore.org/github-action.json
2
-
3
- name: Publish Drafts
4
-
5
- author: liblaf
6
-
7
- description: Publish draft releases whose tags match a pattern after they are older than a configured duration
8
-
9
- inputs:
10
- older-than:
11
- description: Publish matching draft releases only after they are older than this duration
12
- required: false
13
- default: 6hr
14
- tag-pattern:
15
- description: Regular expression used to select release tags that should be published
16
- required: false
17
- default: 'v\d+\.\d+\.\d+'
18
- token:
19
- description: GitHub token used to list releases and publish matching drafts
20
- required: false
21
- default: ${{ github.token }}
22
-
23
- runs:
24
- using: node24
25
- main: ./dist/index.js