counterfact 2.0.1 β†’ 2.1.0

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.
@@ -51,17 +51,17 @@ function createWatchMessage(config) {
51
51
 
52
52
  switch (true) {
53
53
  case config.watch.routes && config.watch.types: {
54
- watchMessage = "Watching for changes";
54
+ watchMessage = " Watching for changes";
55
55
 
56
56
  break;
57
57
  }
58
58
  case config.watch.routes: {
59
- watchMessage = "Watching routes for changes";
59
+ watchMessage = " Watching routes for changes";
60
60
 
61
61
  break;
62
62
  }
63
63
  case config.watch.types: {
64
- watchMessage = "Watching types for changes";
64
+ watchMessage = " Watching types for changes";
65
65
 
66
66
  break;
67
67
  }
@@ -206,19 +206,26 @@ async function main(source, destination) {
206
206
  const watchMessage = createWatchMessage(config);
207
207
 
208
208
  const introduction = [
209
- "____ ____ _ _ _ _ ___ ____ ____ ____ ____ ____ ___",
210
- String.raw`|___ [__] |__| |\| | |=== |--< |--- |--| |___ | `,
211
- padTagLine(taglines[Math.floor(Math.random() * taglines.length)]),
209
+ " ____ ____ _ _ _ _ ___ ____ ____ ____ ____ ____ ___",
210
+ String.raw` |___ [__] |__| |\| | |=== |--< |--- |--| |___ | `,
211
+ " " + padTagLine(taglines[Math.floor(Math.random() * taglines.length)]),
212
212
  "",
213
- `| API Base URL ==> ${url}`,
214
- source === "_" ? undefined : `| Swagger UI ==> ${swaggerUrl}`,
213
+ ` API Base URL ${url}`,
214
+ source === "_" ? undefined : ` Swagger UI ${swaggerUrl}`,
215
+ "",
216
+ " Instructions https://counterfact.dev/docs/usage.html",
217
+ " Help/feedback https://github.com/pmcelhaney/counterfact/issues",
218
+ "",
219
+ "",
220
+ "πŸ”” PLEASE READ: Feedback, Telemetry, and Privacy Discussion (10 March 2026)",
221
+ " https://github.com/pmcelhaney/counterfact/discussions/1527",
215
222
  "",
216
- "| Instructions ==> https://counterfact.dev/docs/usage.html",
217
- "| Help/feedback ==> https://github.com/pmcelhaney/counterfact/issues",
218
223
  "",
219
224
  watchMessage,
220
- config.startServer ? "Starting server" : undefined,
221
- config.startRepl ? "Starting REPL, type .help for more info" : undefined,
225
+ config.startServer ? " Starting server" : undefined,
226
+ config.startRepl
227
+ ? " Starting REPL (type .help for more info)"
228
+ : undefined,
222
229
  ];
223
230
 
224
231
  process.stdout.write(
package/bin/taglines.txt CHANGED
@@ -45,3 +45,5 @@ the cloud natives are restless
45
45
  your front-end dev flight simulator
46
46
  your front-end’s sparring partner
47
47
  your back-end's stunt double
48
+ deterministic vibe coding
49
+ 404 tagline not found
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "counterfact",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Generate a TypeScript-based mock server from an OpenAPI spec in seconds β€” with stateful routes, hot reload, and REPL support.",
5
5
  "type": "module",
6
6
  "main": "./dist/app.js",
@@ -77,11 +77,11 @@
77
77
  "postinstall": "patch-package"
78
78
  },
79
79
  "devDependencies": {
80
- "@changesets/cli": "2.29.8",
81
- "@stryker-mutator/core": "9.5.1",
82
- "@stryker-mutator/jest-runner": "9.5.1",
83
- "@stryker-mutator/typescript-checker": "9.5.1",
84
- "@swc/core": "1.15.17",
80
+ "@changesets/cli": "2.30.0",
81
+ "@stryker-mutator/core": "9.6.0",
82
+ "@stryker-mutator/jest-runner": "9.6.0",
83
+ "@stryker-mutator/typescript-checker": "9.6.0",
84
+ "@swc/core": "1.15.18",
85
85
  "@swc/jest": "0.2.39",
86
86
  "@testing-library/dom": "10.4.1",
87
87
  "@types/debug": "^4.1.12",
@@ -95,7 +95,7 @@
95
95
  "@typescript-eslint/eslint-plugin": "^8.53.0",
96
96
  "@typescript-eslint/parser": "^8.53.0",
97
97
  "copyfiles": "2.4.1",
98
- "eslint": "9.39.3",
98
+ "eslint": "9.39.4",
99
99
  "eslint-formatter-github-annotations": "0.1.0",
100
100
  "eslint-import-resolver-typescript": "4.4.4",
101
101
  "eslint-plugin-etc": "2.0.3",
@@ -128,7 +128,7 @@
128
128
  "commander": "14.0.3",
129
129
  "debug": "4.4.3",
130
130
  "fetch": "1.1.0",
131
- "fs-extra": "11.3.3",
131
+ "fs-extra": "11.3.4",
132
132
  "handlebars": "4.7.8",
133
133
  "http-terminator": "3.2.0",
134
134
  "js-yaml": "4.1.1",