Skip to content

Commit 3468591

Browse files
committed
feat: deno support (refactor)
1 parent 845b75e commit 3468591

File tree

7 files changed

+3
-490
lines changed

7 files changed

+3
-490
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ jobs:
2525
- uses: cycjimmy/semantic-release-action@v3
2626
with:
2727
working_directory: npm
28-
extra_plugins: |
29-
@semantic-release/changelog
30-
@semantic-release/git
3128
env:
3229
GITHUB_TOKEN: ${{ github.token }}
3330
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.releaserc.json renamed to build/.releaserc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66
"prerelease": true
77
}
88
],
9+
"tagFormat": "${version}",
910
"plugins": [
1011
"@semantic-release/commit-analyzer",
1112
"@semantic-release/release-notes-generator",
12-
"@semantic-release/changelog",
1313
"@semantic-release/npm",
14-
"@semantic-release/git",
1514
"@semantic-release/github"
1615
]
1716
}

build_npm.ts renamed to build/build_npm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ await build({
5757
// post build steps
5858
Deno.copyFileSync("LICENSE", "npm/LICENSE");
5959
Deno.copyFileSync("README.md", "npm/README.md");
60-
Deno.copyFileSync(".releaserc.json", "npm/.releaserc.json");
60+
Deno.copyFileSync("build/.releaserc.json", "npm/.releaserc.json");

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"tasks": {
3-
"build": "deno run -A build_npm.ts",
3+
"build": "deno run -A build/build_npm.ts",
44
"test": "deno test -A src/",
55
"lint": "deno lint src/ && deno fmt src/"
66
}

npm/CHANGELOG.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)