diff --git a/.changeset/mighty-buttons-fry.md b/.changeset/mighty-buttons-fry.md deleted file mode 100644 index caa9a0238..000000000 --- a/.changeset/mighty-buttons-fry.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'skuba': minor ---- - -format, lint: Skip autofixing on Renovate branches when there is no open pull request - -This prevents an issue where a Renovate branch can get stuck in the `Edited/Blocked` state without a pull request being raised. diff --git a/.changeset/rich-fans-notice.md b/.changeset/rich-fans-notice.md deleted file mode 100644 index a0c561ad3..000000000 --- a/.changeset/rich-fans-notice.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -'skuba': minor ---- - -deps: eslint-config-skuba 3 - -This major upgrade brings in new rules from [typescript-eslint v6](https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/). - -Diff patch from eslint-config-skuba 2 and eslint-config-skuba 3 - -```diff -{ -+ '@typescript-eslint/array-type': '...', -+ '@typescript-eslint/ban-tslint-comment': '...', -+ '@typescript-eslint/class-literal-property-style': '...', -+ '@typescript-eslint/consistent-generic-constructors': '...', -+ '@typescript-eslint/consistent-indexed-object-style': '...', -+ '@typescript-eslint/consistent-type-assertions': '...', -+ 'dot-notation': '...', -+ '@typescript-eslint/dot-notation': '...', -+ '@typescript-eslint/no-base-to-string': '...', -+ '@typescript-eslint/no-confusing-non-null-assertion': '...', -+ '@typescript-eslint/no-duplicate-enum-values': '...', -+ '@typescript-eslint/no-duplicate-type-constituents': '...', -+ '@typescript-eslint/no-redundant-type-constituents': '...', -+ '@typescript-eslint/no-unsafe-declaration-merging': '...', -+ '@typescript-eslint/no-unsafe-enum-comparison': '...', -+ '@typescript-eslint/prefer-for-of': '...', -+ '@typescript-eslint/prefer-function-type': '...', -+ '@typescript-eslint/prefer-nullish-coalescing': '...', -+ '@typescript-eslint/prefer-optional-chain': '...', -+ '@typescript-eslint/prefer-string-starts-ends-with': '...', -- 'no-extra-semi': '...', -- '@typescript-eslint/no-extra-semi': '...', -} -``` diff --git a/.changeset/silly-swans-serve.md b/.changeset/silly-swans-serve.md deleted file mode 100644 index 02c3f6e39..000000000 --- a/.changeset/silly-swans-serve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -template/\*-rest-api: Switch distroless image from `nodejs:18` to `nodejs18-debian11` diff --git a/.changeset/thirty-bananas-tickle.md b/.changeset/thirty-bananas-tickle.md deleted file mode 100644 index 3ec9c62b5..000000000 --- a/.changeset/thirty-bananas-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': minor ---- - -format, lint: Add `pnpm-lock.yaml` to `.prettierignore` diff --git a/.changeset/twelve-clouds-pretend.md b/.changeset/twelve-clouds-pretend.md deleted file mode 100644 index 6eca27459..000000000 --- a/.changeset/twelve-clouds-pretend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': minor ---- - -deps: esbuild 0.19 diff --git a/.changeset/wild-plums-join.md b/.changeset/wild-plums-join.md deleted file mode 100644 index 7ad07fbf5..000000000 --- a/.changeset/wild-plums-join.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'skuba': minor ---- - -format, lint: Switch distroless image from `nodejs` to `nodejs-debian11` - -`skuba format` and `skuba lint` will now automatically switch your `gcr.io/distroless/nodejs:18` image to `gcr.io/distroless/nodejs18-debian11`. This is now the [recommended](https://github.com/GoogleContainerTools/distroless/blob/main/nodejs/README.md) base image for Node.js. diff --git a/CHANGELOG.md b/CHANGELOG.md index eea2e52a4..205ebc573 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,58 @@ # skuba +## 7.1.0 + +### Minor Changes + +- **format, lint:** Skip autofixing on Renovate branches when there is no open pull request ([#1226](https://github.com/seek-oss/skuba/pull/1226)) + + This prevents an issue where a Renovate branch can get stuck in the `Edited/Blocked` state without a pull request being raised. + +- **deps:** eslint-config-skuba 3 ([#1234](https://github.com/seek-oss/skuba/pull/1234)) + + This major upgrade brings in new rules from [typescript-eslint v6](https://typescript-eslint.io/blog/announcing-typescript-eslint-v6/). + + Diff patch from eslint-config-skuba 2 and eslint-config-skuba 3 + + ```diff + { + + '@typescript-eslint/array-type': '...', + + '@typescript-eslint/ban-tslint-comment': '...', + + '@typescript-eslint/class-literal-property-style': '...', + + '@typescript-eslint/consistent-generic-constructors': '...', + + '@typescript-eslint/consistent-indexed-object-style': '...', + + '@typescript-eslint/consistent-type-assertions': '...', + + 'dot-notation': '...', + + '@typescript-eslint/dot-notation': '...', + + '@typescript-eslint/no-base-to-string': '...', + + '@typescript-eslint/no-confusing-non-null-assertion': '...', + + '@typescript-eslint/no-duplicate-enum-values': '...', + + '@typescript-eslint/no-duplicate-type-constituents': '...', + + '@typescript-eslint/no-redundant-type-constituents': '...', + + '@typescript-eslint/no-unsafe-declaration-merging': '...', + + '@typescript-eslint/no-unsafe-enum-comparison': '...', + + '@typescript-eslint/prefer-for-of': '...', + + '@typescript-eslint/prefer-function-type': '...', + + '@typescript-eslint/prefer-nullish-coalescing': '...', + + '@typescript-eslint/prefer-optional-chain': '...', + + '@typescript-eslint/prefer-string-starts-ends-with': '...', + - 'no-extra-semi': '...', + - '@typescript-eslint/no-extra-semi': '...', + } + ``` + +- **format, lint:** Add `pnpm-lock.yaml` to `.prettierignore` ([#1225](https://github.com/seek-oss/skuba/pull/1225)) + +- **deps:** esbuild 0.19 ([#1236](https://github.com/seek-oss/skuba/pull/1236)) + +- **format, lint:** Switch distroless image from `nodejs` to `nodejs-debian11` ([#1224](https://github.com/seek-oss/skuba/pull/1224)) + + `skuba format` and `skuba lint` will now automatically switch your `gcr.io/distroless/nodejs:18` image to `gcr.io/distroless/nodejs18-debian11`. This is now the [recommended](https://github.com/GoogleContainerTools/distroless/blob/main/nodejs/README.md) base image for Node.js. + +### Patch Changes + +- **template/\*-rest-api:** Switch distroless image from `nodejs:18` to `nodejs18-debian11` ([#1224](https://github.com/seek-oss/skuba/pull/1224)) + ## 7.0.1 ### Patch Changes diff --git a/package.json b/package.json index 2162a1405..fa4176412 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "skuba", - "version": "7.0.1", + "version": "7.1.0", "private": false, "description": "SEEK development toolkit for backend applications and packages", "homepage": "https://github.com/seek-oss/skuba#readme",