@shibanet0/datamitsu-config 0.0.6 → 0.0.7

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.
@@ -1 +1 @@
1
- export declare const data = "tar.br:G/8ZEVWjAsBHalf8JMtW6dF+PvVREhN7BlMPcc3kZsbNvixqptN+YxP5OqzZ23/NB5KQiAgEeHhkyv83remjCwNCtWIECiFLM5b98/+fTd82uTq5PkdLlja5UrPQVdYtqMWBu4e6hyzVKizW4hAGYeD5MxpOmyCRdstuPETwh4mKA26b4Tq0CvOAHCwVCiAdXzeSz5bNaFfNim1dykACN/eZRq4iiEBnD/4Oh+XM1LEaXK6fdLoCrb49jLV78wi+TsiXkF0yetpfbPBxJTPkMnLvD7u0UJrFV3ozpxPz9KP6wWgdkTnGQVfqY8WL203ZwTOc8gJs5PGnyMcPwolqxx0J+4NX+Z3a3PowZi7rZRTNupLgd9d/avqvwwuMjeqhBPgzYbpQuSi5/15SKpZu/u8HwQX9PNhxu8muSx1y7f/uFabtX5TJ3e7/kQvlQDc1j9+X/kXno+9+vDdaoxE6TrQflB/pb75RVnYIcaUnquQOsLtRAlatDzbAldJXaUIMWBDZTqEZ1KAoW4dq88SyVao4WvOOrnJsoEOFYyp4ugRqhXrWstzXH7gDyXCCrZFA60wB7yYgGuJ6EXqgaT3R5mNljjd0JkAE4b2ZiTpVNoxQeC9iDr7kN5dpU/VdiKMADn73f7CG59zutTV5YDPhluLAGza8INyKjjfwMHlvzn7w264fPw7cfc3zNNyQ1klIECjgMv7GmArORbMjso1qEExO8eMQYO8JAYPC0/LmlDm2Tw5tvjA4ruceZ23mWDOA0Y/4+Tkbf1BALx29byl6lq9s8Je/vo9g+/myDX8PqrNt8glzHmqCt59paXx9muPxYz7j+/J0bfz/p0ybt+eFHARnQ5E+zhjwr0Siop2qFTLJku2RPyzfMnsyy7s2TUaNfLapaKKHFTkiYU4DSeR04UNuR48jXw4RWB9YstEgAy2Vge3S8ZzMk4bkI4F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hx+N7wXEHIcJb23wqwF9GvlgG2rUUz3zZgMBp7y9zoK0Wzkl8LsMmybUyEkWJ8ZVosSYwnC0TVhNEgXSuMyULxmbfal8Z7rWRsjK0zG88V5ykfVhmjCmzJS2Zjy/gA6xq+9Qws6HMVDuXdo2cPvpHJoLu55V/Q7+fymFLz5HiXeCtv1KW4onb89x5oppDVKQG4GOprW+2WT/JX1vwDB+9sBsEPXzTwbpag/qmB0Q0=";
@@ -11,3 +11,6 @@ export declare const REMOVED_SKILLS: string[];
11
11
  export declare const SKILL_CLEANUP_AGENTS_MD_INSTRUCTIONS_HASH = "9fffca22fdb8a19166396dc675b13aece38d573bf2a1fd08573947cff644439d";
12
12
  export declare const SKILL_CLEANUP_AGENTS_MD_ADAPTER_CLAUDE_HASH = "4c55061f8d18f4b5edf1b4478bec06da032694bccb627dc861a2dc31fd9cc167";
13
13
  export declare const SKILL_CLEANUP_AGENTS_MD_ADAPTER_CODEX_HASH = "c36f9ae1e4fa2d15f434c300dbe0995b8cb2a60fc5e632bb516f37488e68a300";
