bits-to-dead-trees 2.21.0 → 2.22.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/.github/bin/sync-node-version-from-playwright +10 -0
- package/.github/workflows/keep-dockerfile-in-sync.yml +1 -1
- package/.github/workflows/keep-node-version-in-sync.yml +25 -0
- package/.node-version +1 -1
- package/CHANGELOG.md +6 -0
- package/Dockerfile +1 -1
- package/README.md +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
set -o nounset
|
|
4
|
+
|
|
5
|
+
PATH_TO_SCRIPT=$(dirname $(realpath $0))
|
|
6
|
+
|
|
7
|
+
cd "${PATH_TO_SCRIPT}/../.." || exit 1
|
|
8
|
+
|
|
9
|
+
PLAYWRIGHT_VERSION=$(cat package-lock.json | jq -r '.dependencies."playwright-core".version')
|
|
10
|
+
docker run mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION} sh -c "node -v | sed 's/^v//'" > .node-version
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: Keep node version in sync with the one the Playwright version is using
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- "depfu/update/npm/playwright-core-**"
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
sync-node-version:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout Repo
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
with:
|
|
17
|
+
ref: ${{ github.head_ref }}
|
|
18
|
+
|
|
19
|
+
- name: Update .node-version
|
|
20
|
+
run: .github/bin/sync-node-version-from-playwright
|
|
21
|
+
|
|
22
|
+
- name: Commit changes
|
|
23
|
+
uses: stefanzweifel/git-auto-commit-action@v5
|
|
24
|
+
with:
|
|
25
|
+
commit_message: "🤖 Update .node-version after playwright update"
|
package/.node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
22.
|
|
1
|
+
22.13.1
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# bits-to-dead-trees
|
|
2
2
|
|
|
3
|
+
## 2.22.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#460](https://github.com/rmehner/bits-to-dead-trees/pull/460) [`02f8515`](https://github.com/rmehner/bits-to-dead-trees/commit/02f851538680cbf7e9abff2fc59b097863b34749) Thanks [@depfu](https://github.com/apps/depfu)! - Upgrade to PlayWright 1.50.0
|
|
8
|
+
|
|
3
9
|
## 2.21.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/Dockerfile
CHANGED
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bits-to-dead-trees",
|
|
3
3
|
"author": "Robin Mehner <robin@coding-robin.de>",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.22.0",
|
|
5
5
|
"description": "Turn HTML into PDF files",
|
|
6
6
|
"repository": "github:rmehner/bits-to-dead-trees",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"fastify": "^5.2.1",
|
|
34
|
-
"playwright-core": "^1.
|
|
34
|
+
"playwright-core": "^1.50.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@changesets/changelog-github": "^0.5.0",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@eslint/js": "^9.17.0",
|
|
40
40
|
"@tsconfig/node20": "^20.1.4",
|
|
41
41
|
"@types/lodash": "^4.17.14",
|
|
42
|
-
"@types/node": "22.10.
|
|
43
|
-
"eslint": "^9.
|
|
44
|
-
"eslint-config-prettier": "^
|
|
42
|
+
"@types/node": "22.10.7",
|
|
43
|
+
"eslint": "^9.19.0",
|
|
44
|
+
"eslint-config-prettier": "^10.0.1",
|
|
45
45
|
"eslint-plugin-n": "^17.15.1",
|
|
46
46
|
"eslint-plugin-promise": "^7.2.1",
|
|
47
47
|
"globals": "^15.14.0",
|
|
@@ -49,6 +49,6 @@
|
|
|
49
49
|
"pino-pretty": "^13.0.0",
|
|
50
50
|
"prettier": "^3.4.2",
|
|
51
51
|
"typescript-json-schema": "^0.65.1",
|
|
52
|
-
"vitest": "^
|
|
52
|
+
"vitest": "^3.0.4"
|
|
53
53
|
}
|
|
54
54
|
}
|