@handy-common-utils/dev-dependencies-common 1.11.0 → 1.13.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/LICENSE +1 -1
- package/README.md +14 -5
- package/package.json +8 -8
- package/tsconfig.json +2 -2
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2020-
|
|
189
|
+
Copyright 2020-2026 Zhengmao (James) Hu
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# @handy-common-utils/dev-dependencies-common
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
A shared set of recommended development dependencies for TypeScript projects.
|
|
4
|
+
|
|
5
|
+
This package is designed to speed up project setup by providing a consistent baseline of dev tooling across projects.
|
|
5
6
|
|
|
6
7
|
[](https://npmjs.org/package/@handy-common-utils/dev-dependencies-common)
|
|
7
8
|
[](https://npmjs.org/package/@handy-common-utils/dev-dependencies-common)
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
You can use this package directly if you don't need a testing framework, or if you prefer to choose and configure your own. Just add it as a dev-dependency of your project:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install -D @handy-common-utils/dev-dependencies-common
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
In most cases, however, you'll likely want to use one of the following presets that are built on top of it:
|
|
10
19
|
|
|
11
|
-
- [@handy-common-utils/dev-dependencies-mocha](https://www.npmjs.com/package/@handy-common-utils/dev-dependencies-mocha) -
|
|
12
|
-
- [@handy-common-utils/dev-dependencies-jest](https://www.npmjs.com/package/@handy-common-utils/dev-dependencies-jest) -
|
|
20
|
+
- [@handy-common-utils/dev-dependencies-mocha](https://www.npmjs.com/package/@handy-common-utils/dev-dependencies-mocha) - Adds `Mocha`, `Chai`, and `c8` for testing and coverage.
|
|
21
|
+
- [@handy-common-utils/dev-dependencies-jest](https://www.npmjs.com/package/@handy-common-utils/dev-dependencies-jest) - Adds `Jest` for testing and coverage.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@handy-common-utils/dev-dependencies-common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"description": "This package contains dependencies that are common between @handy-common-utils/dev-dependencies-common-jest and @handy-common-utils/dev-dependencies-common-mocha",
|
|
5
5
|
"bin": {},
|
|
6
6
|
"scripts": {
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/handy-common-utils/dev-dependencies/common/tree/master/common#readme",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@handy-common-utils/dev-utils": "^1.
|
|
36
|
-
"es-check": "^9.4
|
|
37
|
-
"eslint": "^
|
|
38
|
-
"eslint-config-sensible-prettier-typescript": "^1.
|
|
35
|
+
"@handy-common-utils/dev-utils": "^1.9.0",
|
|
36
|
+
"es-check": "^9.6.4",
|
|
37
|
+
"eslint": "^10.2.1",
|
|
38
|
+
"eslint-config-sensible-prettier-typescript": "^1.9.0",
|
|
39
39
|
"husky": "^9.1.7",
|
|
40
|
-
"lint-staged": "^16.
|
|
40
|
+
"lint-staged": "^16.4.0",
|
|
41
41
|
"npm-run-all": "^4.1.5",
|
|
42
42
|
"shx": "^0.4.0",
|
|
43
43
|
"source-map-support": "^0.5.21",
|
|
44
44
|
"ts-node": "^10.9.2",
|
|
45
|
-
"typescript": "^
|
|
46
|
-
"wait-on": "^9.0.
|
|
45
|
+
"typescript": "^6.0.3",
|
|
46
|
+
"wait-on": "^9.0.5"
|
|
47
47
|
}
|
|
48
48
|
}
|
package/tsconfig.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"extends": "@tsconfig/node20/tsconfig.json",
|
|
3
3
|
"include": ["src/**/*"],
|
|
4
4
|
"compilerOptions": {
|
|
5
|
-
"
|
|
5
|
+
"rootDir": "./src",
|
|
6
6
|
"outDir": "dist",
|
|
7
7
|
"sourceMap": true,
|
|
8
8
|
"module": "NodeNext",
|
|
9
9
|
"moduleResolution": "NodeNext",
|
|
10
|
+
"types": ["node"],
|
|
10
11
|
"esModuleInterop": true,
|
|
11
12
|
"resolveJsonModule": true,
|
|
12
|
-
"downlevelIteration": true,
|
|
13
13
|
"experimentalDecorators": true,
|
|
14
14
|
"emitDecoratorMetadata": true
|
|
15
15
|
}
|