Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Sep 24, 2020
0 parents commit e612d49
Show file tree
Hide file tree
Showing 10 changed files with 5,174 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
17 changes: 17 additions & 0 deletions GITFLOW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Git Flow description for this project

This project uses Git Flow for branch management:

- `master` - source of truth for production - get auto-deployed to npm repo. Also, is push-secured
- `eslint/x.y.z` - update for eslint configs to version `x.y.z`
- `tsc/x.y.z` - update for tsc configs to version `x.y.z`
- `stylelint/x.y.z` - update for stylelint configs to version `x.y.z`

`x.y` in branch name needs to match tool's minor version, while patch number `z` is used for own versioning needs in case of fixes and changes. **Due to that, `z` change might also be used for breaking changes, including enabling a rule as `"error"`.** Config packages therefore do not follow semantic versioning system.

Pull requests to `master` branch need to pass following tests:

- peerDependency version for the tool need to equal `x.y` or `~x.y.a` from branch name
- config must be validated correctly by tool's validation tool
- config's `package.json` `version` must match version in branch name
- there must not be a package already published with the same version as branch name
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Bartosz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# @burtek/configs

[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

Monorepo for my own eslint/stylelint/tsc configs
6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"version": "independent",
"command": {},
"npmClient": "yarn",
"useWorkspaces": true
}
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "configs",
"version": "1.0.0",
"author": "Bartosz Dotryw <burtekdotryw@gmail.com>",
"license": "MIT",
"devDependencies": {
"lerna": "^3.22.1"
},
"private": true,
"workspaces": ["packages/*"],
"repository": {
"url": "https://github.com/burtek/configs"
}
}
9 changes: 9 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@burtek/eslint-config",
"version": "7.6.0",
"description": "Eslint configs by @burtek",
"main": "index.js",
"repository": "https://github.com/burtek/configs",
"author": "Bartosz Dotryw <burtekdotryw@gmail.com>",
"license": "MIT"
}
9 changes: 9 additions & 0 deletions packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@burtek/stylelint-config",
"version": "13.7.0",
"description": "Stylelint configs by @burtek",
"main": "index.js",
"repository": "https://github.com/burtek/configs",
"author": "Bartosz Dotryw <burtekdotryw@gmail.com>",
"license": "MIT"
}
9 changes: 9 additions & 0 deletions packages/ts-config/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "@burtek/ts-config",
"version": "3.0.0",
"description": "tsc configs by @burtek",
"main": "index.js",
"repository": "https://github.com/burtek/configs",
"author": "Bartosz Dotryw <burtekdotryw@gmail.com>",
"license": "MIT"
}
Loading

0 comments on commit e612d49

Please sign in to comment.