From 15e758669e8a051588faa0e5287112d6b9e74775 Mon Sep 17 00:00:00 2001 From: Kar Rui Lau Date: Mon, 18 Nov 2024 15:56:03 +0800 Subject: [PATCH] feat: lint packages with sherif --- package-lock.json | 85 +---------------------------- package.json | 2 +- tooling/camp/token-gen/package.json | 4 +- 3 files changed, 6 insertions(+), 85 deletions(-) diff --git a/package-lock.json b/package-lock.json index 90a84d79..3fd4d446 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "root", "workspaces": [ "packages/**", - "tooling/**" + "tooling/camp/**" ], "devDependencies": { "turbo": "^2.1.3" @@ -21113,91 +21113,12 @@ "devDependencies": { "json5": "^2.2.2", "lodash": "^4.17.21", - "prettier": "^2.8.7", - "rimraf": "^3.0.2", + "prettier": "3.2.5", + "rimraf": "^5.0.0", "style-dictionary": "^3.8.0", "tinycolor2": "^1.6.0", "token-transformer": "^0.0.33" } - }, - "tooling/camp/token-gen/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "tooling/camp/token-gen/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "tooling/camp/token-gen/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "tooling/camp/token-gen/node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", - "dev": true, - "license": "MIT", - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "tooling/camp/token-gen/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } } } } diff --git a/package.json b/package.json index 62f21745..e485a67a 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "workspaces": [ "packages/**", - "tooling/**" + "tooling/camp/**" ], "packageManager": "npm@10.9.0+sha512.65a9c38a8172948f617a53619762cd77e12b9950fe1f9239debcb8d62c652f2081824b986fee7c0af6c0a7df615becebe4bf56e17ec27214a87aa29d9e038b4b" } diff --git a/tooling/camp/token-gen/package.json b/tooling/camp/token-gen/package.json index 0b9afdb7..8608dc70 100644 --- a/tooling/camp/token-gen/package.json +++ b/tooling/camp/token-gen/package.json @@ -14,8 +14,8 @@ "devDependencies": { "json5": "^2.2.2", "lodash": "^4.17.21", - "prettier": "^2.8.7", - "rimraf": "^3.0.2", + "prettier": "3.2.5", + "rimraf": "^5.0.0", "style-dictionary": "^3.8.0", "tinycolor2": "^1.6.0", "token-transformer": "^0.0.33"