@vtj/local 0.10.1-alpha.2 → 0.10.1-alpha.4

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.cjs CHANGED
@@ -40,9 +40,9 @@ var __publicField$3 = (obj, key, value) => {
40
40
  return value;
41
41
  };
42
42
  class JsonRepository {
43
- constructor(path$1, platform = "web") {
43
+ constructor(path$1, _platform = "web") {
44
44
  __publicField$3(this, "path");
45
- const dir = platform === "uniapp" ? "src/vtj" : ".vtj";
45
+ const dir = ".vtj";
46
46
  this.path = path.resolve(dir, path$1);
47
47
  }
48
48
  exist(name) {
package/dist/index.mjs CHANGED
@@ -33,9 +33,9 @@ var __publicField$3 = (obj, key, value) => {
33
33
  return value;
34
34
  };
35
35
  class JsonRepository {
36
- constructor(path, platform = "web") {
36
+ constructor(path, _platform = "web") {
37
37
  __publicField$3(this, "path");
38
- const dir = platform === "uniapp" ? "src/vtj" : ".vtj";
38
+ const dir = ".vtj";
39
39
  this.path = resolve(dir, path);
40
40
  }
41
41
  exist(name) {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@vtj/local",
3
3
  "private": false,
4
- "version": "0.10.1-alpha.2",
4
+ "version": "0.10.1-alpha.4",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "formidable": "~3.5.1",
8
- "@vtj/coder": "~0.10.1-alpha.2",
9
- "@vtj/parser": "~0.10.1-alpha.2",
10
- "@vtj/core": "~0.10.1-alpha.2",
8
+ "@vtj/coder": "~0.10.1-alpha.4",
9
+ "@vtj/parser": "~0.10.1-alpha.4",
10
+ "@vtj/core": "~0.10.1-alpha.4",
11
11
  "@vtj/node": "~0.10.0"
12
12
  },
13
13
  "devDependencies": {