diff --git a/CHANGELOG.md b/CHANGELOG.md index f75150a..8e95d37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how - Updated minimum supported version of Node.js to 16 - Added support for `piral.json` and `pilet.json` (#28) - Added support for Bun as package manager +- Added support for Bun as a bundler ## 0.2 diff --git a/package.json b/package.json index 4d52992..1f7dbda 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-piral", "publisher": "smapiot", "displayName": "Piral", - "description": "Makes it easy to create, manage, and debug microfrontends using Pirals.", + "description": "Makes it easy to create, manage, and debug microfrontends using the Piral framework.", "license": "MIT", "icon": "resources/piral.png", "version": "0.3.0", diff --git a/resources/bundlers/bun.png b/resources/bundlers/bun.png new file mode 100644 index 0000000..71687b4 Binary files /dev/null and b/resources/bundlers/bun.png differ diff --git a/resources/clients/bun.png b/resources/clients/bun.png new file mode 100644 index 0000000..71687b4 Binary files /dev/null and b/resources/clients/bun.png differ diff --git a/src/extension/helpers/menuConfigs.ts b/src/extension/helpers/menuConfigs.ts index 403c6b0..8261f36 100644 --- a/src/extension/helpers/menuConfigs.ts +++ b/src/extension/helpers/menuConfigs.ts @@ -74,6 +74,13 @@ const bundlerOptions = [ package: 'piral-cli-rollup', description: 'Use Rollup as bundler for the project.', }, + { + type: 'bun', + icon: 'resources/bundlers/bun.png', + title: 'Bun', + package: 'piral-cli-bun', + description: 'Use Bun as bundler for the project.', + }, { type: 'xbuild', icon: 'resources/bundlers/xbuild.png', @@ -117,6 +124,12 @@ const npmClientOptions = [ title: 'pnpm', description: 'Use pnpm as your package manager.', }, + { + type: 'bun', + icon: 'resources/clients/bun.png', + title: 'Bun', + description: 'Use Bun as your package manager.', + }, { type: 'lerna', icon: 'resources/clients/lerna.png',