skuba 12.2.0-ship-tsdown-20250827054417 → 12.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ import type { Patches } from '../../index.js';
2
+ export declare const patches: Patches;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __exports = {};
20
+ __export(__exports, {
21
+ patches: () => patches
22
+ });
23
+ module.exports = __toCommonJS(__exports);
24
+ var import_patchJestSnapshots = require("./patchJestSnapshots.js");
25
+ const patches = [
26
+ {
27
+ apply: import_patchJestSnapshots.tryPatchJestSnapshots,
28
+ description: "Update Jest snapshot URLs to the new documentation site"
29
+ }
30
+ ];
31
+ // Annotate the CommonJS export names for ESM import in node:
32
+ 0 && (module.exports = {
33
+ patches
34
+ });
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/cli/lint/internalLints/upgrade/patches/12.1.1/index.ts"],
4
+ "sourcesContent": ["import type { Patches } from '../../index.js';\n\nimport { tryPatchJestSnapshots } from './patchJestSnapshots.js';\n\nexport const patches: Patches = [\n {\n apply: tryPatchJestSnapshots,\n description: 'Update Jest snapshot URLs to the new documentation site',\n },\n];\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,gCAAsC;AAE/B,MAAM,UAAmB;AAAA,EAC9B;AAAA,IACE,OAAO;AAAA,IACP,aAAa;AAAA,EACf;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,3 @@
1
+ import type { PatchFunction, PatchReturnType } from '../../index.js';
2
+ export declare const patchJestSnapshots: (mode: "lint" | "format") => Promise<PatchReturnType>;
3
+ export declare const tryPatchJestSnapshots: PatchFunction;
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var patchJestSnapshots_exports = {};
30
+ __export(patchJestSnapshots_exports, {
31
+ patchJestSnapshots: () => patchJestSnapshots,
32
+ tryPatchJestSnapshots: () => tryPatchJestSnapshots
33
+ });
34
+ module.exports = __toCommonJS(patchJestSnapshots_exports);
35
+ var import_util = require("util");
36
+ var import_fast_glob = __toESM(require("fast-glob"));
37
+ var import_fs_extra = __toESM(require("fs-extra"));
38
+ var import_logging = require("../../../../../../utils/logging.js");
39
+ const JEST_SNAPSHOT_OLD_URL = "https://goo.gl/fbAQLP";
40
+ const JEST_SNAPSHOT_NEW_URL = "https://jestjs.io/docs/snapshot-testing";
41
+ const patchJestSnapshots = async (mode) => {
42
+ const testFilePaths = await (0, import_fast_glob.default)(["**/*.test.ts", "**/*.test.ts.snap"], {
43
+ ignore: [
44
+ "**/.git",
45
+ "**/node_modules",
46
+ "src/cli/lint/internalLints/upgrade/patches/12.1.1/patchJestSnapshots.test.ts"
47
+ ]
48
+ });
49
+ if (testFilePaths.length === 0) {
50
+ return {
51
+ result: "skip",
52
+ reason: "no test files found"
53
+ };
54
+ }
55
+ const testsFiles = await Promise.all(
56
+ testFilePaths.map(async (file) => {
57
+ const contents = await import_fs_extra.default.readFile(file, "utf8");
58
+ return {
59
+ file,
60
+ contents
61
+ };
62
+ })
63
+ );
64
+ const testFilesToPatch = testsFiles.filter(
65
+ ({ contents }) => contents.includes(JEST_SNAPSHOT_OLD_URL)
66
+ );
67
+ if (testFilesToPatch.length === 0) {
68
+ return {
69
+ result: "skip",
70
+ reason: "no test files to patch"
71
+ };
72
+ }
73
+ if (mode === "lint") {
74
+ return {
75
+ result: "apply"
76
+ };
77
+ }
78
+ await Promise.all(
79
+ testFilesToPatch.map(async ({ file, contents }) => {
80
+ const updatedContents = contents.replaceAll(
81
+ JEST_SNAPSHOT_OLD_URL,
82
+ JEST_SNAPSHOT_NEW_URL
83
+ );
84
+ await import_fs_extra.default.writeFile(file, updatedContents, "utf8");
85
+ })
86
+ );
87
+ return {
88
+ result: "apply"
89
+ };
90
+ };
91
+ const tryPatchJestSnapshots = async ({ mode }) => {
92
+ try {
93
+ return await patchJestSnapshots(mode);
94
+ } catch (err) {
95
+ import_logging.log.warn("Failed to apply Jest snapshot URL patch.");
96
+ import_logging.log.subtle((0, import_util.inspect)(err));
97
+ return { result: "skip", reason: "due to an error" };
98
+ }
99
+ };
100
+ // Annotate the CommonJS export names for ESM import in node:
101
+ 0 && (module.exports = {
102
+ patchJestSnapshots,
103
+ tryPatchJestSnapshots
104
+ });
105
+ //# sourceMappingURL=patchJestSnapshots.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/cli/lint/internalLints/upgrade/patches/12.1.1/patchJestSnapshots.ts"],
4
+ "sourcesContent": ["import { inspect } from 'util';\n\nimport fg from 'fast-glob';\nimport fs from 'fs-extra';\n\nimport { log } from '../../../../../../utils/logging.js';\nimport type { PatchFunction, PatchReturnType } from '../../index.js';\n\nconst JEST_SNAPSHOT_OLD_URL = 'https://goo.gl/fbAQLP';\nconst JEST_SNAPSHOT_NEW_URL = 'https://jestjs.io/docs/snapshot-testing';\n\nexport const patchJestSnapshots = async (\n mode: 'lint' | 'format',\n): Promise<PatchReturnType> => {\n const testFilePaths = await fg(['**/*.test.ts', '**/*.test.ts.snap'], {\n ignore: [\n '**/.git',\n '**/node_modules',\n 'src/cli/lint/internalLints/upgrade/patches/12.1.1/patchJestSnapshots.test.ts',\n ],\n });\n\n if (testFilePaths.length === 0) {\n return {\n result: 'skip',\n reason: 'no test files found',\n };\n }\n\n const testsFiles = await Promise.all(\n testFilePaths.map(async (file) => {\n const contents = await fs.readFile(file, 'utf8');\n\n return {\n file,\n contents,\n };\n }),\n );\n\n const testFilesToPatch = testsFiles.filter(({ contents }) =>\n contents.includes(JEST_SNAPSHOT_OLD_URL),\n );\n\n if (testFilesToPatch.length === 0) {\n return {\n result: 'skip',\n reason: 'no test files to patch',\n };\n }\n\n if (mode === 'lint') {\n return {\n result: 'apply',\n };\n }\n\n await Promise.all(\n testFilesToPatch.map(async ({ file, contents }) => {\n const updatedContents = contents.replaceAll(\n JEST_SNAPSHOT_OLD_URL,\n JEST_SNAPSHOT_NEW_URL,\n );\n await fs.writeFile(file, updatedContents, 'utf8');\n }),\n );\n\n return {\n result: 'apply',\n };\n};\n\nexport const tryPatchJestSnapshots: PatchFunction = async ({ mode }) => {\n try {\n return await patchJestSnapshots(mode);\n } catch (err) {\n log.warn('Failed to apply Jest snapshot URL patch.');\n log.subtle(inspect(err));\n return { result: 'skip', reason: 'due to an error' };\n }\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAwB;AAExB,uBAAe;AACf,sBAAe;AAEf,qBAAoB;AAGpB,MAAM,wBAAwB;AAC9B,MAAM,wBAAwB;AAEvB,MAAM,qBAAqB,OAChC,SAC6B;AAC7B,QAAM,gBAAgB,UAAM,iBAAAA,SAAG,CAAC,gBAAgB,mBAAmB,GAAG;AAAA,IACpE,QAAQ;AAAA,MACN;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF,CAAC;AAED,MAAI,cAAc,WAAW,GAAG;AAC9B,WAAO;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ;AAAA,IACV;AAAA,EACF;AAEA,QAAM,aAAa,MAAM,QAAQ;AAAA,IAC/B,cAAc,IAAI,OAAO,SAAS;AAChC,YAAM,WAAW,MAAM,gBAAAC,QAAG,SAAS,MAAM,MAAM;AAE/C,aAAO;AAAA,QACL;AAAA,QACA;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AAEA,QAAM,mBAAmB,WAAW;AAAA,IAAO,CAAC,EAAE,SAAS,MACrD,SAAS,SAAS,qBAAqB;AAAA,EACzC;AAEA,MAAI,iBAAiB,WAAW,GAAG;AACjC,WAAO;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ;AAAA,IACV;AAAA,EACF;AAEA,MAAI,SAAS,QAAQ;AACnB,WAAO;AAAA,MACL,QAAQ;AAAA,IACV;AAAA,EACF;AAEA,QAAM,QAAQ;AAAA,IACZ,iBAAiB,IAAI,OAAO,EAAE,MAAM,SAAS,MAAM;AACjD,YAAM,kBAAkB,SAAS;AAAA,QAC/B;AAAA,QACA;AAAA,MACF;AACA,YAAM,gBAAAA,QAAG,UAAU,MAAM,iBAAiB,MAAM;AAAA,IAClD,CAAC;AAAA,EACH;AAEA,SAAO;AAAA,IACL,QAAQ;AAAA,EACV;AACF;AAEO,MAAM,wBAAuC,OAAO,EAAE,KAAK,MAAM;AACtE,MAAI;AACF,WAAO,MAAM,mBAAmB,IAAI;AAAA,EACtC,SAAS,KAAK;AACZ,uBAAI,KAAK,0CAA0C;AACnD,uBAAI,WAAO,qBAAQ,GAAG,CAAC;AACvB,WAAO,EAAE,QAAQ,QAAQ,QAAQ,kBAAkB;AAAA,EACrD;AACF;",
6
+ "names": ["fg", "fs"]
7
+ }
@@ -23,7 +23,7 @@ export declare const templateConfigSchema: z.ZodObject<{
23
23
  name: z.ZodString;
24
24
  message: z.ZodString;
25
25
  initial: z.ZodString;
26
- validate: z.ZodOptional<z.ZodPipe<z.ZodCustom<z.core.$InferInnerFunctionType<z.core.$ZodTuple<[z.ZodString], null>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>, z.core.$InferInnerFunctionType<z.core.$ZodTuple<[z.ZodString], null>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>, z.ZodTransform<(args_0: string) => string | boolean, z.core.$InferInnerFunctionType<z.core.$ZodTuple<[z.ZodString], null>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>>>;
26
+ validate: z.ZodOptional<z.ZodPipe<z.ZodCustom<z.core.$InferInnerFunctionType<z.ZodTuple<readonly [z.ZodString], null>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>, z.core.$InferInnerFunctionType<z.ZodTuple<readonly [z.ZodString], null>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>, z.ZodTransform<(args_0: string) => string | boolean, z.core.$InferInnerFunctionType<z.ZodTuple<readonly [z.ZodString], null>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>>>>;
27
27
  }, z.core.$strip>>;
28
28
  entryPoint: z.ZodOptional<z.ZodString>;
29
29
  noSkip: z.ZodOptional<z.ZodBoolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skuba",
3
- "version": "12.2.0-ship-tsdown-20250827054417",
3
+ "version": "12.2.0",
4
4
  "private": false,
5
5
  "description": "SEEK development toolkit for backend applications and packages",
6
6
  "homepage": "https://github.com/seek-oss/skuba#readme",
@@ -50,7 +50,6 @@
50
50
  ]
