skuba 11.0.1 → 11.1.0-jest30-20250605013156
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.
- package/lib/cli/configure/processing/prettier.d.ts +1 -1
- package/lib/cli/configure/processing/prettier.js +8 -6
- package/lib/cli/configure/processing/prettier.js.map +3 -3
- package/package.json +2 -2
- package/template/express-rest-api/Dockerfile.dev-deps +1 -1
- package/template/greeter/Dockerfile +1 -1
- package/template/greeter/package.json +1 -1
- package/template/koa-rest-api/Dockerfile.dev-deps +1 -1
- package/template/lambda-sqs-worker-cdk/Dockerfile +1 -1
- package/template/lambda-sqs-worker-cdk/infra/__snapshots__/appStack.test.ts.snap +4 -0
- package/template/lambda-sqs-worker-cdk/package.json +1 -1
|
@@ -31,12 +31,14 @@ __export(prettier_exports, {
|
|
|
31
31
|
formatPrettier: () => formatPrettier
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(prettier_exports);
|
|
34
|
-
var import_prettier = __toESM(require("prettier"));
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
var import_prettier = __toESM(require("../../../../config/prettier"));
|
|
35
|
+
const formatPrettier = async (source, options) => {
|
|
36
|
+
const prettier = await import("prettier");
|
|
37
|
+
return prettier.format(source, {
|
|
38
|
+
...options,
|
|
39
|
+
...import_prettier.default
|
|
40
|
+
});
|
|
41
|
+
};
|
|
40
42
|
// Annotate the CommonJS export names for ESM import in node:
|
|
41
43
|
0 && (module.exports = {
|
|
42
44
|
formatPrettier
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/cli/configure/processing/prettier.ts"],
|
|
4
|
-
"sourcesContent": ["import prettier from 'prettier';\n\nimport prettierConfig from '../../../../config/prettier';\n\ntype Options = Pick<prettier.Options, 'filepath' | 'parser'>;\n\nexport const formatPrettier = (source: string, options: Options)
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
6
|
-
"names": ["
|
|
4
|
+
"sourcesContent": ["import type prettier from 'prettier';\n\nimport prettierConfig from '../../../../config/prettier';\n\ntype Options = Pick<prettier.Options, 'filepath' | 'parser'>;\n\nexport const formatPrettier = async (source: string, options: Options) => {\n const prettier = await import('prettier');\n return prettier.format(source, {\n ...options,\n ...prettierConfig,\n });\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,sBAA2B;AAIpB,MAAM,iBAAiB,OAAO,QAAgB,YAAqB;AACxE,QAAM,WAAW,MAAM,OAAO,UAAU;AACxC,SAAO,SAAS,OAAO,QAAQ;AAAA,IAC7B,GAAG;AAAA,IACH,GAAG,gBAAAA;AAAA,EACL,CAAC;AACH;",
|
|
6
|
+
"names": ["prettierConfig"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skuba",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0-jest30-20250605013156",
|
|
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",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"ignore": "^7.0.0",
|
|
77
77
|
"is-installed-globally": "^0.4.0",
|
|
78
78
|
"isomorphic-git": "^1.11.1",
|
|
79
|
-
"jest": "^
|
|
79
|
+
"jest": "^30.0.0-beta.4",
|
|
80
80
|
"jest-watch-typeahead": "^2.1.1",
|
|
81
81
|
"lodash.mergewith": "^4.6.2",
|
|
82
82
|
"minimist": "^1.2.6",
|
|
@@ -187,6 +187,8 @@ exports[`returns expected CloudFormation stack for dev 1`] = `
|
|
|
187
187
|
"DD_SERVERLESS_APPSEC_ENABLED": "false",
|
|
188
188
|
"DD_SERVERLESS_LOGS_ENABLED": "false",
|
|
189
189
|
"DD_SITE": "datadoghq.com",
|
|
190
|
+
"DD_TRACE_CLOUD_REQUEST_PAYLOAD_TAGGING": "$.*",
|
|
191
|
+
"DD_TRACE_CLOUD_RESPONSE_PAYLOAD_TAGGING": "$.*",
|
|
190
192
|
"DD_TRACE_ENABLED": "true",
|
|
191
193
|
"DESTINATION_SNS_TOPIC_ARN": {
|
|
192
194
|
"Ref": "destinationtopicDCE2E0B8",
|
|
@@ -915,6 +917,8 @@ exports[`returns expected CloudFormation stack for prod 1`] = `
|
|
|
915
917
|
"DD_SERVERLESS_APPSEC_ENABLED": "false",
|
|
916
918
|
"DD_SERVERLESS_LOGS_ENABLED": "false",
|
|
917
919
|
"DD_SITE": "datadoghq.com",
|
|
920
|
+
"DD_TRACE_CLOUD_REQUEST_PAYLOAD_TAGGING": "$.*",
|
|
921
|
+
"DD_TRACE_CLOUD_RESPONSE_PAYLOAD_TAGGING": "$.*",
|
|
918
922
|
"DD_TRACE_ENABLED": "true",
|
|
919
923
|
"DESTINATION_SNS_TOPIC_ARN": {
|
|
920
924
|
"Ref": "destinationtopicDCE2E0B8",
|