@naturalcycles/dev-lib 20.11.0 → 20.11.2

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.
@@ -118,7 +118,6 @@ export function runOxlintPrettier(match) {
118
118
  export function runPrettier(match) {
119
119
  const filesList = getFilesList(match)
120
120
  if (!filesList || !prettierCmd) return []
121
- // oxlint-disable-next-line typescript/restrict-template-expressions
122
121
  return [prettierCmd].map(s => `${s} ${filesList}`)
123
122
  }
124
123
 
@@ -126,6 +126,7 @@
126
126
  "typescript/no-base-to-string": 2,
127
127
  "typescript/unbound-method": 0,
128
128
  "typescript/require-array-sort-compare": 0, // not good
129
+ "typescript/restrict-template-expressions": 0, // not good
129
130
  "typescript/no-redundant-type-constituents": 0, // `'a' | string` is still useful for DX
130
131
  "unicorn/no-anonymous-default-export": 2,
131
132
  "unicorn/no-array-reduce": 2,
@@ -6,8 +6,9 @@
6
6
  {
7
7
  "extends": "./tsconfig.src.json",
8
8
  "compilerOptions": {
9
- "paths": {
10
- "@src/*": ["${configDir}/src/*"]
11
- }
9
+ // copy-paste the paths if needed
10
+ // "paths": {
11
+ // "@src/*": ["./src/*"]
12
+ // },
12
13
  }
13
14
  }
@@ -7,9 +7,10 @@
7
7
  "rootDir": "${configDir}/..",
8
8
  // "baseUrl": "${configDir}/..",
9
9
  "outDir": "${configDir}/../dist/e2e",
10
- "paths": {
11
- "@src/*": ["${configDir}/../src/*"]
12
- },
10
+ // copy-paste the paths if needed
11
+ // "paths": {
12
+ // "@src/*": ["../src/*"]
13
+ // },
13
14
  "tsBuildInfoFile": "${configDir}/../node_modules/.cache/e2e.tsbuildinfo",
14
15
  "module": "esnext",
15
16
  "moduleResolution": "bundler",
@@ -9,9 +9,10 @@
9
9
  "target": "es2023", // es2023+ browsers, adjust to your requirements!
10
10
  "lib": ["esnext", "dom", "dom.iterable"],
11
11
  "module": "esnext",
12
- "moduleResolution": "bundler",
13
- "paths": {
14
- "@src/*": ["${configDir}/src/*"]
15
- }
12
+ "moduleResolution": "bundler"
13
+ // copy-paste the paths if needed
14
+ // "paths": {
15
+ // "@src/*": ["./src/*"]
16
+ // },
16
17
  }
17
18
  }
@@ -7,9 +7,10 @@
7
7
  "rootDir": "${configDir}/..",
8
8
  // "baseUrl": "${configDir}/..",
9
9
  "outDir": "${configDir}/../dist/scripts",
10
- "paths": {
11
- "@src/*": ["${configDir}/../src/*"]
12
- },
10
+ // copy-paste the paths if needed
11
+ // "paths": {
12
+ // "@src/*": ["../src/*"]
13
+ // },
13
14
  "tsBuildInfoFile": "${configDir}/../node_modules/.cache/scripts.tsbuildinfo"
14
15
  },
15
16
  "include": ["${configDir}"]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@naturalcycles/dev-lib",
3
3
  "type": "module",
4
- "version": "20.11.0",
4
+ "version": "20.11.2",
5
5
  "dependencies": {
6
6
  "@biomejs/biome": "^2",
7
7
  "@commitlint/cli": "^20",