lightweight-sdk/package.json
Nicolas e2d7207237
Some checks failed
CI / build-lint-test (push) Failing after 1m53s
CI / build-lint-test (pull_request) Successful in 1m58s
Bootstrap monorepo pnpm + migration de web-component
- Outillage complet : pnpm workspaces (catalog), Biome, TypeScript
  (project references, CommonJS/Node10), Vitest, TypeDoc (validation
  bloquante en CI), Changesets.
- Organisation des packages en catégories client/common/server.
- Migration de @lightweight-sdk/web-component (packages/client/) depuis
  l'ancien repo lightweight-sdk-web-component : code source copié à
  l'identique, aucune modification. package.json/tsconfig.json/README.md
  adaptés autour. Exclu de la validation TypeDoc stricte et de quelques
  règles Biome (formatage, noShadowRestrictedNames) puisque le code ne
  peut pas être édité pour s'y conformer - détails dans spec/packages.md.
- Workflows Forgejo Actions (.forgejo/workflows/) : ci.yml (lint, build,
  test, docs:check) et release.yml (publication sur le registre npm
  privé via Changesets).
- Script pnpm create-package <client|common|server> <nom> pour scaffolder
  les futurs packages.
- Documentation dans /spec (architecture, conventions, ci-cd, packages).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 07:10:13 +02:00

34 lines
978 B
JSON

{
"name": "lightweight-sdk",
"version": "0.0.0",
"private": true,
"packageManager": "pnpm@12.4.2",
"engines": {
"node": ">=22"
},
"scripts": {
"build": "tsc -b",
"build:clean": "tsc -b --clean",
"dev": "tsc -b --watch",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"test": "vitest run",
"test:watch": "vitest",
"docs:check": "typedoc --options typedoc.json --emit none --treatWarningsAsErrors --disableGit",
"docs:build": "typedoc --options typedoc.json",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:publish": "changeset publish",
"create-package": "node ./scripts/create-package.mjs",
"ci": "pnpm lint && pnpm build && pnpm test && pnpm docs:check"
},
"devDependencies": {
"@biomejs/biome": "catalog:",
"@changesets/cli": "catalog:",
"@types/node": "catalog:",
"typedoc": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:"
}
}