Compare commits

...

8 Commits

Author SHA1 Message Date
ivuorinen
33a338c347 chore(release): publish
- @ivuorinen/base-configs@1.1.0
 - @ivuorinen/browserslist-config@0.2.1
 - @ivuorinen/commitlint-config@0.2.3
 - @ivuorinen/config-checker@1.1.1
 - @ivuorinen/eslint-config@0.3.3
 - @ivuorinen/markdownlint-config@0.2.1
 - @ivuorinen/prettier-config@0.2.1
 - @ivuorinen/semantic-release-config@0.2.1
 - @ivuorinen/stylelint-config@0.2.1
2023-10-30 11:55:37 +00:00
Ismo Vuorinen
a980c0d342 chore(lint): lint all and remove extra files 2023-10-30 13:54:51 +02:00
Ismo Vuorinen
3a0a571fab chore(base-configs): lint files 2023-10-30 13:48:10 +02:00
Ismo Vuorinen
88dbe395d1 fix(base-configs): convert config from ES module 2023-10-30 13:41:56 +02:00
Ismo Vuorinen
ccce8ce539 chore(deps): upgrade root dependencies 2023-10-30 13:38:08 +02:00
Ismo Vuorinen
feddfcfdba feat(package): new pkg: @ivuorinen/base-configs (#121) 2023-10-30 13:31:47 +02:00
renovate[bot]
83d10c71dd chore(deps): update dependency eslint-plugin-prettier to v5 (#64) 2023-10-30 07:54:56 +02:00
renovate[bot]
15e815a53d fix(deps): update dependency prettier to v3 (#58) 2023-10-30 07:53:56 +02:00
28 changed files with 6806 additions and 815 deletions

View File

@@ -59,14 +59,14 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^0.21.0",
"eslint-plugin-unicorn": "^48.0.0",
"lerna": "^7.0.0",
"lerna-update-wizard": "^1.1.2",
"markdownlint-cli": "^0.37.0",
"prettier": "^2.8.0",
"prettier": "^3.0.0",
"simple-git-hooks": "^2.8.1"
}
}

View File

@@ -0,0 +1,13 @@
# Change Log
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.1.0 (2023-10-30)
### Bug Fixes
- **base-configs:** convert config from ES module ([88dbe39](https://github.com/ivuorinen/base-configs/commit/88dbe395d1843384edf97eab4ee5c43810deae4f))
### Features
- **package:** new pkg: @ivuorinen/base-configs ([#121](https://github.com/ivuorinen/base-configs/issues/121)) ([feddfcf](https://github.com/ivuorinen/base-configs/commit/feddfcfdba391f8ed4bf59589737a340401e4fba))

View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 Ismo Vuorinen
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.

View File

@@ -0,0 +1,21 @@
# `@ivuorinen/base-configs`
This is a meta package for all my base configs.
You can find all the individual configs in the `packages` folder.
The main reason for this package is to make it easier to use these configs in
other projects, and to update them all at once. No more pull requests to update
all the configs one at a time!
## Installation
```bash
npm install @ivuorinen/base-configs --save-dev
yarn add @ivuorinen/base-configs --dev
```
## License
MIT License. See [LICENSE](LICENSE) for more info.

View File

@@ -0,0 +1,37 @@
{
"name": "@ivuorinen/base-configs",
"version": "1.1.0",
"description": "ivuorinen's shareable configurations meta package",
"author": {
"name": "Ismo Vuorinen",
"url": "https://github.com/ivuorinen"
},
"bugs": {
"url": "https://github.com/ivuorinen/base-configs/issues"
},
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/ivuorinen/base-configs/tree/main/packages/base-configs#readme",
"keywords": [
"base-config",
"config",
"ivuorinen"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivuorinen/base-configs.git"
},
"dependencies": {
"@ivuorinen/browserslist-config": "^0.2.1",
"@ivuorinen/commitlint-config": "^0.2.3",
"@ivuorinen/eslint-config": "^0.3.3",
"@ivuorinen/markdownlint-config": "^0.2.1",
"@ivuorinen/prettier-config": "^0.2.1",
"@ivuorinen/semantic-release-config": "^0.2.1"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.2.0...@ivuorinen/browserslist-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/browserslist-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/browserslist-config@0.1.12...@ivuorinen/browserslist-config@0.2.0) (2023-10-25)
### Features

View File

@@ -1,6 +1,3 @@
'use strict'
module.exports = [
'defaults and fully supports es6-module',
'maintained node versions'
]
module.exports = ['defaults and fully supports es6-module', 'maintained node versions']

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/browserslist-config",
"version": "0.2.0",
"version": "0.2.1",
"description": "ivuorinen's shareable configuration for Browserslist.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,7 +36,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.0",
"@ivuorinen/config-checker": "^1.1.1",
"browserslist": "4.22.1"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"

View File

@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.2...@ivuorinen/commitlint-config@0.2.3) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/commitlint-config
## [0.2.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/commitlint-config@0.2.1...@ivuorinen/commitlint-config@0.2.2) (2023-10-29)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/commitlint-config",
"version": "0.2.2",
"version": "0.2.3",
"description": "ivuorinen's shareable configuration for commitlint.",
"author": {
"name": "Ismo Vuorinen",
@@ -37,7 +37,7 @@
"dependencies": {
"@commitlint/cli": "18.2.0",
"@commitlint/config-conventional": "18.1.0",
"@ivuorinen/config-checker": "^1.1.0"
"@ivuorinen/config-checker": "^1.1.1"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.1.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/config-checker@1.1.0...@ivuorinen/config-checker@1.1.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/config-checker
# 1.1.0 (2023-10-25)
### Features

View File

@@ -3,9 +3,7 @@
const configurationPaths = require('../lib/configuration-paths')
const configItems = configurationPaths('[module name]')
const longestLine = configItems.reduce((a, b) =>
a.length > b.length ? a : b
).length
const longestLine = configItems.reduce((a, b) => (a.length > b.length ? a : b)).length
const mdTable = configItems.map(file => {
const diff = longestLine - file.length

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/config-checker",
"version": "1.1.0",
"version": "1.1.1",
"description": "Checks the commonly used configuration locations for configuration files",
"keywords": [
"check-config",

View File

@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.3](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.2...@ivuorinen/eslint-config@0.3.3) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/eslint-config
## [0.3.2](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/eslint-config@0.3.1...@ivuorinen/eslint-config@0.3.2) (2023-10-29)
### Bug Fixes

View File

@@ -7,11 +7,7 @@ module.exports = {
es2021: true,
node: true
},
extends: [
'plugin:promise/recommended',
'plugin:sonarjs/recommended',
'standard'
],
extends: ['plugin:promise/recommended', 'plugin:sonarjs/recommended', 'standard'],
parserOptions: {
ecmaVersion: 12
}

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/eslint-config",
"version": "0.3.2",
"version": "0.3.3",
"description": "ivuorinen's shareable configuration for ESLint.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,7 +36,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.0",
"@ivuorinen/config-checker": "^1.1.1",
"eslint": "8.52.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-import": "2.29.0",

View File

@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.2.0...@ivuorinen/markdownlint-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/markdownlint-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/markdownlint-config@0.1.7...@ivuorinen/markdownlint-config@0.2.0) (2023-10-25)
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/markdownlint-config",
"version": "0.2.0",
"version": "0.2.1",
"description": "ivuorinen's shareable configuration for markdownlint.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,7 +36,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.0",
"@ivuorinen/config-checker": "^1.1.1",
"markdownlint-cli": "0.37.0"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"

View File

@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.2.0...@ivuorinen/prettier-config@0.2.1) (2023-10-30)
### Bug Fixes
- **deps:** update dependency prettier to v3 ([#58](https://github.com/ivuorinen/base-configs/issues/58)) ([15e815a](https://github.com/ivuorinen/base-configs/commit/15e815a53d46bb369cb2d7c0eb7b54474245afee))
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/prettier-config@0.1.2...@ivuorinen/prettier-config@0.2.0) (2023-10-25)
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/prettier-config",
"version": "0.2.0",
"version": "0.2.1",
"description": "ivuorinen's shareable configuration for Prettier.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,8 +36,8 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.0",
"prettier": "2.8.8"
"@ivuorinen/config-checker": "^1.1.1",
"prettier": "3.0.3"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

View File

@@ -7,7 +7,7 @@
resolved "https://registry.yarnpkg.com/@ivuorinen/config-checker/-/config-checker-1.1.0.tgz#73a996445a917627cb558ea69f616978ff97da9d"
integrity sha512-YHQSF2yt4YZM0W9jdFXdPUB4X1AicweDJWSJtFw58GVI4+wI8+CJtoKL/Dmbn8F3B6H6gngQHwzENqw80Zsskg==
prettier@2.8.8:
version "2.8.8"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
prettier@3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643"
integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==

View File

@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.2.0...@ivuorinen/semantic-release-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/semantic-release-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/semantic-release-config@0.1.14...@ivuorinen/semantic-release-config@0.2.0) (2023-10-25)
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/semantic-release-config",
"version": "0.2.0",
"version": "0.2.1",
"description": "ivuorinen's shareable configuration for semantic-release.",
"author": {
"name": "Ismo Vuorinen",
@@ -36,7 +36,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.0",
"@ivuorinen/config-checker": "^1.1.1",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"semantic-release": "22.0.5"

View File

@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.1](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.0...@ivuorinen/stylelint-config@0.2.1) (2023-10-30)
**Note:** Version bump only for package @ivuorinen/stylelint-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.33...@ivuorinen/stylelint-config@0.2.0) (2023-10-25)
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "@ivuorinen/stylelint-config",
"version": "0.2.0",
"version": "0.2.1",
"description": "ivuorinen's shareable configuration for stylelint.",
"author": {
"name": "Ismo Vuorinen",
@@ -37,7 +37,7 @@
"postinstall": "node scripts/postinstall.js"
},
"dependencies": {
"@ivuorinen/config-checker": "^1.1.0",
"@ivuorinen/config-checker": "^1.1.1",
"postcss": "^8.4.2",
"stylelint": "15.11.0",
"stylelint-config-recommended-scss": "13.0.0",

View File

@@ -19,10 +19,7 @@ module.exports = {
'scss/dollar-variable-no-missing-interpolation': true,
'scss/dollar-variable-pattern': '^[a-z][a-z-\\d]*$',
'scss/media-feature-value-dollar-variable': null,
'scss/no-duplicate-dollar-variables': [
null,
{ ignoreInsideAtRules: ['if', 'mixin'] }
],
'scss/no-duplicate-dollar-variables': [null, { ignoreInsideAtRules: ['if', 'mixin'] }],
'scss/no-duplicate-mixins': true,
'scss/operator-no-newline-after': true,
'scss/operator-no-newline-before': true,

1930
yarn.lock

File diff suppressed because it is too large Load Diff