skuba 5.2.0-beta.0 → 6.0.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 (56) hide show
  1. package/README.md +1 -1
  2. package/lib/cli/adapter/eslint.js +12 -1
  3. package/lib/cli/adapter/eslint.js.map +2 -2
  4. package/lib/cli/adapter/prettier.js +1 -1
  5. package/lib/cli/adapter/prettier.js.map +1 -1
  6. package/lib/cli/build/index.js.map +1 -1
  7. package/lib/cli/configure/modules/jest.js +1 -1
  8. package/lib/cli/configure/modules/jest.js.map +1 -1
  9. package/lib/cli/configure/modules/package.js +3 -3
  10. package/lib/cli/configure/modules/package.js.map +1 -1
  11. package/lib/cli/configure/modules/renovate.d.ts +1 -0
  12. package/lib/cli/configure/modules/renovate.js +6 -0
  13. package/lib/cli/configure/modules/renovate.js.map +2 -2
  14. package/lib/cli/configure/modules/tsconfig.js +1 -1
  15. package/lib/cli/configure/modules/tsconfig.js.map +2 -2
  16. package/lib/cli/configure/patchRenovateConfig.d.ts +1 -0
  17. package/lib/cli/configure/patchRenovateConfig.js +132 -0
  18. package/lib/cli/configure/patchRenovateConfig.js.map +7 -0
  19. package/lib/cli/configure/patchServerListener.d.ts +3 -0
  20. package/lib/cli/configure/patchServerListener.js +87 -0
  21. package/lib/cli/configure/patchServerListener.js.map +7 -0
  22. package/lib/cli/format.js +8 -1
  23. package/lib/cli/format.js.map +2 -2
  24. package/lib/cli/init/index.js +2 -0
  25. package/lib/cli/init/index.js.map +2 -2
  26. package/lib/cli/lint/autofix.js +5 -1
  27. package/lib/cli/lint/autofix.js.map +2 -2
  28. package/lib/cli/lint/external.js +1 -4
  29. package/lib/cli/lint/external.js.map +1 -1
  30. package/lib/cli/lint/index.js +8 -1
  31. package/lib/cli/lint/index.js.map +2 -2
  32. package/lib/cli/start.js +1 -1
  33. package/lib/cli/start.js.map +1 -1
  34. package/lib/cli/test/index.js +1 -2
  35. package/lib/cli/test/index.js.map +1 -1
  36. package/lib/cli/test/reporters/github/annotations.js +1 -1
  37. package/lib/cli/test/reporters/github/annotations.js.map +1 -1
  38. package/lib/utils/exec.js +1 -4
  39. package/lib/utils/exec.js.map +1 -1
  40. package/package.json +12 -11
  41. package/template/express-rest-api/.buildkite/pipeline.yml +1 -1
  42. package/template/express-rest-api/package.json +1 -1
  43. package/template/express-rest-api/src/listen.ts +7 -0
  44. package/template/greeter/.buildkite/pipeline.yml +1 -1
  45. package/template/koa-rest-api/.buildkite/pipeline.yml +1 -1
  46. package/template/koa-rest-api/package.json +5 -5
  47. package/template/koa-rest-api/src/listen.ts +7 -0
  48. package/template/koa-rest-api/src/tracing.ts +3 -8
  49. package/template/koa-rest-api/tsconfig.json +18 -0
  50. package/template/lambda-sqs-worker/.buildkite/pipeline.yml +2 -2
  51. package/template/lambda-sqs-worker/package.json +1 -1
  52. package/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml +2 -2
  53. package/template/oss-npm-package/_package.json +19 -16
  54. package/template/oss-npm-package/tsconfig.json +2 -2
  55. package/template/private-npm-package/_package.json +19 -16
  56. package/template/private-npm-package/tsconfig.json +2 -2
