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", "build": "tsc && vite build",
"preview": "vite preview", "preview": "vite preview",
"lint": "eslint src", "lint": "eslint src",
"#typecheck": "tsc" "typecheck": "tsc"
}, },
"dependencies": { "dependencies": {
"@status-im/components": "*", "@status-im/components": "*",

View File

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

View File

@ -17,8 +17,8 @@
"scripts": { "scripts": {
"dev": "TAMAGUI_TARGET='web' vite build --watch --mode development", "dev": "TAMAGUI_TARGET='web' vite build --watch --mode development",
"build": "TAMAGUI_TARGET='web' vite build", "build": "TAMAGUI_TARGET='web' vite build",
"postbuild": "yarn typegen", "postbuild": "yarn build:types",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true", "build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src", "lint": "eslint src",
"typecheck": "tsc", "typecheck": "tsc",
"storybook": "TAMAGUI_TARGET='web' storybook dev -p 3001", "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", "generate": "rimraf 12 16 20 reactions && svgr src --silent && yarn fix",
"prebuild": "yarn generate", "prebuild": "yarn generate",
"build": "vite build", "build": "vite build",
"postbuild": "yarn typegen", "postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"#test": "vitest", "#test": "vitest",
"typecheck": "tsc", "typecheck": "tsc",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}'", "lint": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}'",
"lint:fix": "yarn lint --fix", "lint:fix": "yarn lint --fix",
"format": "prettier --write '{12,16,20,reactions}/**/*.{ts,tsx}'", "format": "prettier --write '{12,16,20,reactions}/**/*.{ts,tsx}'",

View File

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

View File

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