diff --git a/THORIUM_BUILD.md b/THORIUM_BUILD.md index b118d440ac0ad..042ef0867934a 100644 --- a/THORIUM_BUILD.md +++ b/THORIUM_BUILD.md @@ -1,8 +1,7 @@ -0) rm -rf node_modules/ && rm package-lock.json -1) `npm install --legacy-peer-deps` -2) `npm install -g gulp-cli` -3) `gulp test` -4) `gulp web` +0) rm -rf node_modules/ +2) `npm install` +3) `npx gulp types` +4) `npx gulp web` 5) `cd build/gh-pages` 6) `git push --set-upstream origin gh-pages -f` 7) `cd ../..` diff --git a/gulpfile.mjs b/gulpfile.mjs index fb10bbc7b0082..88fbafb07f490 100644 --- a/gulpfile.mjs +++ b/gulpfile.mjs @@ -66,7 +66,7 @@ const MINIFIED_LEGACY_DIR = BUILD_DIR + "minified-legacy/"; const JSDOC_BUILD_DIR = BUILD_DIR + "jsdoc/"; const GH_PAGES_DIR = BUILD_DIR + "gh-pages/"; const DIST_DIR = BUILD_DIR + "dist/"; -const TYPES_DIR = BUILD_DIR + "types/"; +const TYPES_DIR = "/" + "types/"; const TMP_DIR = BUILD_DIR + "tmp/"; const TYPESTEST_DIR = BUILD_DIR + "typestest/"; const COMMON_WEB_FILES = [