diff --git a/.changeset/green-cherries-yawn.md b/.changeset/green-cherries-yawn.md index 90d7276..19570f3 100644 --- a/.changeset/green-cherries-yawn.md +++ b/.changeset/green-cherries-yawn.md @@ -1,5 +1,5 @@ --- -'clap-js': patch +'archons': patch --- Set color choice to always diff --git a/.changeset/healthy-carpets-learn.md b/.changeset/healthy-carpets-learn.md index 05fb2d4..9b24f5f 100644 --- a/.changeset/healthy-carpets-learn.md +++ b/.changeset/healthy-carpets-learn.md @@ -1,5 +1,5 @@ --- -'clap-js': patch +'archons': patch --- Implement utils functions to create clap command instance diff --git a/.changeset/nasty-bugs-jog.md b/.changeset/nasty-bugs-jog.md index aa86a6f..71ea5f2 100644 --- a/.changeset/nasty-bugs-jog.md +++ b/.changeset/nasty-bugs-jog.md @@ -1,5 +1,5 @@ --- -'clap-js': patch +'archons': patch --- Call callback functions with context object after merged parsed args diff --git a/.changeset/orange-bugs-rest.md b/.changeset/orange-bugs-rest.md index 52f5e12..1f971c6 100644 --- a/.changeset/orange-bugs-rest.md +++ b/.changeset/orange-bugs-rest.md @@ -1,5 +1,5 @@ --- -'clap-js': patch +'archons': patch --- Merge parsed args by `clap-rs` to context args object diff --git a/.changeset/poor-cats-grow.md b/.changeset/poor-cats-grow.md index ca80873..4107a74 100644 --- a/.changeset/poor-cats-grow.md +++ b/.changeset/poor-cats-grow.md @@ -1,5 +1,5 @@ --- -'clap-js': patch +'archons': patch --- Remove features for clap-rs diff --git a/.changeset/small-ducks-type.md b/.changeset/small-ducks-type.md index f954528..15fec75 100644 --- a/.changeset/small-ducks-type.md +++ b/.changeset/small-ducks-type.md @@ -1,5 +1,5 @@ --- -'clap-js': patch +'archons': patch --- Add `defineCommand` interface diff --git a/.changeset/two-keys-thank.md b/.changeset/two-keys-thank.md index 1a50aaa..cf69e61 100644 --- a/.changeset/two-keys-thank.md +++ b/.changeset/two-keys-thank.md @@ -1,5 +1,5 @@ --- -'clap-js': patch +'archons': patch --- Implement command definition types diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fb59db5..2b032d1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ name: Build and Test env: DEBUG: napi:* - APP_NAME: clap-js + APP_NAME: archons MACOSX_DEPLOYMENT_TARGET: '10.13' CARGO_INCREMENTAL: '1' permissions: diff --git a/Cargo.toml b/Cargo.toml index 1037c34..8521cb0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["苏向夜 "] edition = "2021" -name = "clap-js" +name = "archons" version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 48576bd..90c724a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# clap-js +# archons Fast and elegant CLI build tool based on clap-rs diff --git a/index.js b/index.js index d6921c9..e1ae0ce 100644 --- a/index.js +++ b/index.js @@ -32,24 +32,24 @@ switch (platform) { case 'android': switch (arch) { case 'arm64': - localFileExisted = existsSync(join(__dirname, 'clap-js.android-arm64.node')) + localFileExisted = existsSync(join(__dirname, 'archons.android-arm64.node')) try { if (localFileExisted) { - nativeBinding = require('./clap-js.android-arm64.node') + nativeBinding = require('./archons.android-arm64.node') } else { - nativeBinding = require('clap-js-android-arm64') + nativeBinding = require('archons-android-arm64') } } catch (e) { loadError = e } break case 'arm': - localFileExisted = existsSync(join(__dirname, 'clap-js.android-arm-eabi.node')) + localFileExisted = existsSync(join(__dirname, 'archons.android-arm-eabi.node')) try { if (localFileExisted) { - nativeBinding = require('./clap-js.android-arm-eabi.node') + nativeBinding = require('./archons.android-arm-eabi.node') } else { - nativeBinding = require('clap-js-android-arm-eabi') + nativeBinding = require('archons-android-arm-eabi') } } catch (e) { loadError = e @@ -63,13 +63,13 @@ switch (platform) { switch (arch) { case 'x64': localFileExisted = existsSync( - join(__dirname, 'clap-js.win32-x64-msvc.node') + join(__dirname, 'archons.win32-x64-msvc.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.win32-x64-msvc.node') + nativeBinding = require('./archons.win32-x64-msvc.node') } else { - nativeBinding = require('clap-js-win32-x64-msvc') + nativeBinding = require('archons-win32-x64-msvc') } } catch (e) { loadError = e @@ -77,13 +77,13 @@ switch (platform) { break case 'ia32': localFileExisted = existsSync( - join(__dirname, 'clap-js.win32-ia32-msvc.node') + join(__dirname, 'archons.win32-ia32-msvc.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.win32-ia32-msvc.node') + nativeBinding = require('./archons.win32-ia32-msvc.node') } else { - nativeBinding = require('clap-js-win32-ia32-msvc') + nativeBinding = require('archons-win32-ia32-msvc') } } catch (e) { loadError = e @@ -91,13 +91,13 @@ switch (platform) { break case 'arm64': localFileExisted = existsSync( - join(__dirname, 'clap-js.win32-arm64-msvc.node') + join(__dirname, 'archons.win32-arm64-msvc.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.win32-arm64-msvc.node') + nativeBinding = require('./archons.win32-arm64-msvc.node') } else { - nativeBinding = require('clap-js-win32-arm64-msvc') + nativeBinding = require('archons-win32-arm64-msvc') } } catch (e) { loadError = e @@ -108,23 +108,23 @@ switch (platform) { } break case 'darwin': - localFileExisted = existsSync(join(__dirname, 'clap-js.darwin-universal.node')) + localFileExisted = existsSync(join(__dirname, 'archons.darwin-universal.node')) try { if (localFileExisted) { - nativeBinding = require('./clap-js.darwin-universal.node') + nativeBinding = require('./archons.darwin-universal.node') } else { - nativeBinding = require('clap-js-darwin-universal') + nativeBinding = require('archons-darwin-universal') } break } catch {} switch (arch) { case 'x64': - localFileExisted = existsSync(join(__dirname, 'clap-js.darwin-x64.node')) + localFileExisted = existsSync(join(__dirname, 'archons.darwin-x64.node')) try { if (localFileExisted) { - nativeBinding = require('./clap-js.darwin-x64.node') + nativeBinding = require('./archons.darwin-x64.node') } else { - nativeBinding = require('clap-js-darwin-x64') + nativeBinding = require('archons-darwin-x64') } } catch (e) { loadError = e @@ -132,13 +132,13 @@ switch (platform) { break case 'arm64': localFileExisted = existsSync( - join(__dirname, 'clap-js.darwin-arm64.node') + join(__dirname, 'archons.darwin-arm64.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.darwin-arm64.node') + nativeBinding = require('./archons.darwin-arm64.node') } else { - nativeBinding = require('clap-js-darwin-arm64') + nativeBinding = require('archons-darwin-arm64') } } catch (e) { loadError = e @@ -152,12 +152,12 @@ switch (platform) { if (arch !== 'x64') { throw new Error(`Unsupported architecture on FreeBSD: ${arch}`) } - localFileExisted = existsSync(join(__dirname, 'clap-js.freebsd-x64.node')) + localFileExisted = existsSync(join(__dirname, 'archons.freebsd-x64.node')) try { if (localFileExisted) { - nativeBinding = require('./clap-js.freebsd-x64.node') + nativeBinding = require('./archons.freebsd-x64.node') } else { - nativeBinding = require('clap-js-freebsd-x64') + nativeBinding = require('archons-freebsd-x64') } } catch (e) { loadError = e @@ -168,26 +168,26 @@ switch (platform) { case 'x64': if (isMusl()) { localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-x64-musl.node') + join(__dirname, 'archons.linux-x64-musl.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-x64-musl.node') + nativeBinding = require('./archons.linux-x64-musl.node') } else { - nativeBinding = require('clap-js-linux-x64-musl') + nativeBinding = require('archons-linux-x64-musl') } } catch (e) { loadError = e } } else { localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-x64-gnu.node') + join(__dirname, 'archons.linux-x64-gnu.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-x64-gnu.node') + nativeBinding = require('./archons.linux-x64-gnu.node') } else { - nativeBinding = require('clap-js-linux-x64-gnu') + nativeBinding = require('archons-linux-x64-gnu') } } catch (e) { loadError = e @@ -197,26 +197,26 @@ switch (platform) { case 'arm64': if (isMusl()) { localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-arm64-musl.node') + join(__dirname, 'archons.linux-arm64-musl.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-arm64-musl.node') + nativeBinding = require('./archons.linux-arm64-musl.node') } else { - nativeBinding = require('clap-js-linux-arm64-musl') + nativeBinding = require('archons-linux-arm64-musl') } } catch (e) { loadError = e } } else { localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-arm64-gnu.node') + join(__dirname, 'archons.linux-arm64-gnu.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-arm64-gnu.node') + nativeBinding = require('./archons.linux-arm64-gnu.node') } else { - nativeBinding = require('clap-js-linux-arm64-gnu') + nativeBinding = require('archons-linux-arm64-gnu') } } catch (e) { loadError = e @@ -226,26 +226,26 @@ switch (platform) { case 'arm': if (isMusl()) { localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-arm-musleabihf.node') + join(__dirname, 'archons.linux-arm-musleabihf.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-arm-musleabihf.node') + nativeBinding = require('./archons.linux-arm-musleabihf.node') } else { - nativeBinding = require('clap-js-linux-arm-musleabihf') + nativeBinding = require('archons-linux-arm-musleabihf') } } catch (e) { loadError = e } } else { localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-arm-gnueabihf.node') + join(__dirname, 'archons.linux-arm-gnueabihf.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-arm-gnueabihf.node') + nativeBinding = require('./archons.linux-arm-gnueabihf.node') } else { - nativeBinding = require('clap-js-linux-arm-gnueabihf') + nativeBinding = require('archons-linux-arm-gnueabihf') } } catch (e) { loadError = e @@ -255,26 +255,26 @@ switch (platform) { case 'riscv64': if (isMusl()) { localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-riscv64-musl.node') + join(__dirname, 'archons.linux-riscv64-musl.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-riscv64-musl.node') + nativeBinding = require('./archons.linux-riscv64-musl.node') } else { - nativeBinding = require('clap-js-linux-riscv64-musl') + nativeBinding = require('archons-linux-riscv64-musl') } } catch (e) { loadError = e } } else { localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-riscv64-gnu.node') + join(__dirname, 'archons.linux-riscv64-gnu.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-riscv64-gnu.node') + nativeBinding = require('./archons.linux-riscv64-gnu.node') } else { - nativeBinding = require('clap-js-linux-riscv64-gnu') + nativeBinding = require('archons-linux-riscv64-gnu') } } catch (e) { loadError = e @@ -283,13 +283,13 @@ switch (platform) { break case 's390x': localFileExisted = existsSync( - join(__dirname, 'clap-js.linux-s390x-gnu.node') + join(__dirname, 'archons.linux-s390x-gnu.node') ) try { if (localFileExisted) { - nativeBinding = require('./clap-js.linux-s390x-gnu.node') + nativeBinding = require('./archons.linux-s390x-gnu.node') } else { - nativeBinding = require('clap-js-linux-s390x-gnu') + nativeBinding = require('archons-linux-s390x-gnu') } } catch (e) { loadError = e diff --git a/npm/android-arm-eabi/README.md b/npm/android-arm-eabi/README.md index 16ba9ab..9162976 100644 --- a/npm/android-arm-eabi/README.md +++ b/npm/android-arm-eabi/README.md @@ -1,3 +1,3 @@ -# `clap-js-android-arm-eabi` +# `archons-android-arm-eabi` -This is the **armv7-linux-androideabi** binary for `clap-js` +This is the **armv7-linux-androideabi** binary for `archons` diff --git a/npm/android-arm-eabi/package.json b/npm/android-arm-eabi/package.json index 1519753..8c972ae 100644 --- a/npm/android-arm-eabi/package.json +++ b/npm/android-arm-eabi/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-android-arm-eabi", - "version": "1.0.0", + "name": "archons-android-arm-eabi", + "version": "0.1.0", "os": [ "android" ], "cpu": [ "arm" ], - "main": "clap-js.android-arm-eabi.node", + "main": "archons.android-arm-eabi.node", "files": [ - "clap-js.android-arm-eabi.node" + "archons.android-arm-eabi.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/npm/android-arm64/README.md b/npm/android-arm64/README.md index 9ddff2d..317ff1d 100644 --- a/npm/android-arm64/README.md +++ b/npm/android-arm64/README.md @@ -1,3 +1,3 @@ -# `clap-js-android-arm64` +# `archons-android-arm64` -This is the **aarch64-linux-android** binary for `clap-js` +This is the **aarch64-linux-android** binary for `archons` diff --git a/npm/android-arm64/package.json b/npm/android-arm64/package.json index 158d9a1..7d941cb 100644 --- a/npm/android-arm64/package.json +++ b/npm/android-arm64/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-android-arm64", - "version": "1.0.0", + "name": "archons-android-arm64", + "version": "0.1.0", "os": [ "android" ], "cpu": [ "arm64" ], - "main": "clap-js.android-arm64.node", + "main": "archons.android-arm64.node", "files": [ - "clap-js.android-arm64.node" + "archons.android-arm64.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/npm/darwin-arm64/README.md b/npm/darwin-arm64/README.md index d18be73..d9e5e97 100644 --- a/npm/darwin-arm64/README.md +++ b/npm/darwin-arm64/README.md @@ -1,3 +1,3 @@ -# `clap-js-darwin-arm64` +# `archons-darwin-arm64` -This is the **aarch64-apple-darwin** binary for `clap-js` +This is the **aarch64-apple-darwin** binary for `archons` diff --git a/npm/darwin-arm64/package.json b/npm/darwin-arm64/package.json index 8113ad5..8255283 100644 --- a/npm/darwin-arm64/package.json +++ b/npm/darwin-arm64/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-darwin-arm64", - "version": "1.0.0", + "name": "archons-darwin-arm64", + "version": "0.1.0", "os": [ "darwin" ], "cpu": [ "arm64" ], - "main": "clap-js.darwin-arm64.node", + "main": "archons.darwin-arm64.node", "files": [ - "clap-js.darwin-arm64.node" + "archons.darwin-arm64.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/npm/darwin-x64/README.md b/npm/darwin-x64/README.md index e20b133..fc04aa1 100644 --- a/npm/darwin-x64/README.md +++ b/npm/darwin-x64/README.md @@ -1,3 +1,3 @@ -# `clap-js-darwin-x64` +# `archons-darwin-x64` -This is the **x86_64-apple-darwin** binary for `clap-js` +This is the **x86_64-apple-darwin** binary for `archons` diff --git a/npm/darwin-x64/package.json b/npm/darwin-x64/package.json index 14cc987..0290cf2 100644 --- a/npm/darwin-x64/package.json +++ b/npm/darwin-x64/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-darwin-x64", - "version": "1.0.0", + "name": "archons-darwin-x64", + "version": "0.1.0", "os": [ "darwin" ], "cpu": [ "x64" ], - "main": "clap-js.darwin-x64.node", + "main": "archons.darwin-x64.node", "files": [ - "clap-js.darwin-x64.node" + "archons.darwin-x64.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/npm/freebsd-x64/README.md b/npm/freebsd-x64/README.md index d32d6cc..e9afef9 100644 --- a/npm/freebsd-x64/README.md +++ b/npm/freebsd-x64/README.md @@ -1,3 +1,3 @@ -# `clap-js-freebsd-x64` +# `archons-freebsd-x64` -This is the **x86_64-unknown-freebsd** binary for `clap-js` +This is the **x86_64-unknown-freebsd** binary for `archons` diff --git a/npm/freebsd-x64/package.json b/npm/freebsd-x64/package.json index f87a153..29002a8 100644 --- a/npm/freebsd-x64/package.json +++ b/npm/freebsd-x64/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-freebsd-x64", - "version": "1.0.0", + "name": "archons-freebsd-x64", + "version": "0.1.0", "os": [ "freebsd" ], "cpu": [ "x64" ], - "main": "clap-js.freebsd-x64.node", + "main": "archons.freebsd-x64.node", "files": [ - "clap-js.freebsd-x64.node" + "archons.freebsd-x64.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/npm/linux-arm-gnueabihf/README.md b/npm/linux-arm-gnueabihf/README.md index 2f7cb4f..722a3cf 100644 --- a/npm/linux-arm-gnueabihf/README.md +++ b/npm/linux-arm-gnueabihf/README.md @@ -1,3 +1,3 @@ -# `clap-js-linux-arm-gnueabihf` +# `archons-linux-arm-gnueabihf` -This is the **armv7-unknown-linux-gnueabihf** binary for `clap-js` +This is the **armv7-unknown-linux-gnueabihf** binary for `archons` diff --git a/npm/linux-arm-gnueabihf/package.json b/npm/linux-arm-gnueabihf/package.json index 6e7742d..02acd7a 100644 --- a/npm/linux-arm-gnueabihf/package.json +++ b/npm/linux-arm-gnueabihf/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-linux-arm-gnueabihf", - "version": "1.0.0", + "name": "archons-linux-arm-gnueabihf", + "version": "0.1.0", "os": [ "linux" ], "cpu": [ "arm" ], - "main": "clap-js.linux-arm-gnueabihf.node", + "main": "archons.linux-arm-gnueabihf.node", "files": [ - "clap-js.linux-arm-gnueabihf.node" + "archons.linux-arm-gnueabihf.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/npm/linux-arm64-gnu/README.md b/npm/linux-arm64-gnu/README.md index 67d6d75..797b744 100644 --- a/npm/linux-arm64-gnu/README.md +++ b/npm/linux-arm64-gnu/README.md @@ -1,3 +1,3 @@ -# `clap-js-linux-arm64-gnu` +# `archons-linux-arm64-gnu` -This is the **aarch64-unknown-linux-gnu** binary for `clap-js` +This is the **aarch64-unknown-linux-gnu** binary for `archons` diff --git a/npm/linux-arm64-gnu/package.json b/npm/linux-arm64-gnu/package.json index c69ab20..9647209 100644 --- a/npm/linux-arm64-gnu/package.json +++ b/npm/linux-arm64-gnu/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-linux-arm64-gnu", - "version": "1.0.0", + "name": "archons-linux-arm64-gnu", + "version": "0.1.0", "os": [ "linux" ], "cpu": [ "arm64" ], - "main": "clap-js.linux-arm64-gnu.node", + "main": "archons.linux-arm64-gnu.node", "files": [ - "clap-js.linux-arm64-gnu.node" + "archons.linux-arm64-gnu.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,7 +24,7 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js", + "repository": "https://github.com/noctisynth/clap-js.git", "libc": [ "glibc" ] diff --git a/npm/linux-arm64-musl/README.md b/npm/linux-arm64-musl/README.md index 1d282b4..5794955 100644 --- a/npm/linux-arm64-musl/README.md +++ b/npm/linux-arm64-musl/README.md @@ -1,3 +1,3 @@ -# `clap-js-linux-arm64-musl` +# `archons-linux-arm64-musl` -This is the **aarch64-unknown-linux-musl** binary for `clap-js` +This is the **aarch64-unknown-linux-musl** binary for `archons` diff --git a/npm/linux-arm64-musl/package.json b/npm/linux-arm64-musl/package.json index 5bc72e4..3c6309e 100644 --- a/npm/linux-arm64-musl/package.json +++ b/npm/linux-arm64-musl/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-linux-arm64-musl", - "version": "1.0.0", + "name": "archons-linux-arm64-musl", + "version": "0.1.0", "os": [ "linux" ], "cpu": [ "arm64" ], - "main": "clap-js.linux-arm64-musl.node", + "main": "archons.linux-arm64-musl.node", "files": [ - "clap-js.linux-arm64-musl.node" + "archons.linux-arm64-musl.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,7 +24,7 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js", + "repository": "https://github.com/noctisynth/clap-js.git", "libc": [ "musl" ] diff --git a/npm/linux-x64-gnu/README.md b/npm/linux-x64-gnu/README.md index 4a1708a..7b93958 100644 --- a/npm/linux-x64-gnu/README.md +++ b/npm/linux-x64-gnu/README.md @@ -1,3 +1,3 @@ -# `clap-js-linux-x64-gnu` +# `archons-linux-x64-gnu` -This is the **x86_64-unknown-linux-gnu** binary for `clap-js` +This is the **x86_64-unknown-linux-gnu** binary for `archons` diff --git a/npm/linux-x64-gnu/package.json b/npm/linux-x64-gnu/package.json index e4ba357..1b59eba 100644 --- a/npm/linux-x64-gnu/package.json +++ b/npm/linux-x64-gnu/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-linux-x64-gnu", - "version": "1.0.0", + "name": "archons-linux-x64-gnu", + "version": "0.1.0", "os": [ "linux" ], "cpu": [ "x64" ], - "main": "clap-js.linux-x64-gnu.node", + "main": "archons.linux-x64-gnu.node", "files": [ - "clap-js.linux-x64-gnu.node" + "archons.linux-x64-gnu.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,7 +24,7 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js", + "repository": "https://github.com/noctisynth/clap-js.git", "libc": [ "glibc" ] diff --git a/npm/linux-x64-musl/README.md b/npm/linux-x64-musl/README.md index 97e1ed2..c6c1485 100644 --- a/npm/linux-x64-musl/README.md +++ b/npm/linux-x64-musl/README.md @@ -1,3 +1,3 @@ -# `clap-js-linux-x64-musl` +# `archons-linux-x64-musl` -This is the **x86_64-unknown-linux-musl** binary for `clap-js` +This is the **x86_64-unknown-linux-musl** binary for `archons` diff --git a/npm/linux-x64-musl/package.json b/npm/linux-x64-musl/package.json index 3061501..ac2bce1 100644 --- a/npm/linux-x64-musl/package.json +++ b/npm/linux-x64-musl/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-linux-x64-musl", - "version": "1.0.0", + "name": "archons-linux-x64-musl", + "version": "0.1.0", "os": [ "linux" ], "cpu": [ "x64" ], - "main": "clap-js.linux-x64-musl.node", + "main": "archons.linux-x64-musl.node", "files": [ - "clap-js.linux-x64-musl.node" + "archons.linux-x64-musl.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,7 +24,7 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js", + "repository": "https://github.com/noctisynth/clap-js.git", "libc": [ "musl" ] diff --git a/npm/win32-arm64-msvc/README.md b/npm/win32-arm64-msvc/README.md index 97a0b5c..a78034c 100644 --- a/npm/win32-arm64-msvc/README.md +++ b/npm/win32-arm64-msvc/README.md @@ -1,3 +1,3 @@ -# `clap-js-win32-arm64-msvc` +# `archons-win32-arm64-msvc` -This is the **aarch64-pc-windows-msvc** binary for `clap-js` +This is the **aarch64-pc-windows-msvc** binary for `archons` diff --git a/npm/win32-arm64-msvc/package.json b/npm/win32-arm64-msvc/package.json index 9d0c636..3a67da2 100644 --- a/npm/win32-arm64-msvc/package.json +++ b/npm/win32-arm64-msvc/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-win32-arm64-msvc", - "version": "1.0.0", + "name": "archons-win32-arm64-msvc", + "version": "0.1.0", "os": [ "win32" ], "cpu": [ "arm64" ], - "main": "clap-js.win32-arm64-msvc.node", + "main": "archons.win32-arm64-msvc.node", "files": [ - "clap-js.win32-arm64-msvc.node" + "archons.win32-arm64-msvc.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/npm/win32-ia32-msvc/README.md b/npm/win32-ia32-msvc/README.md index 0408c1d..f6a9a73 100644 --- a/npm/win32-ia32-msvc/README.md +++ b/npm/win32-ia32-msvc/README.md @@ -1,3 +1,3 @@ -# `clap-js-win32-ia32-msvc` +# `archons-win32-ia32-msvc` -This is the **i686-pc-windows-msvc** binary for `clap-js` +This is the **i686-pc-windows-msvc** binary for `archons` diff --git a/npm/win32-ia32-msvc/package.json b/npm/win32-ia32-msvc/package.json index 9c84e4c..c4150dd 100644 --- a/npm/win32-ia32-msvc/package.json +++ b/npm/win32-ia32-msvc/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-win32-ia32-msvc", - "version": "1.0.0", + "name": "archons-win32-ia32-msvc", + "version": "0.1.0", "os": [ "win32" ], "cpu": [ "ia32" ], - "main": "clap-js.win32-ia32-msvc.node", + "main": "archons.win32-ia32-msvc.node", "files": [ - "clap-js.win32-ia32-msvc.node" + "archons.win32-ia32-msvc.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/npm/win32-x64-msvc/README.md b/npm/win32-x64-msvc/README.md index fec2f2e..5523509 100644 --- a/npm/win32-x64-msvc/README.md +++ b/npm/win32-x64-msvc/README.md @@ -1,3 +1,3 @@ -# `clap-js-win32-x64-msvc` +# `archons-win32-x64-msvc` -This is the **x86_64-pc-windows-msvc** binary for `clap-js` +This is the **x86_64-pc-windows-msvc** binary for `archons` diff --git a/npm/win32-x64-msvc/package.json b/npm/win32-x64-msvc/package.json index 5e47cea..61b11f1 100644 --- a/npm/win32-x64-msvc/package.json +++ b/npm/win32-x64-msvc/package.json @@ -1,15 +1,15 @@ { - "name": "clap-js-win32-x64-msvc", - "version": "1.0.0", + "name": "archons-win32-x64-msvc", + "version": "0.1.0", "os": [ "win32" ], "cpu": [ "x64" ], - "main": "clap-js.win32-x64-msvc.node", + "main": "archons.win32-x64-msvc.node", "files": [ - "clap-js.win32-x64-msvc.node" + "archons.win32-x64-msvc.node" ], "description": "Fast and elegant CLI build tool based on clap-rs", "keywords": [ @@ -24,5 +24,5 @@ "registry": "https://registry.npmjs.org/", "access": "public" }, - "repository": "https://github.com/noctisynth/clap-js" + "repository": "https://github.com/noctisynth/clap-js.git" } \ No newline at end of file diff --git a/package.json b/package.json index 93ea1fd..0b8e094 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "clap-js", + "name": "archons", "version": "0.1.0", "description": "Fast and elegant CLI build tool based on clap-rs", "main": "index.js", - "repository": "https://github.com/noctisynth/clap-js", + "repository": "https://github.com/noctisynth/clap-js.git", "license": "MIT", "keywords": [ "cli-tool", @@ -14,7 +14,7 @@ "index.js" ], "napi": { - "name": "clap-js", + "name": "archons", "triples": { "defaults": true, "additional": [ diff --git a/yarn.lock b/yarn.lock index 0de7ab7..077be72 100644 --- a/yarn.lock +++ b/yarn.lock @@ -854,6 +854,27 @@ __metadata: languageName: node linkType: hard +"archons@workspace:.": + version: 0.0.0-use.local + resolution: "archons@workspace:." + dependencies: + "@changesets/cli": "npm:^2.27.7" + "@napi-rs/cli": "npm:^2.18.4" + "@swc-node/register": "npm:^1.10.6" + "@swc/core": "npm:^1.6.13" + "@taplo/cli": "npm:^0.7.0" + ava: "npm:^6.1.3" + chalk: "npm:^5.3.0" + husky: "npm:^9.0.11" + lint-staged: "npm:^15.2.7" + npm-run-all2: "npm:^6.2.2" + oxlint: "npm:^0.6.0" + prettier: "npm:^3.3.3" + tinybench: "npm:^2.8.0" + typescript: "npm:^5.5.3" + languageName: unknown + linkType: soft + "are-we-there-yet@npm:^2.0.0": version: 2.0.0 resolution: "are-we-there-yet@npm:2.0.0" @@ -1106,27 +1127,6 @@ __metadata: languageName: node linkType: hard -"clap-js@workspace:.": - version: 0.0.0-use.local - resolution: "clap-js@workspace:." - dependencies: - "@changesets/cli": "npm:^2.27.7" - "@napi-rs/cli": "npm:^2.18.4" - "@swc-node/register": "npm:^1.10.6" - "@swc/core": "npm:^1.6.13" - "@taplo/cli": "npm:^0.7.0" - ava: "npm:^6.1.3" - chalk: "npm:^5.3.0" - husky: "npm:^9.0.11" - lint-staged: "npm:^15.2.7" - npm-run-all2: "npm:^6.2.2" - oxlint: "npm:^0.6.0" - prettier: "npm:^3.3.3" - tinybench: "npm:^2.8.0" - typescript: "npm:^5.5.3" - languageName: unknown - linkType: soft - "cli-cursor@npm:^4.0.0": version: 4.0.0 resolution: "cli-cursor@npm:4.0.0"