diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 8ccbce9..b8fc366 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -23,7 +23,11 @@ jobs: key: ${{ runner.os }}-npm-cache restore-keys: ${{ runner.os }}-npm-cache - name: Install Dependencies - run: npm install --include=optional + run: | + npm install + npm install @mongodb-js/zstd-linux-x64-musl \ + @mongodb-js/zstd-win32-x64-msvc \ + @mongodb-js/zstd-darwin-arm64 - name: Test run: npm run test env: diff --git a/.npmrc b/.npmrc index 557bc0b..77171bd 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,2 @@ package-lock=false -optional=true -force=true +optional=false diff --git a/README.md b/README.md index 7d87f4f..732469c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Yet Another Minifier for Hexo. Minify HTML, JS, CSS, SVG, XML and JSON. Compress ## Installation ```bash -$ npm install hexo-yam --save --include=optional --force +$ npm install --save hexo-yam ``` ## Options @@ -270,7 +270,15 @@ minify: ### Cannot find module '@mongodb-js/zstd-linux-x64-gnu' -`npm install --include=optional --force` +`npm install --save @mongodb-js/zstd-linux-x64-gnu` + +- @mongodb-js/zstd-darwin-arm64 (Apple Silicon) +- @mongodb-js/zstd-darwin-x64 (Intel Mac) +- @mongodb-js/zstd-linux-arm64-gnu +- @mongodb-js/zstd-linux-arm64-musl (Alpine) +- @mongodb-js/zstd-linux-x64-gnu +- @mongodb-js/zstd-linux-x64-musl (Alpine) +- @mongodb-js/zstd-win32-x64-msvc ## Globbing