@raystack/chronicle 0.1.0-canary.a638730 → 0.1.0-canary.d9f273b

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/dist/cli/index.js CHANGED
@@ -251,7 +251,6 @@ async function buildVercelOutput(options) {
251
251
  console.log(chalk5.gray(" Copied server bundle to functions/"));
252
252
  const templateSrc = path7.resolve(clientDir, "src/server/index.html");
253
253
  await fs3.copyFile(templateSrc, path7.resolve(funcDir, "index.html"));
254
- await fs3.writeFile(path7.resolve(funcDir, "package.json"), JSON.stringify({ type: "module" }, null, 2));
255
254
  await fs3.writeFile(path7.resolve(funcDir, ".vc-config.json"), JSON.stringify({
256
255
  runtime: "nodejs22.x",
257
256
  handler: "entry-vercel.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/chronicle",
3
- "version": "0.1.0-canary.a638730",
3
+ "version": "0.1.0-canary.d9f273b",
4
4
  "description": "Config-driven documentation framework",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -49,13 +49,7 @@ export async function buildVercelOutput(options: VercelAdapterOptions) {
49
49
  const templateSrc = path.resolve(clientDir, 'src/server/index.html')
50
50
  await fs.copyFile(templateSrc, path.resolve(funcDir, 'index.html'))
51
51
 
52
- // 5. Write package.json for ESM support
53
- await fs.writeFile(
54
- path.resolve(funcDir, 'package.json'),
55
- JSON.stringify({ type: 'module' }, null, 2),
56
- )
57
-
58
- // 6. Write .vc-config.json
52
+ // 5. Write .vc-config.json
59
53
  await fs.writeFile(
60
54
  path.resolve(funcDir, '.vc-config.json'),
61
55
  JSON.stringify({
@@ -65,7 +59,7 @@ export async function buildVercelOutput(options: VercelAdapterOptions) {
65
59
  }, null, 2),
66
60
  )
67
61
 
68
- // 7. Write config.json
62
+ // 6. Write config.json
69
63
  await fs.writeFile(
70
64
  path.resolve(outputDir, 'config.json'),
71
65
  JSON.stringify({