51
51
  },
52
52
  "dependencies": {
53
- "@arethetypeswrong/core": "^0.18.2",
54
53
  "@esbuild-plugins/tsconfig-paths": "^0.1.0",
55
54
  "@eslint/migrate-config": "~1.3.8",
56
55
  "@jest/types": "^30.0.0",
@@ -85,10 +84,8 @@
85
84
  "npm-run-path": "^4.0.1",
86
85
  "npm-which": "^3.0.1",
87
86
  "picomatch": "^4.0.0",
88
- "pkg-types": "^2.3.0",
89
87
  "prettier": "~3.6.0",
90
88
  "prettier-plugin-packagejson": "^2.4.10",
91
- "publint": "^0.3.12",
92
89
  "read-pkg-up": "^7.0.1",
93
90
  "semantic-release": "^24.2.3",
94
91
  "simple-git": "^3.5.0",
@@ -97,18 +94,16 @@
97
94
  "ts-node": "^10.9.2",
98
95
  "tsconfig-paths": "^4.0.0",
99
96
  "tsconfig-seek": "2.0.0",
100
- "tsdown": "^0.14.2",
101
97
  "tsx": "^4.16.2",
102
98
  "typescript": "~5.9.0",
103
- "unplugin-unused": "^0.5.2",
104
99
  "zod": "^4.0.0",
105
- "eslint-config-skuba": "7.1.1-ship-tsdown-20250827054417"
100
+ "eslint-config-skuba": "7.1.1"
106
101
  },
