@vellone/techsak 1.0.0 → 1.0.1
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 +3 -0
- package/README.md +35 -3
- package/package.json +1 -1
- package/tsconfig.json +0 -34
package/Makefile
CHANGED
|
@@ -14,3 +14,6 @@ help:
|
|
|
14
14
|
@echo "Make tasks:\n"
|
|
15
15
|
@grep -hE '^[%a-zA-Z_-]+:.*?## .*$$' Makefile | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m %-17s\033[0m %s\n", $$1, $$2}'
|
|
16
16
|
@echo ""
|
|
17
|
+
|
|
18
|
+
.editorconfig: ./node_modules/@vellone/techsak/.editorconfig
|
|
19
|
+
@cp ./node_modules/@vellone/techsak/.editorconfig .editorconfig
|
package/README.md
CHANGED
|
@@ -3,9 +3,41 @@ MatheusVellone's Tech SAK (Swiss Army Knife)
|
|
|
3
3
|
|
|
4
4
|
This project is a collection of tools and utilities that I've created to help me in my day-to-day work. I've decided to share them with the community in the hope that they can be useful to others as well.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
```sh
|
|
7
|
+
npm i -D @vellone/techsak
|
|
8
|
+
```
|
|
8
9
|
|
|
9
10
|
## Makefile
|
|
10
11
|
Commands with `##` after the target are 'public' commands and are intended to be used by developers.
|
|
11
|
-
The other commands are 'hidden' and are intended to be used by automations or by 'public' commands.
|
|
12
|
+
The other commands are 'hidden' and are intended to be used by automations or by 'public' commands.
|
|
13
|
+
|
|
14
|
+
Add the following code in your Makefile to include this project's Makefile:
|
|
15
|
+
|
|
16
|
+
```makefile
|
|
17
|
+
include ./node_modules/@vellone/techsak/Makefile
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## EditorConfig
|
|
21
|
+
Run `make .editorconfig` to copy this project's `.editorconfig` to your project.
|
|
22
|
+
|
|
23
|
+
## Eslint Config
|
|
24
|
+
Add the following code in your `.eslintrc.json` to include this project's ESLint configuration:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"extends": [
|
|
29
|
+
"./node_modules/@vellone/techsak/.eslintrc.json"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## TSConfig
|
|
36
|
+
|
|
37
|
+
Add the following code in your `tsconfig.json` to include this project's TypeScript configuration:
|
|
38
|
+
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"extends": "./node_modules/@vellone/techsak/tsconfig.json"
|
|
42
|
+
}
|
|
43
|
+
```
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,37 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ts-node": {
|
|
3
|
-
"files": true,
|
|
4
|
-
"require": [
|
|
5
|
-
"tsconfig-paths/register"
|
|
6
|
-
],
|
|
7
|
-
"compilerOptions": {
|
|
8
|
-
"module": "commonjs"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
2
|
"compilerOptions": {
|
|
12
|
-
"target": "es5",
|
|
13
|
-
"types": [
|
|
14
|
-
"@serwist/next/typings"
|
|
15
|
-
],
|
|
16
|
-
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
|
|
17
|
-
"allowJs": true,
|
|
18
|
-
"skipLibCheck": true,
|
|
19
|
-
"noEmit": true,
|
|
20
|
-
"esModuleInterop": true,
|
|
21
|
-
"module": "esnext",
|
|
22
|
-
"moduleResolution": "bundler",
|
|
23
|
-
"resolveJsonModule": true,
|
|
24
|
-
"isolatedModules": true,
|
|
25
|
-
"jsx": "preserve",
|
|
26
|
-
"incremental": true,
|
|
27
|
-
"plugins": [
|
|
28
|
-
{ "name": "next" }
|
|
29
|
-
],
|
|
30
|
-
"baseUrl": ".",
|
|
31
|
-
"paths": {
|
|
32
|
-
"~/*": ["./src/*"]
|
|
33
|
-
},
|
|
34
|
-
|
|
35
3
|
"strict": true,
|
|
36
4
|
|
|
37
5
|
"allowUnreachableCode": false,
|
|
@@ -44,6 +12,4 @@
|
|
|
44
12
|
"noUnusedLocals": true,
|
|
45
13
|
"noUnusedParameters": true,
|
|
46
14
|
},
|
|
47
|
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
48
|
-
"exclude": ["node_modules"]
|
|
49
15
|
}
|