@handy-common-utils/dev-dependencies-common 1.11.0 → 1.13.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.
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-2023 Zhengmao Hu
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
- This package provides recommended dev dependencies.
4
- It can be used to accelerate the scaffolding of TypeScript projects.
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
  [![Version](https://img.shields.io/npm/v/@handy-common-utils/dev-dependencies-common.svg)](https://npmjs.org/package/@handy-common-utils/dev-dependencies-common)
7
8
  [![Downloads/week](https://img.shields.io/npm/dw/@handy-common-utils/dev-dependencies-common.svg)](https://npmjs.org/package/@handy-common-utils/dev-dependencies-common)
8
9
 
9
- Usually, you don't use this package directly, you use one of these instead:
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) - Dev dependencies with `Mocha`, `Chai`, and `Istanbul`/`nyc` as the testing framework.
12
- - [@handy-common-utils/dev-dependencies-jest](https://www.npmjs.com/package/@handy-common-utils/dev-dependencies-jest) - Dev dependencies with `Jest` as the testing framework.
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.11.0",
3
+ "version": "1.13.2",
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.8.0",
36
- "es-check": "^9.4.5",
37
- "eslint": "^9.34.0",
38
- "eslint-config-sensible-prettier-typescript": "^1.7.9",
35
+ "@handy-common-utils/dev-utils": "^1.9.1",
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.2.6",
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": "^5.9.3",
46
- "wait-on": "^9.0.3"
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
- "baseUrl": "./",
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
  }