skuba 9.0.0-main-20240918063050 → 9.0.0-main-20240924121500
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/config/eslint.js +1 -3
- package/lib/cli/adapter/eslint.d.ts +1 -1
- package/lib/cli/adapter/eslint.js +34 -8
- package/lib/cli/adapter/eslint.js.map +2 -2
- package/lib/cli/build/index.js +1 -0
- package/lib/cli/build/index.js.map +1 -1
- package/lib/cli/configure/modules/eslint.js +4 -8
- package/lib/cli/configure/modules/eslint.js.map +2 -2
- package/lib/cli/configure/processing/configFile.js +1 -1
- package/lib/cli/configure/processing/configFile.js.map +2 -2
- package/lib/cli/format.d.ts +1 -1
- package/lib/cli/format.js +2 -2
- package/lib/cli/format.js.map +2 -2
- package/lib/cli/init/getConfig.js.map +1 -1
- package/lib/cli/init/index.js +1 -1
- package/lib/cli/init/index.js.map +1 -1
- package/lib/cli/init/types.js.map +2 -2
- package/lib/cli/lint/autofix.d.ts +1 -0
- package/lib/cli/lint/autofix.js +2 -2
- package/lib/cli/lint/autofix.js.map +2 -2
- package/lib/cli/lint/eslint.d.ts +1 -1
- package/lib/cli/lint/eslint.js +1 -1
- package/lib/cli/lint/eslint.js.map +2 -2
- package/lib/cli/lint/internalLints/patchRenovateConfig.js +0 -4
- package/lib/cli/lint/internalLints/patchRenovateConfig.js.map +2 -2
- package/lib/cli/lint/internalLints/refreshConfigFiles.js +0 -1
- package/lib/cli/lint/internalLints/refreshConfigFiles.js.map +2 -2
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/collapseDuplicateMergeKeys.d.ts +2 -0
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/collapseDuplicateMergeKeys.js +90 -0
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/collapseDuplicateMergeKeys.js.map +7 -0
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/index.js +10 -0
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/index.js.map +2 -2
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/patchDockerCompose.js +1 -1
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/patchDockerCompose.js.map +2 -2
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/upgradeESLint.d.ts +2 -0
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/upgradeESLint.js +144 -0
- package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/upgradeESLint.js.map +7 -0
- package/lib/cli/lint/types.d.ts +4 -0
- package/lib/cli/lint/types.js.map +1 -1
- package/lib/eslint.d.js +2 -0
- package/lib/index.js.map +1 -1
- package/lib/skuba.js.map +1 -1
- package/lib/utils/copy.js +1 -1
- package/lib/utils/copy.js.map +2 -2
- package/lib/wrapper/main.js.map +1 -1
- package/package.json +9 -8
- package/template/base/_eslint.config.js +1 -0
- package/template/express-rest-api/package.json +1 -1
- package/template/greeter/package.json +2 -2
- package/template/koa-rest-api/package.json +1 -1
- package/template/koa-rest-api/src/framework/server.test.ts +2 -1
- package/template/lambda-sqs-worker/package.json +1 -1
- package/template/lambda-sqs-worker/src/types/jobScorer.ts +1 -1
- package/template/lambda-sqs-worker-cdk/infra/__snapshots__/appStack.test.ts.snap +12 -0
- package/template/lambda-sqs-worker-cdk/package.json +2 -2
- package/lib/why-is-node-running.d.js +0 -2
- package/template/base/_.eslintignore +0 -15
- package/template/base/_.eslintrc.js +0 -3
- /package/lib/{why-is-node-running.d.js.map → eslint.d.js.map} +0 -0
|
@@ -203,7 +203,7 @@ describe('createApp', () => {
|
|
|
203
203
|
|
|
204
204
|
it('handles null error', async () => {
|
|
205
205
|
middleware.mockImplementation(() => {
|
|
206
|
-
/* eslint-disable-next-line
|
|
206
|
+
/* eslint-disable-next-line @typescript-eslint/only-throw-error */
|
|
207
207
|
throw null;
|
|
208
208
|
});
|
|
209
209
|
|
|
@@ -233,6 +233,7 @@ describe('createApp', () => {
|
|
|
233
233
|
const err = chance.sentence();
|
|
234
234
|
|
|
235
235
|
middleware.mockImplementation(() => {
|
|
236
|
+
// eslint-disable-next-line @typescript-eslint/only-throw-error
|
|
236
237
|
throw err;
|
|
237
238
|
});
|
|
238
239
|
|
|
@@ -304,6 +304,12 @@ exports[`returns expected CloudFormation stack for dev 1`] = `
|
|
|
304
304
|
],
|
|
305
305
|
],
|
|
306
306
|
},
|
|
307
|
+
"Tags": [
|
|
308
|
+
{
|
|
309
|
+
"Key": "aws-codedeploy-hooks",
|
|
310
|
+
"Value": "x.x.x-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
307
313
|
},
|
|
308
314
|
"Type": "AWS::Lambda::EventSourceMapping",
|
|
309
315
|
},
|
|
@@ -1007,6 +1013,12 @@ exports[`returns expected CloudFormation stack for prod 1`] = `
|
|
|
1007
1013
|
],
|
|
1008
1014
|
],
|
|
1009
1015
|
},
|
|
1016
|
+
"Tags": [
|
|
1017
|
+
{
|
|
1018
|
+
"Key": "aws-codedeploy-hooks",
|
|
1019
|
+
"Value": "x.x.x-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
|
1020
|
+
},
|
|
1021
|
+
],
|
|
1010
1022
|
},
|
|
1011
1023
|
"Type": "AWS::Lambda::EventSourceMapping",
|
|
1012
1024
|
},
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"aws-cdk-lib": "^2.109.0",
|
|
29
29
|
"constructs": "^10.0.17",
|
|
30
30
|
"pino-pretty": "^11.0.0",
|
|
31
|
-
"skuba": "9.0.0-main-
|
|
31
|
+
"skuba": "9.0.0-main-20240924121500"
|
|
32
32
|
},
|
|
33
|
-
"packageManager": "pnpm@9.
|
|
33
|
+
"packageManager": "pnpm@9.11.0",
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=20"
|
|
36
36
|
}
|
|
File without changes
|