starlight-package-managers 0.11.1 → 0.12.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 +6 -0
- package/package.json +1 -1
- package/pkg.ts +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# starlight-package-managers
|
|
2
2
|
|
|
3
|
+
## 0.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#40](https://github.com/HiDeoo/starlight-package-managers/pull/40) [`5dae046`](https://github.com/HiDeoo/starlight-package-managers/commit/5dae046851732ef4b66a89e1673f0ff353127503) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds support for the [Deno package manager](https://deno.com/blog/your-new-js-package-manager).
|
|
8
|
+
|
|
3
9
|
## 0.11.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starlight-package-managers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2
|
-
const pkgManagers = ['npm', 'yarn', 'pnpm', 'bun', 'ni'] as const
|
|
2
|
+
const pkgManagers = ['npm', 'yarn', 'pnpm', 'bun', 'deno', 'ni'] as const
|
|
3
3
|
|
|
4
4
|
const defaultPkgManagers: PackageManager[] = ['npm', 'pnpm', 'yarn']
|
|
5
5
|
|
|
@@ -44,6 +44,15 @@ const commands: Commands = {
|
|
|
44
44
|
run: 'bun run',
|
|
45
45
|
remove: 'bun remove',
|
|
46
46
|
},
|
|
47
|
+
deno: {
|
|
48
|
+
add: 'deno add',
|
|
49
|
+
devOption: '-D',
|
|
50
|
+
dlx: 'deno x',
|
|
51
|
+
exec: 'deno x',
|
|
52
|
+
install: 'deno install',
|
|
53
|
+
run: 'deno task',
|
|
54
|
+
remove: 'deno remove',
|
|
55
|
+
},
|
|
47
56
|
ni: {
|
|
48
57
|
add: 'ni',
|
|
49
58
|
devOption: '-D',
|
|
@@ -60,6 +69,7 @@ const icons: Record<PackageManager, string | undefined> = {
|
|
|
60
69
|
yarn: 'seti:yarn',
|
|
61
70
|
pnpm: 'pnpm',
|
|
62
71
|
bun: 'bun',
|
|
72
|
+
deno: 'deno',
|
|
63
73
|
ni: undefined,
|
|
64
74
|
}
|
|
65
75
|
|