From 7f9d4c4ee33f77f874b02e46e11f144a72bcfc5a Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 22:14:00 +0000 Subject: [PATCH 01/11] chore(deps): update dependency @types/node to v20.11.26 | datasource | package | from | to | | ---------- | ----------- | -------- | -------- | | npm | @types/node | 20.11.25 | 20.11.26 | --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 9c7538d4..38a00901 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@bfra.me/tsconfig": "workspace:*", "@changesets/cli": "2.27.1", "@swisspost/design-system-changelog-github": "1.0.2", - "@types/node": "20.11.25", + "@types/node": "20.11.26", "eslint": "8.57.0", "prettier": "3.2.5", "rimraf": "5.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c19482ac..3ecf0684 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: 1.0.2 version: 1.0.2 '@types/node': - specifier: 20.11.25 - version: 20.11.25 + specifier: 20.11.26 + version: 20.11.26 eslint: specifier: 8.57.0 version: 8.57.0 @@ -34,7 +34,7 @@ importers: version: 5.0.5 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.11.25)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.26)(typescript@5.3.3) typescript: specifier: 5.3.3 version: 5.3.3 @@ -467,8 +467,8 @@ packages: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true - /@types/node@20.11.25: - resolution: {integrity: sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==} + /@types/node@20.11.26: + resolution: {integrity: sha512-YwOMmyhNnAWijOBQweOJnQPl068Oqd4K3OFbTc6AHJwzweUwwWG3GIFY74OKks2PJUDkQPeddOQES9mLn1CTEQ==} dependencies: undici-types: 5.26.5 dev: true @@ -2478,7 +2478,7 @@ packages: engines: {node: '>=8'} dev: true - /ts-node@10.9.2(@types/node@20.11.25)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.26)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -2497,7 +2497,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.25 + '@types/node': 20.11.26 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -2810,7 +2810,7 @@ time: /@changesets/cli@2.27.1: '2023-11-28T11:18:23.079Z' /@swisspost/design-system-changelog-github@1.0.2: '2022-11-22T09:41:10.082Z' /@tsconfig/strictest@2.0.3: '2024-02-09T04:11:59.280Z' - /@types/node@20.11.25: '2024-03-06T17:07:22.978Z' + /@types/node@20.11.26: '2024-03-11T22:06:56.973Z' /ajv-draft-04@1.0.0: '2021-05-23T15:48:18.254Z' /ajv@8.12.0: '2023-01-03T14:19:23.766Z' /eslint@8.57.0: '2024-02-23T20:39:43.282Z' From ade001cab38c30a38679d6b3e4829b25de1f7f7e Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:27:00 +0000 Subject: [PATCH 02/11] chore(deps): update actions/checkout action to v4.1.2 | datasource | package | from | to | | ----------- | ---------------- | ------ | ------ | | github-tags | actions/checkout | v4.1.1 | v4.1.2 | --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 467a0cd0..08df3282 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 - name: Setup pnpm uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0 @@ -69,7 +69,7 @@ jobs: git config --global user.email '118100583+bfra-me[bot]@users.noreply.github.com' git config --global user.name 'bfra-me[bot]' - name: Checkout repository - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 with: fetch-depth: 0 token: ${{ steps.get-workflow-access-token.outputs.token }} From feb81b7c0e5addd6052aa2880abc7814c8e91069 Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Wed, 13 Mar 2024 14:14:09 +0000 Subject: [PATCH 03/11] chore(deps): update dependency @types/node to v20.11.27 | datasource | package | from | to | | ---------- | ----------- | -------- | -------- | | npm | @types/node | 20.11.26 | 20.11.27 | --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 38a00901..df770440 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@bfra.me/tsconfig": "workspace:*", "@changesets/cli": "2.27.1", "@swisspost/design-system-changelog-github": "1.0.2", - "@types/node": "20.11.26", + "@types/node": "20.11.27", "eslint": "8.57.0", "prettier": "3.2.5", "rimraf": "5.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3ecf0684..45d3110d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: 1.0.2 version: 1.0.2 '@types/node': - specifier: 20.11.26 - version: 20.11.26 + specifier: 20.11.27 + version: 20.11.27 eslint: specifier: 8.57.0 version: 8.57.0 @@ -34,7 +34,7 @@ importers: version: 5.0.5 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.11.26)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.27)(typescript@5.3.3) typescript: specifier: 5.3.3 version: 5.3.3 @@ -467,8 +467,8 @@ packages: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true - /@types/node@20.11.26: - resolution: {integrity: sha512-YwOMmyhNnAWijOBQweOJnQPl068Oqd4K3OFbTc6AHJwzweUwwWG3GIFY74OKks2PJUDkQPeddOQES9mLn1CTEQ==} + /@types/node@20.11.27: + resolution: {integrity: sha512-qyUZfMnCg1KEz57r7pzFtSGt49f6RPkPBis3Vo4PbS7roQEDn22hiHzl/Lo1q4i4hDEgBJmBF/NTNg2XR0HbFg==} dependencies: undici-types: 5.26.5 dev: true @@ -2478,7 +2478,7 @@ packages: engines: {node: '>=8'} dev: true - /ts-node@10.9.2(@types/node@20.11.26)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.27)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -2497,7 +2497,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.26 + '@types/node': 20.11.27 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -2810,7 +2810,7 @@ time: /@changesets/cli@2.27.1: '2023-11-28T11:18:23.079Z' /@swisspost/design-system-changelog-github@1.0.2: '2022-11-22T09:41:10.082Z' /@tsconfig/strictest@2.0.3: '2024-02-09T04:11:59.280Z' - /@types/node@20.11.26: '2024-03-11T22:06:56.973Z' + /@types/node@20.11.27: '2024-03-13T13:35:56.122Z' /ajv-draft-04@1.0.0: '2021-05-23T15:48:18.254Z' /ajv@8.12.0: '2023-01-03T14:19:23.766Z' /eslint@8.57.0: '2024-02-23T20:39:43.282Z' From 28553acce7ee47f2357abcebb8d4e703060e0960 Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Fri, 15 Mar 2024 08:18:38 +0000 Subject: [PATCH 04/11] chore(deps): update dependency @types/node to v20.11.28 | datasource | package | from | to | | ---------- | ----------- | -------- | -------- | | npm | @types/node | 20.11.27 | 20.11.28 | --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index df770440..9c014f4f 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@bfra.me/tsconfig": "workspace:*", "@changesets/cli": "2.27.1", "@swisspost/design-system-changelog-github": "1.0.2", - "@types/node": "20.11.27", + "@types/node": "20.11.28", "eslint": "8.57.0", "prettier": "3.2.5", "rimraf": "5.0.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 45d3110d..ec84b0cb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: 1.0.2 version: 1.0.2 '@types/node': - specifier: 20.11.27 - version: 20.11.27 + specifier: 20.11.28 + version: 20.11.28 eslint: specifier: 8.57.0 version: 8.57.0 @@ -34,7 +34,7 @@ importers: version: 5.0.5 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.11.27)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.28)(typescript@5.3.3) typescript: specifier: 5.3.3 version: 5.3.3 @@ -467,8 +467,8 @@ packages: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true - /@types/node@20.11.27: - resolution: {integrity: sha512-qyUZfMnCg1KEz57r7pzFtSGt49f6RPkPBis3Vo4PbS7roQEDn22hiHzl/Lo1q4i4hDEgBJmBF/NTNg2XR0HbFg==} + /@types/node@20.11.28: + resolution: {integrity: sha512-M/GPWVS2wLkSkNHVeLkrF2fD5Lx5UC4PxA0uZcKc6QqbIQUJyW1jVjueJYi1z8n0I5PxYrtpnPnWglE+y9A0KA==} dependencies: undici-types: 5.26.5 dev: true @@ -2478,7 +2478,7 @@ packages: engines: {node: '>=8'} dev: true - /ts-node@10.9.2(@types/node@20.11.27)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.28)(typescript@5.3.3): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -2497,7 +2497,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.11.27 + '@types/node': 20.11.28 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -2810,7 +2810,7 @@ time: /@changesets/cli@2.27.1: '2023-11-28T11:18:23.079Z' /@swisspost/design-system-changelog-github@1.0.2: '2022-11-22T09:41:10.082Z' /@tsconfig/strictest@2.0.3: '2024-02-09T04:11:59.280Z' - /@types/node@20.11.27: '2024-03-13T13:35:56.122Z' + /@types/node@20.11.28: '2024-03-15T07:35:58.848Z' /ajv-draft-04@1.0.0: '2021-05-23T15:48:18.254Z' /ajv@8.12.0: '2023-01-03T14:19:23.766Z' /eslint@8.57.0: '2024-02-23T20:39:43.282Z' From 809dfaf525b59ba638d13f492c81a8d72ad5a0f2 Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Sun, 17 Mar 2024 21:14:35 +0000 Subject: [PATCH 05/11] chore(deps): update pnpm to v8.15.5 | datasource | package | from | to | | ---------- | ------- | ------ | ------ | | npm | pnpm | 8.15.4 | 8.15.5 | --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9c014f4f..10f48d38 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@bfra.me/works", "version": "0.0.0", "private": true, - "packageManager": "pnpm@8.15.4", + "packageManager": "pnpm@8.15.5", "description": "bfra.me tools and components", "scripts": { "bootstrap": "pnpm install --frozen-lockfile && pnpm -r build", From 5564b82ab6c949fee1c168f512965fb7db6960d9 Mon Sep 17 00:00:00 2001 From: "Marcus R. Brown" Date: Sun, 17 Mar 2024 23:42:24 -0700 Subject: [PATCH 06/11] fix(tsconfig): update `package.json` (#148) --- .changeset/eight-toys-tan.md | 5 +++++ packages/tsconfig/package.json | 7 +++++-- tsconfig.json | 5 +---- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/eight-toys-tan.md diff --git a/.changeset/eight-toys-tan.md b/.changeset/eight-toys-tan.md new file mode 100644 index 00000000..552d8df8 --- /dev/null +++ b/.changeset/eight-toys-tan.md @@ -0,0 +1,5 @@ +--- +"@bfra.me/tsconfig": patch +--- + +`package.json`: Update `homepage`, add `keywords`, and extend `exports` diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json index 1d69cc91..2341494d 100644 --- a/packages/tsconfig/package.json +++ b/packages/tsconfig/package.json @@ -6,7 +6,7 @@ "license": "MIT", "type": "module", "main": "tsconfig.json", - "homepage": "https://github.com/bfra-me/works/blob/main/packages/tsconfig#readme", + "homepage": "https://github.com/bfra-me/works/tree/main/packages/tsconfig#readme", "repository": { "directory": "packages/tsconfig", "type": "git", @@ -15,6 +15,7 @@ "bugs": "https://github.com/bfra-me/works/issues", "keywords": [ "bfra.me", + "works", "typescript", "tsconfig", "config", @@ -28,7 +29,9 @@ "tsconfig.json" ], "exports": { - ".": "./tsconfig.json" + ".": "./tsconfig.json", + "./package.json": "./package.json", + "./tsconfig.json": "./tsconfig.json" }, "devDependencies": { "@bfra.me/tsconfig": "workspace:*", diff --git a/tsconfig.json b/tsconfig.json index 8bf4455c..f4afcd10 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,4 @@ { "extends": "@bfra.me/tsconfig", - "compilerOptions": { - "outDir": "lib" - }, - "include": ["**/src/**/*.ts", "typings/**/*.d.ts"] + "exclude": ["node_modules", "**/lib/*"] } From 05c6411dea6675d994cd0574c317b62474d3ec65 Mon Sep 17 00:00:00 2001 From: "Marcus R. Brown" Date: Sun, 17 Mar 2024 23:52:21 -0700 Subject: [PATCH 07/11] chore(markdownlint): ignore `.changeset` folder (#150) --- .markdownlint-cli2.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index f43787f9..c22c336a 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -3,9 +3,9 @@ config: MD013: false MD033: allowed_elements: [a, h3, img, p] -# MD041: false + MD041: false globs: - '**/*.md' - - '!.changeset' + - '!.changeset/**' - '!**/node_modules' From 3e8382156726b0c019edb1db06e9236b3ff8a4b1 Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Sun, 17 Mar 2024 23:59:14 -0700 Subject: [PATCH 08/11] =?UTF-8?q?chore(=F0=9F=A6=8B=F0=9F=93=A6):=20publis?= =?UTF-8?q?h=20packages=20(#149)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: bfra-me[bot] <118100583+bfra-me[bot]@users.noreply.github.com> --- .changeset/eight-toys-tan.md | 5 ----- packages/tsconfig/CHANGELOG.md | 6 ++++++ packages/tsconfig/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/eight-toys-tan.md diff --git a/.changeset/eight-toys-tan.md b/.changeset/eight-toys-tan.md deleted file mode 100644 index 552d8df8..00000000 --- a/.changeset/eight-toys-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@bfra.me/tsconfig": patch ---- - -`package.json`: Update `homepage`, add `keywords`, and extend `exports` diff --git a/packages/tsconfig/CHANGELOG.md b/packages/tsconfig/CHANGELOG.md index fbecfeee..161d383b 100644 --- a/packages/tsconfig/CHANGELOG.md +++ b/packages/tsconfig/CHANGELOG.md @@ -1,5 +1,11 @@ # @bfra.me/tsconfig +## 0.2.5 + +### Patch Changes + +- `package.json`: Update `homepage`, add `keywords`, and extend `exports` (by [@marcusrbrown](https://github.com/marcusrbrown) with [#148](https://github.com/bfra-me/works/pull/148)) + ## 0.2.4 ### Patch Changes diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json index 2341494d..375359c1 100644 --- a/packages/tsconfig/package.json +++ b/packages/tsconfig/package.json @@ -1,7 +1,7 @@ { "name": "@bfra.me/tsconfig", "description": "Shared TypeScript configuration for bfra.me", - "version": "0.2.4", + "version": "0.2.5", "author": "Marcus R. Brown ", "license": "MIT", "type": "module", From 71fa92051fcaa7c173ecd076656ff2e558f9d5f8 Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 07:02:19 +0000 Subject: [PATCH 09/11] chore(deps): update dependency typescript to v5.4.2 | datasource | package | from | to | | ---------- | ---------- | ----- | ----- | | npm | typescript | 5.3.3 | 5.4.2 | --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 10f48d38..2ec9a513 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "prettier": "3.2.5", "rimraf": "5.0.5", "ts-node": "10.9.2", - "typescript": "5.3.3" + "typescript": "5.4.2" }, "pnpm": { "overrides": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ec84b0cb..443c699c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,10 +34,10 @@ importers: version: 5.0.5 ts-node: specifier: 10.9.2 - version: 10.9.2(@types/node@20.11.28)(typescript@5.3.3) + version: 10.9.2(@types/node@20.11.28)(typescript@5.4.2) typescript: - specifier: 5.3.3 - version: 5.3.3 + specifier: 5.4.2 + version: 5.4.2 packages/tsconfig: devDependencies: @@ -2478,7 +2478,7 @@ packages: engines: {node: '>=8'} dev: true - /ts-node@10.9.2(@types/node@20.11.28)(typescript@5.3.3): + /ts-node@10.9.2(@types/node@20.11.28)(typescript@5.4.2): resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} hasBin: true peerDependencies: @@ -2504,7 +2504,7 @@ packages: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.3.3 + typescript: 5.4.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 dev: true @@ -2599,8 +2599,8 @@ packages: possible-typed-array-names: 1.0.0 dev: true - /typescript@5.3.3: - resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} + /typescript@5.4.2: + resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==} engines: {node: '>=14.17'} hasBin: true dev: true @@ -2818,4 +2818,4 @@ time: /rimraf@5.0.5: '2023-09-27T06:04:07.772Z' /ts-node@10.9.2: '2023-12-08T12:04:46.154Z' /type-fest@4.12.0: '2024-03-08T16:48:41.102Z' - /typescript@5.3.3: '2023-12-06T19:07:51.067Z' + /typescript@5.4.2: '2024-03-06T18:14:58.798Z' From e3b09faed9ac5cce228260099b569dbe1922239a Mon Sep 17 00:00:00 2001 From: "Marcus R. Brown" Date: Mon, 18 Mar 2024 00:40:05 -0700 Subject: [PATCH 10/11] ci(workflows): simplify CI and add Update Repo Settings (#151) --- .github/settings.yml | 18 ++++++++++++++++++ .github/workflows/ci.yaml | 2 +- .github/workflows/renovate.yaml | 6 +++++- .github/workflows/update-repo-settings.yaml | 16 ++++++++++++++++ 4 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 .github/settings.yml create mode 100644 .github/workflows/update-repo-settings.yaml diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 00000000..bd0fe23e --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,18 @@ +--- +_extends: .github:common-settings.yaml + +repository: + name: works + description: '@bfra-me tools and components' + topics: works, bfra-me, tools, components, tsconfig, semantic-release + +branches: + - name: main + protection: + required_status_checks: + strict: true + contexts: ['Test', 'Renovate / Renovate'] + enforce_admins: true + required_pull_request_reviews: null + restrictions: null + required_linear_history: true diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 08df3282..49501d5b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,7 +5,6 @@ name: CI 'on': merge_group: push: - branches: [main, 'renovate/**'] pull_request: types: [opened, synchronize, reopened, ready_for_review] workflow_dispatch: @@ -64,6 +63,7 @@ jobs: application_id: ${{ secrets.APPLICATION_ID }} application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }} permissions: 'contents:write, issues:write, pull_requests:write' + revoke_token: true - name: Setup Git user run: | git config --global user.email '118100583+bfra-me[bot]@users.noreply.github.com' diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index 33d499d7..c7351734 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -16,11 +16,15 @@ name: Renovate required: false type: boolean default: false + workflow_run: + workflows: ['CI'] + branches: ['renovate/**'] + types: [completed] jobs: renovate: name: Renovate secrets: inherit - uses: bfra-me/.github/.github/workflows/renovate.yaml@v1.8.2 + uses: bfra-me/.github/.github/workflows/renovate.yaml@v1 with: print_config: ${{ inputs.print_config || false }} diff --git a/.github/workflows/update-repo-settings.yaml b/.github/workflows/update-repo-settings.yaml new file mode 100644 index 00000000..1da7a405 --- /dev/null +++ b/.github/workflows/update-repo-settings.yaml @@ -0,0 +1,16 @@ +# Update repository settings to match the definitions in .github/settings.yml. +--- +name: Update Repo Settings + +'on': + push: + branches: [main] + schedule: + - cron: '02 18 * * *' # 18:02 UTC = 11:02 AM PST + workflow_dispatch: + +jobs: + update-repo-settings: + name: Update Repo Settings + secrets: inherit + uses: bfra-me/.github/.github/workflows/update-repo-settings.yaml@v1 From aadf464c05d5d2d898070f1c2ebac27baef2adba Mon Sep 17 00:00:00 2001 From: "bfra-me[bot]" <118100583+bfra-me[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 07:41:24 +0000 Subject: [PATCH 11/11] chore(deps): maintain lockfiles --- pnpm-lock.yaml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 443c699c..e4c97817 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -675,7 +675,7 @@ packages: es-errors: 1.3.0 function-bind: 1.1.2 get-intrinsic: 1.2.4 - set-function-length: 1.2.1 + set-function-length: 1.2.2 dev: true /callsites@3.1.0: @@ -945,7 +945,7 @@ packages: has-property-descriptors: 1.0.2 has-proto: 1.0.3 has-symbols: 1.0.3 - hasown: 2.0.1 + hasown: 2.0.2 internal-slot: 1.0.7 is-array-buffer: 3.0.4 is-callable: 1.2.7 @@ -959,7 +959,7 @@ packages: object-keys: 1.1.1 object.assign: 4.1.5 regexp.prototype.flags: 1.5.2 - safe-array-concat: 1.1.0 + safe-array-concat: 1.1.2 safe-regex-test: 1.0.3 string.prototype.trim: 1.2.8 string.prototype.trimend: 1.0.7 @@ -969,7 +969,7 @@ packages: typed-array-byte-offset: 1.0.2 typed-array-length: 1.0.5 unbox-primitive: 1.0.2 - which-typed-array: 1.1.14 + which-typed-array: 1.1.15 dev: true /es-define-property@1.0.0: @@ -990,13 +990,13 @@ packages: dependencies: get-intrinsic: 1.2.4 has-tostringtag: 1.0.2 - hasown: 2.0.1 + hasown: 2.0.2 dev: true /es-shim-unscopables@1.0.2: resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} dependencies: - hasown: 2.0.1 + hasown: 2.0.2 dev: true /es-to-primitive@1.2.1: @@ -1281,7 +1281,7 @@ packages: function-bind: 1.1.2 has-proto: 1.0.3 has-symbols: 1.0.3 - hasown: 2.0.1 + hasown: 2.0.2 dev: true /get-symbol-description@1.0.2: @@ -1416,8 +1416,8 @@ packages: has-symbols: 1.0.3 dev: true - /hasown@2.0.1: - resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} + /hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} dependencies: function-bind: 1.1.2 @@ -1477,7 +1477,7 @@ packages: engines: {node: '>= 0.4'} dependencies: es-errors: 1.3.0 - hasown: 2.0.1 + hasown: 2.0.2 side-channel: 1.0.6 dev: true @@ -1515,7 +1515,7 @@ packages: /is-core-module@2.13.1: resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} dependencies: - hasown: 2.0.1 + hasown: 2.0.2 dev: true /is-date-object@1.0.5: @@ -1609,7 +1609,7 @@ packages: resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} dependencies: - which-typed-array: 1.1.14 + which-typed-array: 1.1.15 dev: true /is-weakref@1.0.2: @@ -2191,8 +2191,8 @@ packages: queue-microtask: 1.2.3 dev: true - /safe-array-concat@1.1.0: - resolution: {integrity: sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==} + /safe-array-concat@1.1.2: + resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==} engines: {node: '>=0.4'} dependencies: call-bind: 1.0.7 @@ -2231,8 +2231,8 @@ packages: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} dev: true - /set-function-length@1.2.1: - resolution: {integrity: sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==} + /set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} dependencies: define-data-property: 1.1.4 @@ -2679,8 +2679,8 @@ packages: path-exists: 4.0.0 dev: true - /which-typed-array@1.1.14: - resolution: {integrity: sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==} + /which-typed-array@1.1.15: + resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} engines: {node: '>= 0.4'} dependencies: available-typed-arrays: 1.0.7