@jupiterone/typescript-tools 19.1.0 → 19.2.0
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/CHANGELOG.md +4 -0
- package/README.md +0 -29
- package/config/jest-monorepo.js +1 -1
- package/package.json +1 -3
- package/config/commitlint-monorepo.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
8
8
|
|
|
9
|
+
# 19.2.0
|
|
10
|
+
|
|
11
|
+
- Removed `commitlint` and related dependencies
|
|
12
|
+
|
|
9
13
|
# 19.0.0
|
|
10
14
|
|
|
11
15
|
- Upgrade to typescript v5
|
package/README.md
CHANGED
|
@@ -19,9 +19,6 @@ dependencies:
|
|
|
19
19
|
- `husky` (allows you specify git hook scripts inside `.husky/` directory -
|
|
20
20
|
[read more](#usage-husky-7))
|
|
21
21
|
|
|
22
|
-
- `commmitlint` (optionally require conventional commits -
|
|
23
|
-
[read more](#usage-commitlint))
|
|
24
|
-
|
|
25
22
|
- `lint-staged` (used as a `precommit` hook to automatically reformat changed
|
|
26
23
|
source files)
|
|
27
24
|
|
|
@@ -534,30 +531,4 @@ npx husky add .husky/pre-commit 'yarn lint-staged && yarn format'
|
|
|
534
531
|
npx husky add .husky/pre-push 'yarn test:ci'
|
|
535
532
|
```
|
|
536
533
|
|
|
537
|
-
and if following `Conventional Commits` (with a
|
|
538
|
-
[commitlint config](#usage-commitlint)):
|
|
539
|
-
|
|
540
|
-
```bash
|
|
541
|
-
npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"'
|
|
542
|
-
```
|
|
543
|
-
|
|
544
534
|
The above pattern can be used to add hooks for any of the supported git-hooks.
|
|
545
|
-
|
|
546
|
-
## Usage: Commitlint
|
|
547
|
-
|
|
548
|
-
[Commitlint](https://github.com/conventional-changelog/commitlint) is a package
|
|
549
|
-
to enforce that users execute git commits with their messages complying to the
|
|
550
|
-
[conventional commit standard](https://www.conventionalcommits.org/en/v1.0.0/).
|
|
551
|
-
It's entirely optional to enable on a package currently-- to do so, just place a
|
|
552
|
-
`commitlint.config.js` file at your project root, and either configure
|
|
553
|
-
independently, or import a common config from this repository. For convenience a
|
|
554
|
-
`lerna-monorepo` style commitlint.config.js is exported from the config
|
|
555
|
-
directory.
|
|
556
|
-
|
|
557
|
-
Example configuration for a Lerna-maintained monorepo with Conventional Commits:
|
|
558
|
-
|
|
559
|
-
```javascript
|
|
560
|
-
module.exports = {
|
|
561
|
-
extends: ['@jupiterone/typescript-tools/config/commitlint-monorepo'],
|
|
562
|
-
};
|
|
563
|
-
```
|
package/config/jest-monorepo.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupiterone/typescript-tools",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.2.0",
|
|
4
4
|
"main": "./index.js",
|
|
5
5
|
"repository": "https://github.com/jupiterone/typescript-tools",
|
|
6
6
|
"author": "Development <development@jupiterone.com>",
|
|
@@ -31,8 +31,6 @@
|
|
|
31
31
|
"@babel/core": "^7.22.10",
|
|
32
32
|
"@babel/preset-env": "^7.22.10",
|
|
33
33
|
"@babel/preset-typescript": "^7.22.5",
|
|
34
|
-
"@commitlint/cli": "^17.7.0",
|
|
35
|
-
"@commitlint/config-lerna-scopes": "^17.7.0",
|
|
36
34
|
"@jupiterone/eslint-config": "^2.1.0",
|
|
37
35
|
"@philidem/rewrite-relative-paths": "^1.2.3",
|
|
38
36
|
"babel-jest": "^29.6.2",
|