107
102
  "devDependencies": {
108
103
  "@changesets/cli": "2.29.6",
109
104
  "@changesets/get-github-info": "0.6.0",
110
- "@jest/reporters": "30.0.5",
111
- "@jest/test-result": "30.0.5",
105
+ "@jest/reporters": "30.1.3",
106
+ "@jest/test-result": "30.1.3",
112
107
  "@types/ejs": "3.1.5",
113
108
  "@types/express": "5.0.3",
114
109
  "@types/fs-extra": "11.0.4",
@@ -119,12 +114,12 @@
119
114
  "@types/npm-registry-fetch": "8.0.8",
120
115
  "@types/npm-which": "3.0.4",
121
116
  "@types/picomatch": "4.0.2",
122
- "@types/semver": "7.7.0",
117
+ "@types/semver": "7.7.1",
123
118
  "@types/supertest": "6.0.3",
124
119
  "enhanced-resolve": "5.18.3",
125
120
  "express": "5.1.0",
126
121
  "fastify": "5.5.0",
127
- "jest-diff": "30.0.5",
122
+ "jest-diff": "30.1.2",
128
123
  "jsonfile": "6.2.0",
129
124
  "koa": "3.0.1",
130
125
  "memfs": "4.38.2",
@@ -145,15 +140,12 @@
145
140
  "engines": {
146
141
  "node": ">=20.9.0"
147
142
  },
148
- "publishConfig": {
149
- "provenance": true
150
- },
151
143
  "skuba": {
152
144
  "build": "esbuild",
153
145
  "entryPoint": "src/index.ts",
154
146
  "template": null,
155
147
  "type": "package",
156
- "version": "12.1.0"
148
+ "version": "12.2.0"
157
149
  },
158
150
  "scripts": {
159
151
  "build": "scripts/build.sh",
@@ -8,6 +8,5 @@ publicHoistPattern:
8
8
  - esbuild
9
9
  - jest
10
10
  - tsconfig-seek
11
- - tsdown
12
11
  - typescript
13
12
  # end managed by skuba
@@ -1,4 +1,4 @@
1
- # syntax=docker/dockerfile:1.17
1
+ # syntax=docker/dockerfile:1.18
2
2
 
3
3
  FROM public.ecr.aws/docker/library/node:22-alpine AS dev-deps
4
4
 
@@ -15,12 +15,12 @@
15
15
  "dependencies": {
16
16
  "@opentelemetry/api": "^1.9.0",
17
17
  "@opentelemetry/core": "^2.0.0",
18
- "@opentelemetry/exporter-trace-otlp-grpc": "^0.203.0",
19
- "@opentelemetry/instrumentation-aws-sdk": "^0.57.0",
20
- "@opentelemetry/instrumentation-http": "^0.203.0",
18
+ "@opentelemetry/exporter-trace-otlp-grpc": "^0.204.0",
19
+ "@opentelemetry/instrumentation-aws-sdk": "^0.58.0",
20
+ "@opentelemetry/instrumentation-http": "^0.204.0",
21
21
  "@opentelemetry/propagator-b3": "^2.0.0",
22
- "@opentelemetry/sdk-node": "^0.203.0",
23
- "@seek/logger": "11.0.0",
22
+ "@opentelemetry/sdk-node": "^0.204.0",
23
+ "@seek/logger": "^11.1.0",
24
24
  "express": "^5.0.0",
25
25
  "hot-shots": "^11.0.0",
26
26
  "seek-datadog-custom-metrics": "^6.0.0",
@@ -34,7 +34,7 @@
34
34
  "skuba": "*",
35
35
  "supertest": "^7.0.0"
36
36
  },
37
- "packageManager": "pnpm@10.14.0",
37
+ "packageManager": "pnpm@10.15.1",
38
38
  "engines": {
39
39
  "node": ">=22"
40
40
  }
@@ -1,4 +1,4 @@
1
- # syntax=docker/dockerfile:1.17
1
+ # syntax=docker/dockerfile:1.18
2
2
 
3
3
  FROM public.ecr.aws/docker/library/node:22-alpine AS dev-deps
4
4
 
@@ -17,9 +17,9 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "^22.13.10",
20
- "skuba": "12.2.0-ship-tsdown-20250827054417"
20
+ "skuba": "*"
21
21
  },
22
- "packageManager": "pnpm@10.14.0",
22
+ "packageManager": "pnpm@10.15.1",
23
23
  "engines": {
24
24
  "node": ">=22"
25
25
  }
@@ -1,4 +1,4 @@
1
- # syntax=docker/dockerfile:1.17
1
+ # syntax=docker/dockerfile:1.18
2
2
 
3
3
  FROM public.ecr.aws/docker/library/node:22-alpine AS dev-deps
4
4
 
@@ -17,12 +17,12 @@
17
17
  "@koa/router": "^14.0.0",
18
18
  "@opentelemetry/api": "^1.9.0",
19
19
  "@opentelemetry/core": "^2.0.0",
20
- "@opentelemetry/exporter-trace-otlp-grpc": "^0.203.0",
21
- "@opentelemetry/instrumentation-aws-sdk": "^0.57.0",
22
- "@opentelemetry/instrumentation-http": "^0.203.0",
20
+ "@opentelemetry/exporter-trace-otlp-grpc": "^0.204.0",
21
+ "@opentelemetry/instrumentation-aws-sdk": "^0.58.0",
22
+ "@opentelemetry/instrumentation-http": "^0.204.0",
23
23
  "@opentelemetry/propagator-b3": "^2.0.0",
24
- "@opentelemetry/sdk-node": "^0.203.0",
25
- "@seek/logger": "11.0.0",
24
+ "@opentelemetry/sdk-node": "^0.204.0",
25
+ "@seek/logger": "^11.1.0",
26
26
  "hot-shots": "^11.0.0",
27
27
  "koa": "^3.0.1",
28
28
  "koa-compose": "^4.1.0",
@@ -43,7 +43,7 @@
43
43
  "skuba": "*",
44
44
  "supertest": "^7.0.0"
45
45
  },
