@tsed/cli-plugin-typegraphql 3.21.0-rc.2 → 3.21.0-rc.3
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.
|
@@ -7,7 +7,7 @@ const path_1 = require("path");
|
|
|
7
7
|
const filedirname_1 = tslib_1.__importDefault(require("filedirname"));
|
|
8
8
|
const [, dir] = (0, filedirname_1.default)();
|
|
9
9
|
const { path } = read_pkg_up_1.default.sync({
|
|
10
|
-
cwd: dir
|
|
10
|
+
cwd: (0, path_1.join)(dir, "..", "..")
|
|
11
11
|
});
|
|
12
12
|
exports.TEMPLATE_DIR = (0, path_1.join)((0, path_1.dirname)(path), "templates");
|
|
13
13
|
//# sourceMappingURL=templateDir.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateDir.js","sourceRoot":"","sources":["../../../src/utils/templateDir.ts"],"names":[],"mappings":";;;;AAAA,sEAAoC;AACpC,+BAAmC;AACnC,sEAAsC;AACtC,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,IAAA,qBAAW,GAAE,CAAC;AAE9B,MAAM,EAAC,IAAI,EAAC,GAAG,qBAAS,CAAC,IAAI,CAAC;IAC5B,GAAG,EAAE,GAAG;
|
|
1
|
+
{"version":3,"file":"templateDir.js","sourceRoot":"","sources":["../../../src/utils/templateDir.ts"],"names":[],"mappings":";;;;AAAA,sEAAoC;AACpC,+BAAmC;AACnC,sEAAsC;AACtC,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,IAAA,qBAAW,GAAE,CAAC;AAE9B,MAAM,EAAC,IAAI,EAAC,GAAG,qBAAS,CAAC,IAAI,CAAC;IAC5B,GAAG,EAAE,IAAA,WAAI,EAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC;CAC3B,CAAE,CAAC;AAES,QAAA,YAAY,GAAG,IAAA,WAAI,EAAC,IAAA,cAAO,EAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC","sourcesContent":["import readPkgUp from \"read-pkg-up\";\nimport {dirname, join} from \"path\";\nimport filedirname from \"filedirname\";\nconst [, dir] = filedirname();\n\nconst {path} = readPkgUp.sync({\n cwd: join(dir, \"..\", \"..\")\n})!;\n\nexport const TEMPLATE_DIR = join(dirname(path), \"templates\");\n"]}
|
|
@@ -3,7 +3,7 @@ import { dirname, join } from "path";
|
|
|
3
3
|
import filedirname from "filedirname";
|
|
4
4
|
const [, dir] = filedirname();
|
|
5
5
|
const { path } = readPkgUp.sync({
|
|
6
|
-
cwd: dir
|
|
6
|
+
cwd: join(dir, "..", "..")
|
|
7
7
|
});
|
|
8
8
|
export const TEMPLATE_DIR = join(dirname(path), "templates");
|
|
9
9
|
//# sourceMappingURL=templateDir.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templateDir.js","sourceRoot":"","sources":["../../../src/utils/templateDir.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,OAAO,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AACnC,OAAO,WAAW,MAAM,aAAa,CAAC;AACtC,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,WAAW,EAAE,CAAC;AAE9B,MAAM,EAAC,IAAI,EAAC,GAAG,SAAS,CAAC,IAAI,CAAC;IAC5B,GAAG,EAAE,GAAG;
|
|
1
|
+
{"version":3,"file":"templateDir.js","sourceRoot":"","sources":["../../../src/utils/templateDir.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAC,OAAO,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AACnC,OAAO,WAAW,MAAM,aAAa,CAAC;AACtC,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,WAAW,EAAE,CAAC;AAE9B,MAAM,EAAC,IAAI,EAAC,GAAG,SAAS,CAAC,IAAI,CAAC;IAC5B,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC;CAC3B,CAAE,CAAC;AAEJ,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC","sourcesContent":["import readPkgUp from \"read-pkg-up\";\nimport {dirname, join} from \"path\";\nimport filedirname from \"filedirname\";\nconst [, dir] = filedirname();\n\nconst {path} = readPkgUp.sync({\n cwd: join(dir, \"..\", \"..\")\n})!;\n\nexport const TEMPLATE_DIR = join(dirname(path), \"templates\");\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/cli-plugin-typegraphql",
|
|
3
|
-
"version": "3.21.0-rc.
|
|
3
|
+
"version": "3.21.0-rc.3",
|
|
4
4
|
"description": "Ts.ED CLI plugin. Add TypeGraphql support.",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"tslib": "2.3.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@tsed/cli": "3.21.0-rc.
|
|
29
|
-
"@tsed/cli-core": "3.21.0-rc.
|
|
28
|
+
"@tsed/cli": "3.21.0-rc.3",
|
|
29
|
+
"@tsed/cli-core": "3.21.0-rc.3"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@tsed/cli": "^3.21.0-rc.
|
|
33
|
-
"@tsed/cli-core": "^3.21.0-rc.
|
|
32
|
+
"@tsed/cli": "^3.21.0-rc.3",
|
|
33
|
+
"@tsed/cli-core": "^3.21.0-rc.3"
|
|
34
34
|
},
|
|
35
35
|
"repository": "https://github.com/tsedio/tsed-cli",
|
|
36
36
|
"bugs": {
|