deps: skuba 16.1.0#307
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
396114d to
94782e9
Compare
94782e9 to
1d458c2
Compare
1d458c2 to
c8d66fb
Compare
c8d66fb to
3c9d227
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
15.3.0→16.1.0Release Notes
seek-oss/skuba (skuba)
v16.1.0Compare Source
Minor Changes
lint: Remove stale managed entries from
pnpm-workspace.yaml(#2435)This update removes entries with
# Managed by skubaannotations frompnpm-workspace.yamlthat no longer match skuba's managed configuration, cleans up any orphaned empty sections left behind, and runspnpm installto update the lockfile when managedoverridesare added or changed.deps: eslint-config-skuba 9.1.0 (#2410)
Patch Changes
lint: Add managed pnpm override for
fflatein@arethetypeswrong/core(#2435)This should resolve any
Cannot read properties of undefined (reading 'filename')issue runningskuba build-packagedeps: normalize-package-data ^9.0.0 (#2427)
v16.0.8Compare Source
Patch Changes
configure: Adjust patching logic to cater for tsdown (#2428)
migration: Allow re-runs of the Vitest migration via the ESM migration with
SKUBA_FORCE_MIGRATE_VITEST=true(#2430)This is useful when migrating a larger project that may have frequent upstream changes that need to be pulled in.
api: Update Vitest coverage exclude patterns (#2432)
v16.0.7Compare Source
Patch Changes
migrate: Prefer instrumenting dd-trace with dd-trace/register.js instead of dd-trace/initialize.mjs in ESM migration. (#2422)
This caused some issues with some DataDog consumers where their APM was not properly initializing. If you notice that your DataDog APM is not working after migrating to ESM, please update your Dockerfile to use
--import dd-trace/register.jsinstead of--import dd-trace/initialize.mjs.v16.0.6Compare Source
Patch Changes
redirectHandlers: falsefor Serverless lambdas using Datadog without layers in ESM migration (#2414)v16.0.5Compare Source
Patch Changes
migrate: Attempt to avoid displacing eslint-disable-next-line import-x/order lines in ESM migration (#2412)
deps: execa 9.6.1 (#2411)
v16.0.4Compare Source
Patch Changes
migrate: Update
file-extensionspatch to handle adding extensions to type imports (#2396)migrate: Avoid re-patching already instrumented Dockerfiles in ESM (#2403)
deps: is-installed-globally ^1.0.0 (#2397)
deps: npm-run-path ^6.0.0 (#2398)
v16.0.3Compare Source
Patch Changes
migrate: Fix
yarnpackage install scripts in ESM migration (#2395)deps: isomorphic-git 1.37.6 (#2395)
deps: get-port ^7.0.0 (#2391)
deps: find-up ^8.0.0 (#2390)
v16.0.2Compare Source
Patch Changes
aws-cdk-lib/aws-lambda-nodejsimport statement (#2384)v16.0.1Compare Source
Patch Changes
v16.0.0Compare Source
Major Changes
build, lint, test: Migrate to ESM (#2124)
As part of our migration to ESM, skuba's source code is now pure ESM. Its packages are still published as dual ESM/CJS at this time.
skuba will attempt to automatically transition your project to ESM and migrate your tests from Jest to Vitest. It will scaffold a new
vitest.config.ts, but existing Jest customisations and Jest-specific libraries likejest-dynalitewill require manual adjustment. Please ensure your project is usingskuba@15.3.0before proceeding with this migration.For package publishers,
skuba build-packageshould handle publishing dual ESM/CJS packages automatically. You should release this as a breaking change for your consumers. Some build tools may behave differently when they detect"type": "module"in your package.json. Test your packages thoroughly after the migration to confirm everything works as expected.Example changelog entry:
View the migration guide for more details.
test: Migrate to Vitest (#2274)
skuba testnow calls Vitest as the test runner instead of Jest.Vitest does not provide globals for
describe,expect,it, etc. You need to import them fromvitest:Vitest brings environment-aware behaviour to
skuba test: it defaults to watch mode in an interactive shell on your local machine, and non-watch mode in CI. You can explicitly set the mode by passing the--watchor--no-watchflags toskuba testor using theskuba test watchandskuba test runsubcommands:skuba testwill forward any additional arguments to Vitest, so you can also use Vitest's CLI flags:skuba test --uiThis opens up the Vitest UI in your browser, which provides a visual interface for running and debugging tests.
Minor Changes
start: Support named
appexport (#2324)skuba startnow resolves a namedappexport as a request listener, in addition to the existing default export.migrate: Add ESM migration (#2274)
This migration attempts to automatically migrate your project from CommonJS to ESM.
If you have
skubainstalled as a direct dependency, this migration runs automatically as part ofskuba formatandskuba lint.If your project does not use
skubadirectly, you can run our migration to ESM usingnpxorpnpm dlx:View the migration guide for more details.
lint: Replace hoisted Jest dependencies with Vitest (#2124)
lint: Migrate Dockerfiles from
pnpm install --prodtopnpm prune --prod(#2326)A new patch will replace any
RUN pnpm install ... --prod(including variants withCI=true) withRUN pnpm prune --prod, which is a more explicit and reliable way to remove dev dependencies from the production image. You may see a reduction in container vulnerabilities as a result of this change.init: Support local templates (#2333)
skuba initcan now initialise a project from a local directory path.This is available for programmatic usage by prepending
local:to the path intemplateName.lint: Remove
pnpm-plugin-skubafrom package.json (#2351)start: Fix live reloading (#2139)
deps: tsdown ~0.22.0 (#2368)
This release includes breaking changes. See the tsdown release notes for more information.
deps: rolldown ~1.0.0 (#2338)
This release includes breaking changes. See the rolldown release notes for more information.
test: Remove GitHub annotations (#2124)
Our first Vitest release does not support inline GitHub annotations in CI. This feature may be restored in future.
migrate: Add file extensions migration (#2362)
This migration attempts to add file extensions to your imports to improve compatibility with ESM.
If you have
skubainstalled as a direct dependency, this migration runs automatically as part ofskuba formatandskuba lint.This migration is also run as part of
skuba migrate esm, however, you may choose to run it separately beforehand to minimise the number of changes that need to be made to your source files in the ESM migration.View the migration documentation for more details.
Patch Changes
template/*: Migrate to ESM (#2355)
template/*-rest-api: Use
pnpm prune --prodto remove dev dependencies in Dockerfiles (#2326)Our API template Dockerfiles previously ran
CI=true pnpm install --offline --prodafter building to strip dev dependencies fromnode_modules. This has been replaced withpnpm prune --prod, which is a more explicit and reliable way to remove dev dependencies from the production image. You may see a reduction in container vulnerabilities as a result of this change.template/*-npm-package: Resolve
#srcalias to./srcdirectory during package builds (#2322)deps: esbuild ~0.28.0 (#2320)
deps: @inquirer/prompts ^8.0.0 (#2303)
deps: read-package-up ^12.0.0 (#2302)
deps: @ast-grep/napi ^0.42.0 (#2285)
lint: Remove
semver@5.7.2frompnpm-workspace.yamltrustPolicyExcludelist (#2300)This legacy package version is no longer a transitive dependency of skuba.
Configuration
📅 Schedule: (in timezone Australia/Melbourne)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.