gt-node 0.0.0-alpha.0 → 0.0.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # gt-node
2
+
3
+ ## 0.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#979](https://github.com/generaltranslation/gt/pull/979) [`3e50918`](https://github.com/generaltranslation/gt/commit/3e509184eb52f5886ebac9cd17e62503277986fd) Thanks [@ErnestM1234](https://github.com/ErnestM1234)! - chore: setup package boilerplate
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Node.js utilities for General Translation.
4
4
 
5
+ This is currently a placeholder package.
6
+
5
7
  ## Installation
6
8
 
7
9
  ```bash
@@ -1,2 +1,2 @@
1
- "use strict";module.exports=function(){return"Hello World"};
1
+ "use strict";exports.helloWorld=function(){return"Hello World"};
2
2
  //# sourceMappingURL=index.cjs.min.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs.min.cjs","sources":["../src/index.ts"],"sourcesContent":["export default function () {\n return 'Hello World';\n}\n"],"names":[],"mappings":"4BAAc,WACZ,MAAO,aACT"}
1
+ {"version":3,"file":"index.cjs.min.cjs","sources":["../src/index.ts"],"sourcesContent":["export function helloWorld(): string {\n return 'Hello World';\n}\n"],"names":[],"mappings":"2CACE,MAAO,aACT"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare function export_default(): string;
1
+ declare function helloWorld(): string;
2
2
 
3
- export { export_default as default };
3
+ export { helloWorld };
@@ -1,2 +1,2 @@
1
- function e(){return"Hello World"}export{e as default};
1
+ function o(){return"Hello World"}export{o as helloWorld};
2
2
  //# sourceMappingURL=index.esm.min.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.min.mjs","sources":["../src/index.ts"],"sourcesContent":["export default function () {\n return 'Hello World';\n}\n"],"names":["index"],"mappings":"AAAc,SAAAA,IACZ,MAAO,aACT"}
1
+ {"version":3,"file":"index.esm.min.mjs","sources":["../src/index.ts"],"sourcesContent":["export function helloWorld(): string {\n return 'Hello World';\n}\n"],"names":["helloWorld"],"mappings":"SAAgBA,IACd,MAAO,aACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gt-node",
3
- "version": "0.0.0-alpha.0",
3
+ "version": "0.0.1",
4
4
  "description": "Node.js utilities for General Translation",
5
5
  "main": "dist/index.cjs.min.cjs",
6
6
  "module": "dist/index.esm.min.mjs",
@@ -56,14 +56,16 @@
56
56
  "import": "./dist/index.esm.min.mjs"
57
57
  }
58
58
  },
59
- "compilerOptions": {
60
- "baseUrl": ".",
61
- "paths": {
62
- "gt-node": [
63
- "/dist/index"
59
+ "typesVersions": {
60
+ "*": {
61
+ "types": [
62
+ "./dist/index.d.ts"
64
63
  ]
65
64
  }
66
65
  },
66
+ "compilerOptions": {
67
+ "baseUrl": "."
68
+ },
67
69
  "scripts": {
68
70
  "build:release": "pnpm run build:clean",
69
71
  "build:clean": "sh ../../scripts/clean.sh && pnpm run build",