mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
While turborepo does not work for us we can try to solve long checks time with builtin caching. Eslint provides similar one to prettier we already use. ``` pnpm -r lint 51.53s pnpm eslint . --ext .ts,.tsx --max-warnings 0 18.10s pnpm eslint . --ext .ts,.tsx --max-warnings 0 --cache (with cache) 1.82s ``` In this PR I removed all lint scripts in packages and added global one in the to github workflow. It saves like 30s on my laptop because pnpm. Already stored cache makes linting almost instant. Also bumped all eslint dependencies.
34 lines
864 B
JSON
34 lines
864 B
JSON
{
|
|
"name": "@webstudio-is/feature-flags",
|
|
"version": "0.1.0",
|
|
"description": "Feature flags used to enable/disable a feature over env variable",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
"checks": "pnpm typecheck",
|
|
"dev": "build-package --watch",
|
|
"build": "build-package",
|
|
"dts": "tsc --project tsconfig.dts.json"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@webstudio-is/scripts": "workspace:^",
|
|
"@webstudio-is/tsconfig": "workspace:^"
|
|
},
|
|
"exports": {
|
|
"source": "./src/index.ts",
|
|
"types": "./lib/types/index.d.ts",
|
|
"import": "./lib/index.js"
|
|
},
|
|
"files": [
|
|
"lib/*",
|
|
"src/*",
|
|
"!*.test.*"
|
|
],
|
|
"license": "MIT",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|