@malloy-publisher/create-malloy-package 0.0.59 → 0.0.61

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
@@ -311,7 +311,8 @@ All of that describes the script this tool writes. In a directory that already h
311
311
  runs whatever `start` was already there, binding wherever that command says. The same
312
312
  goes for everything else on this page that reads off a flag: `--port` and `--mcp_port`
313
313
  decide the URLs, `--server_root` and `--config` decide which workspace is served at
314
- all, and `--watch-env` decides whether an edit on disk is picked up without a reload.
314
+ all, and `--watch-env` decides whether an edit on disk is picked up at all: without it
315
+ the package is served as a published version, which a reload does not change.
315
316
  Read them out of the command you are about to run rather than off this page.
316
317
 
317
318
  Then read it off the server, which is the only ground truth. On boot it prints
package/dist/index.js CHANGED
@@ -573,7 +573,7 @@ var MCP_PORT = 4040;
573
573
  var ALT_PUBLISHER_PORT = PUBLISHER_PORT + 100;
574
574
  var ALT_MCP_PORT = MCP_PORT + 100;
575
575
  var BIND_HOST = "127.0.0.1";
576
- var SERVER_VERSION = "0.12.5";
576
+ var SERVER_VERSION = "0.13.0";
577
577
  function startCommandFor(envName) {
578
578
  return `npx -y @malloy-publisher/server@${SERVER_VERSION} --server_root . ` + `--config ./publisher.config.json --host ${BIND_HOST} ` + `--watch-env ${envName}`;
579
579
  }
@@ -690,7 +690,7 @@ function createPackage(options, result) {
690
690
  const dataDir = path2.join(packageDir, "data");
691
691
  assertWithinWorkspace(dataDir, options.cwd, `${name}/data`);
692
692
  fs3.mkdirSync(dataDir, { recursive: true });
693
- writeFile(path2.join(packageDir, "publisher.json"), JSON.stringify({ name }, null, 2) + `
693
+ writeFile(path2.join(packageDir, "publisher.json"), JSON.stringify({ name, version: "0.1.0" }, null, 2) + `
694
694
  `, options.cwd);
695
695
  writeFile(path2.join(packageDir, "malloy-config.json"), JSON.stringify({
696
696
  connections: {
@@ -1360,7 +1360,9 @@ function workspaceGitignoreEntries() {
1360
1360
  "publisher.db*",
1361
1361
  "*.log",
1362
1362
  ".DS_Store",
1363
- "malloy-config.json"
1363
+ "malloy-config.json",
1364
+ ".env",
1365
+ "*.env"
1364
1366
  ];
1365
1367
  }
1366
1368
  function workspaceGitignore() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@malloy-publisher/create-malloy-package",
3
3
  "description": "Scaffold a Malloy Publisher package and a local agent workspace, so one command takes you from nothing to an agent that can query your data.",
4
- "version": "0.0.59",
4
+ "version": "0.0.61",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "engines": {
@@ -45,12 +45,12 @@
45
45
  "test:e2e": "bun test --timeout 180000 ./tests/e2e"
46
46
  },
47
47
  "dependencies": {
48
- "@malloy-publisher/skills": "^0.1.51",
48
+ "@malloy-publisher/skills": "^0.1.53",
49
49
  "commander": "^12.1.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@eslint/js": "^8.57.0",
53
- "@malloydata/malloy": "^0.0.436",
53
+ "@malloydata/malloy": "^0.0.438",
54
54
  "@modelcontextprotocol/sdk": "^1.31.0",
55
55
  "@types/bun": "^1.2.21",
56
56
  "@types/node": "^24.10.0",
@@ -59,5 +59,5 @@
59
59
  "eslint": "^8.50.0",
60
60
  "typescript": "^5.3.3"
61
61
  },
62
- "publisherServer": "0.12.5"
62
+ "publisherServer": "0.13.0"
63
63
  }
@@ -28,7 +28,9 @@ Five flags decide whether the rest of this file is true:
28
28
  - `--port` and `--mcp_port` are absent from a command that uses the defaults above,
29
29
  which is the usual case. Where either one is present, it moves every URL here.
30
30
  - `--watch-env` is not a default, so watch mode is on only if you can see it. Without
31
- it, an edit on disk is not picked up at all until you reload the package.
31
+ it, each package is published at boot as the immutable version its `publisher.json`
32
+ declares, and an edit on disk is never picked up, reload or not: to ship one, bump
33
+ that `version` and publish the package again.
32
34
  - `--server_root` and `--config` say which workspace is being served. Pointing either
33
35
  one outside this directory serves a different workspace entirely, and then nothing
34
36
  below describes what you are talking to.