isaacscript 5.2.6 → 5.2.8
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.
- package/dist/main.js +0 -2
- package/dist/main.js.map +1 -1
- package/file-templates/static-mod/eslint.config.mjs +2 -2
- package/package.json +5 -5
- package/dist/checkForWindowsTerminalBugs.js +0 -55
- package/dist/checkForWindowsTerminalBugs.js.map +0 -1
- package/file-templates/static-ts/.prettierignore +0 -12
- package/file-templates/static-ts/.vscode/extensions.json +0 -9
- package/file-templates/static-ts/.vscode/settings.json +0 -75
- package/file-templates/static-ts/_cspell.config.jsonc +0 -33
- package/file-templates/static-ts/eslint.config.mjs +0 -18
- package/file-templates/static-ts/knip.config.js +0 -20
- package/file-templates/static-ts/prettier.config.mjs +0 -24
- package/file-templates/static-ts/scripts/build.ts +0 -5
- package/file-templates/static-ts/scripts/lint.ts +0 -30
- package/file-templates/static-ts/src/main.ts +0 -5
- package/file-templates/static-ts/tsconfig.json +0 -12
package/dist/main.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import sourceMapSupport from "source-map-support";
|
|
3
|
-
import { checkForWindowsTerminalBugs } from "./checkForWindowsTerminalBugs.js";
|
|
4
3
|
import { parseArgs } from "./parseArgs.js";
|
|
5
4
|
import { promptInit } from "./prompt.js";
|
|
6
5
|
import { validateNodeVersion } from "./validateNodeVersion.js";
|
|
@@ -9,7 +8,6 @@ async function main() {
|
|
|
9
8
|
sourceMapSupport.install();
|
|
10
9
|
promptInit();
|
|
11
10
|
validateNodeVersion();
|
|
12
|
-
await checkForWindowsTerminalBugs();
|
|
13
11
|
await parseArgs();
|
|
14
12
|
}
|
|
15
13
|
//# sourceMappingURL=main.js.map
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";AAEA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";AAEA,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,IAAI,EAAE,CAAC;AAEb,KAAK,UAAU,IAAI;IACjB,gBAAgB,CAAC,OAAO,EAAE,CAAC;IAC3B,UAAU,EAAE,CAAC;IACb,mBAAmB,EAAE,CAAC;IACtB,MAAM,SAAS,EAAE,CAAC;AACpB,CAAC"}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
// @ts-check
|
|
5
5
|
|
|
6
|
-
import { completeConfigBase } from "eslint-config-complete";
|
|
6
|
+
import { completeConfigBase } from "eslint-config-complete";
|
|
7
7
|
import { isaacScriptModConfigBase } from "eslint-config-isaacscript"; // eslint-disable-line import-x/no-extraneous-dependencies
|
|
8
|
-
import tseslint from "typescript-eslint";
|
|
8
|
+
import tseslint from "typescript-eslint";
|
|
9
9
|
|
|
10
10
|
export default tseslint.config(
|
|
11
11
|
// https://github.com/complete-ts/complete/blob/main/packages/eslint-config-complete/src/base.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isaacscript",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.8",
|
|
4
4
|
"description": "A command line tool for managing Isaac mods written in TypeScript.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"isaac",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"ajv": "8.17.1",
|
|
49
49
|
"chalk": "5.4.1",
|
|
50
50
|
"commander": "14.0.0",
|
|
51
|
-
"complete-common": "2.
|
|
52
|
-
"complete-node": "7.4.
|
|
51
|
+
"complete-common": "2.5.0",
|
|
52
|
+
"complete-node": "7.4.3",
|
|
53
53
|
"figlet": "1.8.2",
|
|
54
54
|
"jsonc-parser": "3.3.1",
|
|
55
55
|
"klaw-sync": "7.0.0",
|
|
56
56
|
"moment": "2.30.1",
|
|
57
57
|
"prompt": "1.3.0",
|
|
58
|
-
"source-map": "0.7.
|
|
58
|
+
"source-map": "0.7.6",
|
|
59
59
|
"source-map-support": "0.5.21",
|
|
60
60
|
"xml2js": "0.6.2",
|
|
61
61
|
"yaml": "2.8.0"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@types/source-map-support": "0.5.10",
|
|
68
68
|
"@types/xml2js": "0.4.14",
|
|
69
69
|
"ts-json-schema-generator": "2.4.0",
|
|
70
|
-
"typescript-eslint": "8.
|
|
70
|
+
"typescript-eslint": "8.38.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"typescript": ">= 5.0.0",
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import chalk from "chalk";
|
|
2
|
-
import { appendFile, isFile, readFile } from "complete-node";
|
|
3
|
-
import path from "node:path";
|
|
4
|
-
import { HOME_DIR, PROJECT_NAME } from "./constants.js";
|
|
5
|
-
import { getInputYesNo } from "./prompt.js";
|
|
6
|
-
const BASH_PROFILE_PATH = path.join(HOME_DIR, ".bash_profile");
|
|
7
|
-
/**
|
|
8
|
-
* By default, Git Bash for Windows uses MINGW64. This will not work correctly with the prompt
|
|
9
|
-
* library. Try to detect this and warn the end-user.
|
|
10
|
-
*/
|
|
11
|
-
export async function checkForWindowsTerminalBugs() {
|
|
12
|
-
if (process.platform === "win32" &&
|
|
13
|
-
process.env["SHELL"] === String.raw `C:\Program Files\Git\usr\bin\bash.exe`) {
|
|
14
|
-
await checkForWindowsBugColor();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
async function checkForWindowsBugColor() {
|
|
18
|
-
if (process.env["FORCE_COLOR"] === "true") {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
console.error(chalk.red(`Error: It looks like you are using Git Bash for Windows (MINGW64) without the "${chalk.green("FORCE_COLOR")}" environment variable.`));
|
|
22
|
-
console.error("This is necessary in order for colors to work properly in the terminal.");
|
|
23
|
-
const shouldFixColors = await getInputYesNo("Do you want me to fix this for you?");
|
|
24
|
-
if (!shouldFixColors) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
applyFixesToBashProfile();
|
|
28
|
-
}
|
|
29
|
-
function applyFixesToBashProfile() {
|
|
30
|
-
// Check to see if the Bash profile has data.
|
|
31
|
-
const bashProfileContents = isFile(BASH_PROFILE_PATH)
|
|
32
|
-
? readFile(BASH_PROFILE_PATH)
|
|
33
|
-
: "";
|
|
34
|
-
const appendText = getBashProfileAppendText(bashProfileContents);
|
|
35
|
-
appendFile(BASH_PROFILE_PATH, appendText);
|
|
36
|
-
console.log(`The terminal fixes have been added to: ${chalk.green(BASH_PROFILE_PATH)}`, chalk.red("Please close and re-open your terminal, then run this program again."));
|
|
37
|
-
process.exit(0);
|
|
38
|
-
}
|
|
39
|
-
function getBashProfileAppendText(bashProfileContents) {
|
|
40
|
-
let newText = "";
|
|
41
|
-
if (bashProfileContents !== "" && !bashProfileContents.endsWith("\n")) {
|
|
42
|
-
// If the Bash profile exists and has data, it should end in a newline. Add an extra newline if
|
|
43
|
-
// this is not the case.
|
|
44
|
-
newText += "\n";
|
|
45
|
-
}
|
|
46
|
-
if (bashProfileContents !== "") {
|
|
47
|
-
// If the Bash profile exists and has data, add an extra newline between the existing stuff and
|
|
48
|
-
// the new lines added by us.
|
|
49
|
-
newText += "\n";
|
|
50
|
-
}
|
|
51
|
-
newText += `# Terminal fixes added by ${PROJECT_NAME}\n`;
|
|
52
|
-
newText += "export FORCE_COLOR=true\n";
|
|
53
|
-
return newText;
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=checkForWindowsTerminalBugs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkForWindowsTerminalBugs.js","sourceRoot":"","sources":["../src/checkForWindowsTerminalBugs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,iBAAiB,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,eAAe,CAAC,CAAC;AAE/D;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,2BAA2B;IAC/C,IACE,OAAO,CAAC,QAAQ,KAAK,OAAO;QAC5B,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,MAAM,CAAC,GAAG,CAAA,uCAAuC,EAC1E,CAAC;QACD,MAAM,uBAAuB,EAAE,CAAC;IAClC,CAAC;AACH,CAAC;AAED,KAAK,UAAU,uBAAuB;IACpC,IAAI,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,MAAM,EAAE,CAAC;QAC1C,OAAO;IACT,CAAC;IAED,OAAO,CAAC,KAAK,CACX,KAAK,CAAC,GAAG,CACP,kFAAkF,KAAK,CAAC,KAAK,CAC3F,aAAa,CACd,yBAAyB,CAC3B,CACF,CAAC;IACF,OAAO,CAAC,KAAK,CACX,yEAAyE,CAC1E,CAAC;IAEF,MAAM,eAAe,GAAG,MAAM,aAAa,CACzC,qCAAqC,CACtC,CAAC;IACF,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,OAAO;IACT,CAAC;IAED,uBAAuB,EAAE,CAAC;AAC5B,CAAC;AAED,SAAS,uBAAuB;IAC9B,6CAA6C;IAC7C,MAAM,mBAAmB,GAAG,MAAM,CAAC,iBAAiB,CAAC;QACnD,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;QAC7B,CAAC,CAAC,EAAE,CAAC;IAEP,MAAM,UAAU,GAAG,wBAAwB,CAAC,mBAAmB,CAAC,CAAC;IACjE,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;IAE1C,OAAO,CAAC,GAAG,CACT,0CAA0C,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAAE,EAC1E,KAAK,CAAC,GAAG,CACP,sEAAsE,CACvE,CACF,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AAED,SAAS,wBAAwB,CAAC,mBAA2B;IAC3D,IAAI,OAAO,GAAG,EAAE,CAAC;IAEjB,IAAI,mBAAmB,KAAK,EAAE,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACtE,+FAA+F;QAC/F,wBAAwB;QACxB,OAAO,IAAI,IAAI,CAAC;IAClB,CAAC;IAED,IAAI,mBAAmB,KAAK,EAAE,EAAE,CAAC;QAC/B,+FAA+F;QAC/F,6BAA6B;QAC7B,OAAO,IAAI,IAAI,CAAC;IAClB,CAAC;IAED,OAAO,IAAI,6BAA6B,YAAY,IAAI,CAAC;IACzD,OAAO,IAAI,2BAA2B,CAAC;IAEvC,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// These are Visual Studio Code extensions that are intended to be used with this particular
|
|
2
|
-
// repository: https://go.microsoft.com/fwlink/?LinkId=827846
|
|
3
|
-
{
|
|
4
|
-
"recommendations": [
|
|
5
|
-
"esbenp.prettier-vscode", // The TypeScript formatter
|
|
6
|
-
"dbaeumer.vscode-eslint", // The TypeScript linter
|
|
7
|
-
"streetsidesoftware.code-spell-checker", // A spell-checker extension based on CSpell
|
|
8
|
-
],
|
|
9
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
// These are Visual Studio Code settings that should apply to this particular repository.
|
|
2
|
-
{
|
|
3
|
-
// ----------------
|
|
4
|
-
// Vanilla settings
|
|
5
|
-
// ----------------
|
|
6
|
-
|
|
7
|
-
// This matches the Airbnb JavaScript style guide.
|
|
8
|
-
"editor.rulers": [100],
|
|
9
|
-
"editor.tabSize": 2,
|
|
10
|
-
|
|
11
|
-
"files.associations": {
|
|
12
|
-
".env*": "shellscript", // e.g. ".env.example" is the same as ".env".
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
// We want to always use "lf" to be consistent with all platforms.
|
|
16
|
-
"files.eol": "\n",
|
|
17
|
-
|
|
18
|
-
// Automatically remove all trailing whitespace when saving a file.
|
|
19
|
-
"files.trimTrailingWhitespace": true,
|
|
20
|
-
|
|
21
|
-
// Configure glob patterns for excluding files and folders in full text searches and quick open.
|
|
22
|
-
"search.exclude": {
|
|
23
|
-
"**/*.mp3": true,
|
|
24
|
-
"**/*.png": true,
|
|
25
|
-
"**/*.svg": true,
|
|
26
|
-
"**/*.wav": true,
|
|
27
|
-
"**/.yarn/": true,
|
|
28
|
-
"**/dist/": true,
|
|
29
|
-
"**/node_modules/": true,
|
|
30
|
-
"bun.lockb": true,
|
|
31
|
-
"LICENSE": true,
|
|
32
|
-
"package-lock.json": true,
|
|
33
|
-
"pnpm-lock.yaml": true,
|
|
34
|
-
"yarn.lock": true,
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
// ------------------
|
|
38
|
-
// Extension settings
|
|
39
|
-
// ------------------
|
|
40
|
-
|
|
41
|
-
// Use Prettier to format "cspell.config.jsonc".
|
|
42
|
-
"cSpell.autoFormatConfigFile": true,
|
|
43
|
-
|
|
44
|
-
// -----------------
|
|
45
|
-
// Language settings
|
|
46
|
-
// -----------------
|
|
47
|
-
|
|
48
|
-
// By default, VSCode will not automatically fill-in function arguments.
|
|
49
|
-
"javascript.suggest.completeFunctionCalls": true,
|
|
50
|
-
"typescript.suggest.completeFunctionCalls": true,
|
|
51
|
-
|
|
52
|
-
// By default, VSCode will prefer non-relative paths for deeply nested files.
|
|
53
|
-
"javascript.preferences.importModuleSpecifier": "relative",
|
|
54
|
-
"typescript.preferences.importModuleSpecifier": "relative",
|
|
55
|
-
|
|
56
|
-
// By default, VSCode will not add `import type` automatically.
|
|
57
|
-
"typescript.preferences.preferTypeOnlyAutoImports": true,
|
|
58
|
-
|
|
59
|
-
// Show TypeScript errors for files that don't happen to be currently open, which makes TypeScript
|
|
60
|
-
// work similar to other compiled languages like Golang or Rust.
|
|
61
|
-
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
|
|
62
|
-
|
|
63
|
-
// Automatically run the formatter when certain files are saved.
|
|
64
|
-
"[javascript][typescript][javascriptreact][typescriptreact]": {
|
|
65
|
-
"editor.codeActionsOnSave": {
|
|
66
|
-
"source.fixAll.eslint": "explicit",
|
|
67
|
-
},
|
|
68
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
69
|
-
"editor.formatOnSave": true,
|
|
70
|
-
},
|
|
71
|
-
"[css][html][json][jsonc][markdown][postcss][yaml]": {
|
|
72
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
73
|
-
"editor.formatOnSave": true,
|
|
74
|
-
},
|
|
75
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
|
|
3
|
-
"version": "0.2",
|
|
4
|
-
"import": ["@cspell/cspell-bundled-dicts"],
|
|
5
|
-
"files": ["**"],
|
|
6
|
-
"enableFiletypes": ["*"],
|
|
7
|
-
"enableGlobDot": true,
|
|
8
|
-
"useGitignore": true,
|
|
9
|
-
"ignorePaths": [
|
|
10
|
-
"*.min.js",
|
|
11
|
-
"*.mp3",
|
|
12
|
-
"*.pyc",
|
|
13
|
-
"*.svg",
|
|
14
|
-
".git/**",
|
|
15
|
-
".yarn/**",
|
|
16
|
-
"bun.lockb",
|
|
17
|
-
"dist/**",
|
|
18
|
-
"LICENSE",
|
|
19
|
-
"node_modules/**",
|
|
20
|
-
"package-lock.json",
|
|
21
|
-
"pnpm-lock.yaml",
|
|
22
|
-
"yarn.lock",
|
|
23
|
-
],
|
|
24
|
-
"words": [
|
|
25
|
-
"dbaeumer",
|
|
26
|
-
"esbenp",
|
|
27
|
-
"isaacscript",
|
|
28
|
-
"lockb",
|
|
29
|
-
"sarisia",
|
|
30
|
-
"tseslint",
|
|
31
|
-
"Zamiell",
|
|
32
|
-
],
|
|
33
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// This is the configuration file for ESLint, the TypeScript linter:
|
|
2
|
-
// https://eslint.org/docs/latest/use/configure/
|
|
3
|
-
|
|
4
|
-
// @ts-check
|
|
5
|
-
|
|
6
|
-
import { completeConfigBase } from "eslint-config-complete"; // eslint-disable-line import-x/no-extraneous-dependencies
|
|
7
|
-
import tseslint from "typescript-eslint"; // eslint-disable-line import-x/no-extraneous-dependencies
|
|
8
|
-
|
|
9
|
-
export default tseslint.config(
|
|
10
|
-
// https://github.com/complete-ts/complete/blob/main/packages/eslint-config-complete/src/base.js
|
|
11
|
-
...completeConfigBase,
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
rules: {
|
|
15
|
-
// Insert changed or disabled rules here, if necessary.
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// This is the configuration file for Knip:
|
|
2
|
-
// https://knip.dev/overview/configuration
|
|
3
|
-
|
|
4
|
-
// @ts-check
|
|
5
|
-
|
|
6
|
-
/** @type {import("knip").KnipConfig} */
|
|
7
|
-
const config = {
|
|
8
|
-
ignore: [
|
|
9
|
-
"eslint.config.mjs", // ESLint is provided by "complete-lint".
|
|
10
|
-
"prettier.config.mjs", // Prettier is provided by "complete-lint".
|
|
11
|
-
],
|
|
12
|
-
ignoreBinaries: [
|
|
13
|
-
"tsx", // This is provided by "complete-lint".
|
|
14
|
-
],
|
|
15
|
-
ignoreDependencies: [
|
|
16
|
-
"complete-lint", // This is a linting meta-package.
|
|
17
|
-
],
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export default config;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// This is the configuration file for Prettier, the auto-formatter:
|
|
2
|
-
// https://prettier.io/docs/en/configuration.html
|
|
3
|
-
|
|
4
|
-
// @ts-check
|
|
5
|
-
|
|
6
|
-
/** @type {import("prettier").Config} */
|
|
7
|
-
const config = {
|
|
8
|
-
plugins: [
|
|
9
|
-
"prettier-plugin-organize-imports", // Prettier does not format imports by default.
|
|
10
|
-
"prettier-plugin-packagejson", // Prettier does not format "package.json" by default.
|
|
11
|
-
],
|
|
12
|
-
|
|
13
|
-
overrides: [
|
|
14
|
-
// Allow proper formatting of JSONC files that have JSON file extensions.
|
|
15
|
-
{
|
|
16
|
-
files: ["**/.vscode/*.json", "**/tsconfig.json", "**/tsconfig.*.json"],
|
|
17
|
-
options: {
|
|
18
|
-
parser: "jsonc",
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export default config;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { $, lintScript } from "complete-node";
|
|
2
|
-
|
|
3
|
-
await lintScript(async () => {
|
|
4
|
-
await Promise.all([
|
|
5
|
-
// Use TypeScript to type-check the code.
|
|
6
|
-
$`tsc --noEmit`,
|
|
7
|
-
$`tsc --noEmit --project ./scripts/tsconfig.json`,
|
|
8
|
-
|
|
9
|
-
// Use ESLint to lint the TypeScript code.
|
|
10
|
-
// - "--max-warnings 0" makes warnings fail, since we set all ESLint errors to warnings.
|
|
11
|
-
$`eslint --max-warnings 0 .`,
|
|
12
|
-
|
|
13
|
-
// Use Prettier to check formatting.
|
|
14
|
-
// - "--log-level=warn" makes it only output errors.
|
|
15
|
-
$`prettier --log-level=warn --check .`,
|
|
16
|
-
|
|
17
|
-
// Use Knip to check for unused files, exports, and dependencies.
|
|
18
|
-
$`knip --no-progress`,
|
|
19
|
-
|
|
20
|
-
// Use CSpell to spell check every file.
|
|
21
|
-
// - "--no-progress" and "--no-summary" make it only output errors.
|
|
22
|
-
$`cspell --no-progress --no-summary .`,
|
|
23
|
-
|
|
24
|
-
// Check for unused words in the CSpell configuration file.
|
|
25
|
-
$`cspell-check-unused-words`,
|
|
26
|
-
|
|
27
|
-
// Check for template updates.
|
|
28
|
-
$`isaacscript check-ts`,
|
|
29
|
-
]);
|
|
30
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// The configuration file for TypeScript.
|
|
2
|
-
{
|
|
3
|
-
"$schema": "https://raw.githubusercontent.com/complete-ts/complete/main/packages/complete-tsconfig/schemas/tsconfig-strict-schema.json",
|
|
4
|
-
|
|
5
|
-
"extends": [
|
|
6
|
-
// https://github.com/complete-ts/complete/blob/main/packages/complete-tsconfig/tsconfig.base.json
|
|
7
|
-
"complete-tsconfig/tsconfig.base.json",
|
|
8
|
-
|
|
9
|
-
// https://github.com/complete-ts/complete/blob/main/packages/complete-tsconfig/tsconfig.node.json
|
|
10
|
-
"complete-tsconfig/tsconfig.node.json",
|
|
11
|
-
],
|
|
12
|
-
}
|