This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from inpyjamas/feature/scripts
- Loading branch information
Showing
35 changed files
with
1,128 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules | ||
dist | ||
coverage | ||
generators/index.js | ||
generators/app/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require("@inpyjamas/scripts/dist/config/eslint/typescript"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
generators/app/* | ||
# Logs | ||
logs | ||
*.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.vscode | ||
node_modules | ||
.eslintrc.js | ||
.gitignore | ||
husky.config.js | ||
jest.config.js | ||
LICENSE | ||
lint-staged.config.js | ||
prettier.config.js | ||
renovate.json | ||
tsconfig.json | ||
coverage | ||
.github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v13.10.1 | ||
v12.18.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
generators/app/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,64 @@ | ||
# @inpyjamas/generator-defaults | ||
|
||
[![npm (scoped)](https://img.shields.io/npm/v/@inpyjamas/generator-defaults)](https://www.npmjs.com/package/@inpyjamas/generator-defaults) [![Node.js Test CI](https://github.com/inpyjamas/generator-defaults/workflows/Node.js%20Test%20CI/badge.svg)](https://github.com/inpyjamas/generator-defaults/actions?query=workflow%3A%22Node.js+Test+CI%22) ![Build with love](https://img.shields.io/badge/build%20with-%E2%9D%A4%EF%B8%8F-success) | ||
|
||
## About | ||
|
||
my personal opinionated [Yeoman](https://yeoman.io/) generator for Typescript, Eslint, Prettier, Jest, Nodemon, Husky, Jekyll, Webpack… | ||
|
||
With force upgrade all packages build in. | ||
|
||
All configuration that can use cosmic config is located in `package.json`. | ||
|
||
Except for | ||
|
||
- [`.prettierignore`](https://github.com/prettier/prettier/issues/3460) | ||
- Jekyll `_config.yml` and `Gemfile` | ||
|
||
## Installing | ||
|
||
```bash | ||
npm install yo -g | ||
``` | ||
|
||
```bash | ||
npm install @inpyjamas/generator-defaults -g | ||
``` | ||
|
||
## Usage | ||
|
||
```bash | ||
yo @inpyjamas/defaults | ||
# Will prompt for your projects name and what type of project you want | ||
# currently typescript only | ||
``` | ||
|
||
This will create (in the current working directory) the following setup(s) | ||
|
||
### Type `typescript-express` | ||
|
||
Creates a setup with: | ||
|
||
|
||
- Typescript | ||
- Jest | ||
- Eslint | ||
- Prettier | ||
- Nodemon | ||
- Husky | ||
- Lint-Staged | ||
- Express with Morgan, Cors and Dotenv | ||
- CZ Conventional Change-log | ||
- Renovate Bot | ||
|
||
### Type `typescript-jeykll-webpack` | ||
|
||
- Typescript | ||
- Jekyll | ||
- Webpack (for Ts and scss/postcss) | ||
- Jest | ||
- Eslint | ||
- Prettier | ||
- Husky | ||
- Lint-Staged | ||
- CZ Conventional Change-log | ||
- Renovate Bot | ||
# @inpyjamas/generator-defaults | ||
|
||
[![npm (scoped)](https://img.shields.io/npm/v/@inpyjamas/generator-defaults)](https://www.npmjs.com/package/@inpyjamas/generator-defaults) [![Node.js Test CI](https://github.com/inpyjamas/generator-defaults/workflows/Node.js%20Test%20CI/badge.svg)](https://github.com/inpyjamas/generator-defaults/actions?query=workflow%3A%22Node.js+Test+CI%22) ![Build with love](https://img.shields.io/badge/build%20with-%E2%9D%A4%EF%B8%8F-success) | ||
|
||
## About | ||
|
||
my personal opinionated [Yeoman](https://yeoman.io/) generator for Typescript, Eslint, Prettier, Jest, Nodemon, Husky, Jekyll, Webpack… | ||
|
||
With force upgrade all packages build in. | ||
|
||
Most configuration is handled using [@inpyjamas/scripts](https://github.com/inpyjamas/scripts). | ||
|
||
Except for | ||
|
||
- [`.prettierignore`](https://github.com/prettier/prettier/issues/3460) | ||
- Jekyll `_config.yml` and `Gemfile` | ||
|
||
## Installing | ||
|
||
```bash | ||
npm install yo -g | ||
``` | ||
|
||
```bash | ||
npm install @inpyjamas/generator-defaults -g | ||
``` | ||
|
||
## Usage | ||
|
||
```bash | ||
yo @inpyjamas/defaults | ||
# Will prompt for your projects name and what type of project you want | ||
# currently typescript only | ||
``` | ||
|
||
This will create (in the current working directory) the following setup(s) | ||
|
||
### Type `typescript-express` | ||
|
||
Creates a setup with: | ||
|
||
- Typescript | ||
- Jest | ||
- Eslint | ||
- Prettier | ||
- Nodemon | ||
- Husky | ||
- Lint-Staged | ||
- Express with Morgan, Cors and Dotenv | ||
- CZ Conventional Change-log | ||
- Renovate Bot | ||
|
||
### Type `typescript-jeykll-webpack` | ||
|
||
- Typescript | ||
- Jekyll | ||
- Webpack (for Ts and scss/postcss) | ||
- Jest | ||
- Eslint | ||
- Prettier | ||
- Husky | ||
- Lint-Staged | ||
- CZ Conventional Change-log | ||
- Renovate Bot |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.