Save current BZZZ config-ui state before CHORUS branding update

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-08-19 00:19:00 +10:00
parent 6a6a49b7b1
commit c177363a19
16410 changed files with 1789161 additions and 230 deletions

20
install/config-ui/node_modules/is-bun-module/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2024 SunsetTechuila
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

79
install/config-ui/node_modules/is-bun-module/README.md generated vendored Normal file
View File

@@ -0,0 +1,79 @@
# is-bun-module
A utility library to check if a module is a Bun built-in module or a Node.js module implemented in Bun.
## API
### Module Checking Functions
#### `isBunModule(moduleName, bunVersion?)`
Checks if a specifier is a [Bun module](https://bun.sh/docs/runtime/bun-apis).
```typescript
import { isBunModule } from "is-bun-module";
isBunModule("bun"); // true
isBunModule("bun:test", "1.0.0"); // true
isBunModule("notBunModule"); // false
```
#### `isBunImplementedNodeModule(moduleName, bunVersion?)`
Checks if a specifier is a Node module [implemented in Bun](https://bun.sh/docs/runtime/nodejs-apis).
```typescript
import { isBunImplementedNodeModule } from "is-bun-module";
isBunImplementedNodeModule("fs"); // true
isBunImplementedNodeModule("node:fs"); // true
isBunImplementedNodeModule("node:notNodeModule"); // false
isBunImplementedNodeModule("node:http2", "1.0.0"); // false, added in 1.0.13
```
#### `isBunBuiltin(moduleName, bunVersion?)`
Checks if a specifier is either a Bun module or a Node.js module implemented in Bun.
```typescript
import { isBunBuiltin } from "is-bun-module";
isBunBuiltin("bun"); // true
isBunBuiltin("fs"); // true
isBunBuiltin("notBunModule"); // false
```
### Module Listing Functions
#### `getBunModules(bunVersion?)`
Returns an array of all Bun modules available in the specified version.
```typescript
import { getBunModules } from "is-bun-module";
getBunModules(); // ["bun", "bun:ffi", ...]
getBunModules("1.0.0"); // Returns modules available in version 1.0.0
```
#### `getBunImplementedNodeModules(bunVersion?)`
Returns an array of all Node.js modules implemented in Bun for the specified version.
```typescript
import { getBunImplementedNodeModules } from "is-bun-module";
getBunImplementedNodeModules(); // ["fs", "path", ...]
getBunImplementedNodeModules("1.0.0"); // Returns implemented Node.js modules in version 1.0.0
```
#### `getBunBuiltinModules(bunVersion?)`
Returns an array of all builtin modules (both Bun modules and implemented Node.js modules).
```typescript
import { getBunBuiltinModules } from "is-bun-module";
getBunBuiltinModules(); // ["bun", "bun:ffi", "fs", "path", ...]
```
## Notes
- **Only Bun v1.0.0+ is supported**
- You can also pass `latest` as Bun version
- Inspired by [is-core-module](https://github.com/inspect-js/is-core-module) and made for [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript)
- Runtime-independent

View File

@@ -0,0 +1,69 @@
{
"name": "is-bun-module",
"author": "SunsetTechuila <techuila.sunset@gmail.com>",
"description": "Is this specifier a Bun core module or supported Node one?",
"version": "2.0.0",
"license": "MIT",
"files": [
"dist/**/*"
],
"main": "./dist/generic.js",
"exports": {
".": {
"bun": "./dist/bun.mjs",
"types": "./dist/generic.d.ts",
"default": "./dist/generic.js"
},
"./package.json": "./package.json"
},
"homepage": "https://github.com/SunsetTechuila/is-bun-module",
"repository": {
"type": "git",
"url": "git+https://github.com/SunsetTechuila/is-bun-module.git"
},
"bugs": {
"url": "https://github.com/SunsetTechuila/is-bun-module/issues"
},
"keywords": [
"core",
"modules",
"module",
"node",
"dependencies",
"bun"
],
"scripts": {
"build": "bun tsup",
"check-all": "bun concurrently --kill-others=failure 'bun run test' 'bun lint' 'bun type-check' 'bun format:check'",
"precheck-all": "bun run build",
"test": "bun test",
"format": "bun format:base --write",
"format:check": "bun format:base --check",
"format:base": "bun prettier . --cache",
"lint": "bun eslint . --cache",
"type-check": "bun tsc",
"get-bun-blogs": "bun scripts/getBunBlogs.ts",
"publish": "bun semantic-release",
"prepare": "bun husky"
},
"dependencies": {
"semver": "^7.7.1"
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint/js": "^9.22.0",
"@semantic-release/exec": "^7.0.3",
"@types/bun": "^1.2.5",
"@types/semver": "^7.5.8",
"concurrently": "^9.1.2",
"eslint": "^9.22.0",
"eslint-config-prettier": "^10.1.1",
"husky": "^9.1.7",
"prettier": "^3.5.3",
"semantic-release": "^24.2.3",
"tsup": "^8.4.0",
"typescript": "~5.8.2",
"typescript-eslint": "^8.26.1"
}
}