skuba 13.0.3 → 13.1.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 (109) hide show
  1. package/lib/cli/adapter/eslint.js +3 -3
  2. package/lib/cli/adapter/eslint.js.map +3 -3
  3. package/lib/cli/build/assets.d.ts +3 -2
  4. package/lib/cli/build/assets.js +2 -2
  5. package/lib/cli/build/assets.js.map +3 -3
  6. package/lib/cli/build/esbuild.js +3 -12
  7. package/lib/cli/build/esbuild.js.map +3 -3
  8. package/lib/cli/build/index.js +3 -13
  9. package/lib/cli/build/index.js.map +3 -3
  10. package/lib/cli/build/tsc.js +1 -2
  11. package/lib/cli/build/tsc.js.map +2 -2
  12. package/lib/cli/configure/analysis/diff.js +3 -13
  13. package/lib/cli/configure/analysis/diff.js.map +3 -3
  14. package/lib/cli/configure/ensureTemplateCompletion.js +5 -2
  15. package/lib/cli/configure/ensureTemplateCompletion.js.map +3 -3
  16. package/lib/cli/configure/getEntryPoint.d.ts +1 -1
  17. package/lib/cli/configure/getEntryPoint.js +8 -10
  18. package/lib/cli/configure/getEntryPoint.js.map +3 -3
  19. package/lib/cli/configure/getProjectType.js +4 -6
  20. package/lib/cli/configure/getProjectType.js.map +2 -2
  21. package/lib/cli/configure/index.js +12 -11
  22. package/lib/cli/configure/index.js.map +2 -2
  23. package/lib/cli/format/index.js +4 -14
  24. package/lib/cli/format/index.js.map +3 -3
  25. package/lib/cli/init/getConfig.d.ts +1 -1
  26. package/lib/cli/init/getConfig.js +35 -42
  27. package/lib/cli/init/getConfig.js.map +3 -3
  28. package/lib/cli/init/git.js +2 -2
  29. package/lib/cli/init/git.js.map +3 -3
  30. package/lib/cli/init/prompts.d.ts +13 -10
  31. package/lib/cli/init/prompts.js +26 -36
  32. package/lib/cli/init/prompts.js.map +3 -3
  33. package/lib/cli/init/types.d.ts +1 -1
  34. package/lib/cli/lint/autofix.js +2 -2
  35. package/lib/cli/lint/autofix.js.map +3 -3
  36. package/lib/cli/lint/eslint.js +2 -2
  37. package/lib/cli/lint/eslint.js.map +3 -3
  38. package/lib/cli/lint/index.js +1 -3
  39. package/lib/cli/lint/index.js.map +2 -2
  40. package/lib/cli/lint/internal.js +6 -14
  41. package/lib/cli/lint/internal.js.map +3 -3
  42. package/lib/cli/lint/internalLints/noSkubaTemplateJs.js +3 -5
  43. package/lib/cli/lint/internalLints/noSkubaTemplateJs.js.map +3 -3
  44. package/lib/cli/lint/internalLints/refreshConfigFiles.js +1 -3
  45. package/lib/cli/lint/internalLints/refreshConfigFiles.js.map +2 -2
  46. package/lib/cli/lint/internalLints/upgrade/index.js +1 -3
  47. package/lib/cli/lint/internalLints/upgrade/index.js.map +2 -2
  48. package/lib/cli/lint/internalLints/upgrade/patches/10.1.0/migrateNpmrcToPnpmWorkspace.js +17 -21
  49. package/lib/cli/lint/internalLints/upgrade/patches/10.1.0/migrateNpmrcToPnpmWorkspace.js.map +2 -2
  50. package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/index.js +0 -5
  51. package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/index.js.map +2 -2
  52. package/lib/cli/lint/prettier.js +2 -2
  53. package/lib/cli/lint/prettier.js.map +3 -3
  54. package/lib/utils/dir.js +3 -2
  55. package/lib/utils/dir.js.map +2 -2
  56. package/lib/utils/exec.d.ts +3 -2
  57. package/lib/utils/exec.js +1 -1
  58. package/lib/utils/exec.js.map +2 -2
  59. package/lib/utils/fs.d.ts +1 -0
  60. package/lib/utils/fs.js +51 -0
  61. package/lib/utils/fs.js.map +7 -0
  62. package/lib/utils/logging.d.ts +9 -10
  63. package/lib/utils/logging.js +9 -19
  64. package/lib/utils/logging.js.map +3 -3
  65. package/lib/utils/logo.js +11 -18
  66. package/lib/utils/logo.js.map +3 -3
  67. package/lib/utils/sleep.d.ts +5 -0
  68. package/lib/utils/sleep.js +35 -0
  69. package/lib/utils/sleep.js.map +7 -0
  70. package/lib/utils/wait.d.ts +0 -4
  71. package/lib/utils/wait.js +2 -10
  72. package/lib/utils/wait.js.map +2 -2
  73. package/lib/utils/worker.d.ts +3 -3
  74. package/lib/wrapper/http.d.ts +0 -6
  75. package/lib/wrapper/http.js +4 -12
  76. package/lib/wrapper/http.js.map +2 -2
  77. package/lib/wrapper/requestListener.js +3 -2
  78. package/lib/wrapper/requestListener.js.map +2 -2
  79. package/lib/wrapper/server.d.ts +7 -0
  80. package/lib/wrapper/server.js +35 -0
  81. package/lib/wrapper/server.js.map +7 -0
  82. package/package.json +16 -18
  83. package/template/base/_pnpm-workspace.yaml +1 -0
  84. package/template/express-rest-api/.buildkite/pipeline.yml +1 -1
  85. package/template/express-rest-api/.gantry/dev.yml +2 -2
  86. package/template/express-rest-api/.gantry/prod.yml +2 -2
  87. package/template/express-rest-api/package.json +5 -5
  88. package/template/greeter/.buildkite/pipeline.yml +1 -1
  89. package/template/greeter/package.json +2 -2
  90. package/template/koa-rest-api/.buildkite/pipeline.yml +1 -1
  91. package/template/koa-rest-api/.gantry/dev.yml +2 -2
  92. package/template/koa-rest-api/.gantry/prod.yml +2 -2
  93. package/template/koa-rest-api/package.json +5 -5
  94. package/template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml +2 -2
  95. package/template/lambda-sqs-worker-cdk/infra/__snapshots__/appStack.test.ts.snap +2 -4
  96. package/template/lambda-sqs-worker-cdk/infra/appStack.ts +1 -1
  97. package/template/lambda-sqs-worker-cdk/infra/config.ts +2 -4
  98. package/template/lambda-sqs-worker-cdk/package.json +3 -2
  99. package/template/lambda-sqs-worker-cdk/skuba.template.js +12 -0
  100. package/template/oss-npm-package/.github/workflows/release.yml +2 -2
  101. package/template/oss-npm-package/.github/workflows/validate.yml +2 -2
  102. package/template/private-npm-package/skuba.template.js +1 -1
  103. package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/upgradeESLint.d.ts +0 -2
  104. package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/upgradeESLint.js +0 -144
  105. package/lib/cli/lint/internalLints/upgrade/patches/8.2.1/upgradeESLint.js.map +0 -7
  106. package/lib/enquirer.d.js +0 -2
  107. package/lib/enquirer.d.js.map +0 -7
  108. package/lib/eslint.d.js +0 -2
  109. package/lib/eslint.d.js.map +0 -7
