create-mushi-mushi 0.6.4 → 0.6.5

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
@@ -98,4 +98,4 @@ MIT
98
98
  <!-- mushi-readme-stats-footer -->
99
99
  ---
100
100
 
101
- <sub>Monorepo scale (July 2026): 64 edge functions · 436 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
101
+ <sub>Monorepo scale (July 2026): 65 edge functions · 469 SQL migrations · 13 outbound plugins · 11 inbound adapters · 19 pipeline agents. Canonical counts: <a href="https://github.com/kensaurus/mushi-mushi/blob/master/docs/stats.md">docs/stats.md</a> · <code>pnpm docs-stats</code></sub>
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/index.ts
4
- import { cpSync, existsSync } from "fs";
5
- import { resolve } from "path";
4
+ import { cpSync, existsSync, renameSync } from "fs";
5
+ import { join, resolve } from "path";
6
6
  import { fileURLToPath } from "url";
7
7
  import { runInit } from "@mushi-mushi/cli/init";
8
8
  import {
@@ -10,7 +10,7 @@ import {
10
10
  assertNodeVersion,
11
11
  FLAGS_HELP
12
12
  } from "@mushi-mushi/cli/wizard-args";
13
- var VERSION = true ? "0.6.4" : "0.0.0-dev";
13
+ var VERSION = true ? "0.6.5" : "0.0.0-dev";
14
14
  var BIN = "create-mushi-mushi";
15
15
  var ISSUES_URL = "https://github.com/kensaurus/mushi-mushi/issues";
16
16
  var TEMPLATE_IDS = ["vue", "svelte", "node"];
@@ -41,6 +41,7 @@ function scaffoldTemplate(id, targetArg) {
41
41
  }
42
42
  const templateDir = fileURLToPath(new URL(`../templates/${id}`, import.meta.url));
43
43
  cpSync(templateDir, targetDir, { recursive: true });
44
+ renameSync(join(targetDir, "gitignore"), join(targetDir, ".gitignore"));
44
45
  process.stdout.write(
45
46
  `Scaffolded the ${id} starter into ${targetDir}
46
47
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "create-mushi-mushi",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "license": "MIT",
5
5
  "description": "Run `npm create mushi-mushi` to add the Mushi Mushi bug-reporting SDK to your existing project — the wizard auto-detects your framework (React, Vue, Svelte, Angular, React Native, Expo, Capacitor) and installs the right package.",
6
6
  "bin": {
7
7
  "create-mushi-mushi": "./dist/index.js"
8
8
  },
9
9
  "dependencies": {
10
- "@mushi-mushi/cli": "^0.30.0"
10
+ "@mushi-mushi/cli": "^0.30.4"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@types/node": "^22.20.0",
@@ -0,0 +1,6 @@
1
+ node_modules
2
+ dist
3
+ # Env files hold your Mushi API key; .env.example stays committed.
4
+ .env
5
+ .env.*
6
+ !.env.example
@@ -3,6 +3,9 @@
3
3
  "private": true,
4
4
  "version": "0.0.1",
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": ">=20.6"
8
+ },
6
9
  "scripts": {
7
10
  "start": "node --env-file=.env src/server.mjs"
8
11
  },
@@ -0,0 +1,6 @@
1
+ node_modules
2
+ dist
3
+ # Env files hold your Mushi API key; .env.example stays committed.
4
+ .env
5
+ .env.*
6
+ !.env.example
@@ -0,0 +1,6 @@
1
+ node_modules
2
+ dist
3
+ # Env files hold your Mushi API key; .env.example stays committed.
4
+ .env
5
+ .env.*
6
+ !.env.example