Skip to content

Commit abfe7e7

Browse files
committed
Meta tweak
1 parent 90ce223 commit abfe7e7

File tree

7 files changed

+271
-252
lines changed

7 files changed

+271
-252
lines changed

.github/workflows/augular-html-parser-continuous-integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,17 @@ concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

17+
defaults:
18+
run:
19+
working-directory: packages/angular-html-parser
20+
1721
jobs:
1822
test:
1923
strategy:
2024
fail-fast: false
2125
matrix:
2226
node:
27+
- "24"
2328
- "22"
2429
- "20"
2530
- "18"
@@ -39,5 +44,4 @@ jobs:
3944
yarn test
4045
yarn build
4146
yarn lint
42-
working-directory: packages/angular-html-parser
4347

.github/workflows/publish.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Publish Package
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
permissions: {}
9+
10+
defaults:
11+
run:
12+
working-directory: packages/angular-html-parser
13+
14+
jobs:
15+
publish:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
id-token: write
19+
contents: read
20+
steps:
21+
- uses: actions/checkout@v6
22+
23+
- uses: actions/setup-node@v6
24+
with:
25+
node-version: 'lts/*'
26+
27+
- run: |
28+
yarn --immutable
29+
yarn build
30+
31+
- run: npm pkg delete scripts devDependencies packageManager
32+
33+
- run: |
34+
node --version
35+
npm --version
36+
37+
- run: npm publish

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,3 @@ baseline.json
5454

5555
# Ignore cache created with the Angular CLI.
5656
.angular/
57-
58-
# angular-html-parser
59-
packages/angular-html-parser/coverage

packages/angular-html-parser/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
lib/
2-
dist/
2+
dist*/
33
node_modules/
4+
coverage/
45
**/.yarn/*
56
!.yarn/releases
67
!.yarn/plugins
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
2-
"$schema": "https://unpkg.com/release-it@18/schema/release-it.json",
2+
"$schema": "https://unpkg.com/release-it/schema/release-it.json",
33
"git": {
4-
"commitMessage": "chore: release v${version}"
4+
"commitMessage": "chore: release v${version}",
5+
"tagName": "v${version}"
56
},
67
"github": {
78
"release": true
89
},
9-
"hooks": {
10-
"after:bump": "node --run build"
10+
"npm": {
11+
"publish": false
1112
}
1213
}

packages/angular-html-parser/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
"lint": "prettier . --check"
2727
},
2828
"devDependencies": {
29-
"@types/node": "24.10.1",
30-
"@vitest/coverage-v8": "4.0.12",
31-
"prettier": "3.6.2",
32-
"release-it": "19.0.6",
29+
"@types/node": "25.0.2",
30+
"@vitest/coverage-v8": "4.0.15",
31+
"prettier": "3.7.4",
32+
"release-it": "19.1.0",
3333
"tsconfig-paths": "4.2.0",
34-
"tsdown": "0.16.6",
34+
"tsdown": "0.18.0",
3535
"typescript": "5.9.3",
36-
"vitest": "4.0.12"
36+
"vitest": "4.0.15"
3737
},
3838
"engines": {
3939
"node": ">= 14"

0 commit comments

Comments
 (0)