@qwezey/typescript 1.0.0 → 2.0.1

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # QweZey's TypeScript Configuration
2
2
 
3
- This project provides an opinionated and strict ESLint, Prettier, and TypeScript configuration. It's designed for the latest LTS version of Node.js (currently 22.x.x) and comes with a simple setup command to get you started quickly.
3
+ This project provides an opinionated and strict ESLint, Prettier, and TypeScript configuration. It's designed for the Node.js 24 and comes with a simple setup command to get you started quickly.
4
4
 
5
5
  ## Features
6
6
 
package/dist/bin/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";
3
3
  /******/ var __webpack_modules__ = ({
4
4
 
5
- /***/ 493:
5
+ /***/ 673:
6
6
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
7
7
 
8
8
 
@@ -37,7 +37,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
37
37
  Object.defineProperty(exports, "__esModule", ({ value: true }));
38
38
  exports.getExecOutput = exports.exec = void 0;
39
39
  const string_decoder_1 = __nccwpck_require__(193);
40
- const tr = __importStar(__nccwpck_require__(276));
40
+ const tr = __importStar(__nccwpck_require__(896));
41
41
  /**
42
42
  * Exec a command.
43
43
  * Output will be streamed to the live console.
@@ -111,7 +111,7 @@ exports.getExecOutput = getExecOutput;
111
111
 
112
112
  /***/ }),
113
113
 
114
- /***/ 276:
114
+ /***/ 896:
115
115
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
116
116
 
117
117
 
@@ -149,8 +149,8 @@ const os = __importStar(__nccwpck_require__(857));
149
149
  const events = __importStar(__nccwpck_require__(434));
150
150
  const child = __importStar(__nccwpck_require__(317));
151
151
  const path = __importStar(__nccwpck_require__(928));
152
- const io = __importStar(__nccwpck_require__(351));
153
- const ioUtil = __importStar(__nccwpck_require__(240));
152
+ const io = __importStar(__nccwpck_require__(787));
153
+ const ioUtil = __importStar(__nccwpck_require__(500));
154
154
  const timers_1 = __nccwpck_require__(557);
155
155
  /* eslint-disable @typescript-eslint/unbound-method */
156
156
  const IS_WINDOWS = process.platform === 'win32';
@@ -735,7 +735,7 @@ class ExecState extends events.EventEmitter {
735
735
 
736
736
  /***/ }),
737
737
 
738
- /***/ 240:
738
+ /***/ 500:
739
739
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
740
740
 
741
741
 
@@ -770,7 +770,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
770
770
  var _a;
771
771
  Object.defineProperty(exports, "__esModule", ({ value: true }));
772
772
  exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0;
773
- const fs = __importStar(__nccwpck_require__(896));
773
+ const fs = __importStar(__nccwpck_require__(515));
774
774
  const path = __importStar(__nccwpck_require__(928));
775
775
  _a = fs.promises
776
776
  // export const {open} = 'fs'
@@ -924,7 +924,7 @@ exports.getCmdPath = getCmdPath;
924
924
 
925
925
  /***/ }),
926
926
 
927
- /***/ 351:
927
+ /***/ 787:
928
928
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
929
929
 
930
930
 
@@ -960,7 +960,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
960
960
  exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0;
961
961
  const assert_1 = __nccwpck_require__(613);
962
962
  const path = __importStar(__nccwpck_require__(928));
963
- const ioUtil = __importStar(__nccwpck_require__(240));
963
+ const ioUtil = __importStar(__nccwpck_require__(500));
964
964
  /**
965
965
  * Copies a file or folder.
966
966
  * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js
@@ -1229,13 +1229,13 @@ function copyFile(srcFile, destFile, force) {
1229
1229
 
1230
1230
  /***/ }),
1231
1231
 
1232
- /***/ 213:
1232
+ /***/ 545:
1233
1233
  /***/ ((module, __unused_webpack___webpack_exports__, __nccwpck_require__) => {
1234
1234
 
1235
1235
  __nccwpck_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
1236
- /* harmony import */ var _actions_exec__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(493);
1236
+ /* harmony import */ var _actions_exec__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(673);
1237
1237
  /* harmony import */ var _actions_exec__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__nccwpck_require__.n(_actions_exec__WEBPACK_IMPORTED_MODULE_0__);
1238
- /* harmony import */ var commander__WEBPACK_IMPORTED_MODULE_1__ = __nccwpck_require__(154);
1238
+ /* harmony import */ var commander__WEBPACK_IMPORTED_MODULE_1__ = __nccwpck_require__(826);
1239
1239
  /* harmony import */ var fs_promises__WEBPACK_IMPORTED_MODULE_2__ = __nccwpck_require__(943);
1240
1240
  /* harmony import */ var fs_promises__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__nccwpck_require__.n(fs_promises__WEBPACK_IMPORTED_MODULE_2__);
1241
1241
 
@@ -1293,7 +1293,7 @@ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("events");
1293
1293
 
1294
1294
  /***/ }),
