rename typegen -> build:types

This commit is contained in:
Pavel Prichodko 2023-03-14 13:49:33 +01:00
parent e419435272
commit a9e9682ed0
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
6 changed files with 10 additions and 9 deletions

View File

@ -7,7 +7,7 @@
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src",
"#typecheck": "tsc"
"typecheck": "tsc"
},
"dependencies": {
"@status-im/components": "*",

View File

@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],

View File

@ -17,8 +17,8 @@
"scripts": {
"dev": "TAMAGUI_TARGET='web' vite build --watch --mode development",
"build": "TAMAGUI_TARGET='web' vite build",
"postbuild": "yarn typegen",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"typecheck": "tsc",
"storybook": "TAMAGUI_TARGET='web' storybook dev -p 3001",

View File

@ -38,10 +38,10 @@
"generate": "rimraf 12 16 20 reactions && svgr src --silent && yarn fix",
"prebuild": "yarn generate",
"build": "vite build",
"postbuild": "yarn typegen",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"#test": "vitest",
"typecheck": "tsc",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}'",
"lint:fix": "yarn lint --fix",
"format": "prettier --write '{12,16,20,reactions}/**/*.{ts,tsx}'",

View File

@ -22,8 +22,8 @@
"test": "vitest",
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn typegen",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"typecheck": "tsc",
"protos": "protons protos/*.proto",

View File

@ -22,8 +22,8 @@
"#test": "vitest",
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn typegen",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"typecheck": "tsc",
"clean": "rimraf dist node_modules .turbo"