skuba 0.0.0-master-20230318051429 → 0.0.0-preserve-assets-20230504052952

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 (92) hide show
  1. package/README.md +1 -1
  2. package/lib/api/jest/index.d.ts +4 -1
  3. package/lib/cli/adapter/eslint.js +0 -13
  4. package/lib/cli/adapter/eslint.js.map +2 -2
  5. package/lib/cli/adapter/prettier.js +1 -1
  6. package/lib/cli/adapter/prettier.js.map +1 -1
  7. package/lib/cli/build/esbuild.js +3 -42
  8. package/lib/cli/build/esbuild.js.map +3 -3
  9. package/lib/cli/build/index.js +9 -2
  10. package/lib/cli/build/index.js.map +2 -2
  11. package/lib/cli/build/tsc.d.ts +3 -0
  12. package/lib/cli/build/tsc.js +60 -0
  13. package/lib/cli/build/tsc.js.map +3 -3
  14. package/lib/cli/buildPackage.js +17 -0
  15. package/lib/cli/buildPackage.js.map +3 -3
  16. package/lib/cli/configure/modules/jest.js +1 -1
  17. package/lib/cli/configure/modules/jest.js.map +1 -1
  18. package/lib/cli/configure/modules/package.js +3 -3
  19. package/lib/cli/configure/modules/package.js.map +1 -1
  20. package/lib/cli/configure/modules/tsconfig.js +1 -1
  21. package/lib/cli/configure/modules/tsconfig.js.map +2 -2
  22. package/lib/cli/configure/patchRenovateConfig.js +3 -1
  23. package/lib/cli/configure/patchRenovateConfig.js.map +2 -2
  24. package/lib/cli/configure/patchServerListener.d.ts +3 -0
  25. package/lib/cli/configure/patchServerListener.js +87 -0
  26. package/lib/cli/configure/patchServerListener.js.map +7 -0
  27. package/lib/cli/format.js +2 -0
  28. package/lib/cli/format.js.map +2 -2
  29. package/lib/cli/lint/autofix.js +9 -1
  30. package/lib/cli/lint/autofix.js.map +2 -2
  31. package/lib/cli/lint/external.js +1 -4
  32. package/lib/cli/lint/external.js.map +1 -1
  33. package/lib/cli/lint/index.js +2 -0
  34. package/lib/cli/lint/index.js.map +2 -2
  35. package/lib/cli/start.js +1 -1
  36. package/lib/cli/start.js.map +1 -1
  37. package/lib/cli/test/index.js +1 -2
  38. package/lib/cli/test/index.js.map +1 -1
  39. package/lib/cli/test/reporters/github/annotations.js +1 -1
  40. package/lib/cli/test/reporters/github/annotations.js.map +1 -1
  41. package/lib/cli/test/reporters/github/index.js +0 -2
  42. package/lib/utils/copy.d.ts +2 -0
  43. package/lib/utils/copy.js +39 -1
  44. package/lib/utils/copy.js.map +2 -2
  45. package/lib/utils/dir.d.ts +2 -1
  46. package/lib/utils/dir.js +2 -2
  47. package/lib/utils/dir.js.map +2 -2
  48. package/lib/utils/exec.js +1 -4
  49. package/lib/utils/exec.js.map +1 -1
  50. package/lib/utils/manifest.d.ts +1 -0
  51. package/lib/utils/manifest.js +8 -2
  52. package/lib/utils/manifest.js.map +2 -2
  53. package/lib/wrapper/requestListener.js +3 -0
  54. package/lib/wrapper/requestListener.js.map +2 -2
  55. package/package.json +15 -15
  56. package/template/base/.github/CODEOWNERS +0 -4
  57. package/template/express-rest-api/.buildkite/pipeline.yml +1 -1
  58. package/template/express-rest-api/gantry.apply.yml +0 -2
  59. package/template/express-rest-api/package.json +1 -1
  60. package/template/express-rest-api/src/api/healthCheck.ts +1 -1
  61. package/template/express-rest-api/src/api/smokeTest.ts +1 -1
  62. package/template/greeter/.buildkite/pipeline.yml +1 -1
  63. package/template/koa-rest-api/.buildkite/pipeline.yml +1 -1
  64. package/template/koa-rest-api/gantry.apply.yml +0 -2
  65. package/template/koa-rest-api/package.json +5 -5
  66. package/template/koa-rest-api/src/api/healthCheck.ts +1 -1
  67. package/template/koa-rest-api/src/api/jobs/getJobs.ts +1 -1
  68. package/template/koa-rest-api/src/api/jobs/postJob.ts +1 -1
  69. package/template/koa-rest-api/src/api/smokeTest.ts +1 -1
  70. package/template/koa-rest-api/src/framework/server.test.ts +1 -1
  71. package/template/koa-rest-api/src/framework/validation.ts +2 -2
  72. package/template/koa-rest-api/src/storage/jobs.ts +1 -1
  73. package/template/koa-rest-api/src/testing/server.ts +2 -2
  74. package/template/koa-rest-api/src/testing/types.ts +1 -1
  75. package/template/koa-rest-api/src/tracing.ts +3 -8
  76. package/template/koa-rest-api/tsconfig.json +18 -0
  77. package/template/lambda-sqs-worker/.buildkite/pipeline.yml +2 -2
  78. package/template/lambda-sqs-worker/package.json +2 -2
  79. package/template/lambda-sqs-worker/src/app.ts +1 -1
  80. package/template/lambda-sqs-worker/src/framework/validation.ts +1 -1
  81. package/template/lambda-sqs-worker/src/mapping/jobScorer.ts +5 -2
  82. package/template/lambda-sqs-worker/src/services/jobScorer.ts +6 -6
  83. package/template/lambda-sqs-worker/src/testing/handler.ts +1 -1
  84. package/template/lambda-sqs-worker/src/testing/types.ts +1 -1
  85. package/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml +2 -2
  86. package/template/lambda-sqs-worker-cdk/infra/appStack.ts +1 -1
  87. package/template/lambda-sqs-worker-cdk/package.json +1 -1
  88. package/template/lambda-sqs-worker-cdk/src/app.ts +1 -1
  89. package/template/oss-npm-package/_package.json +19 -16
  90. package/template/oss-npm-package/tsconfig.json +2 -2
  91. package/template/private-npm-package/_package.json +19 -16
  92. 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"