14
+ export declare const SKILL_SETUP_TSCONFIG_INSTRUCTIONS_HASH = "749b019af80df9646f8d1f1491c091b93cf9a7f1dbf2966943aa31c76160eaf9";
15
+ export declare const SKILL_SETUP_TSCONFIG_ADAPTER_CLAUDE_HASH = "923a388c3ec8d1ab8bb8859c2c4ed13ead607d253aec01a428d0df654bc23911";
16
+ export declare const SKILL_SETUP_TSCONFIG_ADAPTER_CODEX_HASH = "b47e306d7f1804b6907cd262893d71b39ba82c13f7cdbb810fc695526f4a519c";
@@ -1,2 +1,2 @@
1
- export declare const TSCONFIG_MD = "# TypeScript Configuration Guide\n\nThis package provides reusable TypeScript configurations for different project types.\n\n## Requirements\n\n- **TypeScript 6.0+** required\n- Modern bundler (tsup, vite, esbuild)\n\n## Quick Selection\n\n| Project Type | Monorepo? | Config |\n| ------------------- | --------- | ----------------------------- |\n| Next.js app | Any | `nextjs.json` |\n| React + Vite app | Any | `base.json` |\n| React library | Yes | `shared-react-library.json` |\n| React library | No | `react-library.json` |\n| Node.js library | Yes | `shared-library.json` |\n| Node.js library | No | `library.json` |\n| Backend API/service | Any | `service.json` |\n| Node.js CLI | Any | `base.json` or `service.json` |\n| E2E tests | Any | `base.json` |\n\n## Configuration Descriptions\n\n### `base.json`\n\n**For:** CLI tools, tests, build scripts, React apps (Vite, CRA)\n\n**Features:**\n\n- Strict typing by default\n- `src/` \u2192 `dist/` structure\n- Explicit configuration (all options specified)\n\n**Example:**\n\n```json\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/base.json\"\n}\n```\n\n---\n\n### `library.json`\n\n**For:** Standalone npm package (NOT in monorepo)\n\n**Adds:** `noEmit: true` - bundler handles all output\n\n**Example:** Standalone npm utility package\n\n---\n\n### `react-library.json`\n\n**For:** Standalone React library (NOT in monorepo)\n\n**Adds:**\n\n- DOM types\n- JSX support\n- `noEmit: true`\n\n**\u26A0\uFE0F WARNING:** DO NOT use for Node.js projects! Adds DOM types that don't exist in Node.js.\n\n---\n\n### `service.json`\n\n**For:** Backend APIs, serverless functions, microservices\n\n**Adds:**\n\n- `types: [\"node\"]`\n- `noEmit: true`\n\n**Example:** Express API, AWS Lambda\n\n---\n\n### `shared-library.json`\n\n**For:** Library INSIDE a monorepo\n\n**Adds:**\n\n- `composite: true` - project references\n- `declaration: true` - emits .d.ts\n- `declarationMap: true`\n\n**Why NOT noEmit:** Project references require TypeScript to emit declarations for IDE \"go to definition\".\n\n---\n\n### `shared-react-library.json`\n\n**For:** React library INSIDE a monorepo\n\n**Adds:**\n\n- DOM types + JSX\n- `composite: true`\n- Declaration emit\n\n---\n\n### `nextjs.json`\n\n**For:** Next.js apps (Pages/App Router)\n\n**Features:**\n\n- `jsx: \"preserve\"` - Next.js transforms itself\n- `noEmit: true`\n- Next.js plugin\n\n---\n\n## Common Mistakes\n\n### \u274C react-library for Node.js projects\n\n```json\n// WRONG for Node.js API\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/react-library.json\"\n}\n```\n\n**Problem:** Adds DOM types (`document`, `window`) to Node.js environment.\n\n**Solution:** Use `service.json`\n\n---\n\n### \u274C library instead of shared-library in monorepo\n\n```json\n// WRONG in monorepo\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/library.json\"\n}\n```\n\n**Problem:** `noEmit: true` disables declaration emit, IDE can't \"go to definition\".\n\n**Solution:** Use `shared-library.json`\n\n---\n\n### \u274C Forgot explicit types after TS6\n\n**Problem:**\n\n```typescript\nimport { readFile } from \"node:fs/promises\";\n// Error: Cannot find module 'node:fs/promises'\n```\n\n**Solution:**\n\n```json\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/service.json\",\n \"compilerOptions\": {\n \"types\": [\"node\"]\n }\n}\n```\n\n---\n\n## Path Aliases\n\n**These configurations DO NOT include path aliases (`~/*`, `@/*`).**\n\n**Why?**\n\n- Require duplication in tsconfig, bundler, jest, eslint\n- Problems when publishing libraries\n- Different syntax across tools\n\n**Use relative paths:**\n\n```typescript\nimport { helper } from \"../../utils/helper\";\n```\n\n**Benefits:**\n\n- Work everywhere without configuration\n- ES modules standard\n- IDE auto-updates\n\n---\n\n## Philosophy\n\n**Bundler-centric approach:**\n\n- TypeScript only for type checking\n- Bundler handles compilation, sourcemaps, declarations\n- Exception: monorepo `shared-*` configs emit declarations for project references\n\n**Explicit configuration:**\n\n- All options specified explicitly, even if they're TS6 defaults\n- No magic, maximum compatibility\n- \"Just works\" everywhere\n\n---\n\n## Migration to TS6\n\n**TypeScript 6.0+ required:**\n\n```bash\npnpm add -D typescript@latest\n```\n\n**Add explicit types:**\n\n```json\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/service.json\",\n \"compilerOptions\": {\n \"types\": [\"node\"]\n }\n}\n```\n\n**Check types:**\n\n```bash\ntsc --noEmit\n```\n\n---\n\n## Based on\n\n[@codecompose/typescript-config](https://github.com/0x80/typescript-config) by 0x80.";
2
- export declare const TSCONFIG_MD_HASH = "3872c4f6066da7cec975f47466a7ca14014a65aa5ee4a49a82e52c95c854df63";
1
+ export declare const TSCONFIG_MD = "# TypeScript Configuration Guide\n\nThis package provides reusable TypeScript configurations for different project types.\n\n## Requirements\n\n- **TypeScript 6.0+** required\n- Modern bundler (tsup, vite, esbuild)\n\n## Quick Selection\n\n| Project Type | Monorepo? | Config |\n| ------------------------- | --------- | ----------------------------- |\n| Next.js app | Any | `nextjs.json` |\n| React + Vite app | Any | `base.json` |\n| React library | Yes | `shared-react-library.json` |\n| React library | No | `react-library.json` |\n| Node.js library | Yes | `shared-library.json` |\n| Node.js library | No | `library.json` |\n| Backend service (Node.js) | Any | `service.json` |\n| Backend service (Workers) | Any | `service-worker.json` |\n| Pulumi / IaC | Any | `infra-pulumi.json` |\n| Node.js CLI | Any | `base.json` or `service.json` |\n| E2E tests | Any | `base.json` |\n\n## Configuration Descriptions\n\n### `base.json`\n\n**For:** CLI tools, tests, build scripts, React apps (Vite, CRA)\n\n**Features:**\n\n- Strict typing by default\n- `src/` \u2192 `dist/` structure\n- Explicit configuration (all options specified)\n\n**Example:**\n\n```json\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/base.json\"\n}\n```\n\n---\n\n### `library.json`\n\n**For:** Standalone npm package (NOT in monorepo)\n\n**Adds:** `noEmit: true` - bundler handles all output\n\n**Example:** Standalone npm utility package\n\n---\n\n### `react-library.json`\n\n**For:** Standalone React library (NOT in monorepo)\n\n**Adds:**\n\n- DOM types\n- JSX support\n- `noEmit: true`\n\n**\u26A0\uFE0F WARNING:** DO NOT use for Node.js projects! Adds DOM types that don't exist in Node.js.\n\n---\n\n### `service.json`\n\n**For:** Backend APIs, serverless functions, microservices \u2014 running on **Node.js**\n\n**Adds:**\n\n- `types: [\"node\"]`\n- `noEmit: true`\n\n**Example:** Express API, AWS Lambda\n\n**Note:** For the Cloudflare Workers runtime use `service-worker.json` instead \u2014 it swaps Node types for Workers types.\n\n---\n\n### `service-worker.json`\n\n**For:** Backend services on the **Cloudflare Workers** runtime\n\n**Adds:**\n\n- `types: [\"@cloudflare/workers-types\"]`\n- `noEmit: true`\n\n**Note:** Add `@cloudflare/workers-types` as a dev dependency. For Node.js services use `service.json`.\n\n---\n\n### `shared-library.json`\n\n**For:** Library INSIDE a monorepo\n\n**Adds:**\n\n- `composite: true` - project references\n- `declaration: true` - emits .d.ts\n- `declarationMap: true`\n\n**Why NOT noEmit:** Project references require TypeScript to emit declarations for IDE \"go to definition\".\n\n---\n\n### `shared-react-library.json`\n\n**For:** React library INSIDE a monorepo\n\n**Adds:**\n\n- DOM types + JSX\n- `composite: true`\n- Declaration emit\n\n---\n\n### `nextjs.json`\n\n**For:** Next.js apps (Pages/App Router)\n\n**Features:**\n\n- `jsx: \"preserve\"` - Next.js transforms itself\n- `noEmit: true`\n- Next.js plugin\n\n---\n\n### `infra-pulumi.json`\n\n**For:** [Pulumi](https://www.pulumi.com/) Infrastructure-as-Code projects\n\n**Standalone preset** \u2014 does **NOT** extend `base.json`. Pulumi runs TypeScript through its own ts-node runtime (full transpile), which is incompatible with the base preset's `verbatimModuleSyntax`, `module: \"preserve\"`, and erasable-only constraints.\n\n**Adds / differs:**\n\n- `experimentalDecorators: true` \u2014 Pulumi component resources use decorators\n- `module: \"esnext\"`, `sourceMap: true`, `noEmit: true`\n- `types: [\"node\"]`\n- `allowImportingTsExtensions: true` \u2014 import sibling modules with an explicit `.ts`\n\n**\u26A0\uFE0F The erasable-only rule does NOT apply here.** Because Pulumi _compiles_ the code (rather than stripping types), non-erasable syntax (`enum`, decorators, etc.) is legal in Pulumi code \u2014 and **only** in Pulumi code. Every other preset in this family forbids it.\n\n---\n\n## Common Mistakes\n\n### \u274C react-library for Node.js projects\n\n```json\n// WRONG for Node.js API\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/react-library.json\"\n}\n```\n\n**Problem:** Adds DOM types (`document`, `window`) to Node.js environment.\n\n**Solution:** Use `service.json`\n\n---\n\n### \u274C library instead of shared-library in monorepo\n\n```json\n// WRONG in monorepo\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/library.json\"\n}\n```\n\n**Problem:** `noEmit: true` disables declaration emit, IDE can't \"go to definition\".\n\n**Solution:** Use `shared-library.json`\n\n---\n\n### \u274C Forgot explicit types after TS6\n\n**Problem:**\n\n```typescript\nimport { readFile } from \"node:fs/promises\";\n// Error: Cannot find module 'node:fs/promises'\n```\n\n**Solution:**\n\n```json\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/service.json\",\n \"compilerOptions\": {\n \"types\": [\"node\"]\n }\n}\n```\n\n---\n\n## Path Aliases\n\n**These configurations DO NOT include path aliases (`~/*`, `@/*`).**\n\n**Why?**\n\n- Require duplication in tsconfig, bundler, jest, eslint\n- Problems when publishing libraries\n- Different syntax across tools\n\n**Use relative paths:**\n\n```typescript\nimport { helper } from \"../../utils/helper\";\n```\n\n**Benefits:**\n\n- Work everywhere without configuration\n- ES modules standard\n- IDE auto-updates\n\n---\n\n## Philosophy\n\n**Bundler-centric approach:**\n\n- TypeScript only for type checking\n- Bundler handles compilation, sourcemaps, declarations\n- Exception: monorepo `shared-*` configs emit declarations for project references\n\n**Explicit configuration:**\n\n- All options specified explicitly, even if they're TS6 defaults\n- No magic, maximum compatibility\n- \"Just works\" everywhere\n\n---\n\n## Migration to TS6\n\n**TypeScript 6.0+ required:**\n\n```bash\npnpm add -D typescript@latest\n```\n\n**Add explicit types:**\n\n```json\n{\n \"extends\": \"@shibanet0/datamitsu-config/tsconfig/service.json\",\n \"compilerOptions\": {\n \"types\": [\"node\"]\n }\n}\n```\n\n**Check types:**\n\n```bash\ntsc --noEmit\n```\n\n---\n\n## Based on\n\n[@codecompose/typescript-config](https://github.com/0x80/typescript-config/commit/58337f95dea59ca25031ffa55a593bda5c78b882) by 0x80.";
2
+ export declare const TSCONFIG_MD_HASH = "1cf0bf81b69fc29c4f63362043bc228940e1a327268c651a05893baec7931994";
@@ -1 +1,2 @@
1
1
  export declare function safeJsonParse(content: string | undefined): Record<string, any>;
