@neurodevs/meta-node 0.19.21 → 0.19.22
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.
|
@@ -60,9 +60,9 @@ export default abstract class AbstractPackageTest extends AbstractModuleTest {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
`;
|
|
63
|
-
static eslintConfigFile = `import
|
|
63
|
+
static eslintConfigFile = `import eslintConfigNdx from '@neurodevs/eslint-config-ndx'
|
|
64
64
|
|
|
65
|
-
export default
|
|
65
|
+
export default eslintConfigNdx
|
|
66
66
|
`;
|
|
67
67
|
static prettierConfigFile = `import prettierConfigNdx from '@neurodevs/prettier-config-ndx'
|
|
68
68
|
|
|
@@ -48,9 +48,9 @@ export default abstract class AbstractPackageTest extends AbstractModuleTest {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
`;
|
|
51
|
-
eslintConfigFile = `import
|
|
51
|
+
eslintConfigFile = `import eslintConfigNdx from '@neurodevs/eslint-config-ndx'
|
|
52
52
|
|
|
53
|
-
export default
|
|
53
|
+
export default eslintConfigNdx
|
|
54
54
|
`;
|
|
55
55
|
prettierConfigFile = `import prettierConfigNdx from '@neurodevs/prettier-config-ndx'
|
|
56
56
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neurodevs/meta-node",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.22",
|
|
4
4
|
"description": "Meta-layer utilities for maintaining Node.js package ecosystems.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -27,10 +27,9 @@
|
|
|
27
27
|
},
|
|
28
28
|
"main": "build/index.js",
|
|
29
29
|
"scripts": {
|
|
30
|
-
"build.ci": "yarn run build.tsc && yarn run
|
|
31
|
-
"build.dev": "yarn run build.tsc --sourceMap ; yarn run
|
|
30
|
+
"build.ci": "yarn run build.tsc && yarn run lint",
|
|
31
|
+
"build.dev": "yarn run build.tsc --sourceMap ; yarn run lint ; prettier --write .",
|
|
32
32
|
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/",
|
|
33
|
-
"build.resolve-paths": "resolve-path-aliases --target build --patterns '**/*.js,**/*.d.ts'",
|
|
34
33
|
"build.tsc": "yarn run build.copy-files && tsc",
|
|
35
34
|
"clean": "yarn run clean.build",
|
|
36
35
|
"clean.all": "yarn run clean.dependencies && yarn run clean.build",
|
|
@@ -38,15 +37,10 @@
|
|
|
38
37
|
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
|
|
39
38
|
"fix.lint": "eslint --fix --cache '**/*.ts'",
|
|
40
39
|
"lint": "eslint --cache '**/*.ts'",
|
|
41
|
-
"lint.tsc": "tsc -p . --noEmit",
|
|
42
|
-
"post.watch.build": "yarn run build.copy-files && yarn run build.resolve-paths",
|
|
43
40
|
"rebuild": "yarn run clean.all && yarn install && yarn run build.dev",
|
|
44
41
|
"update.dependencies": "yarn run clean.dependencies && yarn",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
|
|
48
|
-
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
|
|
49
|
-
"watch.tsc": "tsc -w"
|
|
42
|
+
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
43
|
+
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run build.copy-files'"
|
|
50
44
|
},
|
|
51
45
|
"dependencies": {
|
|
52
46
|
"fs-extra": "^11.3.2",
|
|
@@ -60,38 +54,21 @@
|
|
|
60
54
|
"@neurodevs/node-tdd": "^0.2.5",
|
|
61
55
|
"@neurodevs/prettier-config-ndx": "^1.0.1",
|
|
62
56
|
"@types/fs-extra": "^11.0.4",
|
|
63
|
-
"@types/node": "^24.6.2",
|
|
64
57
|
"@types/node-fetch": "^2.6.13",
|
|
65
58
|
"@types/semver": "^7.7.1",
|
|
66
|
-
"chokidar-cli": "^3.0.0",
|
|
67
|
-
"eslint": "^9.37.0",
|
|
68
|
-
"eslint-config-spruce": "^11.2.26",
|
|
69
59
|
"jest": "^30.2.0",
|
|
70
60
|
"jest-circus": "^30.2.0",
|
|
71
|
-
"prettier": "^3.
|
|
72
|
-
"ts-node": "^10.9.2",
|
|
61
|
+
"prettier": "^3.8.1",
|
|
73
62
|
"tsc-watch": "^7.2.0",
|
|
74
63
|
"typescript": "^5.9.3"
|
|
75
64
|
},
|
|
76
65
|
"jest": {
|
|
77
66
|
"testRunner": "jest-circus/runner",
|
|
78
67
|
"testEnvironment": "node",
|
|
79
|
-
"testTimeout":
|
|
68
|
+
"testTimeout": 5000,
|
|
80
69
|
"maxWorkers": 4,
|
|
81
|
-
"testPathIgnorePatterns": [
|
|
82
|
-
"<rootDir>/tmp/",
|
|
83
|
-
"<rootDir>/src/",
|
|
84
|
-
"<rootDir>/node_modules/",
|
|
85
|
-
"<rootDir>/build/__tests__/testDirsAndFiles/"
|
|
86
|
-
],
|
|
87
70
|
"testMatch": [
|
|
88
|
-
"
|
|
89
|
-
]
|
|
90
|
-
"moduleNameMapper": {
|
|
91
|
-
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"skill": {
|
|
95
|
-
"namespace": "meta-node"
|
|
71
|
+
"<rootDir>/build/__tests__/**/*.test.js?(x)"
|
|
72
|
+
]
|
|
96
73
|
}
|
|
97
74
|
}
|
|
@@ -147,9 +147,9 @@ export default abstract class AbstractPackageTest extends AbstractModuleTest {
|
|
|
147
147
|
}
|
|
148
148
|
`
|
|
149
149
|
|
|
150
|
-
private static readonly eslintConfigFile = `import
|
|
150
|
+
private static readonly eslintConfigFile = `import eslintConfigNdx from '@neurodevs/eslint-config-ndx'
|
|
151
151
|
|
|
152
|
-
export default
|
|
152
|
+
export default eslintConfigNdx
|
|
153
153
|
`
|
|
154
154
|
|
|
155
155
|
private static readonly prettierConfigFile = `import prettierConfigNdx from '@neurodevs/prettier-config-ndx'
|
|
@@ -63,9 +63,9 @@ export default abstract class AbstractPackageTest extends AbstractModuleTest {
|
|
|
63
63
|
}
|
|
64
64
|
`
|
|
65
65
|
|
|
66
|
-
private readonly eslintConfigFile = `import
|
|
66
|
+
private readonly eslintConfigFile = `import eslintConfigNdx from '@neurodevs/eslint-config-ndx'
|
|
67
67
|
|
|
68
|
-
export default
|
|
68
|
+
export default eslintConfigNdx
|
|
69
69
|
`
|
|
70
70
|
|
|
71
71
|
private readonly prettierConfigFile = `import prettierConfigNdx from '@neurodevs/prettier-config-ndx'
|