From a52757aadfd58f2d1496356448b4c692c1b83d44 Mon Sep 17 00:00:00 2001 From: Anton Kastritskiy Date: Tue, 12 Sep 2023 08:26:22 -0700 Subject: [PATCH] include validating @types/* packages' major version in flipper lint ci Summary: `lint` is already called by CI. No further work is needed. Reviewed By: LukeDefeo, passy Differential Revision: D49188675 fbshipit-source-id: 731c21567af329fab4125869bcbea8cc9561a5d3 --- desktop/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/package.json b/desktop/package.json index c8bdccfffe6..27f7a276480 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -133,9 +133,10 @@ "docs": "cd ../website && yarn start", "fix": "eslint . --fix --ext .js,.ts,.tsx", "flipper-server": "cross-env NODE_ENV=development ./ts-node scripts/start-flipper-server-dev.tsx", - "lint": "yarn lint:eslint && yarn lint:tsc && yarn tsc-plugins", + "lint": "yarn lint:eslint && yarn lint:tsc && yarn tsc-plugins && yarn run lint:types-deps", "lint:eslint": "eslint . --ext .js,.ts,.tsx", "lint:tsc": "tsc && tsc -p tsc-root/tsconfig.json --noemit", + "lint:types-deps": "./ts-node ./scripts/verify-types-dependencies.tsx", "list-plugins": "./ts-node scripts/list-plugins.tsx", "open-dist": "open ../dist/mac/Flipper.app --args --launcher=false --inspect=9229", "postinstall": "patch-package && yarn --cwd plugins install --mutex network:30331 && yarn tsc -b pkg-lib/tsconfig.json && ./ts-node scripts/remove-plugin-entry-points.tsx && yarn build:tsc && yarn build:themes",