@jterrazz/typescript 7.0.0 → 7.1.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/README.md CHANGED
@@ -44,9 +44,9 @@ The full corpus lives in [`docs/`](docs/):
44
44
  - [Quality checks](docs/03-quality-checks.md) — `check` / `fix` and their passes.
45
45
  - [Lint presets](docs/04-lint-presets.md) — oxlint presets, `compose`, architecture, knip.
46
46
  - [Docs pipeline](docs/05-docs-pipeline.md) — the `typescript docs` compiler.
47
- - [Repo structure](docs/06-repo-structure.md) — the corpus / injection / compiler doctrine.
47
+ - [Repo structure](docs/06-repo-structure.md) — pointer to the shared doctrine; what's TypeScript-specific here.
48
48
 
49
- For agents: read the chapters and the generated [`docs/reference/`](docs/reference/) tree straight from the repo, plus two Claude Code skills — [`skills/jterrazz-typescript`](skills/jterrazz-typescript/SKILL.md) (the toolchain) and [`skills/jterrazz-repo-structure`](skills/jterrazz-repo-structure/SKILL.md) (the repo doctrine).
49
+ For agents: read the chapters and the generated [`docs/reference/`](docs/reference/) tree straight from the repo, plus the [`skills/jterrazz-typescript`](skills/jterrazz-typescript/SKILL.md) Claude Code skill (the toolchain). The repo-structure doctrine itself is a Claude Code skill too — `jterrazz-repo-structure`, shipped from [`jterrazz-studio`](https://github.com/jterrazz/jterrazz-studio).
50
50
 
51
51
  ## License
52
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jterrazz/typescript",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
4
  "author": "Jean-Baptiste Terrazzoni <contact@jterrazz.com>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,5 +19,17 @@ export default defineConfig({
19
19
  'react/jsx-curly-brace-presence': 'off',
20
20
  'react/jsx-max-depth': 'off',
21
21
  'unicorn/no-nested-ternary': 'off',
22
+ // -- Rules that fight the Next idiom itself, not bad code --
23
+ // A Next file interleaves `export const metadata`, types, and the
24
+ // Default export — exports-at-end is not how these files read.
25
+ 'import/exports-last': 'off',
26
+ // Immutable serialization maps (`.map((x) => ({ ...x, url }))`) are
27
+ // The dominant React idiom; the Object.assign form is strictly worse
28
+ // For the build-time collection sizes a site actually maps over.
29
+ 'oxc/no-map-spread': 'off',
30
+ // Client components are browser-only code that means `window`;
31
+ // Asking them to say `globalThis` trades clarity for portability
32
+ // They will never need.
33
+ 'unicorn/prefer-global-this': 'off',
22
34
  },
23
35
  });