2
+ export declare function withTrailingNewline(content: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shibanet0/datamitsu-config",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Shared datamitsu configuration with 79+ managed development tools",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -16,10 +16,12 @@
16
16
  "default": "./dist/datamitsu-api/index.js"
17
17
  },
18
18
  "./tsconfig/base.json": "./tsconfig/base.json",
19
+ "./tsconfig/infra-pulumi.json": "./tsconfig/infra-pulumi.json",
19
20
  "./tsconfig/library.json": "./tsconfig/library.json",
20
21
  "./tsconfig/nextjs.json": "./tsconfig/nextjs.json",
21
22
  "./tsconfig/react-library.json": "./tsconfig/react-library.json",
22
23
  "./tsconfig/service.json": "./tsconfig/service.json",
24
+ "./tsconfig/service-worker.json": "./tsconfig/service-worker.json",
23
25
  "./tsconfig/shared-library.json": "./tsconfig/shared-library.json",
24
26
  "./tsconfig/shared-react-library.json": "./tsconfig/shared-react-library.json",
25
27
  "./package.json": "./package.json",
@@ -48,12 +50,9 @@
48
50
  "dist/**",
49
51
  "bin/**"
50
52
  ],
51
- "scripts": {
52
- "postinstall": "pnpm build"
53
- },
54
53
  "dependencies": {
55
54
  "@commander-js/extra-typings": "14.0.0",
56
- "@datamitsu/datamitsu": "0.0.11",
55
+ "@datamitsu/datamitsu": "0.0.17",
57
56
  "commander": "14.0.3",
58
57
  "execa": "9.6.1",
59
58
  "fast-glob": "3.3.3",
@@ -63,6 +62,6 @@
63
62
  },
64
63
  "engines": {
65
64
  "node": ">=26.2.0",
66
- "pnpm": ">=11.2.2"
65
+ "pnpm": ">=11.5.0"
67
66
  }
68
67
  }
@@ -19,6 +19,8 @@
19
19
  "noImplicitReturns": true,
20
20
  "noUncheckedIndexedAccess": true,
21
21
  "noUncheckedSideEffectImports": true,
22
+ "noUnusedLocals": true,
23
+ "noUnusedParameters": true,
22
24
  "outDir": "${configDir}/dist",
23
25
  "resolveJsonModule": true,
24
26
  "resolvePackageJsonExports": true,
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ "allowImportingTsExtensions": true,
5
+ "allowJs": true,
6
+ "allowUnreachableCode": false,
7
+ "allowUnusedLabels": false,
8
+ "esModuleInterop": true,
9
+ "exactOptionalPropertyTypes": true,
10
+ "experimentalDecorators": true,
11
+ "forceConsistentCasingInFileNames": true,
12
+ "isolatedModules": true,
13
+ "lib": ["esnext"],
14
+ "module": "esnext",
15
+ "moduleDetection": "force",
16
+ "moduleResolution": "bundler",
17
+ "noEmit": true,
18
+ "noFallthroughCasesInSwitch": true,
19
+ "noImplicitOverride": true,
20
+ "noImplicitReturns": true,
21
+ "noUncheckedIndexedAccess": true,
22
+ "noUnusedLocals": true,
23
+ "noUnusedParameters": true,
24
+ "resolveJsonModule": true,
25
+ "rootDir": "${configDir}",
26
+ "skipLibCheck": true,
27
+ "sourceMap": true,
28
+ "strict": true,
29
+ "target": "esnext",
30
+ "types": ["node"],
31
+ "useUnknownInCatchVariables": true
32
+ },
33
+ "display": "Infrastructure as Code (Pulumi)",
34
+ "exclude": ["${configDir}/node_modules"],
35
+ "include": ["${configDir}/**/*.ts"]
36
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ "noEmit": true,
5
+ "types": ["@cloudflare/workers-types"]
6
+ },
7
+ "display": "Backend service (Cloudflare Workers)",
8
+ "extends": "./base.json"
9
+ }
@@ -4,6 +4,6 @@
4
4
  "noEmit": true,
5
5
  "types": ["node"]
6
6
  },
7
- "display": "Backend service",
7
+ "display": "Backend service (Node.js)",
8
8
  "extends": "./base.json"
9
9
  }
@@ -1,2 +0,0 @@
1
- export declare const pnpmWorkspaceConfig: Record<string, any>;
2
- export declare const pnpmWorkspaceConfigYAML: string;