@kawalir/extension-node 0.0.0 → 0.1.0

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 CHANGED
@@ -1 +1 @@
1
- Initial Publication
1
+ Global Node modules
@@ -0,0 +1,4 @@
1
+ export * as FileSystem from "fs";
2
+
3
+ import * as Path from "path";
4
+ export { Path };
@@ -0,0 +1,8 @@
1
+ import * as EXT from "@kawalir/extension-node/External";
2
+
3
+ declare global {
4
+ var Path: typeof EXT.Path;
5
+ var FileSystem: typeof EXT.FileSystem;
6
+ }
7
+
8
+ export {};
@@ -0,0 +1,4 @@
1
+ import * as EXT from "@kawalir/extension-node/External";
2
+
3
+ globalThis.Path = EXT.Path;
4
+ globalThis.FileSystem = EXT.FileSystem;
package/Global/index.ts CHANGED
@@ -1,2 +1,3 @@
1
+ import "./Modules";
1
2
  import "./Classes";
2
3
  import "./Methods";
package/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  //? [Global]
2
- /// <reference path="Global/Classes/GlobalClasses.d.ts" />
2
+ /// <reference path="Global/Classes/GlobalClasses.d.ts" />
3
+ /// <reference path="Global/Modules/GlobalModules.d.ts" />
package/package.json CHANGED
@@ -7,16 +7,17 @@
7
7
  "Node",
8
8
  "Node Extension"
9
9
  ],
10
- "version": "0.0.0",
10
+ "version": "0.1.0",
11
11
  "author": "Denis Mijatovic",
12
12
  "license": "MIT",
13
13
  "type": "commonjs",
14
14
  "main": "index.ts",
15
15
  "types": "index.d.ts",
16
16
  "files": [
17
- "Structures",
18
- "Core",
19
17
  "Global",
18
+ "Core",
19
+ "Structures",
20
+ "External",
20
21
  "index.ts",
21
22
  "index.d.ts",
22
23
  "tsconfig.json",
@@ -30,5 +31,8 @@
30
31
  "patch": "npm run script Publish patch",
31
32
  "script": "cd Scripts && npm start",
32
33
  "test": "cd Test && npm start"
34
+ },
35
+ "devDependencies": {
36
+ "@types/node": "^25.3.0"
33
37
  }
34
38
  }
package/tsconfig.json CHANGED
@@ -9,11 +9,8 @@
9
9
  // See also https://aka.ms/tsconfig/module
10
10
  "module": "nodenext",
11
11
  "target": "esnext",
12
- "types": [],
13
- // For nodejs:
14
- // "lib": ["esnext"],
15
- // "types": ["node"],
16
- // and npm install -D @types/node
12
+ "lib": ["esnext"],
13
+ "types": ["node"],
17
14
 
18
15
  // Other Outputs
19
16
  "sourceMap": true,
@@ -47,5 +44,5 @@
47
44
  "@kawalir/extension-node/*": ["./*"]
48
45
  }
49
46
  },
50
- "include": ["Structures", "Core", "Global"]
47
+ "include": ["External", "Structures", "Core", "Global"]
51
48
  }