semantic-release-pub 0.11.12 → 0.11.14
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/dist/utils.js +2 -2
- package/package.json +11 -11
package/dist/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readFileSync } from "node:fs";
|
|
2
|
-
import
|
|
2
|
+
import { getIDToken } from "@actions/core";
|
|
3
3
|
import SemanticReleaseError from "@semantic-release/error";
|
|
4
4
|
import { JWT } from "google-auth-library";
|
|
5
5
|
import { parse } from "yaml";
|
|
@@ -29,7 +29,7 @@ export const getGoogleIdentityToken = async (serviceAccountStr) => {
|
|
|
29
29
|
return creds.id_token;
|
|
30
30
|
};
|
|
31
31
|
export const getGithubIdentityToken = async () => {
|
|
32
|
-
return
|
|
32
|
+
return getIDToken(PUB_DEV_AUDIENCE);
|
|
33
33
|
};
|
|
34
34
|
export const getPubspecString = () => {
|
|
35
35
|
return readFileSync(PUBSPEC_PATH, "utf-8");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semantic-release-pub",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.14",
|
|
4
4
|
"description": "semantic-release plugin to publish a Dart or Flutter package",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "zeshuaro@gmail.com",
|
|
@@ -23,24 +23,24 @@
|
|
|
23
23
|
"dist/*"
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "tsc",
|
|
26
|
+
"build": "tsc -p tsconfig.build.json",
|
|
27
27
|
"test": "vitest run tests --coverage",
|
|
28
28
|
"lint": "biome check src tests && tsc --noEmit && tsc -p tsconfig.test.json",
|
|
29
29
|
"lint:write": "biome check src tests --write"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
|
-
"node": ">=24.
|
|
32
|
+
"node": ">=24.15.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@actions/core": "^
|
|
35
|
+
"@actions/core": "^3.0.0",
|
|
36
36
|
"@semantic-release/error": "^4.0.0",
|
|
37
37
|
"execa": "^9.6.1",
|
|
38
38
|
"google-auth-library": "^10.6.2",
|
|
39
|
-
"yaml": "^2.8.
|
|
39
|
+
"yaml": "^2.8.3",
|
|
40
40
|
"zod": "^4.3.6"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@biomejs/biome": "2.4.
|
|
43
|
+
"@biomejs/biome": "2.4.12",
|
|
44
44
|
"@semantic-release/changelog": "6.0.3",
|
|
45
45
|
"@semantic-release/git": "10.0.1",
|
|
46
46
|
"@tsconfig/node-ts": "^23.6.4",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"@types/common-tags": "1.8.4",
|
|
51
51
|
"@types/semantic-release__error": "3.0.3",
|
|
52
52
|
"@types/signale": "1.4.7",
|
|
53
|
-
"@vitest/coverage-v8": "
|
|
53
|
+
"@vitest/coverage-v8": "4.1.4",
|
|
54
54
|
"common-tags": "1.8.2",
|
|
55
|
-
"conventional-changelog-conventionalcommits": "9.3.
|
|
55
|
+
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
56
56
|
"semantic-release": "25.0.3",
|
|
57
|
-
"typescript": "
|
|
58
|
-
"vitest": "
|
|
59
|
-
"vitest-mock-extended": "
|
|
57
|
+
"typescript": "6.0.2",
|
|
58
|
+
"vitest": "4.1.4",
|
|
59
|
+
"vitest-mock-extended": "4.0.0"
|
|
60
60
|
}
|
|
61
61
|
}
|