Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1978

Merged
merged 1 commit into from
Mar 7, 2024
Merged

Fixes #1978

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"packages/*"
],
"scripts": {
"postinstall": "patch-package",
"bootstrap": "yarn install --frozen-lock",
"build": "tsc --build ./tsconfig.project.json && lerna run build",
"watch": "tsc --build ./tsconfig.project.json --watch",
Expand All @@ -50,11 +51,12 @@
"devDependencies": {
"@types/node": "^20.2.3",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/parser": "^7.1.1",
"auto": "^11.1.1",
"benchmark": "^2.1.4",
"eslint": "^8.45.0",
"lerna": "^8.1.2",
"patch-package": "^8.0.0",
"ts-node": "^10.0.0",
"typescript": "^5.0.4"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/tldts-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@
"build": "tsc --build ./tsconfig.json",
"bundle": "tsc --build ./tsconfig.bundle.json && rollup --config ./rollup.config.ts --configPlugin typescript",
"prepack": "yarn run bundle",
"test": "nyc mocha --config ../../.mocharc.js"
"test": "nyc mocha --config ../../.mocharc.cjs"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@types/chai": "^4.2.18",
"@types/mocha": "^10.0.0",
"@types/node": "^20.2.3",
"chai": "^4.2.0",
"chai": "^4.4.1",
"mocha": "^10.1.0",
"nyc": "^15.0.1",
"rimraf": "^5.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/tldts-experimental/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"build": "tsc --build ./tsconfig.json",
"bundle": "tsc --build ./tsconfig.bundle.json && rollup --config ./rollup.config.mjs",
"prepack": "yarn run bundle",
"test": "mocha --config ../../.mocharc.js"
"test": "mocha --config ../../.mocharc.cjs"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
Expand All @@ -57,7 +57,7 @@
"@types/chai": "^4.2.18",
"@types/mocha": "^10.0.0",
"@types/node": "^20.2.3",
"chai": "^4.2.0",
"chai": "^4.4.1",
"mocha": "^10.1.0",
"nyc": "^15.0.1",
"rimraf": "^5.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/tldts-icann/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"build": "tsc --build ./tsconfig.json",
"bundle": "tsc --build ./tsconfig.bundle.json && rollup --config ./rollup.config.mjs",
"prepack": "yarn run bundle",
"test": "nyc mocha --config ../../.mocharc.js"
"test": "nyc mocha --config ../../.mocharc.cjs"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
Expand All @@ -57,7 +57,7 @@
"@types/chai": "^4.2.18",
"@types/mocha": "^10.0.0",
"@types/node": "^20.2.3",
"chai": "^4.2.0",
"chai": "^4.4.1",
"mocha": "^10.1.0",
"nyc": "^15.0.1",
"rimraf": "^5.0.1",
Expand Down
6 changes: 1 addition & 5 deletions packages/tldts-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
"prepack": "yarn run bundle"
},
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/mocha": "^10.0.0",
"chai": "^4.2.0",
"nyc": "^15.0.1",
"rimraf": "^5.0.1",
"tldts-utils": "^6.1.12",
"ts-node": "^10.0.0",
Expand All @@ -62,7 +58,7 @@
"dependencies": {
"@types/chai": "^4.2.18",
"@types/mocha": "^10.0.0",
"chai": "^4.2.0",
"chai": "^4.4.1",
"mocha": "^10.1.0"
}
}
4 changes: 2 additions & 2 deletions packages/tldts-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"build": "tsc --build ./tsconfig.json",
"bundle": "tsc --build ./tsconfig.bundle.json && rollup --config ./rollup.config.ts --configPlugin typescript",
"prepack": "yarn run bundle",
"test": "nyc mocha --config ../../.mocharc.js"
"test": "nyc mocha --config ../../.mocharc.cjs"
},
"dependencies": {
"punycode": "^2.3.1"
Expand All @@ -46,7 +46,7 @@
"@types/mocha": "^10.0.0",
"@types/node": "^20.2.3",
"@types/punycode": "^2.1.3",
"chai": "^4.2.0",
"chai": "^4.4.1",
"nyc": "^15.0.1",
"rimraf": "^5.0.1",
"rollup": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/tldts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"build": "tsc --build ./tsconfig.json",
"bundle": "tsc --build ./tsconfig.bundle.json && rollup --config ./rollup.config.mjs",
"prepack": "yarn run bundle",
"test": "nyc mocha --config ../../.mocharc.js"
"test": "nyc mocha --config ../../.mocharc.cjs"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
Expand All @@ -60,7 +60,7 @@
"@types/chai": "^4.2.18",
"@types/mocha": "^10.0.0",
"@types/node": "^20.2.3",
"chai": "^4.2.0",
"chai": "^4.4.1",
"mocha": "^10.1.0",
"nyc": "^15.0.1",
"rimraf": "^5.0.1",
Expand Down
13 changes: 13 additions & 0 deletions patches/get-monorepo-packages+1.2.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/get-monorepo-packages/index.js b/node_modules/get-monorepo-packages/index.js
index aacacb1..fea1161 100644
--- a/node_modules/get-monorepo-packages/index.js
+++ b/node_modules/get-monorepo-packages/index.js
@@ -33,7 +33,7 @@ const getPackages = directory => {
const lernaJsonPath = path.join(directory, 'lerna.json');
if (fs.existsSync(lernaJsonPath)) {
const lernaJson = loadJsonFile.sync(lernaJsonPath);
- if (!lernaJson.useWorkspaces) {
+ if (false) {
return findPackages(lernaJson.packages, directory);
}
}
Loading
Loading