@terai/dev 0.0.13 → 0.0.14
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/cli.default.cjs +4 -4
- package/dist/cli.default.cjs.map +1 -1
- package/dist/cli.default.mjs +34 -34
- package/dist/cli.default.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
function e(e){return e}exports.defineConfig=e;var t=require(`@terai/translator/translators`);Object.keys(t).forEach(function(e){e!==`default`&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});var n=require(`@terai/types`);Object.keys(n).forEach(function(e){e!==`default`&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})});
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { Config } from '@terai/types'\n\nexport function defineConfig(config: Config) {\n\treturn config\n}\n\nexport
|
|
1
|
+
{"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { Config } from '@terai/types'\n\nexport function defineConfig(config: Config) {\n\treturn config\n}\n\nexport * from '@terai/translator/translators'\n\nexport * from '@terai/types'\n"],"mappings":"AAEA,SAAgB,EAAa,EAAgB,CAC5C,OAAO"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Config } from "@terai/types";
|
|
2
|
-
import { createChatGptTranslator, createGoogleCloudTranslator } from "@terai/translator/translators";
|
|
3
2
|
export * from "@terai/types";
|
|
3
|
+
export * from "@terai/translator/translators";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
6
6
|
declare function defineConfig(config: Config): Config;
|
|
7
7
|
//#endregion
|
|
8
|
-
export {
|
|
8
|
+
export { defineConfig };
|
|
9
9
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createChatGptTranslator, createGoogleCloudTranslator } from "@terai/translator/translators";
|
|
2
1
|
import { Config } from "@terai/types";
|
|
2
|
+
export * from "@terai/translator/translators";
|
|
3
3
|
export * from "@terai/types";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
6
6
|
declare function defineConfig(config: Config): Config;
|
|
7
7
|
//#endregion
|
|
8
|
-
export {
|
|
8
|
+
export { defineConfig };
|
|
9
9
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export*from"@terai/translator/translators";export*from"@terai/types";function e(e){return e}export{e as defineConfig};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { Config } from '@terai/types'\n\nexport function defineConfig(config: Config) {\n\treturn config\n}\n\nexport
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["import type { Config } from '@terai/types'\n\nexport function defineConfig(config: Config) {\n\treturn config\n}\n\nexport * from '@terai/translator/translators'\n\nexport * from '@terai/types'\n"],"mappings":"qEAEA,SAAgB,EAAa,EAAgB,CAC5C,OAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@terai/dev",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "The user-facing package for Terai",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"kleur": "^4",
|
|
39
39
|
"perfect-debounce": "^1",
|
|
40
40
|
"preferred-pm": "^3",
|
|
41
|
-
"@terai/extractor": "0.0.
|
|
42
|
-
"@terai/runtime": "0.0.
|
|
43
|
-
"@terai/translator": "0.0.
|
|
44
|
-
"@terai/utils": "0.0.
|
|
45
|
-
"@terai/types": "0.0.
|
|
41
|
+
"@terai/extractor": "0.0.14",
|
|
42
|
+
"@terai/runtime": "0.0.14",
|
|
43
|
+
"@terai/translator": "0.0.14",
|
|
44
|
+
"@terai/utils": "0.0.14",
|
|
45
|
+
"@terai/types": "0.0.14"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/update-notifier": "^6",
|
|
49
49
|
"update-notifier": "^6",
|
|
50
|
-
"@terai/generator": "0.0.
|
|
51
|
-
"@terai/logger": "0.0.
|
|
50
|
+
"@terai/generator": "0.0.14",
|
|
51
|
+
"@terai/logger": "0.0.14"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"dev": "tsdown --format=esm --no-dts --watch",
|