This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
skuba start and skuba node now use tsx instead of ts-node for running TypeScript files. tsx has better ESM interoperability, like support for dynamic imports (await import()), than ts-node.
There are some downsides for the REPL (which is what skuba node without any file is):
import statements in the REPL are not supported; require and await import() are still supported.
Pasting code into the REPL may not work as well as ts-node. If encountering issues, a workaround could be to use .editor
Otherwise, skuba start and skuba node <file>should work as expected. However, it is difficult to comprehensively test every scenario, so this has been released as a major version. It is recommended to test your use-cases of skuba start and skuba node after upgrading.
Minor Changes
lint: Removes obsolete version field from docker-compose.yml files (#1638)
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
skuba@9.0.0
Major Changes
node, start: Replace
ts-node
withtsx
(#1623)skuba start
andskuba node
now usetsx
instead ofts-node
for running TypeScript files.tsx
has better ESM interoperability, like support for dynamic imports (await import()
), thants-node
.There are some downsides for the REPL (which is what
skuba node
without any file is):import
statements in the REPL are not supported;require
andawait import()
are still supported.ts-node
. If encountering issues, a workaround could be to use.editor
Otherwise,
skuba start
andskuba node <file>
should work as expected. However, it is difficult to comprehensively test every scenario, so this has been released as a major version. It is recommended to test your use-cases ofskuba start
andskuba node
after upgrading.Minor Changes
lint: Removes obsolete version field from docker-compose.yml files (#1638)
deps: TypeScript 5.6 (#1655)
This major release includes breaking changes. See the TypeScript 5.6 announcement for more information.
template/lambda-sqs-worker-cdk: Replace custom hooks with
@seek/aws-codedeploy-infra
(#1644)Patch Changes
template/koa-rest-api: Enable secure headers middleware by default (#1601)
template: Add required tags to
lambda-sqs-worker-cdk
template (#1643)api: Truncate Buildkite annotations over 1 MiB to resolve
buildkite-agent
crash (#1645)