1295
1295
 
1296
- /***/ 896:
1296
+ /***/ 515:
1297
1297
  /***/ ((module) => {
1298
1298
 
1299
1299
  module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("fs");
@@ -1370,14 +1370,14 @@ module.exports = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("timers");
1370
1370
 
1371
1371
  /***/ }),
1372
1372
 
1373
- /***/ 534:
1373
+ /***/ 706:
1374
1374
  /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
1375
1375
 
1376
- const { Argument } = __nccwpck_require__(343);
1377
- const { Command } = __nccwpck_require__(623);
1378
- const { CommanderError, InvalidArgumentError } = __nccwpck_require__(568);
1379
- const { Help } = __nccwpck_require__(727);
1380
- const { Option } = __nccwpck_require__(177);
1376
+ const { Argument } = __nccwpck_require__(235);
1377
+ const { Command } = __nccwpck_require__(571);
1378
+ const { CommanderError, InvalidArgumentError } = __nccwpck_require__(548);
1379
+ const { Help } = __nccwpck_require__(139);
1380
+ const { Option } = __nccwpck_require__(213);
1381
1381
 
1382
1382
  exports.DM = new Command();
1383
1383
 
@@ -1401,10 +1401,10 @@ exports.a2 = InvalidArgumentError; // Deprecated
1401
1401
 
1402
1402
  /***/ }),
1403
1403
 
1404
- /***/ 343:
1404
+ /***/ 235:
1405
1405
  /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
1406
1406
 
1407
- const { InvalidArgumentError } = __nccwpck_require__(568);
1407
+ const { InvalidArgumentError } = __nccwpck_require__(548);
1408
1408
 
1409
1409
  class Argument {
1410
1410
  /**
@@ -1558,7 +1558,7 @@ exports.humanReadableArgName = humanReadableArgName;
1558
1558
 
1559
1559
  /***/ }),
1560
1560
 
1561
- /***/ 623:
1561
+ /***/ 571:
1562
1562
  /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
1563
1563
 
1564
1564
  const EventEmitter = (__nccwpck_require__(474).EventEmitter);
@@ -1567,11 +1567,11 @@ const path = __nccwpck_require__(760);
1567
1567
  const fs = __nccwpck_require__(24);
1568
1568
  const process = __nccwpck_require__(708);
1569
1569
 
1570
- const { Argument, humanReadableArgName } = __nccwpck_require__(343);
1571
- const { CommanderError } = __nccwpck_require__(568);
1572
- const { Help, stripColor } = __nccwpck_require__(727);
1573
- const { Option, DualOptions } = __nccwpck_require__(177);
1574
- const { suggestSimilar } = __nccwpck_require__(779);
1570
+ const { Argument, humanReadableArgName } = __nccwpck_require__(235);
1571
+ const { CommanderError } = __nccwpck_require__(548);
1572
+ const { Help, stripColor } = __nccwpck_require__(139);
1573
+ const { Option, DualOptions } = __nccwpck_require__(213);
1574
+ const { suggestSimilar } = __nccwpck_require__(447);
1575
1575
 
1576
1576
  class Command extends EventEmitter {
1577
1577
  /**
@@ -3319,7 +3319,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
3319
3319
 
3320
3320
  const negativeNumberArg = (arg) => {
3321
3321
  // return false if not a negative number
3322
- if (!/^-\d*\.?\d+(e[+-]?\d+)?$/.test(arg)) return false;
3322
+ if (!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(arg)) return false;
3323
3323
  // negative number is ok unless digit used as an option in command hierarchy
3324
3324
  return !this._getCommandAndAncestors().some((cmd) =>
3325
3325
  cmd.options
@@ -4342,7 +4342,7 @@ exports.useColor = useColor; // exporting for tests
4342
4342
 
4343
4343
  /***/ }),
4344
4344
 
4345
- /***/ 568:
4345
+ /***/ 548:
4346
4346
  /***/ ((__unused_webpack_module, exports) => {
4347
4347
 
4348
4348
  /**
@@ -4388,10 +4388,10 @@ exports.InvalidArgumentError = InvalidArgumentError;
4388
4388
 
4389
4389
  /***/ }),
4390
4390
 
4391
- /***/ 727:
4391
+ /***/ 139:
4392
4392
  /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
