Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: retry to rename project #29

Merged
merged 2 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ concurrency: 'release ${{ github.workflow }}-${{ github.ref }}'
permissions: write-all

jobs:
build-and-test:
name: Build and Test
uses: ./.github/workflows/test.yml
# build-and-test:
# name: Build and Test
# uses: ./.github/workflows/test.yml

release:
name: Release
needs: [build-and-test]
# needs: [build-and-test]
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand Down
36 changes: 18 additions & 18 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.android-arm64.node')
} else {
nativeBinding = require('archons-android-arm64')
nativeBinding = require('@noctisynth/archons-android-arm64')
}
} catch (e) {
loadError = e
Expand All @@ -49,7 +49,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.android-arm-eabi.node')
} else {
nativeBinding = require('archons-android-arm-eabi')
nativeBinding = require('@noctisynth/archons-android-arm-eabi')
}
} catch (e) {
loadError = e
Expand All @@ -69,7 +69,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.win32-x64-msvc.node')
} else {
nativeBinding = require('archons-win32-x64-msvc')
nativeBinding = require('@noctisynth/archons-win32-x64-msvc')
}
} catch (e) {
loadError = e
Expand All @@ -83,7 +83,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.win32-ia32-msvc.node')
} else {
nativeBinding = require('archons-win32-ia32-msvc')
nativeBinding = require('@noctisynth/archons-win32-ia32-msvc')
}
} catch (e) {
loadError = e
Expand All @@ -97,7 +97,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.win32-arm64-msvc.node')
} else {
nativeBinding = require('archons-win32-arm64-msvc')
nativeBinding = require('@noctisynth/archons-win32-arm64-msvc')
}
} catch (e) {
loadError = e
Expand All @@ -113,7 +113,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.darwin-universal.node')
} else {
nativeBinding = require('archons-darwin-universal')
nativeBinding = require('@noctisynth/archons-darwin-universal')
}
break
} catch {}
Expand All @@ -124,7 +124,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.darwin-x64.node')
} else {
nativeBinding = require('archons-darwin-x64')
nativeBinding = require('@noctisynth/archons-darwin-x64')
}
} catch (e) {
loadError = e
Expand All @@ -138,7 +138,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.darwin-arm64.node')
} else {
nativeBinding = require('archons-darwin-arm64')
nativeBinding = require('@noctisynth/archons-darwin-arm64')
}
} catch (e) {
loadError = e
Expand All @@ -157,7 +157,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.freebsd-x64.node')
} else {
nativeBinding = require('archons-freebsd-x64')
nativeBinding = require('@noctisynth/archons-freebsd-x64')
}
} catch (e) {
loadError = e
Expand All @@ -174,7 +174,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-x64-musl.node')
} else {
nativeBinding = require('archons-linux-x64-musl')
nativeBinding = require('@noctisynth/archons-linux-x64-musl')
}
} catch (e) {
loadError = e
Expand All @@ -187,7 +187,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-x64-gnu.node')
} else {
nativeBinding = require('archons-linux-x64-gnu')
nativeBinding = require('@noctisynth/archons-linux-x64-gnu')
}
} catch (e) {
loadError = e
Expand All @@ -203,7 +203,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-arm64-musl.node')
} else {
nativeBinding = require('archons-linux-arm64-musl')
nativeBinding = require('@noctisynth/archons-linux-arm64-musl')
}
} catch (e) {
loadError = e
Expand All @@ -216,7 +216,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-arm64-gnu.node')
} else {
nativeBinding = require('archons-linux-arm64-gnu')
nativeBinding = require('@noctisynth/archons-linux-arm64-gnu')
}
} catch (e) {
loadError = e
Expand All @@ -232,7 +232,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-arm-musleabihf.node')
} else {
nativeBinding = require('archons-linux-arm-musleabihf')
nativeBinding = require('@noctisynth/archons-linux-arm-musleabihf')
}
} catch (e) {
loadError = e
Expand All @@ -245,7 +245,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-arm-gnueabihf.node')
} else {
nativeBinding = require('archons-linux-arm-gnueabihf')
nativeBinding = require('@noctisynth/archons-linux-arm-gnueabihf')
}
} catch (e) {
loadError = e
Expand All @@ -261,7 +261,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-riscv64-musl.node')
} else {
nativeBinding = require('archons-linux-riscv64-musl')
nativeBinding = require('@noctisynth/archons-linux-riscv64-musl')
}
} catch (e) {
loadError = e
Expand All @@ -274,7 +274,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-riscv64-gnu.node')
} else {
nativeBinding = require('archons-linux-riscv64-gnu')
nativeBinding = require('@noctisynth/archons-linux-riscv64-gnu')
}
} catch (e) {
loadError = e
Expand All @@ -289,7 +289,7 @@ switch (platform) {
if (localFileExisted) {
nativeBinding = require('./archons.linux-s390x-gnu.node')
} else {
nativeBinding = require('archons-linux-s390x-gnu')
nativeBinding = require('@noctisynth/archons-linux-s390x-gnu')
}
} catch (e) {
loadError = e
Expand Down
4 changes: 2 additions & 2 deletions npm/android-arm-eabi/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-android-arm-eabi`
# `@noctisynth/archons-android-arm-eabi`

This is the **armv7-linux-androideabi** binary for `archons`
This is the **armv7-linux-androideabi** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/android-arm-eabi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-android-arm-eabi",
"version": "0.1.0",
"name": "@noctisynth/archons-android-arm-eabi",
"version": "0.1.1",
"os": [
"android"
],
Expand All @@ -24,5 +24,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git"
"repository": "https://github.com/noctisynth/archons.git"
}
4 changes: 2 additions & 2 deletions npm/android-arm64/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-android-arm64`
# `@noctisynth/archons-android-arm64`

This is the **aarch64-linux-android** binary for `archons`
This is the **aarch64-linux-android** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/android-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-android-arm64",
"version": "0.1.0",
"name": "@noctisynth/archons-android-arm64",
"version": "0.1.1",
"os": [
"android"
],
Expand All @@ -24,5 +24,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git"
"repository": "https://github.com/noctisynth/archons.git"
}
4 changes: 2 additions & 2 deletions npm/darwin-arm64/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-darwin-arm64`
# `@noctisynth/archons-darwin-arm64`

This is the **aarch64-apple-darwin** binary for `archons`
This is the **aarch64-apple-darwin** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-darwin-arm64",
"version": "0.1.0",
"name": "@noctisynth/archons-darwin-arm64",
"version": "0.1.1",
"os": [
"darwin"
],
Expand All @@ -24,5 +24,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git"
"repository": "https://github.com/noctisynth/archons.git"
}
4 changes: 2 additions & 2 deletions npm/darwin-x64/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-darwin-x64`
# `@noctisynth/archons-darwin-x64`

This is the **x86_64-apple-darwin** binary for `archons`
This is the **x86_64-apple-darwin** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-darwin-x64",
"version": "0.1.0",
"name": "@noctisynth/archons-darwin-x64",
"version": "0.1.1",
"os": [
"darwin"
],
Expand All @@ -24,5 +24,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git"
"repository": "https://github.com/noctisynth/archons.git"
}
4 changes: 2 additions & 2 deletions npm/freebsd-x64/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-freebsd-x64`
# `@noctisynth/archons-freebsd-x64`

This is the **x86_64-unknown-freebsd** binary for `archons`
This is the **x86_64-unknown-freebsd** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/freebsd-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-freebsd-x64",
"version": "0.1.0",
"name": "@noctisynth/archons-freebsd-x64",
"version": "0.1.1",
"os": [
"freebsd"
],
Expand All @@ -24,5 +24,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git"
"repository": "https://github.com/noctisynth/archons.git"
}
4 changes: 2 additions & 2 deletions npm/linux-arm-gnueabihf/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-linux-arm-gnueabihf`
# `@noctisynth/archons-linux-arm-gnueabihf`

