@malloydata/malloy 0.0.195-dev241003204819 → 0.0.195-dev241003204905

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/malloy.js CHANGED
@@ -28,10 +28,10 @@ const model_1 = require("./model");
28
28
  const luxon_1 = require("luxon");
29
29
  const tags_1 = require("./tags");
30
30
  const dialect_1 = require("./dialect");
31
+ const version_1 = require("./version");
31
32
  class Malloy {
32
- // TODO load from file built during release
33
33
  static get version() {
34
- return '0.0.1';
34
+ return version_1.MALLOY_VERSION;
35
35
  }
36
36
  static _parse(source, url, eventStream, options) {
37
37
  if (url === undefined) {
@@ -0,0 +1 @@
1
+ export declare const MALLOY_VERSION = "0.0.195";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MALLOY_VERSION = void 0;
4
+ // generated with 'generate-version-file' script; do not edit manually
5
+ exports.MALLOY_VERSION = '0.0.195';
6
+ //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.195-dev241003204819",
3
+ "version": "0.0.195-dev241003204905",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -37,7 +37,8 @@
37
37
  "clean": "tsc --build --clean && rm -rf src/lang/lib dist",
38
38
  "build": "npm run build-parser && tsc --build",
39
39
  "malloyc": "ts-node ../../scripts/malloy-to-json",
40
- "prepublishOnly": "npm run clean && npm run build"
40
+ "prepublishOnly": "npm run clean && npm run build",
41
+ "generate-version-file": "VERSION=$(npm pkg get version --workspaces=false | tr -d \\\")\necho \"// generated with 'generate-version-file' script; do not edit manually\\nexport const MALLOY_VERSION = '$VERSION';\" > src/version.ts"
41
42
  },
42
43
  "dependencies": {
43
44
  "antlr4ts": "^0.5.0-alpha.4",