@@ -16,13 +16,13 @@ jobs:
16
16
  timeout-minutes: 20
17
17
  steps:
18
18
  - name: Check out repo
19
- uses: actions/checkout@v5
19
+ uses: actions/checkout@v6
20
20
 
21
21
  - name: Set up pnpm
22
22
  uses: pnpm/action-setup@v4
23
23
 
24
24
  - name: Set up Node.js
25
- uses: actions/setup-node@v5
25
+ uses: actions/setup-node@v6
26
26
  with:
27
27
  node-version-file: .nvmrc
28
28
 
@@ -10,7 +10,7 @@ module.exports = {
10
10
  message: 'Module name',
11
11
  initial: '@seek/my-first-module',
12
12
  validate: (value) =>
13
- /^@seek\/.+$/.test(value) || 'must start with an @seek/ scope',
13
+ /^@seek\/.+$/.test(value) || 'Must start with @seek/ scope',
14
14
  },
15
15
  {
16
16
  name: 'description',
@@ -1,2 +0,0 @@
1
- import type { PatchFunction } from '../../index.js';
2
- export declare const tryUpgradeESLint: PatchFunction;
@@ -1,144 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var upgradeESLint_exports = {};
30
- __export(upgradeESLint_exports, {
31
- tryUpgradeESLint: () => tryUpgradeESLint
32
- });
33
- module.exports = __toCommonJS(upgradeESLint_exports);
34
- var fsp = __toESM(require("fs/promises"));
35
- var import_path = __toESM(require("path"));
36
- var import_util = require("util");
37
- var import_fs_extra = __toESM(require("fs-extra"));
38
- var import_exec = require("../../../../../../utils/exec.js");
39
- var import_logging = require("../../../../../../utils/logging.js");
40
- var import_project = require("../../../../../configure/analysis/project.js");
41
- var import_configFile = require("../../../../../configure/processing/configFile.js");
42
- var import_prettier = require("../../../../../configure/processing/prettier.js");
43
- const IGNORE_FILE = ".eslintignore";
44
- const OLD_CONFIG_FILE = ".eslintrc.js";
45
- const NEW_CONFIG_FILE_CJS = "eslint.config.cjs";
46
- const NEW_CONFIG_FILE_JS = "eslint.config.js";
47
- const upgradeESLint = async ({
48
- mode,
49
- dir: cwd = process.cwd()
50
- }) => {
51
- const readFile = (0, import_project.createDestinationFileReader)(cwd);
52
- const [ignoreFileContents, oldConfig] = await Promise.all([
53
- readFile(IGNORE_FILE),
54
- readFile(OLD_CONFIG_FILE)
55
- ]);
56
- if (oldConfig === void 0) {
57
- return {
58
- result: "skip",
59
- reason: `no ${OLD_CONFIG_FILE} - have you already migrated?`
60
- };
61
- }
62
- if (mode === "lint") {
63
- return { result: "apply" };
64
- }
65
- const ignoreContentsWithoutSkubaManaged = (0, import_configFile.mergeWithConfigFile)(
66
- "",
67
- "ignore"
68
- )(ignoreFileContents);
69
- const exec = (0, import_exec.createExec)({
70
- cwd: process.cwd(),
71
- stdio: "ignore"
72
- });
73
- const dir = await writeTemporaryFiles({
74
- [OLD_CONFIG_FILE]: oldConfig,
75
- ...ignoreContentsWithoutSkubaManaged.trim().length > 0 ? { [IGNORE_FILE]: ignoreContentsWithoutSkubaManaged } : {}
76
- });
77
- try {
78
- await exec(
79
- "eslint-migrate-config",
80
- import_path.default.join(dir, OLD_CONFIG_FILE),
81
- "--commonjs"
82
- );
83
- const output = fiddleWithOutput(
84
- await fsp.readFile(import_path.default.join(dir, NEW_CONFIG_FILE_CJS), "utf-8")
85
- );
86
- await import_fs_extra.default.promises.writeFile(
87
- NEW_CONFIG_FILE_JS,
88
- await (0, import_prettier.formatPrettier)(output, { filepath: NEW_CONFIG_FILE_JS })
89
- );
90
- await Promise.all([
91
- ignoreFileContents === void 0 ? Promise.resolve() : import_fs_extra.default.promises.rm(IGNORE_FILE),
92
- import_fs_extra.default.promises.rm(OLD_CONFIG_FILE)
93
- ]);
94
- return { result: "apply" };
95
- } finally {
96
- await fsp.rm(dir, { recursive: true });
97
- }
98
- };
99
- const writeTemporaryFiles = async (contents) => {
100
- const dir = await fsp.mkdtemp("eslint-migrate-config");
101
- await Promise.all(
102
- Object.entries(contents).map(
103
- async ([file, content]) => fsp.writeFile(import_path.default.join(dir, file), content)
104
- )
105
- );
106
- return dir;
107
- };
108
- const fiddleWithOutput = (input) => {
109
- let output = input.replace(/compat.extends\(["']skuba["']\)/, "skuba");
110
- if (!output.includes("eslint-config-skuba")) {
111
- output = `const skuba = require('eslint-config-skuba');
112
-
113
- ${output}`;
114
- }
115
- if (!output.includes("compat.")) {
116
- output = output.replace(/const compat = new FlatCompat\(\{[^}]+\}\);/m, "");
117
- output = output.replace(
118
- /const \{\s*FlatCompat,?\s*\}\s*=\s*require\(["']@eslint\/eslintrc["']\);/m,
119
- ""
120
- );
121
- }
122
- if (!output.includes("js.")) {
123
- output = output.replace(/const js = require\(['"]@eslint\/js['"]\);/, "");
124
- }
125
- output = output.replace(
126
- /^const skuba = require\('eslint-config-skuba'\);\s*module.exports = \[...skuba\];$/m,
127
- "module.exports = require('eslint-config-skuba');"
128
- );
129
- return output;
130
- };
131
- const tryUpgradeESLint = async (config) => {
132
- try {
133
- return await upgradeESLint(config);
134
- } catch (err) {
135
- import_logging.log.warn("Failed to upgrade ESLint to flat config.");
136
- import_logging.log.subtle((0, import_util.inspect)(err));
137
- return { result: "skip", reason: "due to an error" };
138
- }
139
- };
140
- // Annotate the CommonJS export names for ESM import in node:
141
- 0 && (module.exports = {
142
- tryUpgradeESLint
143
- });
144
- //# sourceMappingURL=upgradeESLint.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../../src/cli/lint/internalLints/upgrade/patches/8.2.1/upgradeESLint.ts"],
4
- "sourcesContent": ["// eslint-disable-next-line no-restricted-imports -- fs-extra is mocked\nimport * as fsp from 'fs/promises';\nimport path from 'path';\nimport { inspect } from 'util';\n\nimport fs from 'fs-extra';\n\nimport { createExec } from '../../../../../../utils/exec.js';\nimport { log } from '../../../../../../utils/logging.js';\nimport { createDestinationFileReader } from '../../../../../configure/analysis/project.js';\nimport { mergeWithConfigFile } from '../../../../../configure/processing/configFile.js';\nimport { formatPrettier } from '../../../../../configure/processing/prettier.js';\nimport type { PatchFunction, PatchReturnType } from '../../index.js';\n\nconst IGNORE_FILE = '.eslintignore';\nconst OLD_CONFIG_FILE = '.eslintrc.js';\nconst NEW_CONFIG_FILE_CJS = 'eslint.config.cjs';\nconst NEW_CONFIG_FILE_JS = 'eslint.config.js';\n\nconst upgradeESLint: PatchFunction = async ({\n mode,\n dir: cwd = process.cwd(),\n}): Promise<PatchReturnType> => {\n const readFile = createDestinationFileReader(cwd);\n const [ignoreFileContents, oldConfig] = await Promise.all([\n readFile(IGNORE_FILE),\n readFile(OLD_CONFIG_FILE),\n ]);\n\n if (oldConfig === undefined) {\n return {\n result: 'skip',\n reason: `no ${OLD_CONFIG_FILE} - have you already migrated?`,\n };\n }\n\n if (mode === 'lint') {\n return { result: 'apply' };\n }\n\n const ignoreContentsWithoutSkubaManaged = mergeWithConfigFile(\n '',\n 'ignore',\n )(ignoreFileContents);\n\n const exec = createExec({\n cwd: process.cwd(),\n stdio: 'ignore',\n });\n\n // eslint-migrate-config require()s the file, so for testability, put it in a temporary location\n const dir = await writeTemporaryFiles({\n [OLD_CONFIG_FILE]: oldConfig,\n ...(ignoreContentsWithoutSkubaManaged.trim().length > 0\n ? { [IGNORE_FILE]: ignoreContentsWithoutSkubaManaged }\n : {}),\n });\n try {\n await exec(\n 'eslint-migrate-config',\n path.join(dir, OLD_CONFIG_FILE),\n '--commonjs',\n );\n\n const output = fiddleWithOutput(\n await fsp.readFile(path.join(dir, NEW_CONFIG_FILE_CJS), 'utf-8'),\n );\n await fs.promises.writeFile(\n NEW_CONFIG_FILE_JS,\n await formatPrettier(output, { filepath: NEW_CONFIG_FILE_JS }),\n );\n\n await Promise.all([\n ignoreFileContents === undefined\n ? Promise.resolve()\n : fs.promises.rm(IGNORE_FILE),\n fs.promises.rm(OLD_CONFIG_FILE),\n ]);\n\n return { result: 'apply' };\n } finally {\n await fsp.rm(dir, { recursive: true });\n }\n};\n\nconst writeTemporaryFiles = async (contents: Record<string, string>) => {\n const dir = await fsp.mkdtemp('eslint-migrate-config');\n\n await Promise.all(\n Object.entries(contents).map(async ([file, content]) =>\n fsp.writeFile(path.join(dir, file), content),\n ),\n );\n\n return dir;\n};\n\nconst fiddleWithOutput = (input: string) => {\n let output = input.replace(/compat.extends\\([\"']skuba[\"']\\)/, 'skuba');\n\n if (!output.includes('eslint-config-skuba')) {\n output = `const skuba = require('eslint-config-skuba');\\n\\n${output}`;\n }\n\n if (!output.includes('compat.')) {\n output = output.replace(/const compat = new FlatCompat\\(\\{[^}]+\\}\\);/m, '');\n output = output.replace(\n /const \\{\\s*FlatCompat,?\\s*\\}\\s*=\\s*require\\([\"']@eslint\\/eslintrc[\"']\\);/m,\n '',\n );\n }\n\n if (!output.includes('js.')) {\n output = output.replace(/const js = require\\(['\"]@eslint\\/js['\"]\\);/, '');\n }\n\n output = output.replace(\n /^const skuba = require\\('eslint-config-skuba'\\);\\s*module.exports = \\[...skuba\\];$/m,\n \"module.exports = require('eslint-config-skuba');\",\n );\n\n return output;\n};\n\nexport const tryUpgradeESLint: PatchFunction = async (config) => {\n try {\n return await upgradeESLint(config);\n } catch (err) {\n log.warn('Failed to upgrade ESLint to flat config.');\n log.subtle(inspect(err));\n return { result: 'skip', reason: 'due to an error' };\n }\n};\n"],
5
- "mappings": "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",
6
- "names": ["path", "fs"]
7
- }
package/lib/enquirer.d.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=enquirer.d.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }
package/lib/eslint.d.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=eslint.d.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
7
- }