@malloydata/malloyyo 0.2.45 → 0.2.46
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/index.js +6 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2574,6 +2574,7 @@ var rendersNoData = (d) => !d.query && (!d.tiles || d.tiles.length === 0);
|
|
|
2574
2574
|
|
|
2575
2575
|
// src/gather.ts
|
|
2576
2576
|
var SKIP_DIRS = /* @__PURE__ */ new Set(["node_modules", ".git"]);
|
|
2577
|
+
var DEVCONTAINER_PATH = ".devcontainer/devcontainer.json";
|
|
2577
2578
|
function gatherDirectory(dir) {
|
|
2578
2579
|
const files = [];
|
|
2579
2580
|
const walk = (cur) => {
|
|
@@ -2591,6 +2592,10 @@ function gatherDirectory(dir) {
|
|
|
2591
2592
|
}
|
|
2592
2593
|
};
|
|
2593
2594
|
walk(dir);
|
|
2595
|
+
const devcontainer = join2(dir, ...DEVCONTAINER_PATH.split("/"));
|
|
2596
|
+
if (existsSync2(devcontainer)) {
|
|
2597
|
+
files.push({ path: DEVCONTAINER_PATH, content: readFileSync2(devcontainer, "utf8") });
|
|
2598
|
+
}
|
|
2594
2599
|
const configPath = join2(dir, "malloy-config.json");
|
|
2595
2600
|
const config = existsSync2(configPath) ? readFileSync2(configPath, "utf8") : void 0;
|
|
2596
2601
|
return { files, config };
|
|
@@ -2885,7 +2890,7 @@ function clearCreds(url6) {
|
|
|
2885
2890
|
}
|
|
2886
2891
|
|
|
2887
2892
|
// package.json
|
|
2888
|
-
var version = "0.2.
|
|
2893
|
+
var version = "0.2.46";
|
|
2889
2894
|
|
|
2890
2895
|
// src/http.ts
|
|
2891
2896
|
var USER_AGENT = `malloyyo/${version}`;
|