Skip to content

Commit

Permalink
Incl. support for Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Nov 11, 2023
1 parent 08ba3d9 commit 93286aa
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Binary file added resources/bundlers/bun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/clients/bun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/extension/helpers/menuConfigs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 93286aa

Please sign in to comment.