@srobroek/pi-lang-typescript 0.10.1 → 0.10.3
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
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## lang-typescript [0.10.3](https://github.com/srobroek/harness-plugins/compare/lang-typescript--v0.10.2...lang-typescript--v0.10.3) (2026-11-24)
|
|
2
|
+
|
|
3
|
+
## lang-typescript [0.10.2](https://github.com/srobroek/harness-plugins/compare/lang-typescript--v0.10.1...lang-typescript--v0.10.2) (2026-11-24)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **design:** make MCP servers opt-in ([1ecb493](https://github.com/srobroek/harness-plugins/commit/1ecb493f35ebfe9112f9e4661fa1b2e5ec457fc4))
|
|
8
|
+
* **tools:** restore portable MCP defaults ([f4c4930](https://github.com/srobroek/harness-plugins/commit/f4c4930b68477b6c050cc3e0a6ed62b6b8f8d402))
|
|
9
|
+
|
|
1
10
|
## lang-typescript [0.10.1](https://github.com/srobroek/harness-plugins/compare/lang-typescript--v0.10.0...lang-typescript--v0.10.1) (2026-11-23)
|
|
2
11
|
|
|
3
12
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -11,6 +11,11 @@ omp-plugins `typescript` plugin. Its `typescript_quality` tool is not ported, an
|
|
|
11
11
|
part of `lang-typescript-types`.
|
|
12
12
|
|
|
13
13
|
## Install
|
|
14
|
+
Install the Pi package from npm:
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
pi install npm:@srobroek/pi-lang-typescript
|
|
18
|
+
```
|
|
14
19
|
|
|
15
20
|
```sh
|
|
16
21
|
opencode plugin add 'github:srobroek/harness-plugins::path:plugins/lang-typescript/opencode'
|
|
@@ -35,11 +40,12 @@ already exists:
|
|
|
35
40
|
- `lang-typescript`: the router.
|
|
36
41
|
- `lang-typescript-libraries`: compare Node and Bun library defaults before writing
|
|
37
42
|
code; web, data, messaging, AWS, telemetry, AI, CLI, testing and security references.
|
|
38
|
-
- `lang-typescript-quality`: frozen-lockfile install,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
+
- `lang-typescript-quality`: frozen-lockfile install, the configured formatter/linter
|
|
44
|
+
(Biome default for unconfigured projects; ESLint for a named gap), `tsc -b` or
|
|
45
|
+
`tsc --noEmit`, and the configured test script, in that order; workspace filters and CI.
|
|
46
|
+
- `lang-typescript-testing`: use the project's configured test runner (Bun test for
|
|
47
|
+
Bun projects; Vitest is an alternative), module mocks, snapshots, msw, fake timers,
|
|
48
|
+
fast-check; `references/practice.md` has tool choices, bad tests with fixes, and defaults by use case.
|
|
43
49
|
- `lang-typescript-packaging`: project references and `tsc -b`, `exports` maps, barrel
|
|
44
50
|
files, catalogs, `--define` dead-code removal.
|
|
45
51
|
- `lang-typescript-types`: strict tsconfig flags, union and `satisfies` patterns, zod at
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@srobroek/pi-lang-typescript",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.3",
|
|
4
4
|
"description": "TypeScript and JavaScript skills: install, lint, tsc and test checks, testing, monorepo packaging, type safety and zod, and Bun and Node profiling.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -17,7 +17,7 @@ it, rerun that step, then continue. Prefer the project's own scripts (`bun run c
|
|
|
17
17
|
| Step | Command |
|
|
18
18
|
| --- | --- |
|
|
19
19
|
| Install | The lockfile-respecting install: `bun install --frozen-lockfile`, `pnpm install --frozen-lockfile`, `npm ci`, `yarn install --immutable` |
|
|
20
|
-
| Lint and format check | Biome
|
|
20
|
+
| Lint and format check | The project's configured linter and formatter; Biome (`biome check .`) is the default for an unconfigured project. `ESLint` 10 flat config (`eslint .`) or `Prettier` (`prettier --check .`) only for a named gap, such as type-aware rules Biome lacks, Vue or Angular templates |
|
|
21
21
|
| Type check | `tsc -b` when `tsconfig.json` has `references`, otherwise `tsc --noEmit` |
|
|
22
22
|
| Test | The project's test script (`bun test`, `vitest run`, `npm test`, …) |
|
|
23
23
|
| Coverage | `vitest run --coverage` (`v8`), or `bun test --coverage --coverage-reporter=lcov` (lines and functions only) |
|
|
@@ -13,9 +13,7 @@ Read [practice.md](references/practice.md) for idioms and tool choices.
|
|
|
13
13
|
When a spawned child ignores an environment variable a test set, read [references/pitfalls.md](references/pitfalls.md). Follow
|
|
14
14
|
`quality-testing` for what to test, the test budget, maintenance, and review.
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
runner idioms. Use the runner the project already has (`bun test`, `vitest`, `jest`,
|
|
18
|
-
`node --test`); do not add a second one.
|
|
16
|
+
Use the runner the project already has (`bun test`, `vitest`, `jest`, or `node --test`); do not add a second one. For an unconfigured Bun project, `bun test` is the default; Vitest is an alternative.
|
|
19
17
|
|
|
20
18
|
## Running
|
|
21
19
|
|