starlight-package-managers 0.9.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/pkg.ts +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# starlight-package-managers
|
|
2
2
|
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#35](https://github.com/HiDeoo/starlight-package-managers/pull/35) [`5e0b7f7`](https://github.com/HiDeoo/starlight-package-managers/commit/5e0b7f7c6a9eab7b1ff4d4eaf6927d90c2a33d7d) Thanks [@notpushkin](https://github.com/notpushkin)! - Adds support for the `create` command type with `bun`.
|
|
8
|
+
|
|
9
|
+
## 0.10.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#32](https://github.com/HiDeoo/starlight-package-managers/pull/32) [`78ba376`](https://github.com/HiDeoo/starlight-package-managers/commit/78ba376398b5f91af2f5a1f882d54de4e660be9e) Thanks [@YonicDev](https://github.com/YonicDev)! - Adds the `install` command type to install all dependencies for a project.
|
|
14
|
+
|
|
3
15
|
## 0.9.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ By this one:
|
|
|
61
61
|
## Features
|
|
62
62
|
|
|
63
63
|
- Support for various package managers: [npm](https://www.npmjs.com), [yarn](https://yarnpkg.com), [pnpm](https://pnpm.io), [bun](https://bun.sh) & [ni](https://github.com/antfu/ni).
|
|
64
|
-
- Support for various types of command: [`add`](https://starlight-package-managers.vercel.app/usage/#add), [`create`](https://starlight-package-managers.vercel.app/usage/#create), [`dlx`](https://starlight-package-managers.vercel.app/usage/#dlx), [`exec`](https://starlight-package-managers.vercel.app/usage/#exec), [`
|
|
64
|
+
- Support for various types of command: [`add`](https://starlight-package-managers.vercel.app/usage/#add), [`create`](https://starlight-package-managers.vercel.app/usage/#create), [`dlx`](https://starlight-package-managers.vercel.app/usage/#dlx), [`exec`](https://starlight-package-managers.vercel.app/usage/#exec), [`install`](https://starlight-package-managers.vercel.app/usage/#install), [`remove`](https://starlight-package-managers.vercel.app/usage/#remove) & [`run`](https://starlight-package-managers.vercel.app/usage/#run).
|
|
65
65
|
- Synced tabs between each instance on the same page.
|
|
66
66
|
- Customizable output with [extra arguments](https://starlight-package-managers.vercel.app/usage/#extra-arguments), [comments](https://starlight-package-managers.vercel.app/usage/#comment) & [prefixes](https://starlight-package-managers.vercel.app/usage/#prefix).
|
|
67
67
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starlight-package-managers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Quickly display npm related commands for multiple package managers in your Starlight documentation site.",
|
|
6
6
|
"author": "HiDeoo <github@hideoo.dev> (https://hideoo.dev)",
|
package/pkg.ts
CHANGED
|
@@ -10,6 +10,7 @@ const commands: Commands = {
|
|
|
10
10
|
devOption: '-D',
|
|
11
11
|
dlx: 'npx',
|
|
12
12
|
exec: 'npx',
|
|
13
|
+
install: 'npm install',
|
|
13
14
|
run: 'npm run',
|
|
14
15
|
remove: 'npm uninstall',
|
|
15
16
|
},
|
|
@@ -19,6 +20,7 @@ const commands: Commands = {
|
|
|
19
20
|
devOption: '-D',
|
|
20
21
|
dlx: 'yarn dlx',
|
|
21
22
|
exec: 'yarn',
|
|
23
|
+
install: 'yarn install',
|
|
22
24
|
run: 'yarn run',
|
|
23
25
|
remove: 'yarn remove',
|
|
24
26
|
},
|
|
@@ -28,14 +30,17 @@ const commands: Commands = {
|
|
|
28
30
|
devOption: '-D',
|
|
29
31
|
dlx: 'pnpx',
|
|
30
32
|
exec: 'pnpm',
|
|
33
|
+
install: 'pnpm install',
|
|
31
34
|
run: 'pnpm run',
|
|
32
35
|
remove: 'pnpm remove',
|
|
33
36
|
},
|
|
34
37
|
bun: {
|
|
35
38
|
add: 'bun add',
|
|
39
|
+
create: 'bun create',
|
|
36
40
|
devOption: '-d',
|
|
37
41
|
dlx: 'bunx',
|
|
38
42
|
exec: 'bunx',
|
|
43
|
+
install: 'bun install',
|
|
39
44
|
run: 'bun run',
|
|
40
45
|
remove: 'bun remove',
|
|
41
46
|
},
|
|
@@ -44,6 +49,7 @@ const commands: Commands = {
|
|
|
44
49
|
devOption: '-D',
|
|
45
50
|
dlx: 'nlx',
|
|
46
51
|
exec: 'nlx',
|
|
52
|
+
install: 'ni',
|
|
47
53
|
run: 'nr',
|
|
48
54
|
remove: 'nun',
|
|
49
55
|
},
|
|
@@ -109,7 +115,7 @@ export function getCommand(
|
|
|
109
115
|
return command
|
|
110
116
|
}
|
|
111
117
|
|
|
112
|
-
export type CommandType = 'add' | 'create' | 'dlx' | 'exec' | '
|
|
118
|
+
export type CommandType = 'add' | 'create' | 'dlx' | 'exec' | 'install' | 'remove' | 'run'
|
|
113
119
|
|
|
114
120
|
export interface CommandOptions {
|
|
115
121
|
args?: string
|