starlight-package-managers 0.11.0 → 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +2 -3
  3. package/pkg.ts +11 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ## 0.11.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#37](https://github.com/HiDeoo/starlight-package-managers/pull/37) [`76e2efc`](https://github.com/HiDeoo/starlight-package-managers/commit/76e2efc631bff54985ed29b5144d3ae027cc71be) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Setups trusted publishing using OpenID Connect (OIDC) authentication — no code changes.
14
+
3
15
  ## 0.11.0
4
16
 
5
17
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starlight-package-managers",
3
- "version": "0.11.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)",
@@ -21,8 +21,7 @@
21
21
  },
22
22
  "packageManager": "pnpm@8.6.10",
23
23
  "publishConfig": {
24
- "access": "public",
25
- "provenance": true
24
+ "access": "public"
26
25
  },
27
26
  "sideEffects": false,
28
27
  "keywords": [
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