bits-to-dead-trees 2.26.1 → 2.27.1

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.
@@ -26,4 +26,6 @@ jobs:
26
26
  run: npm run update-schemas
27
27
 
28
28
  - name: Commit schema changes
29
- run: .github/bin/check-for-schema-changes
29
+ uses: stefanzweifel/git-auto-commit-action@v5
30
+ with:
31
+ commit_message: "🤖 Update schema to match Playwright version"
@@ -1,4 +1,4 @@
1
- name: Keep node version in sync with the one the Playwright version is using
1
+ name: Keep node version and playwright version in sync
2
2
 
3
3
  on:
4
4
  workflow_dispatch:
@@ -17,10 +17,18 @@ jobs:
17
17
  with:
18
18
  ref: ${{ github.head_ref }}
19
19
 
20
- - name: Update .node-version
20
+ - name: Sync .node-version with the one that Playwright is using
21
21
  run: .github/bin/sync-node-version-from-playwright
22
22
 
23
23
  - name: Commit changes
24
24
  uses: stefanzweifel/git-auto-commit-action@v5
25
25
  with:
26
26
  commit_message: "🤖 Update .node-version after playwright update"
27
+
28
+ - name: Sync Playwright version in dockerfile with the one from package.json
29
+ run: .github/bin/sync-playwright-version-to-dockerfile
30
+
31
+ - name: Commit changes
32
+ uses: stefanzweifel/git-auto-commit-action@v5
33
+ with:
34
+ commit_message: "🤖 Update playwright-core in Dockerfile after depfu update"
package/.node-version CHANGED
@@ -1 +1 @@
1
- 22.18.0
1
+ 22.19.0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # bits-to-dead-trees
2
2
 
3
+ ## 2.27.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`bbcb061`](https://github.com/rmehner/bits-to-dead-trees/commit/bbcb061032c2810b238b27c6e7ebe1f0e2b3a43b) Thanks [@rmehner](https://github.com/rmehner)! - Update Playwright to 1.55.1
8
+
9
+ ## 2.27.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`b5ef495`](https://github.com/rmehner/bits-to-dead-trees/commit/b5ef49539f981df4cc68b62c8574fc2870dc9bfc) Thanks [@rmehner](https://github.com/rmehner)! - Update to Playwright 1.55.0
14
+
3
15
  ## 2.26.1
4
16
 
5
17
  ### Patch Changes
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM mcr.microsoft.com/playwright:v1.54.2
1
+ FROM mcr.microsoft.com/playwright:v1.55.1
2
2
 
3
3
  ENV NODE_ENV=production
4
4
  ENV PORT=8000
package/README.md CHANGED
@@ -57,7 +57,7 @@ If you want to use it internally with docker-compose, this should give you a goo
57
57
  ```yml
58
58
  services:
59
59
  pdf:
60
- image: ghcr.io/rmehner/bits-to-dead-trees:v2.26.0
60
+ image: ghcr.io/rmehner/bits-to-dead-trees:v2.27.0
61
61
  ports:
62
62
  - 8000:8000
63
63
  ```
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.26.1",
4
+ "version": "2.27.1",
5
5
  "description": "Turn HTML into PDF files",
6
6
  "repository": "github:rmehner/bits-to-dead-trees",
7
7
  "license": "Apache-2.0",
@@ -30,22 +30,22 @@
30
30
  "ts-check": "npx tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "fastify": "^5.4.0",
34
- "playwright-core": "^1.54.2"
33
+ "fastify": "^5.6.0",
34
+ "playwright-core": "^1.55.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@changesets/changelog-github": "^0.5.1",
38
- "@changesets/cli": "^2.29.5",
39
- "@eslint/js": "^9.32.0",
38
+ "@changesets/cli": "^2.29.7",
39
+ "@eslint/js": "^9.35.0",
40
40
  "@tsconfig/node20": "^20.1.6",
41
41
  "@types/lodash": "^4.17.20",
42
42
  "@types/node": "22.16.5",
43
- "eslint": "^9.32.0",
43
+ "eslint": "^9.35.0",
44
44
  "eslint-config-prettier": "^10.1.8",
45
- "eslint-plugin-n": "^17.21.3",
45
+ "eslint-plugin-n": "^17.23.1",
46
46
  "eslint-plugin-promise": "^7.2.1",
47
- "globals": "^16.3.0",
48
- "pino-pretty": "^13.0.0",
47
+ "globals": "^16.4.0",
48
+ "pino-pretty": "^13.1.1",
49
49
  "prettier": "^3.6.2",
50
50
  "typescript-json-schema": "^0.65.1",
51
51
  "vitest": "^3.2.4"
@@ -41,7 +41,7 @@
41
41
  "type": "boolean"
42
42
  },
43
43
  "clientCertificates": {
44
- "description": "TLS Client Authentication allows the server to request a client certificate and verify it.\n\n**Details**\n\nAn array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`,\na single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally,\n`passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided\nwith an exact match to the request origin that the certificate is valid for.\n\n**NOTE** When using WebKit on macOS, accessing `localhost` will not pick up client certificates. You can make it\nwork by replacing `localhost` with `local.playwright`.",
44
+ "description": "TLS Client Authentication allows the server to request a client certificate and verify it.\n\n**Details**\n\nAn array of client certificates to be used. Each certificate object must have either both `certPath` and `keyPath`,\na single `pfxPath`, or their corresponding direct value equivalents (`cert` and `key`, or `pfx`). Optionally,\n`passphrase` property should be provided if the certificate is encrypted. The `origin` property should be provided\nwith an exact match to the request origin that the certificate is valid for.\n\nClient certificate authentication is only active when at least one client certificate is provided. If you want to\nreject all client certificates sent by the server, you need to provide a client certificate with an `origin` that\ndoes not match any of the domains you plan to visit.\n\n**NOTE** When using WebKit on macOS, accessing `localhost` will not pick up client certificates. You can make it\nwork by replacing `localhost` with `local.playwright`.",
45
45
  "items": {
46
46
  "additionalProperties": false,
47
47
  "properties": {
@@ -1,16 +0,0 @@
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
- if [[ $(git status --porcelain | grep pdf_request_body.json) ]]; then
10
- echo "🚨 Detected schema changes that haven't been committed, please run 'npm run update-schemas' and commit the changes."
11
- git status
12
- git diff
13
- exit 2
14
- else
15
- echo "All good, no schema changes detected. 🏝"
16
- fi
@@ -1,25 +0,0 @@
1
- name: Keep dockerfile in sync
2
-
3
- on:
4
- push:
5
- branches:
6
- - "depfu/update/npm/playwright-core-**"
7
-
8
- jobs:
9
- sync-dockerfile:
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 Dockerfile
20
- run: .github/bin/sync-playwright-version-to-dockerfile
21
-
22
- - name: Commit changes
23
- uses: stefanzweifel/git-auto-commit-action@v5
24
- with:
25
- commit_message: "🤖 Update playwright-core in Dockerfile after depfu update"