js-dev-tool 1.2.5 → 1.2.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-dev-tool",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "bin": {
5
5
  "jstool": "tools.js"
6
6
  },
@@ -72,7 +72,7 @@
72
72
  "!unzip.ts",
73
73
  "!scripts/bin",
74
74
  "!publish-version.json",
75
- "!normalize-commit-msg.mjs",
75
+ "!scripts/*.mjs",
76
76
  "!regex-test.ts",
77
77
  "!extras/npm",
78
78
  "!/**/*.png",
@@ -85,11 +85,11 @@
85
85
  "dependencies": {
86
86
  "colors.ts": "^1.0.20",
87
87
  "fflate": "^0.8.2",
88
- "literate-regex": "^0.6.9",
89
- "mini-semaphore": "^1.5.1",
88
+ "literate-regex": "^0.6.11",
89
+ "mini-semaphore": "^1.5.4",
90
90
  "replace": "^1.2.2",
91
- "rm-cstyle-cmts": "^3.4.2",
91
+ "rm-cstyle-cmts": "^3.4.4",
92
92
  "terser": "^5.46.0",
93
- "tin-args": "^0.1.3"
93
+ "tin-args": "^0.1.4"
94
94
  }
95
95
  }
package/tools.js CHANGED
@@ -141,7 +141,7 @@ const ToolFunctions = {
141
141
  : [];
142
142
  if (paths.length) {
143
143
  utils.fireReplace(
144
- /(v)?(\d+\.\d+\.\d+(?:[^\s"]+)?)/g,
144
+ /(v)?(\d+\.\d+\.\d+(?:[\w\-.+]+)?)/g,
145
145
  /** @type {TStringReplacer} */($0, $prefix, $versionStr) => {
146
146
  if ($versionStr === currentVersion) {
147
147
  return ($prefix ? "v" : "") + nextVersion;
package/tsconfig.json CHANGED
@@ -15,6 +15,7 @@
15
15
  "module": "nodenext",
16
16
  "outDir": "./build",
17
17
  // "baseUrl": ".",
18
+ "rootDir": ".",
18
19
  "paths": {
19
20
  "*": [
20
21
  "./*"
@@ -22,12 +23,12 @@
22
23
  },
23
24
  },
24
25
  "include": [
25
- "index.js",
26
- "utils.js",
27
- "tools.js",
28
26
  "*.d.ts",
29
- "./**/*.js",
30
27
  "./**/*.d.ts",
28
+ "./index.js",
29
+ "./utils.js",
30
+ "./tools.js",
31
+ "./**/*.js",
31
32
  ],
32
33
  "exclude": [
33
34
  "./**/npm-outdated*.js",