Procházet zdrojové kódy

tsc to build libs, build to build everything else

Jordan Sexton před 3 roky
rodič
revize
bbf6887369
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 1 1
      README.md
  2. 3 2
      package.json

+ 1 - 1
README.md

@@ -256,7 +256,7 @@ pnpm install
 
 3. Build all packages:
 ```shell
-pnpm build
+pnpm run tsc
 ```
 Please be patient! This may take a while the first time you do it. Subsequent builds will be incremental and are quite fast.
 

+ 3 - 2
package.json

@@ -18,9 +18,10 @@
         "nuke": "shx rm -rf packages/*/*/node_modules node_modules pnpm-lock.yaml || true",
         "reinstall": "pnpm run nuke && pnpm install",
         "clean": "pnpm --recursive run clean",
-        "build": "tsc --build --verbose tsconfig.all.json",
+        "tsc": "tsc --build --verbose tsconfig.all.json",
         "watch": "tsc --build --verbose --watch tsconfig.all.json",
-        "release": "pnpm run clean && pnpm run build",
+        "build": "pnpm --recursive run build",
+        "release": "pnpm run clean && pnpm run tsc && pnpm run build",
         "fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'",
         "lint": "prettier --check '{*,**/*}.{ts,tsx,js,jsx,json}' && eslint .",
         "lint:fix": "pnpm run fmt && eslint --fix .",