@rrlab/ts-plugin 0.1.2-git-c5c6e0f.0 → 0.1.2-git-2238423.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/dist/index.d.mts CHANGED
@@ -5,7 +5,6 @@ import { ShellService } from "@vlandoss/clibuddy";
5
5
  declare const TOOL_VERSIONS: {
6
6
  readonly typescript: {
7
7
  readonly install: "^6.0.0";
8
- readonly peer: ">=5.0.0";
9
8
  };
10
9
  readonly "@types/node": {
11
10
  readonly install: ">=20";
package/dist/index.mjs CHANGED
@@ -5,10 +5,7 @@ import { colorize } from "@vlandoss/clibuddy";
5
5
  import { parse } from "comment-json";
6
6
  //#region src/tool-versions.ts
7
7
  const TOOL_VERSIONS = {
8
- typescript: {
9
- install: "^6.0.0",
10
- peer: ">=5.0.0"
11
- },
8
+ typescript: { install: "^6.0.0" },
12
9
  "@types/node": { install: ">=20" }
13
10
  };
14
11
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rrlab/ts-plugin",
3
- "version": "0.1.2-git-c5c6e0f.0",
3
+ "version": "0.1.2-git-2238423.0",
4
4
  "description": "TypeScript plugin for @rrlab/cli — provides the tsc capability.",
5
5
  "homepage": "https://github.com/variableland/dx/tree/main/run-run/ts-plugin#readme",
6
6
  "bugs": {
@@ -38,12 +38,14 @@
38
38
  },
39
39
  "peerDependencies": {
40
40
  "typescript": ">=5.0.0",
41
- "@rrlab/cli": "0.0.4-git-c5c6e0f.0"
41
+ "@rrlab/cli": "0.0.4-git-2238423.0"
42
42
  },
43
43
  "devDependencies": {
44
+ "@types/semver": "^7.7.1",
45
+ "semver": "^7.8.1",
44
46
  "typescript": "6.0.3",
45
47
  "@rrlab/tsdown-config": "^0.1.0",
46
- "@rrlab/cli": "0.0.4-git-c5c6e0f.0"
48
+ "@rrlab/cli": "0.0.4-git-2238423.0"
47
49
  },
48
50
  "scripts": {
49
51
  "build": "tsdown",
@@ -1,6 +1,7 @@
1
1
  export const TOOL_VERSIONS = {
2
- // install range > peer range on purpose: pin latest stable for fresh installs,
3
- // accept TS 5+ if the host already has it.
4
- typescript: { install: "^6.0.0", peer: ">=5.0.0" },
2
+ // `install` is the prescriptive pin used by `rr plugins add`'s nypm call.
3
+ // For typescript we want fresh installs on the latest stable; the looser
4
+ // `>=5.0.0` contract lives in package.json#peerDependencies.
5
+ typescript: { install: "^6.0.0" },
5
6
  "@types/node": { install: ">=20" },
6
7
  } as const;