@edgeros/fs 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/Makefile +1 -11
  2. package/package.json +1 -1
  3. package/tsconfig.json +12 -21
package/Makefile CHANGED
@@ -1,8 +1,5 @@
1
- .PHONY: build compile install clean publish ts-clean
1
+ .PHONY: compile install clean publish ts-clean
2
2
 
3
- JSRE_MODULES_DIR = ./jsre_modules
4
- NODE_MODULES = ./node_modules
5
- JSRE_DEPENDENCIES = @edgeros/jsre-types @edgeros/jsre-tape
6
3
  TS_OUTDIR= ./dist
7
4
 
8
5
  install:
@@ -14,16 +11,9 @@ ts-clean:
14
11
  compile: ts-clean
15
12
  tsc
16
13
 
17
- build: compile
18
- for dep in $(JSRE_DEPENDENCIES); do \
19
- mkdir -p $(JSRE_MODULES_DIR)/$$dep && \
20
- cp -r $(NODE_MODULES)/$$dep/* $(JSRE_MODULES_DIR)/$$dep; \
21
- done
22
-
23
14
  clean:
24
15
  rm -rf ./dist
25
16
  rm -rf ./node_modules
26
- rm -rf ./jsre_modules
27
17
 
28
18
  publish: compile
29
19
  cp .npmrc $(TS_OUTDIR)/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgeros/fs",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "main" :"index.js",
5
5
  "scripts": {
6
6
  "build": "npx tsc",
package/tsconfig.json CHANGED
@@ -1,28 +1,19 @@
1
1
  {
2
+ "extends": "@tsconfig/node20/tsconfig.json",
2
3
  "compilerOptions": {
3
- /* Language and Environment */
4
- "target": "es6", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
5
- "lib": [
6
- "es6"
7
- ], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
8
- /* Modules */
9
- "module": "commonjs", /* Specify what module code is generated. */
10
- "rootDir": "./src", /* Specify the root folder within your source files. */
11
- "typeRoots": [
12
- "./node_modules/@edgeros/jsre-types",
13
- "./node_modules/@types",
14
- ], /* Specify multiple folders that act like './node_modules/@types'. */
15
- "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
16
- "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
17
- "outDir": "dist", /* Specify an output folder for all emitted files. */
18
- "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
19
- "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
20
- "skipLibCheck": true /* Skip type checking all .d.ts files. */
4
+ "declaration": true,
5
+ "outDir": "dist",
6
+ "inlineSourceMap": true,
7
+ "inlineSources": true,
8
+ "experimentalDecorators": true,
9
+ "emitDecoratorMetadata": true,
10
+ "allowJs": true,
11
+ "checkJs": false,
12
+ "strictNullChecks": true,
13
+ "module": "commonjs",
14
+ "moduleResolution": "node"
21
15
  },
22
16
  "include": [
23
17
  "src/*",
24
- ],
25
- "exclude": [
26
- "node_modules",
27
18
  ]
28
19
  }