Skip to content

Commit 51947fd

Browse files
authored
Merge pull request #23 from formidablejs/feature/bun-package-manager
Feature/bun package manager
2 parents d1a91d6 + e47eed3 commit 51947fd

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-formidable",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"description": "The Formidable Framework Installer",
55
"author": "Donald Pakkies @donaldp",
66
"bin": {
@@ -17,7 +17,7 @@
1717
"/oclif.manifest.json"
1818
],
1919
"dependencies": {
20-
"@formidablejs/installer": "^0.9.6",
20+
"@formidablejs/installer": "^0.9.7",
2121
"@inquirer/prompts": "^1.2.1",
2222
"@oclif/core": "^2",
2323
"@oclif/plugin-help": "^5",

src/commands/index.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,16 @@ export default class Create extends Command {
1313
static flags = {
1414
'silent-install': Flags.boolean({ description: 'Install silently', char: 'q' }),
1515
'sqlite-git-ignore': Flags.boolean({ description: 'Add SQLite Database to gitignore', char: 'G' }),
16-
'use-pnpm': Flags.boolean({ description: 'Use pnpm instead of npm or yarn', char: 'p' }),
17-
'use-npm': Flags.boolean({ description: 'Use npm instead of pnpm or yarn', char: 'n' }),
18-
'use-yarn': Flags.boolean({ description: 'Use yarn instead of pnpm or npm', char: 'y' }),
16+
'use-pnpm': Flags.boolean({ description: 'Use pnpm instead of npm, yarn or bun', char: 'p' }),
17+
'use-npm': Flags.boolean({ description: 'Use npm instead of pnpm, yarn or bun', char: 'n' }),
18+
'use-yarn': Flags.boolean({ description: 'Use yarn instead of pnpm, npm or bun', char: 'y' }),
19+
'use-bun': Flags.boolean({ description: 'Use bun instead of pnpm, yarn or npm', char: 'b' }),
1920
database: Flags.string({ description: 'The default database driver to use', char: 'd', options: ['MySQL', 'PostgreSQL', 'SQLite', 'MSSQL', 'Oracle', 'skip'] }),
2021
dev: Flags.boolean({ description: 'Use dev branch' }),
2122
git: Flags.boolean({ description: 'Initialize a Git repository', char: 'g' }),
2223
imba: Flags.boolean({ description: 'Create Imba Full-Stack application' }),
2324
language: Flags.string({ description: 'The default language to use', char: 'l', options: ['imba', 'typescript'] }),
24-
manager: Flags.string({ description: 'The default package manager to use', char: 'm', options: ['npm', 'pnpm', 'yarn'] }),
25+
manager: Flags.string({ description: 'The default package manager to use', char: 'm', options: ['npm', 'pnpm', 'yarn', 'bun'] }),
2526
react: Flags.boolean({ description: 'Create React Full-Stack application' }),
2627
scaffolding: Flags.string({ description: 'The default scaffolding to use', char: 'S', options: ['mpa', 'spa'] }),
2728
stack: Flags.string({ description: 'The default stack to use', char: 's', options: ['imba', 'react', 'svelte', 'vue'] }),

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@
239239
minimatch "^3.0.4"
240240
strip-json-comments "^3.1.1"
241241

242-
"@formidablejs/installer@^0.9.6":
243-
version "0.9.6"
244-
resolved "https://registry.yarnpkg.com/@formidablejs/installer/-/installer-0.9.6.tgz#c747854ec13b65da5fcf0932ce821c4f5fc2fa44"
245-
integrity sha512-DlQzto83R88TtuwVyfo2BKXiTeBgpxHyfg9LYoLpyHhC0henpCx6KcsTI4u5B2iV93hiORvpY5mpfzC90bJeTw==
242+
"@formidablejs/installer@^0.9.7":
243+
version "0.9.7"
244+
resolved "https://registry.yarnpkg.com/@formidablejs/installer/-/installer-0.9.7.tgz#6510474f3d4a55b2a91eaccf9416cbf5f548632a"
245+
integrity sha512-87Pd9ms4NGGV7ZV9vNGsbdYWA8bZBwW4SD6utqMXbpLvDQcHj4jz69aIQ+GoMKTB/ffWA2oi4upRxYspM2vfbQ==
246246
dependencies:
247247
"@oclif/core" "^1"
248248
"@oclif/plugin-help" "^5"

0 commit comments

Comments
 (0)