@voxgig/model 2.0.0 → 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.
- package/dist/model.d.ts +1 -2
- package/dist/model.js +1 -7
- package/dist/model.js.map +1 -1
- package/model.ts +0 -5
- package/package.json +5 -5
package/dist/model.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Config } from './lib/config';
|
|
2
2
|
import { BuildResult, Spec } from './lib/build';
|
|
3
3
|
import { Watch } from './lib/watch';
|
|
4
|
-
import { dive, joins, get, pinify, camelify } from '@voxgig/util';
|
|
5
4
|
declare class Model {
|
|
6
5
|
config: Config;
|
|
7
6
|
build: any;
|
|
@@ -12,4 +11,4 @@ declare class Model {
|
|
|
12
11
|
start(): Promise<void>;
|
|
13
12
|
stop(): Promise<void>;
|
|
14
13
|
}
|
|
15
|
-
export { Model, Spec,
|
|
14
|
+
export { Model, Spec, };
|
package/dist/model.js
CHANGED
|
@@ -4,19 +4,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.Model = void 0;
|
|
8
8
|
// TODO: remove need for this
|
|
9
9
|
const fs_1 = __importDefault(require("fs"));
|
|
10
10
|
const config_1 = require("./lib/config");
|
|
11
11
|
const watch_1 = require("./lib/watch");
|
|
12
12
|
const model_1 = require("./lib/builder/model");
|
|
13
13
|
const local_1 = require("./lib/builder/local");
|
|
14
|
-
const util_1 = require("@voxgig/util");
|
|
15
|
-
Object.defineProperty(exports, "dive", { enumerable: true, get: function () { return util_1.dive; } });
|
|
16
|
-
Object.defineProperty(exports, "joins", { enumerable: true, get: function () { return util_1.joins; } });
|
|
17
|
-
Object.defineProperty(exports, "get", { enumerable: true, get: function () { return util_1.get; } });
|
|
18
|
-
Object.defineProperty(exports, "pinify", { enumerable: true, get: function () { return util_1.pinify; } });
|
|
19
|
-
Object.defineProperty(exports, "camelify", { enumerable: true, get: function () { return util_1.camelify; } });
|
|
20
14
|
const intern = makeIntern();
|
|
21
15
|
class Model {
|
|
22
16
|
constructor(spec) {
|
package/dist/model.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../model.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;AAEpD,6BAA6B;AAC7B,4CAAmB;AAEnB,yCAAqC;AAErC,uCAAmC;AAEnC,+CAAmD;AACnD,+CAAmD;
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../model.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;;;AAEpD,6BAA6B;AAC7B,4CAAmB;AAEnB,yCAAqC;AAErC,uCAAmC;AAEnC,+CAAmD;AACnD,+CAAmD;AAWnD,MAAM,MAAM,GAAG,UAAU,EAAE,CAAA;AAE3B,MAAM,KAAK;IAQT,YAAY,IAAU;QAHtB,kBAAa,GAAG,KAAK,CAAA;QAKnB,oDAAoD;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE;YACpC,IAAI,EAAE,GAAG;YACT,KAAK,EAAE,KAAK,EAAE,KAAY,EAAE,EAAE;gBAE5B,IAAI,IAAI,CAAC,aAAa,EAAE,CAAC;oBAEvB,eAAe;oBACf,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;oBAE9C,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;gBAC7B,CAAC;qBACI,CAAC;oBACJ,IAAI,CAAC,aAAa,GAAG,IAAI,CAAA;oBACzB,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAA;gBACrB,CAAC;YACH,CAAC;SACF,CAAC,CAAA;QAGF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AAsB,CAAA;YAE1C,yBAAyB;YACzB,IAAI,GAAG,GAAG,YAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAA;YAE3C,IAAI,KAAK,GAAS;gBAChB,GAAG,EAAE,GAAG;gBACR,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,KAAK;gBACX,GAAG,EAAE;oBAEH,iDAAiD;oBACjD;wBACE,IAAI,EAAE,GAAG;wBACT,KAAK,EAAE,qBAAa;qBACrB;oBAED,mBAAmB;iBACpB;gBACD,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAA;YAED,OAAO,IAAI,eAAM,CAAC,KAAK,CAAC,CAAA;QAC1B,CAAC;KACF,CAAA;AACH,CAAC"}
|
package/model.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voxgig/model",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"main": "dist/model.js",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"types": "dist/model.d.ts",
|
|
@@ -44,17 +44,17 @@
|
|
|
44
44
|
"LICENSE"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@voxgig/util": "^0.0.
|
|
47
|
+
"@voxgig/util": "^0.0.2",
|
|
48
48
|
"aontu": "0.21.1",
|
|
49
49
|
"chokidar": "3.6.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/jest": "^29.5.12",
|
|
53
|
-
"@types/node": "20.14.
|
|
53
|
+
"@types/node": "20.14.10",
|
|
54
54
|
"es-jest": "^2.1.0",
|
|
55
|
-
"esbuild": "^0.
|
|
55
|
+
"esbuild": "^0.23.0",
|
|
56
56
|
"esbuild-jest": "^0.5.0",
|
|
57
57
|
"jest": "^29.7.0",
|
|
58
|
-
"typescript": "^5.
|
|
58
|
+
"typescript": "^5.5.3"
|
|
59
59
|
}
|
|
60
60
|
}
|