From 2ca1ee535436a0f943b2fb13d8ae31c5caf3161b Mon Sep 17 00:00:00 2001 From: aleidk Date: Wed, 19 Feb 2025 10:15:17 -0300 Subject: [PATCH 1/4] fix!: change package to scope to prevent resolution issues between registries --- bunfig.toml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bunfig.toml b/bunfig.toml index 850dab8..e2b9a35 100644 --- a/bunfig.toml +++ b/bunfig.toml @@ -1,3 +1,3 @@ -[install] +[install.scopes] -registry = { token = "$NPM_REGISTRY_TOKEN", url = "https://git.alecodes.page/api/packages/alecodes/npm/" } +"@alecodes" = { token = "$NPM_REGISTRY_TOKEN", url = "https://git.alecodes.page/api/packages/alecodes/npm/" } diff --git a/package.json b/package.json index a30b967..45aca29 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "bun-plugin-sass", + "name": "@alecodes/bun-plugin-sass", "version": "0.1.1", "module": "index.ts", "type": "module", From cf0ea28fa1710cc05c236ea3cb9cfc1a35d3febb Mon Sep 17 00:00:00 2001 From: aleidk Date: Wed, 19 Feb 2025 10:15:20 -0300 Subject: [PATCH 2/4] chore(version): v0.1.2 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e873d9e..c6aa060 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - +## v0.1.2 - 2025-02-19 +#### Bug Fixes +- change package to scope to prevent resolution issues between registries - (2ca1ee5) - aleidk + +- - - + ## v0.1.1 - 2025-02-19 #### Bug Fixes - add sass as a dependency - (a90901c) - aleidk diff --git a/package.json b/package.json index 45aca29..88dcca0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@alecodes/bun-plugin-sass", - "version": "0.1.1", + "version": "0.1.2", "module": "index.ts", "type": "module", "scripts": { From b032ab7cd0045c8bfeae8f1dfbb6605b35d5f752 Mon Sep 17 00:00:00 2001 From: aleidk Date: Fri, 11 Apr 2025 13:23:10 -0400 Subject: [PATCH 3/4] fix: add support for sass extension --- index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 5f1812b..980c05e 100644 --- a/index.ts +++ b/index.ts @@ -16,7 +16,7 @@ const sassPlugin: BunPlugin = { async setup(build: PluginBuilder) { const sass = await import("sass"); - build.onLoad({ filter: /\.scss$/ }, async ({ path }) => { + build.onLoad({ filter: /\.scss|sass$/ }, async ({ path }) => { const result = await sass.compileAsync(path, { importers: [nodeModuleImporter], }); @@ -30,4 +30,3 @@ const sassPlugin: BunPlugin = { }; export default sassPlugin; - From 3752f58d1234058f249ac92dc91d04600e01c6a5 Mon Sep 17 00:00:00 2001 From: aleidk Date: Fri, 11 Apr 2025 13:23:16 -0400 Subject: [PATCH 4/4] chore(version): v0.1.3 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6aa060..83c870b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. - - - +## v0.1.3 - 2025-04-11 +#### Bug Fixes +- add support for sass extension - (b032ab7) - aleidk + +- - - + ## v0.1.2 - 2025-02-19 #### Bug Fixes - change package to scope to prevent resolution issues between registries - (2ca1ee5) - aleidk diff --git a/package.json b/package.json index 88dcca0..0b45ff5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@alecodes/bun-plugin-sass", - "version": "0.1.2", + "version": "0.1.3", "module": "index.ts", "type": "module", "scripts": {