skuba 6.0.2 → 6.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.
Files changed (63) hide show
  1. package/lib/api/github/checkRun.d.ts +1 -1
  2. package/lib/api/github/checkRun.js.map +1 -1
  3. package/lib/api/jest/index.d.ts +4 -1
  4. package/lib/cli/adapter/eslint.js +0 -24
  5. package/lib/cli/adapter/eslint.js.map +2 -2
  6. package/lib/cli/build/assets.d.ts +10 -0
  7. package/lib/cli/build/assets.js +107 -0
  8. package/lib/cli/build/assets.js.map +7 -0
  9. package/lib/cli/build/esbuild.js +3 -42
  10. package/lib/cli/build/esbuild.js.map +3 -3
  11. package/lib/cli/build/index.js +12 -2
  12. package/lib/cli/build/index.js.map +2 -2
  13. package/lib/cli/build/tsc.d.ts +3 -0
  14. package/lib/cli/build/tsc.js +66 -0
  15. package/lib/cli/build/tsc.js.map +3 -3
  16. package/lib/cli/buildPackage.js +13 -0
  17. package/lib/cli/buildPackage.js.map +2 -2
  18. package/lib/cli/test/reporters/github/index.js +0 -2
  19. package/lib/utils/copy.d.ts +1 -0
  20. package/lib/utils/copy.js +6 -1
  21. package/lib/utils/copy.js.map +2 -2
  22. package/lib/utils/dir.d.ts +2 -1
  23. package/lib/utils/dir.js +2 -2
  24. package/lib/utils/dir.js.map +2 -2
  25. package/lib/utils/manifest.d.ts +1 -0
  26. package/lib/utils/manifest.js +8 -2
  27. package/lib/utils/manifest.js.map +2 -2
  28. package/lib/utils/validation.d.ts +2 -2
  29. package/lib/utils/validation.js.map +2 -2
  30. package/lib/wrapper/requestListener.js +3 -0
  31. package/lib/wrapper/requestListener.js.map +2 -2
  32. package/package.json +14 -14
  33. package/template/base/.github/CODEOWNERS +0 -4
  34. package/template/express-rest-api/.buildkite/pipeline.yml +1 -1
  35. package/template/express-rest-api/gantry.apply.yml +0 -2
  36. package/template/express-rest-api/package.json +1 -1
  37. package/template/express-rest-api/src/api/healthCheck.ts +1 -1
  38. package/template/express-rest-api/src/api/smokeTest.ts +1 -1
  39. package/template/greeter/.buildkite/pipeline.yml +1 -1
  40. package/template/koa-rest-api/.buildkite/pipeline.yml +1 -1
  41. package/template/koa-rest-api/gantry.apply.yml +0 -2
  42. package/template/koa-rest-api/package.json +4 -4
  43. package/template/koa-rest-api/src/api/healthCheck.ts +1 -1
  44. package/template/koa-rest-api/src/api/jobs/getJobs.ts +1 -1
  45. package/template/koa-rest-api/src/api/jobs/postJob.ts +1 -1
  46. package/template/koa-rest-api/src/api/smokeTest.ts +1 -1
  47. package/template/koa-rest-api/src/framework/server.test.ts +1 -1
  48. package/template/koa-rest-api/src/framework/validation.ts +2 -2
  49. package/template/koa-rest-api/src/storage/jobs.ts +1 -1
  50. package/template/koa-rest-api/src/testing/server.ts +2 -2
  51. package/template/koa-rest-api/src/testing/types.ts +1 -1
  52. package/template/lambda-sqs-worker/.buildkite/pipeline.yml +2 -2
  53. package/template/lambda-sqs-worker/package.json +3 -3
  54. package/template/lambda-sqs-worker/src/app.ts +1 -1
  55. package/template/lambda-sqs-worker/src/framework/validation.ts +1 -1
  56. package/template/lambda-sqs-worker/src/mapping/jobScorer.ts +5 -2
  57. package/template/lambda-sqs-worker/src/services/jobScorer.ts +6 -6
  58. package/template/lambda-sqs-worker/src/testing/handler.ts +1 -1
  59. package/template/lambda-sqs-worker/src/testing/types.ts +1 -1
  60. package/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml +2 -2
  61. package/template/lambda-sqs-worker-cdk/infra/appStack.ts +1 -1
  62. package/template/lambda-sqs-worker-cdk/package.json +1 -1
  63. package/template/lambda-sqs-worker-cdk/src/app.ts +1 -1
@@ -1,6 +1,6 @@
1
+ import type { StackProps } from 'aws-cdk-lib';
1
2
  import {
2
3
  Stack,
3
- StackProps,
4
4
  aws_iam,
5
5
  aws_kms,
6
6
  aws_lambda,
@@ -12,7 +12,7 @@
12
12
  "test:watch": "skuba test --watch"
13
13
  },
14
14
  "dependencies": {
15
- "@seek/logger": "^5.0.1",
15
+ "@seek/logger": "^6.0.0",
16
16
  "zod": "^3.19.1"
17
17
  },
18
18
  "devDependencies": {
@@ -1,5 +1,5 @@
1
1
  import createLogger from '@seek/logger';
2
- import { SQSEvent, SQSHandler } from 'aws-lambda';
2
+ import type { SQSEvent, SQSHandler } from 'aws-lambda';
3
3
 
4
4
  const logger = createLogger({
5
5
  name: '<%- serviceName %>',