@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.
- package/Makefile +1 -11
- package/package.json +1 -1
- package/tsconfig.json +12 -21
package/Makefile
CHANGED
@@ -1,8 +1,5 @@
|
|
1
|
-
.PHONY:
|
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
package/tsconfig.json
CHANGED
@@ -1,28 +1,19 @@
|
|
1
1
|
{
|
2
|
+
"extends": "@tsconfig/node20/tsconfig.json",
|
2
3
|
"compilerOptions": {
|
3
|
-
|
4
|
-
"
|
5
|
-
"
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
"
|
10
|
-
"
|
11
|
-
"
|
12
|
-
|
13
|
-
|
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
|
}
|