@goldstack/utils-typescript-references 0.2.1 → 0.2.4

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -113,6 +113,14 @@ $ utils-typescript-references --excludeInReferences @myproject/packageA --exclud
113
113
 
114
114
  The above will cause `@myproject/packageA` and `@myproject/packageB` not to be inserted as referenced in all other packages of the monorepo.
115
115
 
116
+ ### --excludeInRoot
117
+
118
+ Will prevent certain packages from being added to the `references` section of the root `tsconfig.json` file.
119
+
120
+ ```
121
+ $ utils-typescript-references --excludeInRoot @myproject/packageA --excludeInRoot @myproject/PackageB
122
+ ```
123
+
116
124
  ### --skipPackages
117
125
 
118
126
  Will skip updating the `references` in `tsconfig.json` files for all packages in the project.
@@ -121,7 +129,7 @@ Will skip updating the `references` in `tsconfig.json` files for all packages in
121
129
  $ utils-typescript-references --skipPackages
122
130
  ```
123
131
 
124
- ### -skipRoot
132
+ ### --skipRoot
125
133
 
126
134
  Will skip updating the `references` in the `tsconfig.json` file for the project root.
127
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldstack/utils-typescript-references",
3
- "version": "0.2.1",
3
+ "version": "0.2.4",
4
4
  "description": "Utility for keeping TypeScript references in sync in a Yarn monorepo",
5
5
  "keywords": [
6
6
  "goldstack",
@@ -39,15 +39,15 @@
39
39
  "yargs": "^17.5.1"
40
40
  },
41
41
  "devDependencies": {
42
- "@goldstack/utils-git": "0.1.35",
43
- "@types/jest": "^27.5.1",
44
- "@types/node": "^17.0.33",
42
+ "@goldstack/utils-git": "0.1.37",
43
+ "@types/jest": "^28.1.8",
44
+ "@types/node": "^18.7.13",
45
45
  "@types/source-map-support": "^0.5.4",
46
46
  "@types/yargs": "^17.0.10",
47
47
  "jest": "^28.1.0",
48
48
  "rimraf": "^3.0.2",
49
49
  "ts-jest": "^28.0.2",
50
- "typescript": "^4.6.4"
50
+ "typescript": "^4.7.4"
51
51
  },
52
52
  "publishConfig": {
53
53
  "main": "dist/src/utilsTypeScriptReferences.js"