4393
4393
 
4394
- const { humanReadableArgName } = __nccwpck_require__(343);
4394
+ const { humanReadableArgName } = __nccwpck_require__(235);
4395
4395
 
4396
4396
  /**
4397
4397
  * TypeScript import types for JSDoc, used by Visual Studio Code IntelliSense and `npm run typescript-checkJS`
@@ -5142,10 +5142,10 @@ exports.stripColor = stripColor;
5142
5142
 
5143
5143
  /***/ }),
5144
5144
 
5145
- /***/ 177:
5145
+ /***/ 213:
5146
5146
  /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
5147
5147
 
5148
- const { InvalidArgumentError } = __nccwpck_require__(568);
5148
+ const { InvalidArgumentError } = __nccwpck_require__(548);
5149
5149
 
5150
5150
  class Option {
5151
5151
  /**
@@ -5529,7 +5529,7 @@ exports.DualOptions = DualOptions;
5529
5529
 
5530
5530
  /***/ }),
5531
5531
 
5532
- /***/ 779:
5532
+ /***/ 447:
5533
5533
  /***/ ((__unused_webpack_module, exports) => {
5534
5534
 
5535
5535
  const maxDistance = 3;
@@ -5637,14 +5637,14 @@ exports.suggestSimilar = suggestSimilar;
5637
5637
 
5638
5638
  /***/ }),
5639
5639
 
5640
- /***/ 154:
5640
+ /***/ 826:
5641
5641
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __nccwpck_require__) => {
5642
5642
 
5643
5643
  /* harmony export */ __nccwpck_require__.d(__webpack_exports__, {
5644
5644
  /* harmony export */ DM: () => (/* binding */ program)
5645
5645
  /* harmony export */ });
5646
5646
  /* unused harmony exports createCommand, createArgument, createOption, CommanderError, InvalidArgumentError, InvalidOptionArgumentError, Command, Argument, Option, Help */
5647
- /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(534);
5647
+ /* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __nccwpck_require__(706);
5648
5648
 
5649
5649
 
5650
5650
  // wrapper to provide named exports for ESM.
@@ -5805,6 +5805,6 @@ const {
5805
5805
  /******/ // startup
5806
5806
  /******/ // Load entry module and return exports
5807
5807
  /******/ // This entry module used 'module' so it can't be inlined
5808
- /******/ var __webpack_exports__ = __nccwpck_require__(213);
5808
+ /******/ var __webpack_exports__ = __nccwpck_require__(545);
5809
5809
  /******/ __webpack_exports__ = await __webpack_exports__;
5810
5810
  /******/
package/package.json CHANGED
@@ -2,9 +2,9 @@
2
2
  "name": "@qwezey/typescript",
3
3
  "type": "module",
4
4
  "engines": {
5
- "node": "22"
5
+ "node": "24"
6
6
  },
7
- "version": "1.0.0",
7
+ "version": "2.0.1",
8
8
  "description": "An opinionated and strict ESLint, Prettier, and TypeScript configuration with a simple setup command to get you started quickly.",
9
9
  "exports": {
10
10
  ".": "./tsconfig.json",
@@ -23,7 +23,7 @@
23
23
  "tsconfig.json"
24
24
  ],
25
25
  "scripts": {
26
- "build": "tsc -p tsconfig.build.json && npx -yp @vercel/ncc build src/bin.ts -o dist/bin"
26
+ "build": "tsc -p tsconfig.build.json && npx -yp @vercel/ncc@latest build src/bin.ts -o dist/bin"
27
27
  },
28
28
  "repository": {
29
29
  "type": "git",
@@ -44,18 +44,18 @@
44
44
  },
45
45
  "homepage": "https://github.com/qwezey/typescript#readme",
46
46
  "dependencies": {
47
- "@eslint/js": "^9.38.0",
48
- "eslint": "^9.38.0",
47
+ "@eslint/js": "^9.39.1",
48
+ "eslint": "^9.39.1",
49
49
  "eslint-config-prettier": "^10.1.8",
50
50
  "eslint-plugin-prettier": "^5.5.4",
51
51
  "jiti": "^2.6.1",
52
- "prettier": "^3.6.2",
52
+ "prettier": "^3.7.2",
53
53
  "typescript": "^5.9.3",
54
- "typescript-eslint": "^8.46.1"
54
+ "typescript-eslint": "^8.48.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@actions/exec": "^1.1.1",
58
- "@types/node": "^22",
59
- "commander": "^14.0.1"
58
+ "@types/node": "^24.10.1",
59
+ "commander": "^14.0.2"
60
60
  }
61
61
  }