From 3143b4132eecafdf90c8f5d3a778c77368dff2f6 Mon Sep 17 00:00:00 2001 From: wiwat Date: Mon, 12 Oct 2026 18:06:33 +0700 Subject: [PATCH 1/3] Delete .gitignore --- .gitignore | 183 ----------------------------------------------------- 1 file changed, 183 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 9277cdf090f0..000000000000 --- a/.gitignore +++ /dev/null @@ -1,183 +0,0 @@ -# Please take extra care not to add rules that will make tracked files ignored. -# To test that, run `git ls-files -i --exclude-standard`. -# To check why a specific file is ignored, run `git check-ignore -v `. - -# === Rule for dotfiles === -# Ignore all dotfiles. -.* -# Exclude specific dotfiles that we want to track. -!deps/**/.* -!test/fixtures/**/.* -!.clang-format -!.cpplint -!.editorconfig -!.gitattributes -!.github -!.gitignore -!.gitkeep -!.gitpod.yml -!.mailmap -!.nycrc -!.yamllint.yaml -!.configurations/ -!/.npmrc - -# === Rules for root dir === -/core -/vgcore.* -/v8*.log -/perf.data -/perf.data.old -/tags -/tags.* -/doc/api.xml -/docs/ -/node -/node_g -/gon-config.json -/*.exe -/*.swp -/out -/*.msi -/*.wixpdb -/*.qlog -# For GitHub Codespaces -/pythonenv* - -# === Rules for artifacts of `./configure` === -/icu_config.gypi -/config.gypi -/config.status -/config_fips.gypi - -# === Rules for MSVS artifacts === -Debug/ -Release/ -*.sln -*.suo -*.vcxproj* -UpgradeLog*.XML -_UpgradeReport_Files/ -*.sdf -*.opensdf -*.VC.* -*.wixobj -/tools/msvs/genfiles/ -/npm.wxs -/corepack.wxs -/tools/msvs/msi/**/Release/ -/tools/msvs/msi/**/obj/ -/tools/msvs/msi/**/x64/ -# Exclude MSVS files used for .msi file generation -!tools/msvs/msi/**/custom_actions.vcxproj -!tools/msvs/msi/**/nodemsi.sln - -# === Rules for GYP artifacts === -*-nodegyp* -/gyp-*-tool -/test/addons/??_*/ -/*.mk - -# === Rules for other build artifacts === -/email.md -/deps/v8-* -/deps/icu -/deps/icu*.zip -/deps/icu*.tgz -/deps/icu-tmp -./node_modules -/android-toolchain/ -# generated by gyp on Windows -/deps/openssl/openssl.props -/deps/openssl/openssl.targets -/deps/openssl/openssl.xml -/deps/openssl/openssl-fipsmodule.props -/deps/openssl/openssl-fipsmodule.targets -/deps/openssl/openssl-fipsmodule.xml -# generated by gyp on android -/*.target.mk -/*.host.mk -/deps/openssl/openssl.target.mk -/deps/zlib/zlib.target.mk -# generated by MSVC with /P enabled -tools/*/*.i -tools/*/*.i.tmp - -# === Rules for release artifacts === -/*.tar.* -/*.pkg -/SHASUMS*.txt* - -# === Rules for `node_modules` === -!**/node_modules/** -/node_modules -/tools/doc/node_modules -/tools/clang-format/node_modules -/tools/eslint/node_modules -/tools/lint-md/node_modules - -# === Rules for test artifacts === -/*.tap -/*.xml -/v8*-tap.json -/node_trace.*.log -/node_trace.*.pftrace -# coverage related -/gcovr -/build -/coverage - -# === Rules for Xcode artifacts === -*.xcodeproj -*.xcworkspace -*.pbxproj - -# === Rules for files in `/deps` === -# Exclude all files in the vendored `npm`. -!/deps/npm/node_modules -# These are not needed and causes issues for distro packagers. -/deps/npm/node_modules/.bin/ -# Respect V8's .gitignore -!deps/v8/** -# Ignore the libuv book -/deps/uv/docs/code/ -/deps/uv/docs/src/guide/ -# Ignore .github directories -/deps/**/.github/ -# Ignore dependencies fetched by tools/v8/fetch_deps.py -/deps/.cipd -!deps/LIEF/** -deps/LIEF/*.vcxproj* -deps/LIEF/*.sln - -# === Rules for Windows vcbuild.bat === -/temp-vcbuild - -# === Rules for CMake === -cmake-build-debug/ -CMakeCache.txt -CMakeFiles -CTestTestfile.cmake -cmake_install.cmake -install_manifest.txt -*.cbp - -# === Rules for AI assistants === -CLAUDE.md - -# === Global Rules === -# Keep last to avoid being excluded -*.pyc -__pycache__ -.DS_Store -*~ - -# === Rules for C++ development === -compile_commands.json - -# === Dev Container rules === -# Only track the shared base devcontainer.json; ignore everything else under .devcontainer -!.devcontainer/ -.devcontainer/** -!.devcontainer/base/ -!.devcontainer/base/devcontainer.json From 9ad4027bc073b0557d4b240a75c85e63d1738953 Mon Sep 17 00:00:00 2001 From: wiwat Date: Mon, 12 Oct 2026 18:07:57 +0700 Subject: [PATCH 2/3] Create .gitignore with extensive ignore rules Add comprehensive rules for ignoring files and directories. --- . gitignore | 189 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 189 insertions(+) create mode 100644 . gitignore diff --git a/. gitignore b/. gitignore new file mode 100644 index 000000000000..d5f9bf699c8c --- /dev/null +++ b/. gitignore @@ -0,0 +1,189 @@ +# Please take extra care not to add rules that will make tracked files ignored. +# To test that, run `git ls-files -i --exclude-standard`. +# To check why a specific file is ignored, run `git check-ignore -v `. + +# === Rule for dotfiles === +# Ignore all dotfiles. +.* +# Exclude specific dotfiles that we want to track. +!deps/**/.* +!test/fixtures/**/.* +!.clang-format +!.cpplint +!.editorconfig +!.gitattributes +!.github +!.gitignore +!.gitkeep +!.gitpod.yml +!.mailmap +!.nycrc +!.yamllint.yaml +!.configurations/ +!/.npmrc + +# === Rules for root dir === + +# === Local secret/config files === +/.env.txt +/abi.txt +/tranfer_abi.txt + +/core +/vgcore.* +/v8*.log +/perf.data +/perf.data.old +/tags +/tags.* +/doc/api.xml +/docs/ +/node +/node_g +/gon-config.json +/*.exe +/*.swp +/out +/*.msi +/*.wixpdb +/*.qlog +# For GitHub Codespaces +/pythonenv* + +# === Rules for artifacts of `./configure` === +/icu_config.gypi +/config.gypi +/config.status +/config_fips.gypi + +# === Rules for MSVS artifacts === +Debug/ +Release/ +*.sln +*.suo +*.vcxproj* +UpgradeLog*.XML +_UpgradeReport_Files/ +*.sdf +*.opensdf +*.VC.* +*.wixobj +/tools/msvs/genfiles/ +/npm.wxs +/corepack.wxs +/tools/msvs/msi/**/Release/ +/tools/msvs/msi/**/obj/ +/tools/msvs/msi/**/x64/ +# Exclude MSVS files used for .msi file generation +!tools/msvs/msi/**/custom_actions.vcxproj +!tools/msvs/msi/**/nodemsi.sln + +# === Rules for GYP artifacts === +*-nodegyp* +/gyp-*-tool +/test/addons/??_*/ +/*.mk + +# === Rules for other build artifacts === +/email.md +/deps/v8-* +/deps/icu +/deps/icu*.zip +/deps/icu*.tgz +/deps/icu-tmp +./node_modules +/android-toolchain/ +# generated by gyp on Windows +/deps/openssl/openssl.props +/deps/openssl/openssl.targets +/deps/openssl/openssl.xml +/deps/openssl/openssl-fipsmodule.props +/deps/openssl/openssl-fipsmodule.targets +/deps/openssl/openssl-fipsmodule.xml +# generated by gyp on android +/*.target.mk +/*.host.mk +/deps/openssl/openssl.target.mk +/deps/zlib/zlib.target.mk +# generated by MSVC with /P enabled +tools/*/*.i +tools/*/*.i.tmp + +# === Rules for release artifacts === +/*.tar.* +/*.pkg +/SHASUMS*.txt* + +# === Rules for `node_modules` === +!**/node_modules/** +/node_modules +/tools/doc/node_modules +/tools/clang-format/node_modules +/tools/eslint/node_modules +/tools/lint-md/node_modules + +# === Rules for test artifacts === +/*.tap +/*.xml +/v8*-tap.json +/node_trace.*.log +/node_trace.*.pftrace +# coverage related +/gcovr +/build +/coverage + +# === Rules for Xcode artifacts === +*.xcodeproj +*.xcworkspace +*.pbxproj + +# === Rules for files in `/deps` === +# Exclude all files in the vendored `npm`. +!/deps/npm/node_modules +# These are not needed and causes issues for distro packagers. +/deps/npm/node_modules/.bin/ +# Respect V8's .gitignore +!deps/v8/** +# Ignore the libuv book +/deps/uv/docs/code/ +/deps/uv/docs/src/guide/ +# Ignore .github directories +/deps/**/.github/ +# Ignore dependencies fetched by tools/v8/fetch_deps.py +/deps/.cipd +!deps/LIEF/** +deps/LIEF/*.vcxproj* +deps/LIEF/*.sln + +# === Rules for Windows vcbuild.bat === +/temp-vcbuild + +# === Rules for CMake === +cmake-build-debug/ +CMakeCache.txt +CMakeFiles +CTestTestfile.cmake +cmake_install.cmake +install_manifest.txt +*.cbp + +# === Rules for AI assistants === +CLAUDE.md + +# === Global Rules === +# Keep last to avoid being excluded +*.pyc +__pycache__ +.DS_Store +*~ + +# === Rules for C++ development === +compile_commands.json + +# === Dev Container rules === +# Only track the shared base devcontainer.json; ignore everything else under .devcontainer +!.devcontainer/ +.devcontainer/** +!.devcontainer/base/ +!.devcontainer/base/devcontainer.json From f0a9c2e7b02ac2b30de7eba35c45d405c1229279 Mon Sep 17 00:00:00 2001 From: wiwat Date: Mon, 12 Oct 2026 18:11:27 +0700 Subject: [PATCH 3/3] Add GitHub Actions workflow for static site deployment This workflow automates the deployment of static content to GitHub Pages on pushes to the main branch or manually via the Actions tab. --- .github/workflows/static.yml | 43 ++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/static.yml diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml new file mode 100644 index 000000000000..460f782006e8 --- /dev/null +++ b/.github/workflows/static.yml @@ -0,0 +1,43 @@ +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Single deploy job since we're just deploying + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + # Upload entire repository + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v5