Skip to content

Commit 2ada8c8

Browse files
committed
feat: use temporal and node 24
1 parent 98be408 commit 2ada8c8

11 files changed

Lines changed: 832 additions & 1046 deletions

biome.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"assist": { "actions": { "source": { "organizeImports": "on" } } },
44
"files": {
5-
"includes": ["./biome.json", "./commitlint.config.cjs", "**/src/**/*"]
5+
"includes": ["biome.json", "commitlint.config.cjs", "src/**/*", "skeleton/**/*"]
66
},
77
"linter": {
88
"enabled": true,
@@ -17,7 +17,13 @@
1717
"noUnusedPrivateClassMembers": "error",
1818
"useHookAtTopLevel": "error",
1919
"noInvalidBuiltinInstantiation": "error",
20-
"noSwitchDeclarations": "error"
20+
"noSwitchDeclarations": "error",
21+
"noUnusedVariables": {
22+
"level": "error",
23+
"options": {
24+
"ignoreRestSiblings": true
25+
}
26+
}
2127
},
2228
"style": {
2329
"useBlockStatements": "error",

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@
1919
"check": "biome check . --write"
2020
},
2121
"devDependencies": {
22-
"@biomejs/biome": "2.2.0",
22+
"@biomejs/biome": "2.2.2",
2323
"@commitlint/cli": "^19.8.1",
2424
"@commitlint/config-conventional": "^19.8.1",
2525
"@tsconfig/node22": "^22.0.2",
2626
"@types/node": "^24.3.0",
2727
"lefthook": "^1.12.3",
28-
"tsx": "^4.20.4",
28+
"tsx": "^4.20.5",
2929
"typescript": "^5.9.2"
3030
},
3131
"dependencies": {
32-
"@aws-sdk/client-acm": "^3.872.0",
33-
"@aws-sdk/client-secrets-manager": "^3.872.0",
34-
"@listr2/prompt-adapter-enquirer": "^2.0.16",
35-
"@soliantconsulting/starter-lib": "^1.2.5",
32+
"@aws-sdk/client-acm": "^3.879.0",
33+
"@aws-sdk/client-secrets-manager": "^3.879.0",
34+
"@listr2/prompt-adapter-enquirer": "^3.0.3",
35+
"@soliantconsulting/starter-lib": "^2.0.2",
3636
"enquirer": "^2.4.1",
37-
"listr2": "^8.3.3"
37+
"listr2": "^9.0.3"
3838
},
39-
"packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808"
39+
"packageManager": "pnpm@10.15.0+sha512.486ebc259d3e999a4e8691ce03b5cac4a71cbeca39372a9b762cb500cfdf0873e2cb16abe3d951b1ee2cf012503f027b98b6584e4df22524e0c7450d9ec7aa7b"
4040
}

pnpm-lock.yaml

Lines changed: 798 additions & 1029 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

skeleton/Dockerfile.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/docker/library/node:22-alpine AS build
1+
FROM public.ecr.aws/docker/library/node:24-alpine AS build
22

33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
@@ -18,7 +18,7 @@ COPY . /build
1818
RUN pnpm -r --filter=api{% if features contains "app-config" %} --filter=app-config{% endif %} build
1919
RUN pnpm deploy --filter=api --prod /prod/api
2020

21-
FROM public.ecr.aws/docker/library/node:22-alpine AS api
21+
FROM public.ecr.aws/docker/library/node:24-alpine AS api
2222
COPY --from=build /prod/api/dist /api
2323
COPY --from=build /prod/api/package.json /api/
2424
COPY --from=build /prod/api/node_modules /api/node_modules

skeleton/biome.json.liquid

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@
1717
"noUnusedPrivateClassMembers": "error",
1818
"useHookAtTopLevel": "error",
1919
"noInvalidBuiltinInstantiation": "error",
20-
"noSwitchDeclarations": "error"
20+
"noSwitchDeclarations": "error",
21+
"noUnusedVariables": {
22+
"level": "error",
23+
"options": {
24+
"ignoreRestSiblings": true
25+
}
26+
}
2127
},
2228
"style": {
2329
"useBlockStatements": "error",

skeleton/bitbucket-pipelines.yml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: public.ecr.aws/docker/library/node:22
1+
image: public.ecr.aws/docker/library/node:24
22

33
definitions:
44
caches:

skeleton/packages/api/package.json.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
{%- endif %}
1818
"dotenv": "^16.4.7",
1919
"logforth": "^1.2.2",
20+
"temporal-polyfill": "^0.3.0",
2021
"zod": "^4.0.17",
2122
"@jsonapi-serde/integration-taxum": "^1.0.1",
2223
"@jsonapi-serde/server": "^1.2.0",

skeleton/packages/api/src/index.ts.liquid

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import "./temporal-polyfill.js";
12
import "@jsonapi-serde/integration-taxum/augment";
23
import assert from "node:assert";
34
import {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
if (typeof Temporal === "undefined") {
2+
await import("temporal-polyfill/global");
3+
}

src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import { synthTask } from "./tasks/synth.js";
1515
import { zoomErrorNotificationsTask } from "./tasks/zoom-error-notifications.js";
1616

1717
await runPipeline({
18-
packageName: "@soliantconsulting/create-koa-api",
18+
packageName: "@soliantconsulting/create-taxum-api",
1919
tasks: [
20-
createPnpmVersionTask("10.7.0"),
20+
createPnpmVersionTask("10.15.0"),
2121
createProjectTask(),
2222
createAwsEnvTask(),
2323
createBitbucketRepositoryTask(),

0 commit comments

Comments
 (0)