corebasic 1.0.215 → 1.0.216

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.215",
4
+ "version": "1.0.216",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
7
7
  "types": "./index.ts",
package/tsc-notes CHANGED
@@ -1,8 +1,13 @@
1
1
 
2
2
 
3
- # Install
3
+ # Install tsc
4
4
  npm install typescript
5
- cp node_modules/@typescript .
5
+ cp node_modules/@typescript tsc
6
+
7
+ # Install types for native node variables like process in process.argv, etc..
8
+ npm install @types/node
9
+ cp node_modules/@types tsc
10
+ cp node_modules/undici-types tsc
6
11
 
7
12
  rm -rf node_modules
8
13
  git checkout .
@@ -10,5 +15,5 @@ git checkout .
10
15
 
11
16
 
12
17
  # Run From corebasic root folder
13
- ./@typescript/typescript-linux-x64/lib/tsc
18
+ ./tsc/@typescript/typescript-linux-x64/lib/tsc
14
19
 
package/tsconfig.json CHANGED
@@ -16,7 +16,8 @@
16
16
  // "types": [],
17
17
  // For nodejs:
18
18
  // "lib": ["esnext"],
19
- // "types": ["node"],
19
+ "typeRoots": ["tsc/@types"],
20
+ "types": ["node"],
20
21
  // and npm install -D @types/node
21
22
 
22
23
  // Other Outputs