🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@goldstack/utils-typescript-references

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goldstack/utils-typescript-references - npm Package Compare versions

Comparing version

to
0.1.3

2

dist/src/updatePackageProjectReferences.js

@@ -14,4 +14,2 @@ "use strict";

const allPackages = (0, sharedUtils_1.getPackages)(cmdRes);
const root = process.cwd();
console.log(root);
for (const packageData of allPackages) {

@@ -18,0 +16,0 @@ const packageDir = packageData.path;

2

package.json
{
"name": "@goldstack/utils-typescript-references",
"version": "0.1.2",
"version": "0.1.3",
"description": "Utility for keeping TypeScript references in sync in the monorepo",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,2 +0,2 @@

# TypeScript References Utility
# TypeScript References Yarn Workspaces Sync Utility

@@ -7,3 +7,3 @@ This library ensures that [project references](https://www.typescriptlang.org/docs/handbook/project-references.html) in TypeScript `tsconfig.js` files are automatically kept up to date in a project using **Yarn 2 workspaces**.

- Add a list of all packages in the workspaces to the root `tsconfig.json` for the `"references"` attribute:
1. Add a list of all packages in the workspaces to the root `tsconfig.json` for the `"references"` attribute:

@@ -27,3 +27,3 @@ ```json

- Update all the `"references"` in the `tsconfig.json` for all packages in the workspace so that it includes all the packages that it declares as a dependency in `package.json`.
2. Update all the `"references"` in the `tsconfig.json` for all packages in the workspace so that it includes all the packages that it declares as a dependency in `package.json`.

@@ -30,0 +30,0 @@ This package uses [@monorepo-utils/workspaces-to-typescript-project-references](https://github.com/azu/monorepo-utils/tree/master/packages/@monorepo-utils/workspaces-to-typescript-project-references#readme).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet