From d2fb458ba54eb62e71ff51bed19fadb7d1fe6fb3 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 1 Jan 2025 17:31:16 -0800 Subject: [PATCH 01/21] ci: Try forked pkg to fix arm64 build --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5786d6d..08dbdb5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v4 - name: Install pkg - run: npm install -g pkg + run: npm install -g @yao-pkg/pkg - name: Preparing... run: npm install From 9adf0aad4b2b91291d39458fd3bf707b3d13d80b Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 1 Jan 2025 18:35:34 -0800 Subject: [PATCH 02/21] try build node20 instead --- .github/workflows/build.yml | 2 +- package.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08dbdb5f..e5786d6d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v4 - name: Install pkg - run: npm install -g @yao-pkg/pkg + run: npm install -g pkg - name: Preparing... run: npm install diff --git a/package.json b/package.json index cfdae039..1e33f17a 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "pkg-all": "pkg package.json", - "pkg-linux-arm64": "pkg package.json -t node18-linux-arm64 --output dist/eask", - "pkg-linux-x64": "pkg package.json -t node18-linux-x64 --output dist/eask", - "pkg-macos-arm64": "pkg package.json -t node18-macos-arm64 --output dist/eask", - "pkg-macos-x64": "pkg package.json -t node18-macos-x64 --output dist/eask", - "pkg-win-arm64": "pkg package.json -t node18-win-arm64 --output dist/eask", - "pkg-win-x64": "pkg package.json -t node18-win-x64 --output dist/eask" + "pkg-linux-arm64": "pkg package.json -t node20-linux-arm64 --output dist/eask", + "pkg-linux-x64": "pkg package.json -t node20-linux-x64 --output dist/eask", + "pkg-macos-arm64": "pkg package.json -t node20-macos-arm64 --output dist/eask", + "pkg-macos-x64": "pkg package.json -t node20-macos-x64 --output dist/eask", + "pkg-win-arm64": "pkg package.json -t node20-win-arm64 --output dist/eask", + "pkg-win-x64": "pkg package.json -t node20-win-x64 --output dist/eask" }, "bin": { "eask": "./eask" From cbb7dbf1ba7a44c511d1d0b45606b5ba7e8393ac Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 1 Jan 2025 18:48:47 -0800 Subject: [PATCH 03/21] revert yao --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5786d6d..08dbdb5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: - uses: actions/checkout@v4 - name: Install pkg - run: npm install -g pkg + run: npm install -g @yao-pkg/pkg - name: Preparing... run: npm install From f4e7acebc947cff17e6385ec56a187ba5e1920eb Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 1 Jan 2025 22:48:55 -0800 Subject: [PATCH 04/21] use yao pkg --- package-lock.json | 699 ++++++++++++---------------------------------- package.json | 2 +- 2 files changed, 178 insertions(+), 523 deletions(-) diff --git a/package-lock.json b/package-lock.json index adfaf998..9e885c5a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,63 +16,25 @@ "eask": "eask" }, "devDependencies": { - "pkg": "^5.0.0" - } - }, - "node_modules/@babel/generator": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.2.tgz", - "integrity": "sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.18.2", - "@jridgewell/gen-mapping": "^0.3.0", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" + "@yao-pkg/pkg": "^5.0.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.6.tgz", - "integrity": "sha512-WdJjwMEkmBicq5T9fm/cHND3+UlFa2Yj8ALLgmoSQAJZysYbBjw+azChSGPN4DSPLXOcooGRvDwZWMcF/mLO2Q==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.24.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.6.tgz", - "integrity": "sha512-4yA7s865JHaqUdRbnaxarZREuPTHrjpDT+pXoAZ1yhyo6uFnIEpS8VMu16siFOHDpZNKYv5BObhsB//ycbICyw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.18.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.4.tgz", - "integrity": "sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", "dev": true, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/types": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.0.tgz", - "integrity": "sha512-YuGopBq3ke25BVSiS6fgF49Ul9gH1x70Bcr6bqRLjWCkcX8Hre1/5+z+IiWOIerRMSSEfGZVB9z9kyq7wVs9YA==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.18.10", - "@babel/helper-validator-identifier": "^7.18.6", - "to-fast-properties": "^2.0.0" - }, + "license": "MIT", "engines": { "node": ">=6.9.0" } @@ -125,39 +87,150 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "node_modules/@yao-pkg/pkg": { + "version": "5.16.1", + "resolved": "https://registry.npmjs.org/@yao-pkg/pkg/-/pkg-5.16.1.tgz", + "integrity": "sha512-crUlnNFSReFNFuXDc4f3X2ignkFlc9kmEG7Bp/mJMA1jYyqR0lqjZGLgrSDYTYiNsYud8AzgA3RY1DrMdcUZWg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/generator": "^7.23.0", + "@babel/parser": "^7.23.0", + "@babel/types": "^7.23.0", + "@yao-pkg/pkg-fetch": "3.5.16", + "into-stream": "^6.0.0", + "minimist": "^1.2.6", + "multistream": "^4.1.0", + "picocolors": "^1.1.0", + "picomatch": "^4.0.2", + "prebuild-install": "^7.1.1", + "resolve": "^1.22.0", + "stream-meter": "^1.0.4", + "tinyglobby": "^0.2.9" + }, + "bin": { + "pkg": "lib-es5/bin.js" + } + }, + "node_modules/@yao-pkg/pkg-fetch": { + "version": "3.5.16", + "resolved": "https://registry.npmjs.org/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.16.tgz", + "integrity": "sha512-mCnZvZz0/Ylpk4TGyt34pqWJyBGYJM8c3dPoMRV8Knodv2QhcYS4iXb5kB/JNWkrRtCKukGZIKkMLXZ3TQlzPg==", "dev": true, + "license": "MIT", "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" + "https-proxy-agent": "^5.0.0", + "node-fetch": "^2.6.6", + "picocolors": "^1.1.0", + "progress": "^2.0.3", + "semver": "^7.3.5", + "tar-fs": "^2.1.1", + "yargs": "^16.2.0" + }, + "bin": { + "pkg-fetch": "lib-es5/bin.js" + } + }, + "node_modules/@yao-pkg/pkg-fetch/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" }, "engines": { - "node": ">= 8" + "node": ">=10" } }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "node_modules/@yao-pkg/pkg-fetch/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", "dev": true, + "license": "ISC", "engines": { - "node": ">= 8" + "node": ">=10" } }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "node_modules/@yao-pkg/pkg/node_modules/@babel/generator": { + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.3.tgz", + "integrity": "sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==", "dev": true, + "license": "MIT", "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" + "@babel/parser": "^7.26.3", + "@babel/types": "^7.26.3", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^3.0.2" }, "engines": { - "node": ">= 8" + "node": ">=6.9.0" + } + }, + "node_modules/@yao-pkg/pkg/node_modules/@babel/parser": { + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.3.tgz", + "integrity": "sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.26.3" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@yao-pkg/pkg/node_modules/@babel/types": { + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", + "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@yao-pkg/pkg/node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@yao-pkg/pkg/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/agent-base": { @@ -194,24 +267,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -257,18 +312,6 @@ "node": ">= 6" } }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -293,22 +336,6 @@ "ieee754": "^1.1.13" } }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, "node_modules/chownr": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", @@ -397,18 +424,6 @@ "node": ">=8" } }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -440,43 +455,6 @@ "node": ">=6" } }, - "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", - "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/from2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", @@ -493,21 +471,6 @@ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "dev": true }, - "node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -531,62 +494,6 @@ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", "dev": true }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "node_modules/has": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz", - "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==", - "dev": true, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", @@ -632,15 +539,6 @@ } ] }, - "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -669,27 +567,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -698,27 +575,6 @@ "node": ">=8" } }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -733,52 +589,6 @@ "node": ">=16" } }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", - "dev": true, - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, "node_modules/mimic-response": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", @@ -912,105 +722,12 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pkg": { - "version": "5.8.1", - "resolved": "https://registry.npmjs.org/pkg/-/pkg-5.8.1.tgz", - "integrity": "sha512-CjBWtFStCfIiT4Bde9QpJy0KeH19jCfwZRJqHFDFXfhUklCx8JoFmMj3wgnEYIwGmZVNkhsStPHEOnrtrQhEXA==", - "dev": true, - "dependencies": { - "@babel/generator": "7.18.2", - "@babel/parser": "7.18.4", - "@babel/types": "7.19.0", - "chalk": "^4.1.2", - "fs-extra": "^9.1.0", - "globby": "^11.1.0", - "into-stream": "^6.0.0", - "is-core-module": "2.9.0", - "minimist": "^1.2.6", - "multistream": "^4.1.0", - "pkg-fetch": "3.4.2", - "prebuild-install": "7.1.1", - "resolve": "^1.22.0", - "stream-meter": "^1.0.4" - }, - "bin": { - "pkg": "lib-es5/bin.js" - }, - "peerDependencies": { - "node-notifier": ">=9.0.1" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/pkg-fetch": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/pkg-fetch/-/pkg-fetch-3.4.2.tgz", - "integrity": "sha512-0+uijmzYcnhC0hStDjm/cl2VYdrmVVBpe7Q8k9YBojxmR5tG8mvR9/nooQq3QSXiQqORDVOTY3XqMEqJVIzkHA==", - "dev": true, - "dependencies": { - "chalk": "^4.1.2", - "fs-extra": "^9.1.0", - "https-proxy-agent": "^5.0.0", - "node-fetch": "^2.6.6", - "progress": "^2.0.3", - "semver": "^7.3.5", - "tar-fs": "^2.1.1", - "yargs": "^16.2.0" - }, - "bin": { - "pkg-fetch": "lib-es5/bin.js" - } - }, - "node_modules/pkg-fetch/node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/pkg-fetch/node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, - "engines": { - "node": ">=10" - } + "license": "ISC" }, "node_modules/prebuild-install": { "version": "7.1.1", @@ -1063,26 +780,6 @@ "once": "^1.3.1" } }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/rc": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", @@ -1150,39 +847,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -1246,15 +910,6 @@ "simple-concat": "^1.0.0" } }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/stream-meter": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/stream-meter/-/stream-meter-1.0.4.tgz", @@ -1306,18 +961,6 @@ "node": ">=0.10.0" } }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/supports-preserve-symlinks-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", @@ -1372,25 +1015,46 @@ "node": ">= 6" } }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "node_modules/tinyglobby": { + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.10.tgz", + "integrity": "sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==", "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.4.2", + "picomatch": "^4.0.2" + }, "engines": { - "node": ">=4" + "node": ">=12.0.0" } }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "node_modules/tinyglobby/node_modules/fdir": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.2.tgz", + "integrity": "sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==", "dev": true, - "dependencies": { - "is-number": "^7.0.0" + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/tinyglobby/node_modules/picomatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=8.0" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/tr46": { @@ -1411,15 +1075,6 @@ "node": "*" } }, - "node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", diff --git a/package.json b/package.json index 1e33f17a..3212055b 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "yargs": "^17.0.0" }, "devDependencies": { - "pkg": "^5.0.0" + "@yao-pkg/pkg": "^5.0.0" }, "files": [ "cmds", From c83cd717a609888eadd306fe5252d9b09baabe28 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 1 Jan 2025 23:13:37 -0800 Subject: [PATCH 05/21] try ver 6.0.0 --- package-lock.json | 614 ++++++++++++++++++++++++++++++++++++++++++++-- package.json | 2 +- 2 files changed, 596 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9e885c5a..753917e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "eask": "eask" }, "devDependencies": { - "@yao-pkg/pkg": "^5.0.0" + "@yao-pkg/pkg": "^6.0.0" } }, "node_modules/@babel/helper-string-parser": { @@ -39,6 +39,122 @@ "node": ">=6.9.0" } }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/fs-minipass": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", + "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.4" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", @@ -87,17 +203,28 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@yao-pkg/pkg": { - "version": "5.16.1", - "resolved": "https://registry.npmjs.org/@yao-pkg/pkg/-/pkg-5.16.1.tgz", - "integrity": "sha512-crUlnNFSReFNFuXDc4f3X2ignkFlc9kmEG7Bp/mJMA1jYyqR0lqjZGLgrSDYTYiNsYud8AzgA3RY1DrMdcUZWg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@yao-pkg/pkg/-/pkg-6.2.0.tgz", + "integrity": "sha512-kq1aDs9aa+fEtKQQ2AsxcL4Z82LsYw9ZQIwD3Q/wDq8ZPN69wCf2+OQp271lnqMybYInXwwBJ3swIb/nvaXS/g==", "dev": true, "license": "MIT", "dependencies": { "@babel/generator": "^7.23.0", "@babel/parser": "^7.23.0", "@babel/types": "^7.23.0", - "@yao-pkg/pkg-fetch": "3.5.16", + "@yao-pkg/pkg-fetch": "3.5.18", "into-stream": "^6.0.0", "minimist": "^1.2.6", "multistream": "^4.1.0", @@ -106,16 +233,21 @@ "prebuild-install": "^7.1.1", "resolve": "^1.22.0", "stream-meter": "^1.0.4", - "tinyglobby": "^0.2.9" + "tar": "^7.4.3", + "tinyglobby": "^0.2.9", + "unzipper": "^0.12.3" }, "bin": { "pkg": "lib-es5/bin.js" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@yao-pkg/pkg-fetch": { - "version": "3.5.16", - "resolved": "https://registry.npmjs.org/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.16.tgz", - "integrity": "sha512-mCnZvZz0/Ylpk4TGyt34pqWJyBGYJM8c3dPoMRV8Knodv2QhcYS4iXb5kB/JNWkrRtCKukGZIKkMLXZ3TQlzPg==", + "version": "3.5.18", + "resolved": "https://registry.npmjs.org/@yao-pkg/pkg-fetch/-/pkg-fetch-3.5.18.tgz", + "integrity": "sha512-tdUT7zS2lyXeJwkA8lDI4aVxHwauAc5lKj6Xui3/BtDe6vDsQ8KP+f66u07AI28DuTzKxjRJKNNXVdyGv2Ndsg==", "dev": true, "license": "MIT", "dependencies": { @@ -238,6 +370,7 @@ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, + "license": "MIT", "dependencies": { "debug": "4" }, @@ -267,6 +400,13 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, "node_modules/base64-js": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", @@ -312,6 +452,23 @@ "node": ">= 6" } }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, "node_modules/buffer": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", @@ -374,13 +531,52 @@ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", "dev": true }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cross-spawn/node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, + "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -424,6 +620,23 @@ "node": ">=8" } }, + "node_modules/duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "readable-stream": "^2.0.2" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -455,6 +668,23 @@ "node": ">=6" } }, + "node_modules/foreground-child": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", + "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/from2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", @@ -471,6 +701,21 @@ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", "dev": true }, + "node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -494,6 +739,34 @@ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", "dev": true }, + "node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", @@ -511,6 +784,7 @@ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, + "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -589,6 +863,42 @@ "node": ">=16" } }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, "node_modules/mimic-response": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", @@ -601,6 +911,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/minimist": { "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", @@ -610,6 +936,46 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/minizlib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.1.tgz", + "integrity": "sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.4", + "rimraf": "^5.0.5" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/mkdirp-classic": { "version": "0.5.3", "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", @@ -617,10 +983,11 @@ "dev": true }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" }, "node_modules/multistream": { "version": "4.1.0", @@ -683,6 +1050,7 @@ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", "dev": true, + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -698,6 +1066,13 @@ } } }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "dev": true, + "license": "MIT" + }, "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -716,12 +1091,46 @@ "node": ">=8" } }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -766,6 +1175,7 @@ "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -847,6 +1257,22 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/rimraf": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", + "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^10.3.7" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -865,6 +1291,42 @@ "node": ">=10" } }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/simple-concat": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", @@ -941,6 +1403,22 @@ "node": ">=8" } }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -952,6 +1430,20 @@ "node": ">=8" } }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", @@ -973,6 +1465,24 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/tar": { + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz", + "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==", + "dev": true, + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/tar-fs": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz", @@ -1015,6 +1525,16 @@ "node": ">= 6" } }, + "node_modules/tar/node_modules/chownr": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", + "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, "node_modules/tinyglobby": { "version": "0.2.10", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.10.tgz", @@ -1061,7 +1581,8 @@ "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/tunnel-agent": { "version": "0.6.0", @@ -1075,6 +1596,30 @@ "node": "*" } }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/unzipper": { + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/unzipper/-/unzipper-0.12.3.tgz", + "integrity": "sha512-PZ8hTS+AqcGxsaQntl3IRBw65QrBI6lxzqDEL7IAo/XCEqRTKGfOX56Vea5TH9SZczRVxuzk1re04z/YjuYCJA==", + "dev": true, + "license": "MIT", + "dependencies": { + "bluebird": "~3.7.2", + "duplexer2": "~0.1.4", + "fs-extra": "^11.2.0", + "graceful-fs": "^4.2.2", + "node-int64": "^0.4.0" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -1085,13 +1630,15 @@ "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true + "dev": true, + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", "dev": true, + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -1127,6 +1674,25 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -1141,6 +1707,16 @@ "node": ">=10" } }, + "node_modules/yallist": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", + "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, "node_modules/yargs": { "version": "17.5.1", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", diff --git a/package.json b/package.json index 3212055b..c5451a9c 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "yargs": "^17.0.0" }, "devDependencies": { - "@yao-pkg/pkg": "^5.0.0" + "@yao-pkg/pkg": "^6.0.0" }, "files": [ "cmds", From 4fcf03474cfb717e359dc13eadd23342c65602a5 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Thu, 2 Jan 2025 02:08:07 -0800 Subject: [PATCH 06/21] try all --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index c5451a9c..e307defb 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "pkg-all": "pkg package.json", - "pkg-linux-arm64": "pkg package.json -t node20-linux-arm64 --output dist/eask", - "pkg-linux-x64": "pkg package.json -t node20-linux-x64 --output dist/eask", - "pkg-macos-arm64": "pkg package.json -t node20-macos-arm64 --output dist/eask", - "pkg-macos-x64": "pkg package.json -t node20-macos-x64 --output dist/eask", - "pkg-win-arm64": "pkg package.json -t node20-win-arm64 --output dist/eask", - "pkg-win-x64": "pkg package.json -t node20-win-x64 --output dist/eask" + "pkg-linux-arm64": "pkg package.json -t node*-linux-arm64 --output dist/eask", + "pkg-linux-x64": "pkg package.json -t node*-linux-x64 --output dist/eask", + "pkg-macos-arm64": "pkg package.json -t node*-macos-arm64 --output dist/eask", + "pkg-macos-x64": "pkg package.json -t node*-macos-x64 --output dist/eask", + "pkg-win-arm64": "pkg package.json -t node*-win-arm64 --output dist/eask", + "pkg-win-x64": "pkg package.json -t node*-win-x64 --output dist/eask" }, "bin": { "eask": "./eask" From 783214c83714c0018659330e7c837943687f18b6 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 11:14:33 -0800 Subject: [PATCH 07/21] Update build.yml --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08dbdb5f..f0dbb3d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install dependencies + run: apt install --assume-yes qemu-user-binfmt + - name: Install pkg run: npm install -g @yao-pkg/pkg From f8b9056ee9b287db6a48113a4f1f34363f150e68 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 11:23:51 -0800 Subject: [PATCH 08/21] Update build.yml --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0dbb3d5..5e62e7d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,9 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies - run: apt install --assume-yes qemu-user-binfmt + run: | + apt-get update + apt-get install --assume-yes qemu-user-binfmt - name: Install pkg run: npm install -g @yao-pkg/pkg From b4f7dfdb07724bc2337a7cdcadbf54cb1d3989cc Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 11:29:52 -0800 Subject: [PATCH 09/21] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e62e7d7..c6b19be1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,8 +46,8 @@ jobs: - name: Install dependencies run: | - apt-get update - apt-get install --assume-yes qemu-user-binfmt + sudo apt-get update + sudo apt-get install --assume-yes qemu-user-binfmt - name: Install pkg run: npm install -g @yao-pkg/pkg From f3924639326a35f528467381de294639614e9152 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 11:45:03 -0800 Subject: [PATCH 10/21] Update build.yml --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6b19be1..c3e73f42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,6 +49,10 @@ jobs: sudo apt-get update sudo apt-get install --assume-yes qemu-user-binfmt + - uses: MOZGIII/install-ldid-action@master + with: + tag: v2.1.5-procursus7 + - name: Install pkg run: npm install -g @yao-pkg/pkg From 1a1c4400283dddfe2d5541e0e813b3e64cfa0190 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 12:35:00 -0800 Subject: [PATCH 11/21] Update build.yml --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3e73f42..d2b00f35 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,6 +68,11 @@ jobs: mv COPYING dist mv README.md dist + - name: Test build + working-directory: dist + run: | + ./dist/eask --version + - name: Setup environment (Unix) if: contains(fromJSON('["linux-arm64", "linux-x64", "macos-arm64", "macos-x64"]'), matrix.target) run: | From 12004793b2fc38edd832127c4dcbc2af76752597 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 12:50:40 -0800 Subject: [PATCH 12/21] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2b00f35..d2540224 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,7 +71,7 @@ jobs: - name: Test build working-directory: dist run: | - ./dist/eask --version + ./eask --version - name: Setup environment (Unix) if: contains(fromJSON('["linux-arm64", "linux-x64", "macos-arm64", "macos-x64"]'), matrix.target) From f59ed54850f6262108130e1d6ac469dfeafd4754 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 13:05:16 -0800 Subject: [PATCH 13/21] Update package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e307defb..cca7077c 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "pkg-all": "pkg package.json", - "pkg-linux-arm64": "pkg package.json -t node*-linux-arm64 --output dist/eask", - "pkg-linux-x64": "pkg package.json -t node*-linux-x64 --output dist/eask", + "pkg-linux-arm64": "pkg package.json -t node*-linuxstatic-arm64 --output dist/eask", + "pkg-linux-x64": "pkg package.json -t node*-linuxstatic-x64 --output dist/eask", "pkg-macos-arm64": "pkg package.json -t node*-macos-arm64 --output dist/eask", "pkg-macos-x64": "pkg package.json -t node*-macos-x64 --output dist/eask", "pkg-win-arm64": "pkg package.json -t node*-win-arm64 --output dist/eask", From 356723dacd1efc48f12a3b5ceca928f83c4f6b5d Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 13:29:23 -0800 Subject: [PATCH 14/21] Update build.yml --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d2540224..efe56bce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,10 +68,10 @@ jobs: mv COPYING dist mv README.md dist - - name: Test build - working-directory: dist - run: | - ./eask --version + - uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.target }} + path: dist - name: Setup environment (Unix) if: contains(fromJSON('["linux-arm64", "linux-x64", "macos-arm64", "macos-x64"]'), matrix.target) @@ -152,3 +152,27 @@ jobs: branch: master rebase: true retry: 7 + + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + target: + - linux-arm64 + - linux-x64 + - macos-arm64 + - macos-x64 + - win-arm64 + - win-x64 + + steps: + - uses: actions/download-artifact@v4 + with: + name: ${{ matrix.target }} + path: dist + + - name: Test build + working-directory: dist + run: | + ./eask --version From 2e7ef6d80e6aa31ca2c530a587a60e81a470f681 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 13:30:34 -0800 Subject: [PATCH 15/21] Update build.yml --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efe56bce..c6f209b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -155,6 +155,7 @@ jobs: test: runs-on: ubuntu-latest + needs: [build] strategy: fail-fast: false matrix: From 8988027cb1cb8226605d456d3bdd6eb63274fed0 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 7 Jan 2025 13:55:56 -0800 Subject: [PATCH 16/21] Update build.yml --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6f209b5..7b79e5fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,11 +68,6 @@ jobs: mv COPYING dist mv README.md dist - - uses: actions/upload-artifact@v4 - with: - name: ${{ matrix.target }} - path: dist - - name: Setup environment (Unix) if: contains(fromJSON('["linux-arm64", "linux-x64", "macos-arm64", "macos-x64"]'), matrix.target) run: | @@ -103,7 +98,7 @@ jobs: cd .. cp ${{ matrix.target }}.${{ env._EXT }} eask_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }} - - name: Uploading... + - name: Upload for prerelease if: github.ref == 'refs/heads/master' uses: softprops/action-gh-release@v2.0.8 with: @@ -112,6 +107,12 @@ jobs: prerelease: true files: eask_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }} + - name: Upload for tests + uses: actions/upload-artifact@v4 + with: + name: ${{ matrix.target }} + path: dist + #### Prepare to push to `binaries` repository! - name: Move tar to HOME From 88a4134771381c4b25f26e1f8be5d296b62560ae Mon Sep 17 00:00:00 2001 From: JenChieh Date: Tue, 7 Jan 2025 14:11:37 -0800 Subject: [PATCH 17/21] split OSs --- .github/workflows/analyze.yml | 2 +- .github/workflows/build.yml | 42 ++++++++++++++++++++++++-- .github/workflows/compat.yml | 2 +- .github/workflows/compile.yml | 2 +- .github/workflows/config.yml | 2 +- .github/workflows/deprecated/color.yml | 2 +- .github/workflows/deprecated/error.yml | 2 +- .github/workflows/docker.yml | 2 +- .github/workflows/docs.yml | 4 +-- .github/workflows/emacs.yml | 2 +- .github/workflows/exec.yml | 2 +- .github/workflows/global.yml | 2 +- .github/workflows/install.yml | 2 +- .github/workflows/link.yml | 2 +- .github/workflows/local.yml | 2 +- .github/workflows/options.yml | 2 +- .github/workflows/outdated_upgrade.yml | 2 +- .github/workflows/search.yml | 2 +- .github/workflows/test_buttercup.yml | 2 +- .github/workflows/test_ecukes.yml | 2 +- .github/workflows/test_ert-runner.yml | 2 +- .github/workflows/test_ert.yml | 2 +- 22 files changed, 62 insertions(+), 24 deletions(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 8d4ded49..3148df9c 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b79e5fc..a7d1c739 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -154,7 +154,7 @@ jobs: rebase: true retry: 7 - test: + test-linux: runs-on: ubuntu-latest needs: [build] strategy: @@ -163,8 +163,46 @@ jobs: target: - linux-arm64 - linux-x64 + + steps: + - uses: actions/download-artifact@v4 + with: + name: ${{ matrix.target }} + path: dist + + - name: Test build + working-directory: dist + run: | + ./eask --version + + test-macos: + runs-on: macos-latest + needs: [build] + strategy: + fail-fast: false + matrix: + target: - macos-arm64 - macos-x64 + + steps: + - uses: actions/download-artifact@v4 + with: + name: ${{ matrix.target }} + path: dist + + - name: Test build + working-directory: dist + run: | + ./eask --version + + test-windows: + runs-on: windows-latest + needs: [build] + strategy: + fail-fast: false + matrix: + target: - win-arm64 - win-x64 @@ -177,4 +215,4 @@ jobs: - name: Test build working-directory: dist run: | - ./eask --version + ./eask.exe --version diff --git a/.github/workflows/compat.yml b/.github/workflows/compat.yml index d0a64ba0..3edc8005 100644 --- a/.github/workflows/compat.yml +++ b/.github/workflows/compat.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index c5ac9126..421e1e1e 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index ecd05f14..7639cb32 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/deprecated/color.yml b/.github/workflows/deprecated/color.yml index c50302c2..030a456b 100644 --- a/.github/workflows/deprecated/color.yml +++ b/.github/workflows/deprecated/color.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/deprecated/error.yml b/.github/workflows/deprecated/error.yml index 1e163e64..2825686f 100644 --- a/.github/workflows/deprecated/error.yml +++ b/.github/workflows/deprecated/error.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c9344856..08827841 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8866ea06..7e24818d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,13 +6,13 @@ on: - master - docs paths: - - '**.yml' + #- '**.yml' - docs/** pull_request: branches: - master paths: - - '**.yml' + #- '**.yml' - docs/** workflow_dispatch: diff --git a/.github/workflows/emacs.yml b/.github/workflows/emacs.yml index f43f4323..5e699b70 100644 --- a/.github/workflows/emacs.yml +++ b/.github/workflows/emacs.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/exec.yml b/.github/workflows/exec.yml index 594f5668..caa64a0c 100644 --- a/.github/workflows/exec.yml +++ b/.github/workflows/exec.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/global.yml b/.github/workflows/global.yml index 1bbc4dea..f17cd52f 100644 --- a/.github/workflows/global.yml +++ b/.github/workflows/global.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 70a32012..ca008336 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/link.yml b/.github/workflows/link.yml index 6de69f8e..9060ad77 100644 --- a/.github/workflows/link.yml +++ b/.github/workflows/link.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/local.yml b/.github/workflows/local.yml index ef55c898..fc1ff644 100644 --- a/.github/workflows/local.yml +++ b/.github/workflows/local.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/options.yml b/.github/workflows/options.yml index 0d2e4907..a96fb116 100644 --- a/.github/workflows/options.yml +++ b/.github/workflows/options.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/outdated_upgrade.yml b/.github/workflows/outdated_upgrade.yml index 2d252347..5fa5566c 100644 --- a/.github/workflows/outdated_upgrade.yml +++ b/.github/workflows/outdated_upgrade.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/search.yml b/.github/workflows/search.yml index 797e6548..d9096bc4 100644 --- a/.github/workflows/search.yml +++ b/.github/workflows/search.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/test_buttercup.yml b/.github/workflows/test_buttercup.yml index d78a9b38..95d00de1 100644 --- a/.github/workflows/test_buttercup.yml +++ b/.github/workflows/test_buttercup.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/test_ecukes.yml b/.github/workflows/test_ecukes.yml index 36a23055..e54d10aa 100644 --- a/.github/workflows/test_ecukes.yml +++ b/.github/workflows/test_ecukes.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/test_ert-runner.yml b/.github/workflows/test_ert-runner.yml index 58f355cc..af5077a1 100644 --- a/.github/workflows/test_ert-runner.yml +++ b/.github/workflows/test_ert-runner.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/test_ert.yml b/.github/workflows/test_ert.yml index 2ab95cc5..46e6499f 100644 --- a/.github/workflows/test_ert.yml +++ b/.github/workflows/test_ert.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - - '**.yml' + #- '**.yml' - lisp/** - cmds/** - src/** From 52f0ed4b978c5a54897ccdfcb3f95cc0f31a3c90 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Tue, 7 Jan 2025 14:15:15 -0800 Subject: [PATCH 18/21] rev tests --- .github/workflows/analyze.yml | 2 +- .github/workflows/compat.yml | 2 +- .github/workflows/compile.yml | 2 +- .github/workflows/config.yml | 2 +- .github/workflows/deprecated/color.yml | 2 +- .github/workflows/deprecated/error.yml | 2 +- .github/workflows/docker.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/emacs.yml | 2 +- .github/workflows/exec.yml | 2 +- .github/workflows/global.yml | 2 +- .github/workflows/install.yml | 2 +- .github/workflows/link.yml | 2 +- .github/workflows/local.yml | 2 +- .github/workflows/options.yml | 2 +- .github/workflows/outdated_upgrade.yml | 2 +- .github/workflows/search.yml | 2 +- .github/workflows/test_buttercup.yml | 2 +- .github/workflows/test_ecukes.yml | 2 +- .github/workflows/test_ert-runner.yml | 2 +- .github/workflows/test_ert.yml | 2 +- 21 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/analyze.yml b/.github/workflows/analyze.yml index 3148df9c..8d4ded49 100644 --- a/.github/workflows/analyze.yml +++ b/.github/workflows/analyze.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/compat.yml b/.github/workflows/compat.yml index 3edc8005..d0a64ba0 100644 --- a/.github/workflows/compat.yml +++ b/.github/workflows/compat.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 421e1e1e..c5ac9126 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 7639cb32..ecd05f14 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/deprecated/color.yml b/.github/workflows/deprecated/color.yml index 030a456b..c50302c2 100644 --- a/.github/workflows/deprecated/color.yml +++ b/.github/workflows/deprecated/color.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/deprecated/error.yml b/.github/workflows/deprecated/error.yml index 2825686f..1e163e64 100644 --- a/.github/workflows/deprecated/error.yml +++ b/.github/workflows/deprecated/error.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 08827841..c9344856 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7e24818d..8866ea06 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,13 +6,13 @@ on: - master - docs paths: - #- '**.yml' + - '**.yml' - docs/** pull_request: branches: - master paths: - #- '**.yml' + - '**.yml' - docs/** workflow_dispatch: diff --git a/.github/workflows/emacs.yml b/.github/workflows/emacs.yml index 5e699b70..f43f4323 100644 --- a/.github/workflows/emacs.yml +++ b/.github/workflows/emacs.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/exec.yml b/.github/workflows/exec.yml index caa64a0c..594f5668 100644 --- a/.github/workflows/exec.yml +++ b/.github/workflows/exec.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/global.yml b/.github/workflows/global.yml index f17cd52f..1bbc4dea 100644 --- a/.github/workflows/global.yml +++ b/.github/workflows/global.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index ca008336..70a32012 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/link.yml b/.github/workflows/link.yml index 9060ad77..6de69f8e 100644 --- a/.github/workflows/link.yml +++ b/.github/workflows/link.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/local.yml b/.github/workflows/local.yml index fc1ff644..ef55c898 100644 --- a/.github/workflows/local.yml +++ b/.github/workflows/local.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/options.yml b/.github/workflows/options.yml index a96fb116..0d2e4907 100644 --- a/.github/workflows/options.yml +++ b/.github/workflows/options.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/outdated_upgrade.yml b/.github/workflows/outdated_upgrade.yml index 5fa5566c..2d252347 100644 --- a/.github/workflows/outdated_upgrade.yml +++ b/.github/workflows/outdated_upgrade.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/search.yml b/.github/workflows/search.yml index d9096bc4..797e6548 100644 --- a/.github/workflows/search.yml +++ b/.github/workflows/search.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/test_buttercup.yml b/.github/workflows/test_buttercup.yml index 95d00de1..d78a9b38 100644 --- a/.github/workflows/test_buttercup.yml +++ b/.github/workflows/test_buttercup.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/test_ecukes.yml b/.github/workflows/test_ecukes.yml index e54d10aa..36a23055 100644 --- a/.github/workflows/test_ecukes.yml +++ b/.github/workflows/test_ecukes.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/test_ert-runner.yml b/.github/workflows/test_ert-runner.yml index af5077a1..58f355cc 100644 --- a/.github/workflows/test_ert-runner.yml +++ b/.github/workflows/test_ert-runner.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** diff --git a/.github/workflows/test_ert.yml b/.github/workflows/test_ert.yml index 46e6499f..2ab95cc5 100644 --- a/.github/workflows/test_ert.yml +++ b/.github/workflows/test_ert.yml @@ -6,7 +6,7 @@ on: - master paths: - 'eask' - #- '**.yml' + - '**.yml' - lisp/** - cmds/** - src/** From 217c5b56c80e4b1684367dff5b29c6d13f259852 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Tue, 7 Jan 2025 14:40:00 -0800 Subject: [PATCH 19/21] simplify --- .github/workflows/build.yml | 65 ++----------------------------------- 1 file changed, 2 insertions(+), 63 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7d1c739..f663c6c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -107,6 +107,8 @@ jobs: prerelease: true files: eask_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }} + #### Upload an artifact for testing purposes + - name: Upload for tests uses: actions/upload-artifact@v4 with: @@ -153,66 +155,3 @@ jobs: branch: master rebase: true retry: 7 - - test-linux: - runs-on: ubuntu-latest - needs: [build] - strategy: - fail-fast: false - matrix: - target: - - linux-arm64 - - linux-x64 - - steps: - - uses: actions/download-artifact@v4 - with: - name: ${{ matrix.target }} - path: dist - - - name: Test build - working-directory: dist - run: | - ./eask --version - - test-macos: - runs-on: macos-latest - needs: [build] - strategy: - fail-fast: false - matrix: - target: - - macos-arm64 - - macos-x64 - - steps: - - uses: actions/download-artifact@v4 - with: - name: ${{ matrix.target }} - path: dist - - - name: Test build - working-directory: dist - run: | - ./eask --version - - test-windows: - runs-on: windows-latest - needs: [build] - strategy: - fail-fast: false - matrix: - target: - - win-arm64 - - win-x64 - - steps: - - uses: actions/download-artifact@v4 - with: - name: ${{ matrix.target }} - path: dist - - - name: Test build - working-directory: dist - run: | - ./eask.exe --version From 3e0fc484f086f63723493d36b4bcf3fd1e185b00 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 8 Jan 2025 02:03:03 -0800 Subject: [PATCH 20/21] try public flag --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cca7077c..f665e324 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "pkg-all": "pkg package.json", "pkg-linux-arm64": "pkg package.json -t node*-linuxstatic-arm64 --output dist/eask", "pkg-linux-x64": "pkg package.json -t node*-linuxstatic-x64 --output dist/eask", - "pkg-macos-arm64": "pkg package.json -t node*-macos-arm64 --output dist/eask", + "pkg-macos-arm64": "pkg package.json -t node*-macos-arm64 --output dist/eask --public", "pkg-macos-x64": "pkg package.json -t node*-macos-x64 --output dist/eask", - "pkg-win-arm64": "pkg package.json -t node*-win-arm64 --output dist/eask", + "pkg-win-arm64": "pkg package.json -t node*-win-arm64 --output dist/eask --public", "pkg-win-x64": "pkg package.json -t node*-win-x64 --output dist/eask" }, "bin": { From 584a8c84ada61d26d6c7dd67474a90073f163d91 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Wed, 8 Jan 2025 02:10:43 -0800 Subject: [PATCH 21/21] public all --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index f665e324..60a610eb 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,12 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "pkg-all": "pkg package.json", - "pkg-linux-arm64": "pkg package.json -t node*-linuxstatic-arm64 --output dist/eask", - "pkg-linux-x64": "pkg package.json -t node*-linuxstatic-x64 --output dist/eask", + "pkg-linux-arm64": "pkg package.json -t node*-linuxstatic-arm64 --output dist/eask --public", + "pkg-linux-x64": "pkg package.json -t node*-linuxstatic-x64 --output dist/eask --public", "pkg-macos-arm64": "pkg package.json -t node*-macos-arm64 --output dist/eask --public", - "pkg-macos-x64": "pkg package.json -t node*-macos-x64 --output dist/eask", + "pkg-macos-x64": "pkg package.json -t node*-macos-x64 --output dist/eask --public", "pkg-win-arm64": "pkg package.json -t node*-win-arm64 --output dist/eask --public", - "pkg-win-x64": "pkg package.json -t node*-win-x64 --output dist/eask" + "pkg-win-x64": "pkg package.json -t node*-win-x64 --output dist/eask --public" }, "bin": { "eask": "./eask"