diff --git a/.changeset/angry-ears-bow.md b/.changeset/angry-ears-bow.md deleted file mode 100644 index ed5c841e7..000000000 --- a/.changeset/angry-ears-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -configure, template: Ignore linting on `.cdk.staging` directory diff --git a/.changeset/bright-actors-sneeze.md b/.changeset/bright-actors-sneeze.md deleted file mode 100644 index 2d3a1881a..000000000 --- a/.changeset/bright-actors-sneeze.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -configure, template: Ignore linting on `cdk.out` directory diff --git a/.changeset/gentle-rules-provide.md b/.changeset/gentle-rules-provide.md deleted file mode 100644 index 904fa337b..000000000 --- a/.changeset/gentle-rules-provide.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'skuba': patch ---- - -template/\*-npm-package: Use SSH scheme in repository URL - -We have changed the templated format of the `package.json#repository/url` field. This may resolve `skuba release` errors that reference [Git password authentication is shutting down](https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/) on the GitHub Blog. - -```diff -- git+https://github.com/org/repo.git -+ git+ssh://git@github.com/org/repo.git -``` diff --git a/.changeset/nasty-ants-bake.md b/.changeset/nasty-ants-bake.md deleted file mode 100644 index 6bddd3001..000000000 --- a/.changeset/nasty-ants-bake.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'skuba': minor ---- - -deps: Jest 29 - -This major release includes breaking changes. See the [announcement post](https://jestjs.io/blog/2022/08/25/jest-29) for more information. - -The `collectCoverageOnlyFrom` configuration option has been removed, and the default snapshot format has been simplified: - -```diff -- Expected: \\"a\\" -+ Expected: "a" - -- Object { -- Array [] -- } -+ { -+ [] -+ } -``` diff --git a/.changeset/pretty-geese-hang.md b/.changeset/pretty-geese-hang.md deleted file mode 100644 index 34f9749e8..000000000 --- a/.changeset/pretty-geese-hang.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'skuba': minor ---- - -deps: eslint-plugin-jest 27 - -This major release includes breaking changes. See the [release note](https://github.com/jest-community/eslint-plugin-jest/releases/tag/v27.0.0) for more information. - -The `jest/no-alias-methods` rule is now [enforced](https://github.com/jest-community/eslint-plugin-jest/pull/1221) and [autofixed](https://seek-oss.github.io/skuba/docs/deep-dives/github.html#github-autofixes) to discourage usage of alias methods that will be [removed in Jest 30](https://github.com/facebook/jest/issues/13164). - -```diff -- .toBeCalled() -+ .toHaveBeenCalled() -``` diff --git a/.changeset/tender-pianos-tell.md b/.changeset/tender-pianos-tell.md deleted file mode 100644 index b16f7eb04..000000000 --- a/.changeset/tender-pianos-tell.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'skuba': patch ---- - -configure, template: Allow `.idea` and `.vscode` ignore overrides - -You can now append lines like `!.vscode/launch.json` to your ignore files to allow specific editor files to be committed, formatted and/or linted. diff --git a/.changeset/twenty-pigs-sparkle.md b/.changeset/twenty-pigs-sparkle.md deleted file mode 100644 index e3fb886a4..000000000 --- a/.changeset/twenty-pigs-sparkle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': minor ---- - -configure, init: Format `package.json` with [sort-package-json](https://github.com/keithamus/sort-package-json) diff --git a/.changeset/warm-cougars-poke.md b/.changeset/warm-cougars-poke.md deleted file mode 100644 index 33a6dea61..000000000 --- a/.changeset/warm-cougars-poke.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'skuba': minor ---- - -deps: TypeScript 4.8 - -This major release includes breaking changes. See the [TypeScript 4.8](https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/) announcement for more information. diff --git a/CHANGELOG.md b/CHANGELOG.md index 56e6d4943..cf9fd7338 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,63 @@ # skuba +## 4.4.0 + +### Minor Changes + +- **deps:** Jest 29 ([#953](https://github.com/seek-oss/skuba/pull/953)) + + This major release includes breaking changes. See the [announcement post](https://jestjs.io/blog/2022/08/25/jest-29) for more information. + + The `collectCoverageOnlyFrom` configuration option has been removed, and the default snapshot format has been simplified: + + ```diff + - Expected: \\"a\\" + + Expected: "a" + + - Object { + - Array [] + - } + + { + + [] + + } + ``` + +- **deps:** eslint-plugin-jest 27 ([#959](https://github.com/seek-oss/skuba/pull/959)) + + This major release includes breaking changes. See the [release note](https://github.com/jest-community/eslint-plugin-jest/releases/tag/v27.0.0) for more information. + + The `jest/no-alias-methods` rule is now [enforced](https://github.com/jest-community/eslint-plugin-jest/pull/1221) and [autofixed](https://seek-oss.github.io/skuba/docs/deep-dives/github.html#github-autofixes) to discourage usage of alias methods that will be [removed in Jest 30](https://github.com/facebook/jest/issues/13164). + + ```diff + - .toBeCalled() + + .toHaveBeenCalled() + ``` + +- **configure, init:** Format `package.json` with [sort-package-json](https://github.com/keithamus/sort-package-json) ([#951](https://github.com/seek-oss/skuba/pull/951)) + +- **deps:** TypeScript 4.8 ([#954](https://github.com/seek-oss/skuba/pull/954)) + + This major release includes breaking changes. See the [TypeScript 4.8](https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/) announcement for more information. + +### Patch Changes + +- **configure, template:** Ignore linting on `.cdk.staging` directory ([#957](https://github.com/seek-oss/skuba/pull/957)) + +- **configure, template:** Ignore linting on `cdk.out` directory ([#940](https://github.com/seek-oss/skuba/pull/940)) + +- **template/\*-npm-package:** Use SSH scheme in repository URL ([#955](https://github.com/seek-oss/skuba/pull/955)) + + We have changed the templated format of the `package.json#repository/url` field. This may resolve `skuba release` errors that reference [Git password authentication is shutting down](https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/) on the GitHub Blog. + + ```diff + - git+https://github.com/org/repo.git + + git+ssh://git@github.com/org/repo.git + ``` + +- **configure, template:** Allow `.idea` and `.vscode` ignore overrides ([#956](https://github.com/seek-oss/skuba/pull/956)) + + You can now append lines like `!.vscode/launch.json` to your ignore files to allow specific editor files to be committed, formatted and/or linted. + ## 4.3.1 ### Patch Changes diff --git a/package.json b/package.json index 7b459a402..b29f8c9c1 100644 --- a/package.json +++ b/package.json @@ -158,5 +158,5 @@ "version": "4.0.0" }, "types": "./lib/index.d.ts", - "version": "4.3.1" + "version": "4.4.0" }