skuba 4.2.1 → 4.3.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 (65) hide show
  1. package/jest-preset.js +5 -1
  2. package/lib/api/git/index.d.ts +1 -0
  3. package/lib/api/git/index.js +3 -1
  4. package/lib/api/git/index.js.map +1 -1
  5. package/lib/api/git/pull.d.ts +35 -0
  6. package/lib/api/git/pull.js +34 -0
  7. package/lib/api/git/pull.js.map +1 -0
  8. package/lib/api/github/index.d.ts +1 -0
  9. package/lib/api/github/index.js +5 -1
  10. package/lib/api/github/index.js.map +1 -1
  11. package/lib/api/github/push.d.ts +73 -0
  12. package/lib/api/github/push.js +148 -0
  13. package/lib/api/github/push.js.map +1 -0
  14. package/lib/api/jest/index.d.ts +1 -1
  15. package/lib/cli/configure/analyseDependencies.js +1 -2
  16. package/lib/cli/configure/analyseDependencies.js.map +1 -1
  17. package/lib/cli/configure/analysis/diff.d.ts +1 -1
  18. package/lib/cli/configure/analysis/package.d.ts +1 -1
  19. package/lib/cli/configure/processing/ignoreFile.d.ts +1 -1
  20. package/lib/cli/configure/processing/javascript.d.ts +1 -1
  21. package/lib/cli/configure/processing/json.d.ts +1 -1
  22. package/lib/cli/configure/processing/package.d.ts +12 -12
  23. package/lib/cli/lint/autofix.js +24 -13
  24. package/lib/cli/lint/autofix.js.map +1 -1
  25. package/lib/cli/lint/external.d.ts +1 -0
  26. package/lib/cli/test/reporters/github/annotations.js +19 -7
  27. package/lib/cli/test/reporters/github/annotations.js.map +1 -1
  28. package/lib/utils/error.d.ts +1 -1
  29. package/lib/utils/version.d.ts +1 -0
  30. package/lib/utils/version.js +11 -3
  31. package/lib/utils/version.js.map +1 -1
  32. package/lib/wrapper/http.d.ts +1 -1
  33. package/package.json +15 -12
  34. package/template/express-rest-api/.buildkite/pipeline.yml +3 -3
  35. package/template/express-rest-api/Dockerfile +1 -1
  36. package/template/express-rest-api/Dockerfile.dev-deps +1 -1
  37. package/template/express-rest-api/README.md +11 -10
  38. package/template/express-rest-api/gantry.apply.yml +2 -0
  39. package/template/express-rest-api/gantry.build.yml +2 -0
  40. package/template/express-rest-api/package.json +1 -1
  41. package/template/greeter/Dockerfile +1 -1
  42. package/template/greeter/README.md +11 -10
  43. package/template/koa-rest-api/.buildkite/pipeline.yml +3 -3
  44. package/template/koa-rest-api/Dockerfile +1 -1
  45. package/template/koa-rest-api/Dockerfile.dev-deps +1 -1
  46. package/template/koa-rest-api/README.md +11 -10
  47. package/template/koa-rest-api/gantry.apply.yml +2 -0
  48. package/template/koa-rest-api/gantry.build.yml +2 -0
  49. package/template/koa-rest-api/package.json +5 -5
  50. package/template/lambda-sqs-worker/Dockerfile +1 -1
  51. package/template/lambda-sqs-worker/README.md +11 -10
  52. package/template/lambda-sqs-worker/package.json +1 -1
  53. package/template/lambda-sqs-worker/src/framework/logging.ts +1 -1
  54. package/template/lambda-sqs-worker-cdk/Dockerfile +1 -1
  55. package/template/lambda-sqs-worker-cdk/infra/__snapshots__/appStack.test.ts.snap +6 -0
  56. package/template/lambda-sqs-worker-cdk/infra/appStack.ts +1 -0
  57. package/template/oss-npm-package/README.md +4 -7
  58. package/template/private-npm-package/README.md +4 -7
  59. package/template/express-rest-api/.me +0 -22
  60. package/template/greeter/.me +0 -20
  61. package/template/koa-rest-api/.me +0 -22
  62. package/template/lambda-sqs-worker/.me +0 -22
  63. package/template/lambda-sqs-worker-cdk/.me +0 -22
  64. package/template/oss-npm-package/.me +0 -21
  65. package/template/private-npm-package/.me +0 -21
