You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Continuous integration pipeline** powered by [GitHub Actions workflows](https://docs.github.com/en/actions/using-workflows)
7
+
1.**Automatic changelog generation** powered by [generate-changelog](https://github.com/lob/generate-changelog)
8
+
1.**Automatic code & config formatting** powered by [Lefthook](https://github.com/evilmartians/lefthook)
9
+
1.**Automatic dependency updates** powered by [Dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates)
10
+
1.**Code coverage reports** powered by [Codecov](https://about.codecov.io/)
11
+
1.**Config formatting** powered by [Prettier](https://prettier.io/)
12
+
1.**Continuous integration pipeline** powered by [GitHub Actions workflows](https://docs.github.com/en/actions/using-workflows)
13
+
1.**Cross-platform compatibility** powered by [cross-env](https://github.com/kentcdodds/cross-env)
14
+
1.**Dependency management** powered by [yarn](https://yarnpkg.com/)
15
+
1.**Distribution pipeline** powered by [npm](https://www.npmjs.com/)
16
+
1.**Static code analysis** powered by [ESLint](https://eslint.org/)
17
+
1.**Testing & code coverage** powered by [Jest](https://jestjs.io/)
18
+
1.**Type checking** powered by [TypeScript](https://www.typescriptlang.org/)
18
19
19
20
## Usage
20
21
21
22
### Make it your own
22
23
23
24
1. Replace all occurrences of "bennycode" with your own username (or the name of your organization)
24
25
2. Start writing your code in the ["src" directory](./src)
25
-
3.There is no step 3 😁
26
+
3.Run `yarn` and be happy! 😊
26
27
27
28
### Build a CLI
28
29
29
30
**Source Code**
30
31
31
-
If you want to build a CLI tool for Node.js, you can have a look at ["src/cli.ts"](./src/cli.ts).
32
+
If you want to build a CLI tool for Node.js, you can have a look at ["src/cli.ts"](./src/cli.ts).
32
33
33
34
**References**
34
35
35
-
In the ["package.json" file](./package.json) you will also discover a "bin" property which defines the executable name of your tool and the entry point to its transpiled JavaScript code.
36
+
In the ["package.json" file](./package.json) you will also discover a "bin" property which defines the executable name of your tool and the entry point to its transpiled JavaScript code.
36
37
37
38
If you don't want to publish a CLI, simply remove the "bin" property and the CLI script.
38
39
39
40
### Build a Library
40
41
41
42
**Source Code**
42
43
43
-
If you want to distribute your code as a Node.js library on [npm](https://www.npmjs.com/), you can have a look at ["src/index.ts"](./src/index.ts). If you build a library, I recommend to always ship an index file from where you export the code of your library for others.
44
+
If you want to distribute your code as a Node.js library on [npm](https://www.npmjs.com/), you can have a look at ["src/index.ts"](./src/index.ts). If you build a library, I recommend to always ship an index file from where you export the code of your library for others.
44
45
45
46
**References**
46
47
@@ -50,11 +51,11 @@ In the ["package.json" file](./package.json) you will also discover a "main" pro
50
51
51
52
**Source Code**
52
53
53
-
If you just want to write and run a Node.js app, checkout ["src/start.ts"](./src/start.ts).
54
+
If you just want to write and run a Node.js app, checkout ["src/start.ts"](./src/start.ts).
54
55
55
56
**References**
56
57
57
-
You can start your application by executing `yarn start`. If you want to debug your code, run `yarn debug` ([Debug Instructions](https://dev.to/typescripttv/debug-your-node-js-app-with-chrome-devtools-4c98)).
58
+
You can start your application by executing `yarn start`. If you want to debug your code, run `yarn debug` ([Debug Instructions](https://dev.to/typescripttv/debug-your-node-js-app-with-chrome-devtools-4c98)).
58
59
59
60
## Conventions
60
61
@@ -70,9 +71,13 @@ The automatic changelog generation is based on [Semantic Commit Messages](https:
70
71
71
72
> feat: My new feature
72
73
73
-
## Maintainers
74
+
## Contributors
74
75
75
-
[![Benny Neugebauer on Stack Exchange][stack_exchange_bennyn_badge]][stack_exchange_bennyn_url]
76
+
[![Benny Neugebauer on Stack Exchange][stack_exchange_bennycode_badge]][stack_exchange_bennycode_url]
0 commit comments