@malloy-publisher/server 0.0.90 → 0.0.92
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/.prettierignore +1 -0
- package/build.ts +9 -0
- package/dist/app/api-doc.yaml +3 -0
- package/dist/app/assets/{index-2BGzlUQa.js → index-DYO_URL-.js} +100 -100
- package/dist/app/assets/{index-D1X7Y0Ve.js → index-Dg-zTLb3.js} +1 -1
- package/dist/app/assets/{index.es49-D9XPPIF9.js → index.es50-CDMydA2o.js} +1 -1
- package/dist/app/assets/mui-UpaxdnvH.js +159 -0
- package/dist/app/index.html +2 -2
- package/dist/server.js +307 -98
- package/eslint.config.mjs +8 -0
- package/package.json +2 -1
- package/publisher.config.json +25 -5
- package/src/config.ts +25 -2
- package/src/constants.ts +1 -1
- package/src/controller/package.controller.ts +1 -0
- package/src/controller/watch-mode.controller.ts +19 -4
- package/src/data_styles.ts +10 -3
- package/src/mcp/prompts/index.ts +9 -1
- package/src/mcp/resources/package_resource.ts +2 -1
- package/src/mcp/resources/source_resource.ts +1 -0
- package/src/mcp/resources/view_resource.ts +1 -0
- package/src/server.ts +9 -5
- package/src/service/connection.ts +17 -4
- package/src/service/db_utils.ts +19 -11
- package/src/service/model.ts +2 -0
- package/src/service/package.spec.ts +76 -54
- package/src/service/project.ts +160 -45
- package/src/service/project_store.spec.ts +477 -165
- package/src/service/project_store.ts +319 -69
- package/src/service/scheduler.ts +3 -2
- package/src/utils.ts +0 -1
- package/tests/harness/e2e.ts +60 -58
- package/tests/harness/uris.ts +21 -24
- package/tests/integration/mcp/mcp_resource.integration.spec.ts +10 -0
- package/dist/app/assets/mui-YektUyEU.js +0 -161
package/.prettierignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
src/api.ts
|
package/build.ts
CHANGED
|
@@ -24,3 +24,12 @@ await build({
|
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
fs.cpSync("../app/dist", "./dist/app", { recursive: true });
|
|
27
|
+
|
|
28
|
+
// Add shebang to server.js for npx compatibility
|
|
29
|
+
const serverJsPath = "./dist/server.js";
|
|
30
|
+
const serverJsContent = fs.readFileSync(serverJsPath, "utf8");
|
|
31
|
+
const shebangContent = "#!/usr/bin/env node\n" + serverJsContent;
|
|
32
|
+
fs.writeFileSync(serverJsPath, shebangContent);
|
|
33
|
+
|
|
34
|
+
// Make the file executable
|
|
35
|
+
fs.chmodSync(serverJsPath, "755");
|
package/dist/app/api-doc.yaml
CHANGED
|
@@ -1350,6 +1350,9 @@ components:
|
|
|
1350
1350
|
name:
|
|
1351
1351
|
type: string
|
|
1352
1352
|
description: Name of the schema
|
|
1353
|
+
description:
|
|
1354
|
+
type: string
|
|
1355
|
+
description: Description of the schema
|
|
1353
1356
|
isDefault:
|
|
1354
1357
|
type: boolean
|
|
1355
1358
|
description: Whether this schema is the default schema
|