46
- "packageManager": "pnpm@10.14.0",
46
+ "packageManager": "pnpm@10.15.1",
47
47
  "engines": {
48
48
  "node": ">=22"
49
49
  }
@@ -1,4 +1,4 @@
1
- # syntax=docker/dockerfile:1.17
1
+ # syntax=docker/dockerfile:1.18
2
2
 
3
3
  FROM public.ecr.aws/docker/library/node:22-alpine AS dev-deps
4
4
 
@@ -763,14 +763,6 @@ exports[`returns expected CloudFormation stack for prod 1`] = `
763
763
  },
764
764
  },
765
765
  "Resources": {
766
- "datadogapikeysecret046FEF06": {
767
- "DeletionPolicy": "Delete",
768
- "Properties": {
769
- "GenerateSecretString": {},
770
- },
771
- "Type": "AWS::SecretsManager::Secret",
772
- "UpdateReplacePolicy": "Delete",
773
- },
774
766
  "destinationtopicDCE2E0B8": {
775
767
  "Properties": {
776
768
  "KmsMasterKeyId": {
@@ -928,9 +920,7 @@ exports[`returns expected CloudFormation stack for prod 1`] = `
928
920
  },
929
921
  "Environment": {
930
922
  "Variables": {
931
- "DD_API_KEY_SECRET_ARN": {
932
- "Ref": "datadogapikeysecret046FEF06",
933
- },
923
+ "DD_API_KEY_SECRET_ARN": "arn:aws:secretsmanager:<Region>:<AccountId>:secret:TODO_SECRET_NAME",
934
924
  "DD_CAPTURE_LAMBDA_PAYLOAD": "false",
935
925
  "DD_ENV": "production",
936
926
  "DD_FLUSH_TO_LOG": "false",
@@ -1394,9 +1384,7 @@ exports[`returns expected CloudFormation stack for prod 1`] = `
1394
1384
  "secretsmanager:DescribeSecret",
1395
1385
  ],
1396
1386
  "Effect": "Allow",
1397
- "Resource": {
1398
- "Ref": "datadogapikeysecret046FEF06",
1399
- },
1387
+ "Resource": "arn:aws:secretsmanager:<Region>:<AccountId>:secret:TODO_SECRET_NAME-??????",
1400
1388
  },
1401
1389
  {
1402
1390
  "Action": [
@@ -19,7 +19,7 @@ import { DatadogLambda } from 'datadog-cdk-constructs-v2';
19
19
  import { config } from './config.js';
20
20
 
21
21
  // Updated by https://github.com/seek-oss/rynovate
22
- const DATADOG_EXTENSION_LAYER_VERSION = 84;
22
+ const DATADOG_EXTENSION_LAYER_VERSION = 86;
23
23
 
24
24
  // Updated by https://github.com/seek-oss/rynovate
25
25
  const DATADOG_NODE_LAYER_VERSION = 126;
@@ -40,7 +40,8 @@ const configs: Record<Deployment, Config> = {
40
40
  },
41
41
  },
42
42
 
43
- datadogApiKeySecretArn: 'TODO: datadogApiKeySecretArn',
43
+ datadogApiKeySecretArn:
44
+ 'arn:aws:secretsmanager:<Region>:<AccountId>:secret:TODO_SECRET_NAME',
44
45
  sourceSnsTopicArn: 'TODO: sourceSnsTopicArn',
45
46
  },
46
47
  prod: {
@@ -56,7 +57,8 @@ const configs: Record<Deployment, Config> = {
56
57
  },
57
58
  },
58
59
 
59
- datadogApiKeySecretArn: 'TODO: datadogApiKeySecretArn',
60
+ datadogApiKeySecretArn:
61
+ 'arn:aws:secretsmanager:<Region>:<AccountId>:secret:TODO_SECRET_NAME',
60
62
  sourceSnsTopicArn: 'TODO: sourceSnsTopicArn',
61
63
  },
62
64
  };
@@ -16,7 +16,7 @@
16
16
  "@aws-sdk/client-lambda": "^3.363.0",
17
17
  "@aws-sdk/client-sns": "^3.363.0",
18
18
  "@seek/aws-codedeploy-hooks": "^2.0.0",
19
- "@seek/logger": "11.0.0",
19
+ "@seek/logger": "^11.1.0",
20
20
  "skuba-dive": "^2.0.0",
21
21
  "zod": "^4.0.0"
22
22
  },
@@ -35,9 +35,9 @@
35
35
  "datadog-lambda-js": "^12.0.0",
36
36
  "dd-trace": "^5.0.0",
37
37
  "pino-pretty": "^13.0.0",
38
- "skuba": "12.2.0-ship-tsdown-20250827054417"
38
+ "skuba": "*"
39
39
  },
40
- "packageManager": "pnpm@10.14.0",
40
+ "packageManager": "pnpm@10.15.1",
41
41
  "engines": {
42
42
  "node": ">=22"
43
43
  }
@@ -22,14 +22,14 @@ jobs:
22
22
  with:
23
23
  fetch-depth: 0
24
24
 
25
+ - name: Set up pnpm
26
+ uses: pnpm/action-setup@v4
27
+
25
28
  - name: Set up Node.js
26
- uses: actions/setup-node@v4
29
+ uses: actions/setup-node@v5
27
30
  with:
28
31
  node-version: ^22.14
29
32
 
30
- - name: Set up pnpm
31
- run: corepack enable pnpm && corepack install
32
-
33
33
  - name: Install dependencies
34
34
  run: pnpm install --frozen-lockfile
35
35
 
@@ -37,4 +37,3 @@ jobs:
37
37
  run: pnpm release
38
38
  env:
39
39
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -18,14 +18,14 @@ jobs:
18
18
  - name: Check out repo
19
19
  uses: actions/checkout@v5
20
20
 
21
+ - name: Set up pnpm
22
+ uses: pnpm/action-setup@v4
23
+
21
24
  - name: Set up Node.js
22
- uses: actions/setup-node@v4
25
+ uses: actions/setup-node@v5
23
26
  with:
24
27
  node-version: ^22.14
25
28
 
26
- - name: Set up pnpm
27
- run: corepack enable pnpm && corepack install
28
-
29
29
  - name: Install dependencies
30
30
  run: pnpm install --frozen-lockfile
31
31
 
@@ -41,8 +41,5 @@
41
41
  "packageManager": "pnpm@10.7.0",
42
42
  "engines": {
43
43
  "node": ">=20.9.0"
44
- },
45
- "publishConfig": {
46
- "provenance": true
47
44
  }
48
45
  }