This is the **armv7-unknown-linux-gnueabihf** binary for `archons`
This is the **armv7-unknown-linux-gnueabihf** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/linux-arm-gnueabihf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-linux-arm-gnueabihf",
"version": "0.1.0",
"name": "@noctisynth/archons-linux-arm-gnueabihf",
"version": "0.1.1",
"os": [
"linux"
],
Expand All @@ -24,5 +24,5 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git"
"repository": "https://github.com/noctisynth/archons.git"
}
4 changes: 2 additions & 2 deletions npm/linux-arm64-gnu/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-linux-arm64-gnu`
# `@noctisynth/archons-linux-arm64-gnu`

This is the **aarch64-unknown-linux-gnu** binary for `archons`
This is the **aarch64-unknown-linux-gnu** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-linux-arm64-gnu",
"version": "0.1.0",
"name": "@noctisynth/archons-linux-arm64-gnu",
"version": "0.1.1",
"os": [
"linux"
],
Expand All @@ -24,7 +24,7 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git",
"repository": "https://github.com/noctisynth/archons.git",
"libc": [
"glibc"
]
Expand Down
4 changes: 2 additions & 2 deletions npm/linux-arm64-musl/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-linux-arm64-musl`
# `@noctisynth/archons-linux-arm64-musl`

This is the **aarch64-unknown-linux-musl** binary for `archons`
This is the **aarch64-unknown-linux-musl** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-linux-arm64-musl",
"version": "0.1.0",
"name": "@noctisynth/archons-linux-arm64-musl",
"version": "0.1.1",
"os": [
"linux"
],
Expand All @@ -24,7 +24,7 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git",
"repository": "https://github.com/noctisynth/archons.git",
"libc": [
"musl"
]
Expand Down
4 changes: 2 additions & 2 deletions npm/linux-x64-gnu/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `archons-linux-x64-gnu`
# `@noctisynth/archons-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `archons`
This is the **x86_64-unknown-linux-gnu** binary for `@noctisynth/archons`
6 changes: 3 additions & 3 deletions npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "archons-linux-x64-gnu",
"version": "0.1.0",
"name": "@noctisynth/archons-linux-x64-gnu",
"version": "0.1.1",
"os": [
"linux"
],
Expand All @@ -24,7 +24,7 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "https://github.com/noctisynth/clap-js.git",
"repository": "https://github.com/noctisynth/archons.git",
"libc": [
"glibc"
]
Expand Down
Loading
Loading