@terai/dev 0.0.16 → 0.0.18

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
@@ -1,2 +1,2 @@
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]}})});
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});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]}})});
2
2
  //# sourceMappingURL=index.cjs.map
@@ -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 * from '@terai/translator/translators'\n\nexport * from '@terai/types'\n"],"mappings":"AAEA,SAAgB,EAAa,EAAgB,CAC5C,OAAO"}
1
+ {"version":3,"file":"index.cjs","names":["defineConfig","config","_terai_translator_translators","k"],"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 type * from '@terai/types'\n"],"mappings":"A,mEAEA,SAAgBA,EAAa,EAAgB,CAC5C,OAAOC,CACR,C"}
package/dist/index.d.cts CHANGED
@@ -1,9 +1,7 @@
1
1
  import { Config } from "@terai/types";
2
- export * from "@terai/types";
2
+ export type * from "@terai/types";
3
3
  export * from "@terai/translator/translators";
4
-
5
4
  //#region src/index.d.ts
6
- declare function defineConfig(config: Config): Config;
5
+ export declare function defineConfig(config: Config): Config;
7
6
  //#endregion
8
- export { defineConfig };
9
7
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;iBAEgB,YAAA,SAAqB,SAAM"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;wBAEgB,aAAa,QAAQ,SAAM"}
package/dist/index.d.mts CHANGED
@@ -1,9 +1,7 @@
1
1
  import { Config } from "@terai/types";
2
2
  export * from "@terai/translator/translators";
3
- export * from "@terai/types";
4
-
3
+ export type * from "@terai/types";
5
4
  //#region src/index.d.ts
6
- declare function defineConfig(config: Config): Config;
5
+ export declare function defineConfig(config: Config): Config;
7
6
  //#endregion
8
- export { defineConfig };
9
7
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;iBAEgB,YAAA,SAAqB,SAAM"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;wBAEgB,aAAa,QAAQ,SAAM"}
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export*from"@terai/translator/translators";export*from"@terai/types";function e(e){return e}export{e as defineConfig};
1
+ export*from"@terai/translator/translators";function e(e){return e}export{e as defineConfig};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -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 * from '@terai/translator/translators'\n\nexport * from '@terai/types'\n"],"mappings":"qEAEA,SAAgB,EAAa,EAAgB,CAC5C,OAAO"}
1
+ {"version":3,"file":"index.mjs","names":["defineConfig","config"],"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 type * from '@terai/types'\n"],"mappings":"A,2CAEA,SAAgBA,EAAa,EAAgB,CAC5C,OAAOC,CACR,C"}
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "@terai/dev",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "The user-facing package for Terai",
5
+ "engines": {
6
+ "node": ">=22.13.0"
7
+ },
5
8
  "main": "./dist/index.cjs",
6
9
  "module": "./dist/index.mjs",
7
- "types": "./dist/index.d.ts",
10
+ "types": "./dist/index.d.mts",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/terai-labs/terai.git",
14
+ "directory": "packages/dev"
15
+ },
8
16
  "private": false,
9
17
  "author": "Hugo Corta <corta.hugo@gmail.com>",
10
18
  "bin": {
@@ -31,24 +39,24 @@
31
39
  }
32
40
  },
33
41
  "dependencies": {
34
- "@inquirer/prompts": "^3",
35
- "cac": "^6",
36
- "dotenv": "^1",
37
- "inquirer": "^9",
38
- "kleur": "^4",
39
- "perfect-debounce": "^1",
40
- "preferred-pm": "^3",
41
- "@terai/extractor": "0.0.16",
42
- "@terai/runtime": "0.0.16",
43
- "@terai/translator": "0.0.16",
44
- "@terai/utils": "0.0.16",
45
- "@terai/types": "0.0.16"
42
+ "@inquirer/prompts": "^8.7.3",
43
+ "cac": "^7.1.0",
44
+ "dotenv": "^18.0.8",
45
+ "inquirer": "^14.2.3",
46
+ "kleur": "^4.1.5",
47
+ "perfect-debounce": "^2.1.0",
48
+ "preferred-pm": "^5.0.1",
49
+ "@terai/runtime": "0.0.18",
50
+ "@terai/extractor": "0.0.18",
51
+ "@terai/translator": "0.0.18",
52
+ "@terai/types": "0.0.18",
53
+ "@terai/utils": "0.0.18"
46
54
  },
47
55
  "devDependencies": {
48
- "@types/update-notifier": "^6",
49
- "update-notifier": "^6",
50
- "@terai/generator": "0.0.16",
51
- "@terai/logger": "0.0.16"
56
+ "@types/update-notifier": "^6.0.8",
57
+ "update-notifier": "^7.3.1",
58
+ "@terai/generator": "0.0.18",
59
+ "@terai/logger": "0.0.18"
52
60
  },
53
61
  "scripts": {
54
62
  "dev": "tsdown --format=esm --no-dts --watch",