skuba 4.3.0 → 4.4.1

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 (53) hide show
  1. package/README.md +1 -1
  2. package/jest/moduleNameMapper.test.ts +7 -8
  3. package/lib/api/jest/index.d.ts +23 -24
  4. package/lib/api/jest/index.js.map +1 -1
  5. package/lib/cli/configure/ensureTemplateCompletion.js +2 -2
  6. package/lib/cli/configure/ensureTemplateCompletion.js.map +1 -1
  7. package/lib/cli/configure/modules/tsconfig.js +3 -2
  8. package/lib/cli/configure/modules/tsconfig.js.map +1 -1
  9. package/lib/cli/configure/processing/package.d.ts +1 -1
  10. package/lib/cli/configure/processing/package.js +8 -10
  11. package/lib/cli/configure/processing/package.js.map +1 -1
  12. package/lib/cli/test/reporters/github/annotations.js +4 -1
  13. package/lib/cli/test/reporters/github/annotations.js.map +1 -1
  14. package/lib/utils/args.d.ts +1 -1
  15. package/lib/utils/version.js +46 -3
  16. package/lib/utils/version.js.map +1 -1
  17. package/package.json +50 -21
  18. package/template/base/_.eslintignore +5 -2
  19. package/template/base/_.gitignore +3 -2
  20. package/template/base/_.prettierignore +5 -2
  21. package/template/express-rest-api/.buildkite/pipeline.yml +4 -4
  22. package/template/express-rest-api/.gantry/common.yml +1 -1
  23. package/template/express-rest-api/README.md +3 -7
  24. package/template/express-rest-api/package.json +1 -1
  25. package/template/greeter/.buildkite/pipeline.yml +1 -1
  26. package/template/greeter/README.md +4 -8
  27. package/template/koa-rest-api/.buildkite/pipeline.yml +4 -4
  28. package/template/koa-rest-api/.gantry/common.yml +1 -1
  29. package/template/koa-rest-api/README.md +3 -7
  30. package/template/koa-rest-api/package.json +6 -8
  31. package/template/koa-rest-api/src/api/jobs/postJob.test.ts +7 -3
  32. package/template/koa-rest-api/src/framework/server.test.ts +18 -18
  33. package/template/koa-rest-api/src/framework/validation.test.ts +15 -6
  34. package/template/koa-rest-api/src/storage/jobs.ts +2 -2
  35. package/template/lambda-sqs-worker/.buildkite/pipeline.yml +2 -3
  36. package/template/lambda-sqs-worker/README.md +3 -7
  37. package/template/lambda-sqs-worker/package.json +6 -2
  38. package/template/lambda-sqs-worker/serverless.yml +17 -5
  39. package/template/lambda-sqs-worker/src/app.test.ts +22 -20
  40. package/template/lambda-sqs-worker/src/app.ts +6 -6
  41. package/template/lambda-sqs-worker/src/config.ts +3 -0
  42. package/template/lambda-sqs-worker/src/framework/handler.test.ts +10 -10
  43. package/template/lambda-sqs-worker/src/framework/handler.ts +31 -8
  44. package/template/lambda-sqs-worker/src/framework/metrics.ts +10 -6
  45. package/template/lambda-sqs-worker/src/framework/validation.test.ts +17 -10
  46. package/template/lambda-sqs-worker/src/services/jobScorer.test.ts +2 -2
  47. package/template/lambda-sqs-worker/src/services/pipelineEventSender.test.ts +1 -1
  48. package/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml +2 -2
  49. package/template/lambda-sqs-worker-cdk/infra/__snapshots__/appStack.test.ts.snap +220 -220
  50. package/template/oss-npm-package/README.md +5 -4
  51. package/template/oss-npm-package/_package.json +1 -1
  52. package/template/private-npm-package/README.md +4 -7
  53. package/template/private-npm-package/_package.json +1 -1
@@ -16,6 +16,11 @@ Next steps:
16
16
  request installation in [#open-source].
17
17
  6. [ ] Delete this checklist 😌.
18
18
 
19
+ [#open-source]: https://slack.com/app_redirect?channel=C39P1H2SU
20
+ [github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
21
+ [renovate]: https://github.com/apps/renovate
22
+ [seek's open source rfc]: https://rfc.skinfra.xyz/RFC016-Open-Source.html
23
+
19
24
  ## API
20
25
 
21
26
  ### `log`
@@ -115,13 +120,9 @@ Here are some branches that **semantic-release** supports by default:
115
120
 
116
121
  For more information, see the **semantic-release** docs on [triggering a release].
117
122
 
118
- [#open-source]: https://slack.com/app_redirect?channel=C39P1H2SU
119
123
  [distribution tags]: https://docs.npmjs.com/adding-dist-tags-to-packages
120
124
  [oss npm package guidance]: https://github.com/SEEK-Jobs/seek-oss-ci/blob/master/NPM_PACKAGES.md#access-to-publish-to-npm
121
125
  [release workflow]: .github/workflows/release.yml
122
126
  [seek-oss]: https://github.com/seek-oss
123
- [github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
124
- [seek's open source rfc]: https://rfc.skinfra.xyz/RFC016-Open-Source.html
125
- [renovate]: https://github.com/apps/renovate
126
127
  [semantic-release]: https://github.com/semantic-release/semantic-release
127
128
  [triggering a release]: https://github.com/semantic-release/semantic-release/#triggering-a-release
@@ -18,7 +18,7 @@
18
18
  "name": "<%- moduleName %>",
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "git+https://github.com/<%- orgName %>/<%- repoName %>.git"
21
+ "url": "git+ssh://git@github.com/<%- orgName %>/<%- repoName %>.git"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "skuba build-package",
@@ -12,9 +12,10 @@ Next steps:
12
12
  2. [ ] Follow [Gutenberg] instructions for [installing on your repository].
13
13
  3. [ ] Push local commits to the upstream GitHub branch.
14
14
  4. [ ] Configure [GitHub repository settings].
15
- 5. [ ] Keep dependencies up to date with [Renovate];
16
- request installation in [SEEK-Jobs/renovate].
17
- 6. [ ] Delete this checklist 😌.
15
+ 5. [ ] Delete this checklist 😌.
16
+
17
+ [github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
18
+ [installing on your repository]: https://github.com/SEEK-Jobs/gutenberg#installing-on-your-repository
18
19
 
19
20
  ## API
20
21
 
@@ -102,11 +103,7 @@ Here are some branches that **semantic-release** supports by default:
102
103
  For more information, see the **semantic-release** docs on [triggering a release].
103
104
 
104
105
  [distribution tags]: https://docs.npmjs.com/adding-dist-tags-to-packages
105
- [github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
106
106
  [gutenberg]: https://github.com/SEEK-Jobs/gutenberg
107
- [installing on your repository]: https://github.com/SEEK-Jobs/gutenberg#installing-on-your-repository
108
- [renovate]: https://github.com/apps/renovate
109
107
  [seek-jobs]: https://github.com/orgs/seek-jobs/sso
110
- [seek-jobs/renovate]: https://github.com/SEEK-Jobs/renovate
111
108
  [semantic-release]: https://github.com/semantic-release/semantic-release
112
109
  [triggering a release]: https://github.com/semantic-release/semantic-release/#triggering-a-release
@@ -18,7 +18,7 @@
18
18
  "name": "<%- moduleName %>",
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "git+https://github.com/<%- orgName %>/<%- repoName %>.git"
21
+ "url": "git+ssh://git@github.com/<%- orgName %>/<%- repoName %>.git"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "skuba build-package",