From eee82e1537630b339125f584bf100f3b26c2e332 Mon Sep 17 00:00:00 2001 From: zanminkian Date: Thu, 31 Oct 2024 03:20:57 +0000 Subject: [PATCH] chore: remove globstar, close #189 --- package.json | 3 +-- packages/eslint-config/package.json | 2 +- packages/eslint-plugin-esm/package.json | 2 +- packages/eslint-plugin-pkg-json/package.json | 2 +- packages/eslint-plugin-ts/package.json | 2 +- packages/eslint-plugin/package.json | 2 +- packages/types/package.json | 2 +- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 59dac8c3..3f1a08a7 100644 --- a/package.json +++ b/package.json @@ -16,12 +16,11 @@ "devDependencies": { "@changesets/cli": "2.27.9", "fenge": "workspace:*", - "globstar": "1.0.0", "typescript": "5.6.3" }, "packageManager": "pnpm@9.5.0", "engines": { - "node": ">=18.0.0", + "node": ">=22.0.0", "pnpm": "^9.0.0" } } diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 1fab23ca..19f800d6 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -24,7 +24,7 @@ "exports": "./dist/eslint.config.js", "scripts": { "build": "tsc -p tsconfig.build.json", - "test": "globstar -- node --test --import @swc-node/register/esm-register src/**/*.spec.ts test/**/*.spec.ts" + "test": "node --test --import @swc-node/register/esm-register src/**/*.spec.ts test/**/*.spec.ts" }, "dependencies": { "@fenge/eslint-plugin": "workspace:*", diff --git a/packages/eslint-plugin-esm/package.json b/packages/eslint-plugin-esm/package.json index 05a7b927..e97ac10f 100644 --- a/packages/eslint-plugin-esm/package.json +++ b/packages/eslint-plugin-esm/package.json @@ -26,7 +26,7 @@ "exports": "./dist/index.js", "scripts": { "build": "tsc -p tsconfig.build.json", - "test": "globstar -- node --test --import @swc-node/register/esm-register src/**/*.spec.ts" + "test": "node --test --import @swc-node/register/esm-register src/**/*.spec.ts" }, "devDependencies": { "@swc-node/register": "1.10.0", diff --git a/packages/eslint-plugin-pkg-json/package.json b/packages/eslint-plugin-pkg-json/package.json index 486d38f7..6f6cdf92 100644 --- a/packages/eslint-plugin-pkg-json/package.json +++ b/packages/eslint-plugin-pkg-json/package.json @@ -25,7 +25,7 @@ "exports": "./dist/index.js", "scripts": { "build": "tsc -p tsconfig.build.json", - "test": "globstar -- node --test --import @swc-node/register/esm-register src/**/*.spec.ts" + "test": "node --test --import @swc-node/register/esm-register src/**/*.spec.ts" }, "devDependencies": { "@swc-node/register": "1.10.0", diff --git a/packages/eslint-plugin-ts/package.json b/packages/eslint-plugin-ts/package.json index 5ea9db3f..eb8e09c1 100644 --- a/packages/eslint-plugin-ts/package.json +++ b/packages/eslint-plugin-ts/package.json @@ -22,7 +22,7 @@ "exports": "./dist/index.js", "scripts": { "build": "tsc -p tsconfig.build.json", - "test": "globstar -- node --test --import @swc-node/register/esm-register src/**/*.spec.ts" + "test": "node --test --import @swc-node/register/esm-register src/**/*.spec.ts" }, "devDependencies": { "@swc-node/register": "1.10.0", diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 387c8c83..b9f93a78 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -22,7 +22,7 @@ "exports": "./dist/index.js", "scripts": { "build": "tsc -p tsconfig.build.json", - "test": "globstar -- node --test --import @swc-node/register/esm-register src/**/*.spec.ts" + "test": "node --test --import @swc-node/register/esm-register src/**/*.spec.ts" }, "devDependencies": { "@swc-node/register": "1.10.0", diff --git a/packages/types/package.json b/packages/types/package.json index 7e5f5cea..735d5d9f 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -36,7 +36,7 @@ } }, "scripts": { - "test": "globstar -- node --test --import @swc-node/register/esm-register test/**/*.spec.ts" + "test": "node --test --import @swc-node/register/esm-register test/**/*.spec.ts" }, "devDependencies": { "@swc-node/register": "1.10.0",