@@ -10,13 +10,11 @@ Next steps:
10
10
 
11
11
  1. [ ] Read [SEEK's Open Source RFC].
12
12
  2. [ ] Create a new repository in the [seek-oss] GitHub organisation.
13
- 3. [ ] Fill out [.me](.me) to power SEEK's system catalogue;
14
- see the [Codex] documentation for more information.
15
- 4. [ ] Push local commits to the upstream GitHub branch.
16
- 5. [ ] Configure [GitHub repository settings].
17
- 6. [ ] Keep dependencies up to date with [Renovate];
13
+ 3. [ ] Push local commits to the upstream GitHub branch.
14
+ 4. [ ] Configure [GitHub repository settings].
15
+ 5. [ ] Keep dependencies up to date with [Renovate];
18
16
  request installation in [#open-source].
19
- 7. [ ] Delete this checklist 😌.
17
+ 6. [ ] Delete this checklist 😌.
20
18
 
21
19
  ## API
22
20
 
@@ -118,7 +116,6 @@ Here are some branches that **semantic-release** supports by default:
118
116
  For more information, see the **semantic-release** docs on [triggering a release].
119
117
 
120
118
  [#open-source]: https://slack.com/app_redirect?channel=C39P1H2SU
121
- [codex]: https://codex.ssod.skinfra.xyz/docs
122
119
  [distribution tags]: https://docs.npmjs.com/adding-dist-tags-to-packages
123
120
  [oss npm package guidance]: https://github.com/SEEK-Jobs/seek-oss-ci/blob/master/NPM_PACKAGES.md#access-to-publish-to-npm
124
121
  [release workflow]: .github/workflows/release.yml
@@ -10,13 +10,11 @@ Next steps:
10
10
 
11
11
  1. [ ] Create a new repository in the [SEEK-Jobs] GitHub organisation.
12
12
  2. [ ] Follow [Gutenberg] instructions for [installing on your repository].
13
- 3. [ ] Fill out [.me](.me) to power SEEK's system catalogue;
14
- see the [Codex] documentation for more information.
15
- 4. [ ] Push local commits to the upstream GitHub branch.
16
- 5. [ ] Configure [GitHub repository settings].
17
- 6. [ ] Keep dependencies up to date with [Renovate];
13
+ 3. [ ] Push local commits to the upstream GitHub branch.
14
+ 4. [ ] Configure [GitHub repository settings].
15
+ 5. [ ] Keep dependencies up to date with [Renovate];
18
16
  request installation in [SEEK-Jobs/renovate].
19
- 7. [ ] Delete this checklist 😌.
17
+ 6. [ ] Delete this checklist 😌.
20
18
 
21
19
  ## API
22
20
 
@@ -103,7 +101,6 @@ Here are some branches that **semantic-release** supports by default:
103
101
 
104
102
  For more information, see the **semantic-release** docs on [triggering a release].
105
103
 
106
- [codex]: https://codex.ssod.skinfra.xyz/docs
107
104
  [distribution tags]: https://docs.npmjs.com/adding-dist-tags-to-packages
108
105
  [github repository settings]: https://github.com/<%-orgName%>/<%-repoName%>/settings
109
106
  [gutenberg]: https://github.com/SEEK-Jobs/gutenberg
@@ -1,22 +0,0 @@
1
- ---
2
- # https://codex.ssod.skinfra.xyz/docs
3
-
4
- components:
5
- '<%- repoName %>':
6
- # TODO: supply system catalog information
7
- # dependencies:
8
- # - type: api
9
- # key: SEEK-Jobs/???
10
- # - type: datastore
11
- # arn: arn:aws:dynamodb:us-east-1:123456789012:table/???
12
- # - type: datastore
13
- # key: infrastructure/???
14
- deploy_target: API
15
- # is_production_system: true
16
- primary_technologies:
17
- - Buildkite
18
- - Express
19
- - Gantry
20
- - skuba
21
- - TypeScript
22
- # scope: APAC
@@ -1,20 +0,0 @@
1
- ---
2
- # https://codex.ssod.skinfra.xyz/docs
3
-
4
- components:
5
- '<%- repoName %>':
6
- # TODO: supply system catalog information
7
- # dependencies:
8
- # - type: api
9
- # key: SEEK-Jobs/???
10
- # - type: datastore
11
- # arn: arn:aws:dynamodb:us-east-1:123456789012:table/???
12
- # - type: datastore
13
- # key: infrastructure/???
14
- # deploy_target: Documentation
15
- # is_production_system: false
16
- primary_technologies:
17
- - Buildkite
18
- - skuba
19
- - TypeScript
20
- # scope: APAC
@@ -1,22 +0,0 @@
1
- ---
2
- # https://codex.ssod.skinfra.xyz/docs
3
-
4
- components:
5
- '<%- repoName %>':
6
- # TODO: supply system catalog information
7
- # dependencies:
8
- # - type: api
9
- # key: SEEK-Jobs/???
10
- # - type: datastore
11
- # arn: arn:aws:dynamodb:us-east-1:123456789012:table/???
12
- # - type: datastore
13
- # key: infrastructure/???
14
- deploy_target: API
15
- # is_production_system: true
16
- primary_technologies:
17
- - Buildkite
18
- - Gantry
19
- - Koa
20
- - skuba
21
- - TypeScript
22
- # scope: APAC
@@ -1,22 +0,0 @@
1
- ---
2
- # https://codex.ssod.skinfra.xyz/docs
3
-
4
- components:
5
- '<%- repoName %>':
6
- # TODO: supply system catalog information
7
- # dependencies:
8
- # - type: api
9
- # key: SEEK-Jobs/???
10
- # - type: datastore
11
- # arn: arn:aws:dynamodb:us-east-1:123456789012:table/???
12
- # - type: datastore
13
- # key: infrastructure/???
14
- deploy_target: Worker
15
- # is_production_system: true
16
- primary_technologies:
17
- - AWS Lambda
18
- - Buildkite
19
- - Serverless
20
- - skuba
21
- - TypeScript
22
- # scope: APAC
@@ -1,22 +0,0 @@
1
- ---
2
- # https://codex.ssod.skinfra.xyz/docs
3
-
4
- components:
5
- '<%- repoName %>':
6
- # TODO: supply system catalog information
7
- # dependencies:
8
- # - type: api
9
- # key: SEEK-Jobs/???
10
- # - type: datastore
11
- # arn: arn:aws:dynamodb:us-east-1:123456789012:table/???
12
- # - type: datastore
13
- # key: infrastructure/???
14
- deploy_target: Worker
15
- # is_production_system: true
16
- primary_technologies:
17
- - AWS CDK
18
- - AWS Lambda
19
- - Buildkite
20
- - skuba
21
- - TypeScript
22
- # scope: APAC
@@ -1,21 +0,0 @@
1
- ---
2
- # https://codex.ssod.skinfra.xyz/docs
3
-
4
- components:
5
- '<%- repoName %>':
6
- # TODO: supply system catalog information
7
- # dependencies:
8
- # - type: api
9
- # key: SEEK-Jobs/???
10
- # - type: datastore
11
- # arn: arn:aws:dynamodb:us-east-1:123456789012:table/???
12
- # - type: datastore
13
- # key: infrastructure/???
14
- deploy_target: Library
15
- # is_production_system: false
16
- primary_technologies:
17
- - GitHub Actions
18
- - npm
19
- - skuba
20
- - TypeScript
21
- # scope: APAC
@@ -1,21 +0,0 @@
1
- ---
2
- # https://codex.ssod.skinfra.xyz/docs
3
-
4
- components:
5
- '<%- repoName %>':
6
- # TODO: supply system catalog information
7
- # dependencies:
8
- # - type: api
9
- # key: SEEK-Jobs/???
10
- # - type: datastore
11
- # arn: arn:aws:dynamodb:us-east-1:123456789012:table/???
12
- # - type: datastore
13
- # key: infrastructure/???
14
- deploy_target: Library
15
- # is_production_system: false
16
- primary_technologies:
17
- - Buildkite
18
- - npm
19
- - skuba
20
- - TypeScript
21
- # scope: APAC