diff --git a/.changeset/bold-sites-fix.md b/.changeset/bold-sites-fix.md deleted file mode 100644 index 76b71ce4e..000000000 --- a/.changeset/bold-sites-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@skuba-lib/vitest-koa-mocks': patch ---- - -Relax `session` and `state` option types in `createMockContext` from `Record` to `Record` diff --git a/.changeset/cuddly-clubs-marry.md b/.changeset/cuddly-clubs-marry.md deleted file mode 100644 index 556f22b4b..000000000 --- a/.changeset/cuddly-clubs-marry.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'eslint-config-skuba': minor ---- - -Re-export `eslint-config-seek/extensions` via `eslint-config-skuba/extensions` - -This allows users to import from `eslint-config-skuba/extensions` instead of needing to hoist or install `eslint-config-seek` as a direct dependency. - -```ts -import { - js as jsExtensions, - ts as tsExtensions, -} from 'eslint-config-skuba/extensions'; -``` diff --git a/.changeset/easy-months-cheer.md b/.changeset/easy-months-cheer.md deleted file mode 100644 index e73a46e3d..000000000 --- a/.changeset/easy-months-cheer.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'eslint-config-skuba': minor ---- - -Remove `require-extensions` rules - -This removes the `require-extensions` rules which were previously used to enforce file extensions on imports to reduce the number of files that needed to be changed when migrating to ESM. diff --git a/.changeset/fine-phones-serve.md b/.changeset/fine-phones-serve.md deleted file mode 100644 index 7fde7f4dc..000000000 --- a/.changeset/fine-phones-serve.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'skuba': minor ---- - -start: Support named `app` export - -`skuba start` now resolves a named `app` export as a request listener, in addition to the existing default export. - -```ts -// works with both `export default` and `export const app = ...` -export const app = new Koa().use(/* ... */); -``` diff --git a/.changeset/floppy-icons-laugh.md b/.changeset/floppy-icons-laugh.md deleted file mode 100644 index c36988469..000000000 --- a/.changeset/floppy-icons-laugh.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'skuba': minor ---- - -migrate: Add ESM migration - -If your project does not use `skuba` directly, you can still run our migration to ESM using `npx` or `pnpm dlx`: - -```shell -pnpm dlx skuba migrate esm -npx skuba migrate esm -``` - -You can view the full migration guide in our documentation [here](https://seek-oss.github.io/skuba/docs/cli/migrate#skuba-migrate-esm). diff --git a/.changeset/full-taxes-poke.md b/.changeset/full-taxes-poke.md deleted file mode 100644 index 5c7265f30..000000000 --- a/.changeset/full-taxes-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@skuba-lib/detect-invalid-spies': major ---- - -Publish first version diff --git a/.changeset/funky-rice-grin.md b/.changeset/funky-rice-grin.md deleted file mode 100644 index f270938c3..000000000 --- a/.changeset/funky-rice-grin.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -'skuba': major ---- - -build, lint, test: Migrate to ESM - -As part of our [migration to ESM](https://seek-oss.github.io/skuba/docs/deep-dives/esm.html), skuba's source code is now pure ESM. - -skuba will attempt to automatically transition your project to ESM and migrate your tests from Jest to Vitest. - -The test migration will require some manual adjustments if you were using Jest-specific libraries for features. skuba will scaffold a new Vitest config for you, but will not attempt to migrate your existing Jest config. - -For package publishers, `skuba build-package` should handle publishing dual ESM/CJS packages automatically. Test your packages thoroughly after the migration to confirm everything works as expected. - -View the [migration guide](https://seek-oss.github.io/skuba/docs/cli/migrate#skuba-migrate-esm) for more details. diff --git a/.changeset/gold-days-accept.md b/.changeset/gold-days-accept.md deleted file mode 100644 index 480935e2c..000000000 --- a/.changeset/gold-days-accept.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'eslint-config-skuba': major ---- - -Migrate from `eslint-config-seek/base` to `eslint-config-seek/vitest/base` - -This package now ships Vitest ESLint rules instead of Jest rules. If you are consuming `eslint-config-skuba` directly, you will need to defer this upgrade until your codebase has migrated to Vitest and ESM. diff --git a/.changeset/green-hairs-clean.md b/.changeset/green-hairs-clean.md deleted file mode 100644 index a13c10490..000000000 --- a/.changeset/green-hairs-clean.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'skuba': major ---- - -test: Migrate to Vitest - -`skuba test` now calls [Vitest](https://vitest.dev/) as the test runner instead of Jest. - -**Breaking change:** Unlike Jest, when running `skuba test` on your local machine, Vitest will run in watch mode by default. When run in CI, Vitest will run in non-watch mode. - -You can explicitly set the mode by passing the `--watch` or `--no-watch` flags to `skuba test` or use `skuba test run` to run in non-watch mode locally: - -```shell -skuba test --watch -skuba test watch -``` - -```shell -skuba test --no-watch -skuba test run -``` - -`skuba test` will forward any additional arguments to Vitest, so you can also use Vitest's CLI flags: - -```shell -skuba test --ui -``` - -This opens up the Vitest UI in your browser, which provides a visual interface for running and debugging tests diff --git a/.changeset/grumpy-kids-cough.md b/.changeset/grumpy-kids-cough.md deleted file mode 100644 index 4821efaf2..000000000 --- a/.changeset/grumpy-kids-cough.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'pnpm-plugin-skuba': major -'skuba': minor ---- - -lint: Replace hoisted Jest dependencies with Vitest diff --git a/.changeset/jolly-sloths-argue.md b/.changeset/jolly-sloths-argue.md deleted file mode 100644 index a27fc5bd6..000000000 --- a/.changeset/jolly-sloths-argue.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'skuba': minor ---- - -lint: Migrate Dockerfiles from `pnpm install --prod` to `pnpm prune --prod` - -A new [patch](https://seek-oss.github.io/skuba/docs/cli/lint.html#patches) will replace any `RUN pnpm install ... --prod` (including variants with `CI=true`) with `RUN pnpm prune --prod`. diff --git a/.changeset/neat-steaks-like.md b/.changeset/neat-steaks-like.md deleted file mode 100644 index 4568721db..000000000 --- a/.changeset/neat-steaks-like.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -template/\*: Migrate to ESM diff --git a/.changeset/olive-forks-kiss.md b/.changeset/olive-forks-kiss.md deleted file mode 100644 index d06ed5710..000000000 --- a/.changeset/olive-forks-kiss.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'skuba': minor ---- - -init: Support local templates - -`skuba init` can now initialise a project from a local directory path. - -```shell -./skuba-templates/template-a # Relative to working directory -/Users/my-username/code/skuba-templates/template-a # Absolute path -``` - -This is available for programmatic usage by prepending `local:` to the path in `templateName`. diff --git a/.changeset/open-things-learn.md b/.changeset/open-things-learn.md deleted file mode 100644 index ac0061538..000000000 --- a/.changeset/open-things-learn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': minor ---- - -lint: Remove `pnpm-plugin-skuba` from package.json diff --git a/.changeset/plain-meals-pick.md b/.changeset/plain-meals-pick.md deleted file mode 100644 index 47b487683..000000000 --- a/.changeset/plain-meals-pick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': minor ---- - -start: Fix live reloading diff --git a/.changeset/prune-prod-deps.md b/.changeset/prune-prod-deps.md deleted file mode 100644 index 6d27c2a8f..000000000 --- a/.changeset/prune-prod-deps.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'skuba': patch ---- - -template/\*-rest-api: Use `pnpm prune --prod` to remove dev dependencies in Dockerfiles - -Our API template Dockerfiles previously ran `CI=true pnpm install --offline --prod` after building to strip dev dependencies from `node_modules`. This has been replaced with `pnpm prune --prod`, which is a more explicit and reliable way to remove dev dependencies from the production image. - -```diff -RUN pnpm install --offline -RUN pnpm build -- RUN CI=true pnpm install --offline --prod -+ RUN pnpm prune --prod -``` diff --git a/.changeset/public-llamas-beam.md b/.changeset/public-llamas-beam.md deleted file mode 100644 index e4cdabdb8..000000000 --- a/.changeset/public-llamas-beam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -template/\*-npm-package: Resolve `#src` alias to `./src` directory during package builds diff --git a/.changeset/renovate-0eda5be.md b/.changeset/renovate-0eda5be.md deleted file mode 100644 index bde4be4c7..000000000 --- a/.changeset/renovate-0eda5be.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'eslint-config-skuba': patch ---- - -deps: eslint-config-seek 15.0.5 diff --git a/.changeset/renovate-3a9777f.md b/.changeset/renovate-3a9777f.md deleted file mode 100644 index 7300720d6..000000000 --- a/.changeset/renovate-3a9777f.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -deps: esbuild ~0.28.0 diff --git a/.changeset/renovate-62b1326.md b/.changeset/renovate-62b1326.md deleted file mode 100644 index d93cbe866..000000000 --- a/.changeset/renovate-62b1326.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -deps: @inquirer/prompts ^8.0.0 diff --git a/.changeset/renovate-7d08cce.md b/.changeset/renovate-7d08cce.md deleted file mode 100644 index 8070cf8ce..000000000 --- a/.changeset/renovate-7d08cce.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -deps: rolldown 1.0.0-rc.13 diff --git a/.changeset/renovate-a6551ec.md b/.changeset/renovate-a6551ec.md deleted file mode 100644 index ed9016ecb..000000000 --- a/.changeset/renovate-a6551ec.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -deps: read-package-up ^12.0.0 diff --git a/.changeset/renovate-c2d9fd6.md b/.changeset/renovate-c2d9fd6.md deleted file mode 100644 index 3c4306149..000000000 --- a/.changeset/renovate-c2d9fd6.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'skuba': patch ---- - -deps: @ast-grep/napi ^0.42.0 diff --git a/.changeset/ripe-rockets-tan.md b/.changeset/ripe-rockets-tan.md deleted file mode 100644 index 8de56b212..000000000 --- a/.changeset/ripe-rockets-tan.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'eslint-config-skuba': minor -'eslint-plugin-skuba': minor -'skuba-dive': minor -'@skuba-lib/api': minor ---- - -Migrate to ESM - -This package is still being published as a dual ESM/CJS package, but the source code is now ESM. diff --git a/.changeset/shaggy-kiwis-hug.md b/.changeset/shaggy-kiwis-hug.md deleted file mode 100644 index c2a7d3161..000000000 --- a/.changeset/shaggy-kiwis-hug.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'pnpm-plugin-skuba': patch -'skuba': patch ---- - -lint: Update `pnpm-workspace.yaml` `trustPolicyExclude` list diff --git a/.changeset/stale-moments-camp.md b/.changeset/stale-moments-camp.md deleted file mode 100644 index c78c1302a..000000000 --- a/.changeset/stale-moments-camp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@skuba-lib/changesets-changelog': major ---- - -Publish first version diff --git a/.changeset/strict-flowers-fetch.md b/.changeset/strict-flowers-fetch.md deleted file mode 100644 index 345e03057..000000000 --- a/.changeset/strict-flowers-fetch.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'skuba': minor ---- - -test: Remove GitHub annotations - -Our first Vitest release does not support inline [GitHub annotations](https://seek-oss.github.io/skuba/docs/deep-dives/github.html#github-annotations) in CI. This feature may be restored in future. diff --git a/CHANGELOG.md b/CHANGELOG.md index ccd74ef0c..dd51fba68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,123 @@ # skuba +## 16.0.0 + +### Major Changes + +- **build, lint, test:** Migrate to ESM ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + + As part of our [migration to ESM](https://seek-oss.github.io/skuba/docs/deep-dives/esm.html), skuba's source code is now pure ESM. + + skuba will attempt to automatically transition your project to ESM and migrate your tests from Jest to Vitest. + + The test migration will require some manual adjustments if you were using Jest-specific libraries for features. skuba will scaffold a new Vitest config for you, but will not attempt to migrate your existing Jest config. + + For package publishers, `skuba build-package` should handle publishing dual ESM/CJS packages automatically. Test your packages thoroughly after the migration to confirm everything works as expected. + + View the [migration guide](https://seek-oss.github.io/skuba/docs/cli/migrate#skuba-migrate-esm) for more details. + +- **test:** Migrate to Vitest ([#2274](https://github.com/seek-oss/skuba/pull/2274)) + + `skuba test` now calls [Vitest](https://vitest.dev/) as the test runner instead of Jest. + + **Breaking change:** Unlike Jest, when running `skuba test` on your local machine, Vitest will run in watch mode by default. When run in CI, Vitest will run in non-watch mode. + + You can explicitly set the mode by passing the `--watch` or `--no-watch` flags to `skuba test` or use `skuba test run` to run in non-watch mode locally: + + ```shell + skuba test --watch + skuba test watch + ``` + + ```shell + skuba test --no-watch + skuba test run + ``` + + `skuba test` will forward any additional arguments to Vitest, so you can also use Vitest's CLI flags: + + ```shell + skuba test --ui + ``` + + This opens up the Vitest UI in your browser, which provides a visual interface for running and debugging tests + +### Minor Changes + +- **start:** Support named `app` export ([#2324](https://github.com/seek-oss/skuba/pull/2324)) + + `skuba start` now resolves a named `app` export as a request listener, in addition to the existing default export. + + ```ts + // works with both `export default` and `export const app = ...` + export const app = new Koa().use(/* ... */); + ``` + +- **migrate:** Add ESM migration ([#2274](https://github.com/seek-oss/skuba/pull/2274)) + + If your project does not use `skuba` directly, you can still run our migration to ESM using `npx` or `pnpm dlx`: + + ```shell + pnpm dlx skuba migrate esm + npx skuba migrate esm + ``` + + You can view the full migration guide in our documentation [here](https://seek-oss.github.io/skuba/docs/cli/migrate#skuba-migrate-esm). + +- **lint:** Replace hoisted Jest dependencies with Vitest ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + +- **lint:** Migrate Dockerfiles from `pnpm install --prod` to `pnpm prune --prod` ([#2326](https://github.com/seek-oss/skuba/pull/2326)) + + A new [patch](https://seek-oss.github.io/skuba/docs/cli/lint.html#patches) will replace any `RUN pnpm install ... --prod` (including variants with `CI=true`) with `RUN pnpm prune --prod`. + +- **init:** Support local templates ([#2333](https://github.com/seek-oss/skuba/pull/2333)) + + `skuba init` can now initialise a project from a local directory path. + + ```shell + ./skuba-templates/template-a # Relative to working directory + /Users/my-username/code/skuba-templates/template-a # Absolute path + ``` + + This is available for programmatic usage by prepending `local:` to the path in `templateName`. + +- **lint:** Remove `pnpm-plugin-skuba` from package.json ([#2351](https://github.com/seek-oss/skuba/pull/2351)) + +- **start:** Fix live reloading ([#2139](https://github.com/seek-oss/skuba/pull/2139)) + +- **test:** Remove GitHub annotations ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + + Our first Vitest release does not support inline [GitHub annotations](https://seek-oss.github.io/skuba/docs/deep-dives/github.html#github-annotations) in CI. This feature may be restored in future. + +### Patch Changes + +- **template/\*:** Migrate to ESM ([#2355](https://github.com/seek-oss/skuba/pull/2355)) + +- **template/\*-rest-api:** Use `pnpm prune --prod` to remove dev dependencies in Dockerfiles ([#2326](https://github.com/seek-oss/skuba/pull/2326)) + + Our API template Dockerfiles previously ran `CI=true pnpm install --offline --prod` after building to strip dev dependencies from `node_modules`. This has been replaced with `pnpm prune --prod`, which is a more explicit and reliable way to remove dev dependencies from the production image. + + ```diff + RUN pnpm install --offline + RUN pnpm build + - RUN CI=true pnpm install --offline --prod + + RUN pnpm prune --prod + ``` + +- **template/\*-npm-package:** Resolve `#src` alias to `./src` directory during package builds ([#2322](https://github.com/seek-oss/skuba/pull/2322)) + +- **deps:** esbuild ~0.28.0 ([#2320](https://github.com/seek-oss/skuba/pull/2320)) + +- **deps:** @inquirer/prompts ^8.0.0 ([#2303](https://github.com/seek-oss/skuba/pull/2303)) + +- **deps:** rolldown 1.0.0-rc.13 ([#2319](https://github.com/seek-oss/skuba/pull/2319)) + +- **deps:** read-package-up ^12.0.0 ([#2302](https://github.com/seek-oss/skuba/pull/2302)) + +- **deps:** @ast-grep/napi ^0.42.0 ([#2285](https://github.com/seek-oss/skuba/pull/2285)) + +- **lint:** Update `pnpm-workspace.yaml` `trustPolicyExclude` list ([#2300](https://github.com/seek-oss/skuba/pull/2300)) + ## 15.3.0 ### Minor Changes diff --git a/package.json b/package.json index e3a4c0878..92741ff87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "skuba", - "version": "15.3.0", + "version": "16.0.0", "private": false, "description": "SEEK development toolkit for backend applications and packages", "homepage": "https://github.com/seek-oss/skuba#readme", diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 19bf898fa..83d17ab42 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -1,5 +1,13 @@ # @skuba-lib/api +## 2.1.0 + +### Minor Changes + +- Migrate to ESM ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + + This package is still being published as a dual ESM/CJS package, but the source code is now ESM. + ## 2.0.2 ### Patch Changes diff --git a/packages/api/package.json b/packages/api/package.json index 2dbaa4c93..d2896e88a 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@skuba-lib/api", - "version": "2.0.2", + "version": "2.1.0", "description": "Node.js development API for skuba", "homepage": "https://github.com/seek-oss/skuba#readme", "bugs": { diff --git a/packages/changesets-changelog/CHANGELOG.md b/packages/changesets-changelog/CHANGELOG.md new file mode 100644 index 000000000..933c31e1d --- /dev/null +++ b/packages/changesets-changelog/CHANGELOG.md @@ -0,0 +1,7 @@ +# @skuba-lib/changesets-changelog + +## 1.0.0 + +### Major Changes + +- Publish first version ([#2334](https://github.com/seek-oss/skuba/pull/2334)) diff --git a/packages/changesets-changelog/package.json b/packages/changesets-changelog/package.json index cd9ca5d47..09c3313c6 100644 --- a/packages/changesets-changelog/package.json +++ b/packages/changesets-changelog/package.json @@ -1,6 +1,6 @@ { "name": "@skuba-lib/changesets-changelog", - "version": "0.0.0", + "version": "1.0.0", "private": false, "description": "Opinionated changelog generator for Changesets", "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/changesets-changelog#readme", diff --git a/packages/detect-invalid-spies/CHANGELOG.md b/packages/detect-invalid-spies/CHANGELOG.md new file mode 100644 index 000000000..e5ff8db1d --- /dev/null +++ b/packages/detect-invalid-spies/CHANGELOG.md @@ -0,0 +1,7 @@ +# @skuba-lib/detect-invalid-spies + +## 1.0.0 + +### Major Changes + +- Publish first version ([#2318](https://github.com/seek-oss/skuba/pull/2318)) diff --git a/packages/detect-invalid-spies/package.json b/packages/detect-invalid-spies/package.json index 2fe5fcdde..bb765548b 100644 --- a/packages/detect-invalid-spies/package.json +++ b/packages/detect-invalid-spies/package.json @@ -1,6 +1,6 @@ { "name": "@skuba-lib/detect-invalid-spies", - "version": "0.0.0", + "version": "1.0.0", "private": false, "description": "Detect invalid spies in Jest and Vitest tests", "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/detect-invalid-spies#readme", diff --git a/packages/eslint-config-skuba/CHANGELOG.md b/packages/eslint-config-skuba/CHANGELOG.md index d2f80bcc3..0ae12fa43 100644 --- a/packages/eslint-config-skuba/CHANGELOG.md +++ b/packages/eslint-config-skuba/CHANGELOG.md @@ -1,5 +1,38 @@ # eslint-config-skuba +## 9.0.0 + +### Major Changes + +- Migrate from `eslint-config-seek/base` to `eslint-config-seek/vitest/base` ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + + This package now ships Vitest ESLint rules instead of Jest rules. If you are consuming `eslint-config-skuba` directly, you will need to defer this upgrade until your codebase has migrated to Vitest and ESM. + +### Minor Changes + +- Re-export `eslint-config-seek/extensions` via `eslint-config-skuba/extensions` ([#2291](https://github.com/seek-oss/skuba/pull/2291)) + + This allows users to import from `eslint-config-skuba/extensions` instead of needing to hoist or install `eslint-config-seek` as a direct dependency. + + ```ts + import { + js as jsExtensions, + ts as tsExtensions, + } from 'eslint-config-skuba/extensions'; + ``` + +- Remove `require-extensions` rules ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + + This removes the `require-extensions` rules which were previously used to enforce file extensions on imports to reduce the number of files that needed to be changed when migrating to ESM. + +- Migrate to ESM ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + + This package is still being published as a dual ESM/CJS package, but the source code is now ESM. + +### Patch Changes + +- **deps:** eslint-config-seek 15.0.5 ([#2346](https://github.com/seek-oss/skuba/pull/2346)) + ## 8.1.0 ### Minor Changes diff --git a/packages/eslint-config-skuba/package.json b/packages/eslint-config-skuba/package.json index 1647fe650..e8d4ac512 100644 --- a/packages/eslint-config-skuba/package.json +++ b/packages/eslint-config-skuba/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-skuba", - "version": "8.1.0", + "version": "9.0.0", "private": false, "description": "ESLint config for skuba", "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/eslint-config-skuba#readme", @@ -62,6 +62,6 @@ "entryPoint": "index.js", "template": "oss-npm-package", "type": "package", - "version": "15.3.0" + "version": "16.0.0" } } diff --git a/packages/eslint-plugin-skuba/CHANGELOG.md b/packages/eslint-plugin-skuba/CHANGELOG.md index 875062a17..5b9af5fa4 100644 --- a/packages/eslint-plugin-skuba/CHANGELOG.md +++ b/packages/eslint-plugin-skuba/CHANGELOG.md @@ -1,5 +1,13 @@ # eslint-plugin-skuba +## 2.1.0 + +### Minor Changes + +- Migrate to ESM ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + + This package is still being published as a dual ESM/CJS package, but the source code is now ESM. + ## 2.0.1 ### Patch Changes diff --git a/packages/eslint-plugin-skuba/package.json b/packages/eslint-plugin-skuba/package.json index 97be9dfde..3cb1d59a0 100644 --- a/packages/eslint-plugin-skuba/package.json +++ b/packages/eslint-plugin-skuba/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-skuba", - "version": "2.0.1", + "version": "2.1.0", "private": false, "description": "ESLint plugin for skuba", "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/eslint-plugin-skuba#readme", @@ -69,6 +69,6 @@ "entryPoint": "src/index.ts", "template": "oss-npm-package", "type": "package", - "version": "15.3.0" + "version": "16.0.0" } } diff --git a/packages/pnpm-plugin-skuba/CHANGELOG.md b/packages/pnpm-plugin-skuba/CHANGELOG.md index fd2916c1f..44efc8583 100644 --- a/packages/pnpm-plugin-skuba/CHANGELOG.md +++ b/packages/pnpm-plugin-skuba/CHANGELOG.md @@ -1,5 +1,15 @@ # pnpm-plugin-skuba +## 3.0.0 + +### Major Changes + +- **lint:** Replace hoisted Jest dependencies with Vitest ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + +### Patch Changes + +- **lint:** Update `pnpm-workspace.yaml` `trustPolicyExclude` list ([#2300](https://github.com/seek-oss/skuba/pull/2300)) + ## 2.1.1 ### Patch Changes diff --git a/packages/pnpm-plugin-skuba/package.json b/packages/pnpm-plugin-skuba/package.json index 852557917..b7edf7ba7 100644 --- a/packages/pnpm-plugin-skuba/package.json +++ b/packages/pnpm-plugin-skuba/package.json @@ -1,6 +1,6 @@ { "name": "pnpm-plugin-skuba", - "version": "2.1.1", + "version": "3.0.0", "private": false, "description": "Pnpm plugin for skuba", "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/pnpm-plugin-skuba#readme", diff --git a/packages/skuba-dive/CHANGELOG.md b/packages/skuba-dive/CHANGELOG.md index 5d09ff8d7..476c848e9 100644 --- a/packages/skuba-dive/CHANGELOG.md +++ b/packages/skuba-dive/CHANGELOG.md @@ -1,5 +1,13 @@ # skuba-dive +## 4.1.0 + +### Minor Changes + +- Migrate to ESM ([#2124](https://github.com/seek-oss/skuba/pull/2124)) + + This package is still being published as a dual ESM/CJS package, but the source code is now ESM. + ## 4.0.1 ### Patch Changes diff --git a/packages/skuba-dive/package.json b/packages/skuba-dive/package.json index 541127f7b..9f3dfeb53 100644 --- a/packages/skuba-dive/package.json +++ b/packages/skuba-dive/package.json @@ -1,6 +1,6 @@ { "name": "skuba-dive", - "version": "4.0.1", + "version": "4.1.0", "private": false, "description": "Minimal runtime for skuba", "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/skuba-dive#readme", @@ -54,6 +54,6 @@ "entryPoint": "src/index.ts", "template": "oss-npm-package", "type": "package", - "version": "15.3.0" + "version": "16.0.0" } } diff --git a/packages/vitest-koa-mocks/CHANGELOG.md b/packages/vitest-koa-mocks/CHANGELOG.md index 914300ac1..8b891ac3e 100644 --- a/packages/vitest-koa-mocks/CHANGELOG.md +++ b/packages/vitest-koa-mocks/CHANGELOG.md @@ -1,5 +1,11 @@ # @skuba-lib/vitest-koa-mocks +## 1.0.2 + +### Patch Changes + +- Relax `session` and `state` option types in `createMockContext` from `Record` to `Record` ([#2331](https://github.com/seek-oss/skuba/pull/2331)) + ## 1.0.1 ### Patch Changes diff --git a/packages/vitest-koa-mocks/package.json b/packages/vitest-koa-mocks/package.json index ab31268f8..733463ab5 100644 --- a/packages/vitest-koa-mocks/package.json +++ b/packages/vitest-koa-mocks/package.json @@ -1,6 +1,6 @@ { "name": "@skuba-lib/vitest-koa-mocks", - "version": "1.0.1", + "version": "1.0.2", "private": false, "description": "Vitest mocks for Koa", "homepage": "https://github.com/seek-oss/skuba/tree/main/packages/vitest-koa-mocks#readme", @@ -71,6 +71,6 @@ "entryPoint": "src/index.ts", "template": "oss-npm-package", "type": "package", - "version": "15.3.0" + "version": "16.0.0" } } diff --git a/template/greeter/package.json b/template/greeter/package.json index e416cf486..ce8bbc357 100644 --- a/template/greeter/package.json +++ b/template/greeter/package.json @@ -20,7 +20,7 @@ "test:watch": "skuba test --watch" }, "dependencies": { - "skuba-dive": "^4.0.1" + "skuba-dive": "^4.1.0" }, "devDependencies": { "@types/node": "^24.10.2", diff --git a/template/lambda-sqs-worker-cdk/package.json b/template/lambda-sqs-worker-cdk/package.json index c1edc5c16..cc31e39f9 100644 --- a/template/lambda-sqs-worker-cdk/package.json +++ b/template/lambda-sqs-worker-cdk/package.json @@ -25,7 +25,7 @@ "@aws-sdk/client-sns": "^3.363.0", "@seek/aws-codedeploy-hooks": "^3.0.0", "@seek/logger": "^12.0.0", - "skuba-dive": "^4.0.1", + "skuba-dive": "^4.1.0", "zod": "^4.3.5" }, "devDependencies": {