@@ -1,25 +1,22 @@
1
1
  {
2
- "dependencies": {},
2
+ "name": "<%- moduleName %>",
3
+ "version": "0.0.0-semantically-released",
3
4
  "description": "<%- description %>",
4
- "devDependencies": {
5
- "@types/node": "^16.18.3",
6
- "commitizen": "^4.2.4",
7
- "skuba": "*"
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+ssh://git@github.com/<%- orgName %>/<%- repoName %>.git"
8
8
  },
9
+ "license": "MIT",
10
+ "sideEffects": false,
11
+ "main": "./lib-commonjs/index.js",
12
+ "module": "./lib-es2015/index.js",
13
+ "types": "./lib-types/index.d.ts",
9
14
  "files": [
10
15
  "lib*/**/*.d.ts",
11
16
  "lib*/**/*.js",
12
17
  "lib*/**/*.js.map",
13
18
  "lib*/**/*.json"
14
19
  ],
15
- "license": "MIT",
16
- "main": "./lib-commonjs/index.js",
17
- "module": "./lib-es2015/index.js",
18
- "name": "<%- moduleName %>",
19
- "repository": {
20
- "type": "git",
21
- "url": "git+ssh://git@github.com/<%- orgName %>/<%- repoName %>.git"
22
- },
23
20
  "scripts": {
24
21
  "build": "skuba build-package",
25
22
  "commit": "cz",
@@ -35,7 +32,13 @@
35
32
  "path": "cz-conventional-changelog"
36
33
  }
37
34
  },
38
- "sideEffects": false,
39
- "types": "./lib-types/index.d.ts",
40
- "version": "0.0.0-semantically-released"
35
+ "dependencies": {},
36
+ "devDependencies": {
37
+ "@types/node": "^16.18.3",
38
+ "commitizen": "^4.2.4",
39
+ "skuba": "*"
40
+ },
41
+ "engines": {
42
+ "node": ">=16.11"
43
+ }
41
44
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "lib": ["ES2020"],
3
+ "lib": ["ES2022"],
4
4
  "outDir": "lib",
5
5
  "removeComments": false,
6
- "target": "ES2020"
6
+ "target": "ES2022"
7
7
  },
8
8
  "exclude": ["lib*/**/*"],
9
9
  "extends": "skuba/config/tsconfig.json"
@@ -1,25 +1,22 @@
1
1
  {
2
- "dependencies": {},
2
+ "name": "<%- moduleName %>",
3
+ "version": "0.0.0-semantically-released",
3
4
  "description": "<%- description %>",
4
- "devDependencies": {
5
- "@types/node": "^16.18.3",
6
- "commitizen": "^4.2.4",
7
- "skuba": "*"
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+ssh://git@github.com/<%- orgName %>/<%- repoName %>.git"
8
8
  },
9
+ "license": "UNLICENSED",
10
+ "sideEffects": false,
11
+ "main": "./lib-commonjs/index.js",
12
+ "module": "./lib-es2015/index.js",
13
+ "types": "./lib-types/index.d.ts",
9
14
  "files": [
10
15
  "lib*/**/*.d.ts",
11
16
  "lib*/**/*.js",
12
17
  "lib*/**/*.js.map",
13
18
  "lib*/**/*.json"
14
19
  ],
15
- "license": "UNLICENSED",
16
- "main": "./lib-commonjs/index.js",
17
- "module": "./lib-es2015/index.js",
18
- "name": "<%- moduleName %>",
19
- "repository": {
20
- "type": "git",
21
- "url": "git+ssh://git@github.com/<%- orgName %>/<%- repoName %>.git"
22
- },
23
20
  "scripts": {
24
21
  "build": "skuba build-package",
25
22
  "commit": "cz",
@@ -35,7 +32,13 @@
35
32
  "path": "cz-conventional-changelog"
36
33
  }
37
34
  },
38
- "sideEffects": false,
39
- "types": "./lib-types/index.d.ts",
40
- "version": "0.0.0-semantically-released"
35
+ "dependencies": {},
36
+ "devDependencies": {
37
+ "@types/node": "^16.18.3",
38
+ "commitizen": "^4.2.4",
39
+ "skuba": "*"
40
+ },
41
+ "engines": {
42
+ "node": ">=16.11"
43
+ }
41
44
  }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "lib": ["ES2020"],
3
+ "lib": ["ES2022"],
4
4
  "outDir": "lib",
5
5
  "removeComments": false,
6
- "target": "ES2020"
6
+ "target": "ES2022"
7
7
  },
8
8
  "exclude": ["lib*/**/*"],
9
9
  "extends": "skuba/config/tsconfig.json"