@edgeros/fs 0.1.4 → 0.1.6
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/Makefile +22 -0
- package/package.json +1 -1
- package/tsconfig.json +12 -21
package/Makefile
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
.PHONY: compile install clean publish ts-clean
|
2
|
+
|
3
|
+
TS_OUTDIR= ./dist
|
4
|
+
|
5
|
+
install:
|
6
|
+
npm i
|
7
|
+
|
8
|
+
ts-clean:
|
9
|
+
rm -rf $(TS_OUTDIR)
|
10
|
+
|
11
|
+
compile: ts-clean
|
12
|
+
tsc
|
13
|
+
|
14
|
+
clean:
|
15
|
+
rm -rf ./dist
|
16
|
+
rm -rf ./node_modules
|
17
|
+
|
18
|
+
publish: compile
|
19
|
+
cp .npmrc $(TS_OUTDIR)/
|
20
|
+
cp package.json $(TS_OUTDIR)/
|
21
|
+
cp README.md $(TS_OUTDIR)/
|
22
|
+
cd $(TS_OUTDIR) && npm publish
|
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
|
}
|