From 7c0f73f1d3f959a63104eb0614bad166a95914f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Sch=C3=BCrmann?= Date: Thu, 2 Jan 2025 22:24:36 +0100 Subject: [PATCH] chore(root): renamed the project to banira * lots of other vanillin named npm * banira is jap. for vanilla --- Makefile | 2 +- README.md | 26 +- package-lock.json | 553 ++++++++++++++++-- package.json | 2 +- .../{vanillin-cli => banira-cli}/package.json | 12 +- .../{vanillin-cli => banira-cli}/src/index.ts | 8 +- .../test/cli.test.ts | 6 +- .../test/fixtures/other-module.ts | 0 .../test/fixtures/test.js | 0 .../test/fixtures/test.ts | 0 .../test/fixtures/tsconfig.json | 0 .../tsconfig.json | 2 +- packages/{vanillin => banira}/README.md | 10 +- packages/{vanillin => banira}/package.json | 2 +- packages/{vanillin => banira}/src/compiler.ts | 0 packages/{vanillin => banira}/src/doc-gen.ts | 0 .../src/formatter/default.ts | 0 .../src/formatter/doc-page.ts | 0 packages/{vanillin => banira}/src/index.ts | 0 .../src/result-analyzer.ts | 0 .../{vanillin => banira}/src/test-helper.ts | 0 .../{vanillin => banira}/src/transformer.ts | 0 .../{vanillin => banira}/src/virtual-fs.ts | 0 .../test/compiler.outdir.test.ts | 0 .../test/compiler.test.ts | 0 .../test/compiler.withvirtualfs.test.ts | 0 .../{vanillin => banira}/test/doc-gen.test.ts | 0 .../test/doc.gen.formatter-page.test.ts | 0 .../test/fixtures/button.ts | 0 .../test/fixtures/my-circle.js | 0 .../test/fixtures/my-circle.ts | 0 .../test/fixtures/other-module.ts | 0 .../test/fixtures/simple.js | 0 .../test/fixtures/simple.ts | 0 .../test/fixtures/transformer-test.ts | 0 .../test/result-analyzer.test.ts | 0 .../test-helper.mount-and-compile.test.ts | 0 .../test/test-helper.mount-as-script.test.ts | 0 .../test/transformer.test.ts | 0 .../test/virtual-fs.test.ts | 0 packages/{vanillin => banira}/tsconfig.json | 0 packages/{vanillin => banira}/typedoc.json | 0 packages/component-my-circle/package.json | 8 +- .../test/component.test.ts | 2 +- packages/component-webaudio/README.md | 6 +- packages/component-webaudio/package.json | 8 +- .../test/wa-knob-defaults.test.ts | 2 +- .../test/wa-knob-min-max.test.ts | 2 +- .../test/wa-knob.attr.test.ts | 2 +- 49 files changed, 550 insertions(+), 103 deletions(-) rename packages/{vanillin-cli => banira-cli}/package.json (51%) rename packages/{vanillin-cli => banira-cli}/src/index.ts (93%) rename packages/{vanillin-cli => banira-cli}/test/cli.test.ts (90%) rename packages/{vanillin-cli => banira-cli}/test/fixtures/other-module.ts (100%) rename packages/{vanillin-cli => banira-cli}/test/fixtures/test.js (100%) rename packages/{vanillin-cli => banira-cli}/test/fixtures/test.ts (100%) rename packages/{vanillin-cli => banira-cli}/test/fixtures/tsconfig.json (100%) rename packages/{vanillin-cli => banira-cli}/tsconfig.json (86%) rename packages/{vanillin => banira}/README.md (82%) rename packages/{vanillin => banira}/package.json (96%) rename packages/{vanillin => banira}/src/compiler.ts (100%) rename packages/{vanillin => banira}/src/doc-gen.ts (100%) rename packages/{vanillin => banira}/src/formatter/default.ts (100%) rename packages/{vanillin => banira}/src/formatter/doc-page.ts (100%) rename packages/{vanillin => banira}/src/index.ts (100%) rename packages/{vanillin => banira}/src/result-analyzer.ts (100%) rename packages/{vanillin => banira}/src/test-helper.ts (100%) rename packages/{vanillin => banira}/src/transformer.ts (100%) rename packages/{vanillin => banira}/src/virtual-fs.ts (100%) rename packages/{vanillin => banira}/test/compiler.outdir.test.ts (100%) rename packages/{vanillin => banira}/test/compiler.test.ts (100%) rename packages/{vanillin => banira}/test/compiler.withvirtualfs.test.ts (100%) rename packages/{vanillin => banira}/test/doc-gen.test.ts (100%) rename packages/{vanillin => banira}/test/doc.gen.formatter-page.test.ts (100%) rename packages/{vanillin => banira}/test/fixtures/button.ts (100%) rename packages/{vanillin => banira}/test/fixtures/my-circle.js (100%) rename packages/{vanillin => banira}/test/fixtures/my-circle.ts (100%) rename packages/{vanillin => banira}/test/fixtures/other-module.ts (100%) rename packages/{vanillin => banira}/test/fixtures/simple.js (100%) rename packages/{vanillin => banira}/test/fixtures/simple.ts (100%) rename packages/{vanillin => banira}/test/fixtures/transformer-test.ts (100%) rename packages/{vanillin => banira}/test/result-analyzer.test.ts (100%) rename packages/{vanillin => banira}/test/test-helper.mount-and-compile.test.ts (100%) rename packages/{vanillin => banira}/test/test-helper.mount-as-script.test.ts (100%) rename packages/{vanillin => banira}/test/transformer.test.ts (100%) rename packages/{vanillin => banira}/test/virtual-fs.test.ts (100%) rename packages/{vanillin => banira}/tsconfig.json (100%) rename packages/{vanillin => banira}/typedoc.json (100%) diff --git a/Makefile b/Makefile index cf1d933..4790fa1 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ test: npm test -ws docs: - npx typedoc --options ./packages/vanillin/typedoc.json --tsconfig ./packages/vanillin/tsconfig.json + npx typedoc --options ./packages/banira/typedoc.json --tsconfig ./packages/banira/tsconfig.json lint: npx eslint "packages/**/*.ts" diff --git a/README.md b/README.md index a4b083c..df6afeb 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Vanillin.js +# banira.js !!! WARNING: This is a work in progress. Please use at your own risk. -Vanillin.js is an open-source toolchain designed for the development of web components using vanilla JavaScript. It simplifies the process by eliminating the need for bundlers and frameworks, focusing instead on modern CSS and web standards. +banira.js is an open-source toolchain designed for the development of web components using vanilla JavaScript. It simplifies the process by eliminating the need for bundlers and frameworks, focusing instead on modern CSS and web standards. ## Features @@ -17,9 +17,9 @@ Vanillin.js is an open-source toolchain designed for the development of web comp ```bash # Install the CLI globally -npm install -g @vanillin/cli +npm install -g @banira/cli -vanillin build +banira build ``` ## Component Development @@ -49,10 +49,10 @@ customElements.define('my-circle', MyCircle); ## Testing -Vanillin provides powerful testing utilities: +banira provides powerful testing utilities: ```typescript -import { TestHelper } from 'vanillin'; +import { TestHelper } from 'banira'; describe('MyComponent', () => { let context; @@ -74,19 +74,19 @@ describe('MyComponent', () => { ### Component Commands ```bash # Create a new component -vanillin create +banira create # Build components -vanillin build [options] +banira build [options] # Start development server -vanillin serve [options] +banira serve [options] ``` ### Compiler Options ```bash # Compile TypeScript files -vanillin compile [options] +banira compile [options] Options: -p, --project Path to tsconfig.json @@ -101,7 +101,7 @@ Options: ```bash # Clone the repository -git clone https://github.com/yourusername/Vanillin.js.git +git clone https://github.com/yourusername/banira.js.git # Install dependencies make bootstrap @@ -115,8 +115,8 @@ make clean ### Project Structure -- `packages/vanillin`: Core library with compiler and testing utilities -- `packages/vanillin-cli`: Command-line interface +- `packages/banira`: Core library with compiler and testing utilities +- `packages/banira-cli`: Command-line interface - `packages/component-my-circle`: Example component implementation ### Development Workflow diff --git a/package-lock.json b/package-lock.json index 832cc24..b913ec9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,10 +1,10 @@ { - "name": "vanillin-monorepo", + "name": "banira-monorepo", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "vanillin-monorepo", + "name": "banira-monorepo", "license": "MIT", "workspaces": [ "packages/*" @@ -18,6 +18,14 @@ "tsx": "4.19.2" } }, + "node_modules/@banira/component-my-circle": { + "resolved": "packages/component-my-circle", + "link": true + }, + "node_modules/@banira/component-webaudio": { + "resolved": "packages/component-webaudio", + "link": true + }, "node_modules/@esbuild/aix-ppc64": { "version": "0.23.1", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", @@ -632,6 +640,11 @@ "tslib": "2" } }, + "node_modules/@microsoft/tsdoc": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.15.1.tgz", + "integrity": "sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==" + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -691,12 +704,12 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.10.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.5.tgz", - "integrity": "sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==", + "version": "22.10.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", + "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", "dev": true, "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.20.0" } }, "node_modules/@types/tough-cookie": { @@ -901,10 +914,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@vanillin/component-my-circle": { - "resolved": "packages/component-my-circle", - "link": true - }, "node_modules/acorn": { "version": "8.14.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", @@ -982,6 +991,14 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/banira": { + "resolved": "packages/banira", + "link": true + }, + "node_modules/banira-cli": { + "resolved": "packages/banira-cli", + "link": true + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -2296,9 +2313,9 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", "dev": true }, "node_modules/uri-js": { @@ -2310,14 +2327,6 @@ "punycode": "^2.1.0" } }, - "node_modules/vanillin": { - "resolved": "packages/vanillin", - "link": true - }, - "node_modules/vanillin-cli": { - "resolved": "packages/vanillin-cli", - "link": true - }, "node_modules/w3c-xmlserializer": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", @@ -2437,21 +2446,488 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "packages/banira": { + "version": "0.1.0", + "license": "MIT", + "dependencies": { + "@microsoft/tsdoc": "0.15.1", + "jsdom": "25.0.1", + "memfs": "4.15.1", + "typescript": "5.7.2" + }, + "devDependencies": { + "@types/jsdom": "21.1.7", + "@types/node": "22.10.2" + } + }, + "packages/banira-cli": { + "version": "0.1.0", + "dependencies": { + "banira": "file:../banira", + "commander": "12.1.0" + }, + "bin": { + "banira": "dist/packages/banira-cli/src/index.js" + }, + "devDependencies": { + "@types/node": "22.10.2", + "typescript": "5.7.2" + } + }, "packages/component-my-circle": { - "name": "@vanillin/component-my-circle", + "name": "@banira/component-my-circle", "version": "0.1.0", "license": "MIT", "dependencies": { - "vanillin": "file:../vanillin" + "banira": "file:../banira" }, "devDependencies": { "typescript": "5.7.2" } }, + "packages/component-webaudio": { + "name": "@banira/component-webaudio", + "version": "0.1.0", + "license": "MIT", + "dependencies": { + "banira": "file:../banira" + }, + "devDependencies": { + "tsx": "4.7.0", + "typescript": "5.7.2" + } + }, + "packages/component-webaudio/node_modules/@esbuild/aix-ppc64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", + "integrity": "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/android-arm": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.12.tgz", + "integrity": "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/android-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz", + "integrity": "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/android-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.12.tgz", + "integrity": "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/darwin-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz", + "integrity": "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/darwin-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", + "integrity": "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/freebsd-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz", + "integrity": "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/freebsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz", + "integrity": "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-arm": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz", + "integrity": "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz", + "integrity": "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-ia32": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz", + "integrity": "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-loong64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz", + "integrity": "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-mips64el": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz", + "integrity": "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-ppc64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz", + "integrity": "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-riscv64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz", + "integrity": "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-s390x": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz", + "integrity": "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/linux-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", + "integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/netbsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz", + "integrity": "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/openbsd-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz", + "integrity": "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/sunos-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz", + "integrity": "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/win32-arm64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz", + "integrity": "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/win32-ia32": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz", + "integrity": "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/@esbuild/win32-x64": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz", + "integrity": "sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "packages/component-webaudio/node_modules/esbuild": { + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", + "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.12", + "@esbuild/android-arm": "0.19.12", + "@esbuild/android-arm64": "0.19.12", + "@esbuild/android-x64": "0.19.12", + "@esbuild/darwin-arm64": "0.19.12", + "@esbuild/darwin-x64": "0.19.12", + "@esbuild/freebsd-arm64": "0.19.12", + "@esbuild/freebsd-x64": "0.19.12", + "@esbuild/linux-arm": "0.19.12", + "@esbuild/linux-arm64": "0.19.12", + "@esbuild/linux-ia32": "0.19.12", + "@esbuild/linux-loong64": "0.19.12", + "@esbuild/linux-mips64el": "0.19.12", + "@esbuild/linux-ppc64": "0.19.12", + "@esbuild/linux-riscv64": "0.19.12", + "@esbuild/linux-s390x": "0.19.12", + "@esbuild/linux-x64": "0.19.12", + "@esbuild/netbsd-x64": "0.19.12", + "@esbuild/openbsd-x64": "0.19.12", + "@esbuild/sunos-x64": "0.19.12", + "@esbuild/win32-arm64": "0.19.12", + "@esbuild/win32-ia32": "0.19.12", + "@esbuild/win32-x64": "0.19.12" + } + }, + "packages/component-webaudio/node_modules/tsx": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.7.0.tgz", + "integrity": "sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg==", + "dev": true, + "dependencies": { + "esbuild": "~0.19.10", + "get-tsconfig": "^4.7.2" + }, + "bin": { + "tsx": "dist/cli.mjs" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + } + }, "packages/vanillin": { "version": "0.1.0", + "extraneous": true, "license": "MIT", "dependencies": { + "@microsoft/tsdoc": "0.15.1", "jsdom": "25.0.1", "memfs": "4.15.1", "typescript": "5.7.2" @@ -2463,6 +2939,7 @@ }, "packages/vanillin-cli": { "version": "0.1.0", + "extraneous": true, "dependencies": { "commander": "12.1.0", "vanillin": "file:../vanillin" @@ -2474,36 +2951,6 @@ "@types/node": "22.10.2", "typescript": "5.7.2" } - }, - "packages/vanillin-cli/node_modules/@types/node": { - "version": "22.10.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", - "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", - "dev": true, - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "packages/vanillin-cli/node_modules/undici-types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", - "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", - "dev": true - }, - "packages/vanillin/node_modules/@types/node": { - "version": "22.10.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", - "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", - "dev": true, - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "packages/vanillin/node_modules/undici-types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", - "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", - "dev": true } } } diff --git a/package.json b/package.json index 14f18d6..6446239 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "vanillin-monorepo", + "name": "banira-monorepo", "private": true, "license": "MIT", "workspaces": [ diff --git a/packages/vanillin-cli/package.json b/packages/banira-cli/package.json similarity index 51% rename from packages/vanillin-cli/package.json rename to packages/banira-cli/package.json index bcc6c26..71dba7d 100644 --- a/packages/vanillin-cli/package.json +++ b/packages/banira-cli/package.json @@ -1,20 +1,20 @@ { - "name": "vanillin-cli", + "name": "banira-cli", "version": "0.1.0", - "description": "CLI tool for Vanillin.js", - "main": "dist/packages/vanillin-cli/src/index.js", + "description": "CLI tool for banira.js", + "main": "dist/packages/banira-cli/src/index.js", "type": "module", "bin": { - "vanillin": "./dist/packages/vanillin-cli/src/index.js" + "banira": "./dist/packages/banira-cli/src/index.js" }, "scripts": { "build": "tsc", "test": "node --import tsx --test ./test/*test.ts", - "start": "node ./dist/packages/vanillin-cli/src/index.js" + "start": "node ./dist/packages/banira-cli/src/index.js" }, "dependencies": { "commander": "12.1.0", - "vanillin": "file:../vanillin" + "banira": "file:../banira" }, "devDependencies": { "typescript": "5.7.2", diff --git a/packages/vanillin-cli/src/index.ts b/packages/banira-cli/src/index.ts similarity index 93% rename from packages/vanillin-cli/src/index.ts rename to packages/banira-cli/src/index.ts index f348da9..1f0e85b 100644 --- a/packages/vanillin-cli/src/index.ts +++ b/packages/banira-cli/src/index.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node import { Command } from 'commander'; -import { Compiler, ResultAnalyzer } from 'vanillin'; +import { Compiler, ResultAnalyzer } from 'banira'; import * as ts from 'typescript'; import { readFileSync, existsSync } from 'fs'; import { resolve, dirname } from 'path'; @@ -9,13 +9,13 @@ import { resolve, dirname } from 'path'; const program = new Command(); program - .name('vanillin') - .description('CLI tool for Vanillin.js') + .name('banira') + .description('CLI tool for banira.js') .version('0.1.0'); program .command('compile') - .description('Compile TypeScript files using Vanillin') + .description('Compile TypeScript files using banira') .argument('', 'TypeScript files to compile') .option('-p, --project ', 'Path to tsconfig.json') .option('-o, --outDir ', 'Output directory') diff --git a/packages/vanillin-cli/test/cli.test.ts b/packages/banira-cli/test/cli.test.ts similarity index 90% rename from packages/vanillin-cli/test/cli.test.ts rename to packages/banira-cli/test/cli.test.ts index 3b1b5b0..ee8f5ee 100644 --- a/packages/vanillin-cli/test/cli.test.ts +++ b/packages/banira-cli/test/cli.test.ts @@ -7,12 +7,12 @@ import assert from "node:assert"; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); -const cliPath = resolve(__dirname, "../dist/packages/vanillin-cli/src/index.js"); +const cliPath = resolve(__dirname, "../dist/packages/banira-cli/src/index.js"); -describe("vanillin CLI", () => { +describe("banira CLI", () => { it("should show help message", async () => { const result = await runCommand(['--help']); - assert.match(result.stdout, /Usage: vanillin/); + assert.match(result.stdout, /Usage: banira/); }); it("should compile TypeScript file", async () => { diff --git a/packages/vanillin-cli/test/fixtures/other-module.ts b/packages/banira-cli/test/fixtures/other-module.ts similarity index 100% rename from packages/vanillin-cli/test/fixtures/other-module.ts rename to packages/banira-cli/test/fixtures/other-module.ts diff --git a/packages/vanillin-cli/test/fixtures/test.js b/packages/banira-cli/test/fixtures/test.js similarity index 100% rename from packages/vanillin-cli/test/fixtures/test.js rename to packages/banira-cli/test/fixtures/test.js diff --git a/packages/vanillin-cli/test/fixtures/test.ts b/packages/banira-cli/test/fixtures/test.ts similarity index 100% rename from packages/vanillin-cli/test/fixtures/test.ts rename to packages/banira-cli/test/fixtures/test.ts diff --git a/packages/vanillin-cli/test/fixtures/tsconfig.json b/packages/banira-cli/test/fixtures/tsconfig.json similarity index 100% rename from packages/vanillin-cli/test/fixtures/tsconfig.json rename to packages/banira-cli/test/fixtures/tsconfig.json diff --git a/packages/vanillin-cli/tsconfig.json b/packages/banira-cli/tsconfig.json similarity index 86% rename from packages/vanillin-cli/tsconfig.json rename to packages/banira-cli/tsconfig.json index e9bfab2..0574d6b 100644 --- a/packages/vanillin-cli/tsconfig.json +++ b/packages/banira-cli/tsconfig.json @@ -10,6 +10,6 @@ "forceConsistentCasingInFileNames": true, "moduleResolution": "node" }, - "include": ["src/**/*", "../vanillin/src/**/*"], + "include": ["src/**/*", "../banira/src/**/*"], "exclude": ["node_modules", "dist"] } diff --git a/packages/vanillin/README.md b/packages/banira/README.md similarity index 82% rename from packages/vanillin/README.md rename to packages/banira/README.md index 8226aed..0a32e67 100644 --- a/packages/vanillin/README.md +++ b/packages/banira/README.md @@ -1,6 +1,6 @@ -# vanillin +# banira -The core library of the Vanillin.js toolchain, providing essential utilities and runtime support for developing web components using vanilla JavaScript. +The core library of the banira.js toolchain, providing essential utilities and runtime support for developing web components using vanilla JavaScript. ## Classes @@ -37,7 +37,7 @@ A TypeScript compiler host implementation using a virtual filesystem: ### Testing Components ```typescript -import { TestHelper } from 'vanillin'; +import { TestHelper } from 'banira'; const helper = new TestHelper(); const context = await helper.mountAsScript('my-component', componentCode); @@ -49,7 +49,7 @@ const component = context.querySelector('my-component'); ### Virtual Filesystem ```typescript -import { createVirtualFs } from 'vanillin'; +import { createVirtualFs } from 'banira'; const fs = createVirtualFs({ '/src/component.ts': ` @@ -72,7 +72,7 @@ For detailed API documentation, please refer to the generated API documentation ## Contributing -This package is part of the Vanillin.js monorepo. Please refer to the main project's README for contribution guidelines. +This package is part of the banira.js monorepo. Please refer to the main project's README for contribution guidelines. ## License diff --git a/packages/vanillin/package.json b/packages/banira/package.json similarity index 96% rename from packages/vanillin/package.json rename to packages/banira/package.json index 0485baa..3b8b4bb 100644 --- a/packages/vanillin/package.json +++ b/packages/banira/package.json @@ -1,5 +1,5 @@ { - "name": "vanillin", + "name": "banira", "version": "0.1.0", "description": "A toolchain for developing web components using vanilla JavaScript", "main": "dist/index.js", diff --git a/packages/vanillin/src/compiler.ts b/packages/banira/src/compiler.ts similarity index 100% rename from packages/vanillin/src/compiler.ts rename to packages/banira/src/compiler.ts diff --git a/packages/vanillin/src/doc-gen.ts b/packages/banira/src/doc-gen.ts similarity index 100% rename from packages/vanillin/src/doc-gen.ts rename to packages/banira/src/doc-gen.ts diff --git a/packages/vanillin/src/formatter/default.ts b/packages/banira/src/formatter/default.ts similarity index 100% rename from packages/vanillin/src/formatter/default.ts rename to packages/banira/src/formatter/default.ts diff --git a/packages/vanillin/src/formatter/doc-page.ts b/packages/banira/src/formatter/doc-page.ts similarity index 100% rename from packages/vanillin/src/formatter/doc-page.ts rename to packages/banira/src/formatter/doc-page.ts diff --git a/packages/vanillin/src/index.ts b/packages/banira/src/index.ts similarity index 100% rename from packages/vanillin/src/index.ts rename to packages/banira/src/index.ts diff --git a/packages/vanillin/src/result-analyzer.ts b/packages/banira/src/result-analyzer.ts similarity index 100% rename from packages/vanillin/src/result-analyzer.ts rename to packages/banira/src/result-analyzer.ts diff --git a/packages/vanillin/src/test-helper.ts b/packages/banira/src/test-helper.ts similarity index 100% rename from packages/vanillin/src/test-helper.ts rename to packages/banira/src/test-helper.ts diff --git a/packages/vanillin/src/transformer.ts b/packages/banira/src/transformer.ts similarity index 100% rename from packages/vanillin/src/transformer.ts rename to packages/banira/src/transformer.ts diff --git a/packages/vanillin/src/virtual-fs.ts b/packages/banira/src/virtual-fs.ts similarity index 100% rename from packages/vanillin/src/virtual-fs.ts rename to packages/banira/src/virtual-fs.ts diff --git a/packages/vanillin/test/compiler.outdir.test.ts b/packages/banira/test/compiler.outdir.test.ts similarity index 100% rename from packages/vanillin/test/compiler.outdir.test.ts rename to packages/banira/test/compiler.outdir.test.ts diff --git a/packages/vanillin/test/compiler.test.ts b/packages/banira/test/compiler.test.ts similarity index 100% rename from packages/vanillin/test/compiler.test.ts rename to packages/banira/test/compiler.test.ts diff --git a/packages/vanillin/test/compiler.withvirtualfs.test.ts b/packages/banira/test/compiler.withvirtualfs.test.ts similarity index 100% rename from packages/vanillin/test/compiler.withvirtualfs.test.ts rename to packages/banira/test/compiler.withvirtualfs.test.ts diff --git a/packages/vanillin/test/doc-gen.test.ts b/packages/banira/test/doc-gen.test.ts similarity index 100% rename from packages/vanillin/test/doc-gen.test.ts rename to packages/banira/test/doc-gen.test.ts diff --git a/packages/vanillin/test/doc.gen.formatter-page.test.ts b/packages/banira/test/doc.gen.formatter-page.test.ts similarity index 100% rename from packages/vanillin/test/doc.gen.formatter-page.test.ts rename to packages/banira/test/doc.gen.formatter-page.test.ts diff --git a/packages/vanillin/test/fixtures/button.ts b/packages/banira/test/fixtures/button.ts similarity index 100% rename from packages/vanillin/test/fixtures/button.ts rename to packages/banira/test/fixtures/button.ts diff --git a/packages/vanillin/test/fixtures/my-circle.js b/packages/banira/test/fixtures/my-circle.js similarity index 100% rename from packages/vanillin/test/fixtures/my-circle.js rename to packages/banira/test/fixtures/my-circle.js diff --git a/packages/vanillin/test/fixtures/my-circle.ts b/packages/banira/test/fixtures/my-circle.ts similarity index 100% rename from packages/vanillin/test/fixtures/my-circle.ts rename to packages/banira/test/fixtures/my-circle.ts diff --git a/packages/vanillin/test/fixtures/other-module.ts b/packages/banira/test/fixtures/other-module.ts similarity index 100% rename from packages/vanillin/test/fixtures/other-module.ts rename to packages/banira/test/fixtures/other-module.ts diff --git a/packages/vanillin/test/fixtures/simple.js b/packages/banira/test/fixtures/simple.js similarity index 100% rename from packages/vanillin/test/fixtures/simple.js rename to packages/banira/test/fixtures/simple.js diff --git a/packages/vanillin/test/fixtures/simple.ts b/packages/banira/test/fixtures/simple.ts similarity index 100% rename from packages/vanillin/test/fixtures/simple.ts rename to packages/banira/test/fixtures/simple.ts diff --git a/packages/vanillin/test/fixtures/transformer-test.ts b/packages/banira/test/fixtures/transformer-test.ts similarity index 100% rename from packages/vanillin/test/fixtures/transformer-test.ts rename to packages/banira/test/fixtures/transformer-test.ts diff --git a/packages/vanillin/test/result-analyzer.test.ts b/packages/banira/test/result-analyzer.test.ts similarity index 100% rename from packages/vanillin/test/result-analyzer.test.ts rename to packages/banira/test/result-analyzer.test.ts diff --git a/packages/vanillin/test/test-helper.mount-and-compile.test.ts b/packages/banira/test/test-helper.mount-and-compile.test.ts similarity index 100% rename from packages/vanillin/test/test-helper.mount-and-compile.test.ts rename to packages/banira/test/test-helper.mount-and-compile.test.ts diff --git a/packages/vanillin/test/test-helper.mount-as-script.test.ts b/packages/banira/test/test-helper.mount-as-script.test.ts similarity index 100% rename from packages/vanillin/test/test-helper.mount-as-script.test.ts rename to packages/banira/test/test-helper.mount-as-script.test.ts diff --git a/packages/vanillin/test/transformer.test.ts b/packages/banira/test/transformer.test.ts similarity index 100% rename from packages/vanillin/test/transformer.test.ts rename to packages/banira/test/transformer.test.ts diff --git a/packages/vanillin/test/virtual-fs.test.ts b/packages/banira/test/virtual-fs.test.ts similarity index 100% rename from packages/vanillin/test/virtual-fs.test.ts rename to packages/banira/test/virtual-fs.test.ts diff --git a/packages/vanillin/tsconfig.json b/packages/banira/tsconfig.json similarity index 100% rename from packages/vanillin/tsconfig.json rename to packages/banira/tsconfig.json diff --git a/packages/vanillin/typedoc.json b/packages/banira/typedoc.json similarity index 100% rename from packages/vanillin/typedoc.json rename to packages/banira/typedoc.json diff --git a/packages/component-my-circle/package.json b/packages/component-my-circle/package.json index fa37dea..38cf94f 100644 --- a/packages/component-my-circle/package.json +++ b/packages/component-my-circle/package.json @@ -1,7 +1,7 @@ { - "name": "@vanillin/component-my-circle", + "name": "@banira/component-my-circle", "version": "0.1.0", - "description": "Example web component built with Vanillin.js", + "description": "Example web component built with banira.js", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", @@ -11,13 +11,13 @@ }, "keywords": [ "web-components", - "vanillin", + "banira", "example" ], "author": "Sebastian Schürmann", "license": "MIT", "dependencies": { - "vanillin": "file:../vanillin" + "banira": "file:../banira" }, "devDependencies": { "typescript": "5.7.2" diff --git a/packages/component-my-circle/test/component.test.ts b/packages/component-my-circle/test/component.test.ts index 064bf37..c4d7525 100644 --- a/packages/component-my-circle/test/component.test.ts +++ b/packages/component-my-circle/test/component.test.ts @@ -2,7 +2,7 @@ import { describe, it, beforeEach, afterEach } from 'node:test'; import assert from 'node:assert'; import { resolve, dirname } from 'path'; import { fileURLToPath } from 'url'; -import { TestHelper, MountContext } from 'vanillin'; +import { TestHelper, MountContext } from 'banira'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); diff --git a/packages/component-webaudio/README.md b/packages/component-webaudio/README.md index 1181d2f..0b3e1b4 100644 --- a/packages/component-webaudio/README.md +++ b/packages/component-webaudio/README.md @@ -1,4 +1,4 @@ -# @vanillin/component-webaudio +# @banira/component-webaudio A collection of Web Components for creating audio control interfaces. Based on the webaudio-controls project but reimplemented in TypeScript with modern web standards. @@ -12,7 +12,7 @@ A collection of Web Components for creating audio control interfaces. Based on t ## Installation ```bash -npm install @vanillin/component-webaudio +npm install @banira/component-webaudio ``` ## Usage @@ -20,7 +20,7 @@ npm install @vanillin/component-webaudio ```html diff --git a/packages/component-webaudio/package.json b/packages/component-webaudio/package.json index 9660110..ce8f5b6 100644 --- a/packages/component-webaudio/package.json +++ b/packages/component-webaudio/package.json @@ -1,7 +1,7 @@ { - "name": "@vanillin/component-webaudio", + "name": "@banira/component-webaudio", "version": "0.1.0", - "description": "WebAudio control components built with Vanillin.js", + "description": "WebAudio control components built with banira.js", "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", @@ -11,14 +11,14 @@ }, "keywords": [ "web-components", - "vanillin", + "banira", "webaudio", "audio-controls" ], "author": "Sebastian Schürmann", "license": "MIT", "dependencies": { - "vanillin": "file:../vanillin" + "banira": "file:../banira" }, "devDependencies": { "typescript": "5.7.2", diff --git a/packages/component-webaudio/test/wa-knob-defaults.test.ts b/packages/component-webaudio/test/wa-knob-defaults.test.ts index 780792c..264b62c 100644 --- a/packages/component-webaudio/test/wa-knob-defaults.test.ts +++ b/packages/component-webaudio/test/wa-knob-defaults.test.ts @@ -2,7 +2,7 @@ import { describe, it, before, after } from 'node:test'; import assert from 'node:assert'; import { resolve, dirname } from 'path'; import { fileURLToPath } from 'url'; -import { TestHelper, MountContext } from 'vanillin'; +import { TestHelper, MountContext } from 'banira'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); diff --git a/packages/component-webaudio/test/wa-knob-min-max.test.ts b/packages/component-webaudio/test/wa-knob-min-max.test.ts index 6f80202..713f8fd 100644 --- a/packages/component-webaudio/test/wa-knob-min-max.test.ts +++ b/packages/component-webaudio/test/wa-knob-min-max.test.ts @@ -2,7 +2,7 @@ import { describe, it, before, after } from 'node:test'; import assert from 'node:assert'; import { resolve, dirname } from 'path'; import { fileURLToPath } from 'url'; -import { TestHelper, MountContext } from 'vanillin'; +import { TestHelper, MountContext } from 'banira'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename); diff --git a/packages/component-webaudio/test/wa-knob.attr.test.ts b/packages/component-webaudio/test/wa-knob.attr.test.ts index c5ede62..d6e1ed3 100644 --- a/packages/component-webaudio/test/wa-knob.attr.test.ts +++ b/packages/component-webaudio/test/wa-knob.attr.test.ts @@ -2,7 +2,7 @@ import { describe, it, before, after } from 'node:test'; import assert from 'node:assert'; import { resolve, dirname } from 'path'; import { fileURLToPath } from 'url'; -import { TestHelper, MountContext } from 'vanillin'; +import { TestHelper, MountContext } from 'banira'; const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename);