doccupine 0.0.111 → 0.0.112

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.
@@ -4,6 +4,7 @@ import { eslintConfigTemplate } from "../templates/eslint.config.js";
4
4
  import { packageJsonTemplate } from "../templates/package.js";
5
5
  import { prettierrcTemplate } from "../templates/prettierrc.js";
6
6
  import { prettierignoreTemplate } from "../templates/prettierignore.js";
7
+ import { npmrcTemplate } from "../templates/npmrc.js";
7
8
  import { tsconfigTemplate } from "../templates/tsconfig.js";
8
9
  import { gatePageTemplate } from "../templates/app/gate/page.js";
9
10
  import { gateRoutesTemplate } from "../templates/app/api/gate/route.js";
@@ -119,6 +120,7 @@ export const appStructure = {
119
120
  ".gitignore": gitignoreTemplate,
120
121
  ".prettierrc": prettierrcTemplate,
121
122
  ".prettierignore": prettierignoreTemplate,
123
+ ".npmrc": npmrcTemplate,
122
124
  "eslint.config.mjs": eslintConfigTemplate,
123
125
  "package.json": packageJsonTemplate,
124
126
  "tsconfig.json": tsconfigTemplate,
@@ -0,0 +1 @@
1
+ export declare const npmrcTemplate = "legacy-peer-deps=true\n";
@@ -0,0 +1,9 @@
1
+ // Several ESLint plugins the generated app depends on (eslint-plugin-react,
2
+ // eslint-plugin-jsx-a11y, eslint-plugin-import) haven't published ESLint 10 in
3
+ // their peer ranges yet, even though they run fine under it. pnpm only warns on
4
+ // such peer mismatches,
5
+ // but npm (used by the Vercel build's `cd nextjs-app && npm install`) hard-fails
6
+ // with ERESOLVE. legacy-peer-deps tells npm to skip that strict check, matching
7
+ // pnpm's behavior. Remove once the plugins declare ESLint 10 support.
8
+ export const npmrcTemplate = `legacy-peer-deps=true
9
+ `;
@@ -24,7 +24,7 @@ export const packageJsonTemplate = JSON.stringify({
24
24
  minisearch: "^7.2.0",
25
25
  next: "16.2.10",
26
26
  "next-mdx-remote": "^6.0.0",
27
- "posthog-js": "^1.398.6",
27
+ "posthog-js": "^1.398.7",
28
28
  "posthog-node": "^5.40.0",
29
29
  react: "19.2.7",
30
30
  "react-dom": "19.2.7",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doccupine",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "description": "Free and open-source documentation platform. Write MDX, get a production-ready site with AI chat, built-in components, and an MCP server - in one command.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {