Skip to content

Commit

Permalink
feat: update repository
Browse files Browse the repository at this point in the history
  • Loading branch information
goester-team23 committed Sep 29, 2023
1 parent acde809 commit acf3553
Show file tree
Hide file tree
Showing 12 changed files with 11,917 additions and 9,469 deletions.
14 changes: 7 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/'
# Check the npm registry for updates every day (weekdays)
schedule:
interval: 'monthly'
# Enable version updates for npm
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/'
# Check the npm registry for updates every day (weekdays)
schedule:
interval: 'monthly'
66 changes: 33 additions & 33 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,40 +4,40 @@
name: Publish on tag push

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+'

jobs:
test:
runs-on: ubuntu-latest
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
publish:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm ci
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
publish:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm ci
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: 'public'
38 changes: 19 additions & 19 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@
name: Test

on:
push:
branches: [master]
pull_request:
push:
branches: [master]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx pretty-quick --staged
npx lint-staged
8 changes: 4 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"printWidth": 140
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"printWidth": 140
}
61 changes: 34 additions & 27 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,69 +1,76 @@
# 4.0.0

- remove `stylelint` less than `15.10.0` from peer dependencies.
- update `@team23/stylelint-config-team23-standard` to `4.0.0`
- update `stylelint-config-standard-scss` to `11.0.0`
- remove `stylelint-config-prettier-scss`

# 3.0.2

- allow `!global` annotation
- update `stylelint-config-standard-scss` to `6.1.0`
- allow `!global` annotation
- update `stylelint-config-standard-scss` to `6.1.0`

# 3.0.1

- allow `!default` annotation
- allow `!default` annotation

# 3.0.0

- removes `stylelint` less than `14.14.0` from peer dependencies.
- updates `stylelint-config-standard-scss` to `5.0.0`
- updates `stylelint-config-team23-standard` to `3.0.0`
- removes `stylelint` less than `14.14.0` from peer dependencies.
- updates `stylelint-config-standard-scss` to `5.0.0`
- updates `stylelint-config-team23-standard` to `3.0.0`

# 2.0.0

- removes `stylelint` less than `14.9.0` from peer dependencies.
- updates `stylelint-config-standard-scss` to `4.0.0`
- updates `stylelint-config-team23-standard` to `2.0.0`
- removes `stylelint` less than `14.9.0` from peer dependencies.
- updates `stylelint-config-standard-scss` to `4.0.0`
- updates `stylelint-config-team23-standard` to `2.0.0`

# 1.0.3

- fixes package dependencies
- fixes package dependencies

# 1.0.2

- package is now available via npm!
- updates package name from `stylelint-config-team23-scss` to `@team23/stylelint-config-team23-scss`
- package is now available via npm!
- updates package name from `stylelint-config-team23-scss` to `@team23/stylelint-config-team23-scss`

Note that as the package name changed, instead of

```json
{
"extends": "stylelint-config-team23-scss"
"extends": "stylelint-config-team23-scss"
}
```

in your stylelint config, you have to use

```json
{
"extends": "@team23/stylelint-config-team23-scss"
"extends": "@team23/stylelint-config-team23-scss"
}
```

since this version.

# 1.0.1

- updates `stylelint` to version 14.6.0
- updates `stylelint-config-team23-standard` to version 1.0.1
- updates `stylelint` to version 14.6.0
- updates `stylelint-config-team23-standard` to version 1.0.1

# 1.0.0

## Dependencies

- removed `stylelint-scss` dependency
- added `stylelint-config-standard-scss` dependency
- added `stylelint-config-prettier-scss` dependency
- updated `stylelint-config-team23-standard` from version 0.2.1 to version 1.0.0
- updated `stylelint` peer dependency to ^14.5.1, i.e. removed support for older versions
- removed `stylelint-scss` dependency
- added `stylelint-config-standard-scss` dependency
- added `stylelint-config-prettier-scss` dependency
- updated `stylelint-config-team23-standard` from version 0.2.1 to version 1.0.0
- updated `stylelint` peer dependency to ^14.5.1, i.e. removed support for older versions

## Linting rule changes

- stylelint config now depends on
- stylelint config now depends on

```js
"extends": [
Expand All @@ -73,11 +80,11 @@ since this version.
],
```

- by adding `stylelint-config-standard-scss`, all rules of this repo and of `stylelint-config-recommended-scss` are added.
- by adding `stylelint-config-standard-scss`, all rules of this repo and of `stylelint-config-recommended-scss` are added.

- by adding `stylelint-config-prettier-scss`, all rules that might conflict with prettier are disabled.
- by adding `stylelint-config-prettier-scss`, all rules that might conflict with prettier are disabled.

- removed duplicate rules as they are provided by an extended config:
- removed duplicate rules as they are provided by an extended config:

```js
"at-rule-disallowed-list": ["debug"],
Expand All @@ -88,7 +95,7 @@ since this version.
'scss/dollar-variable-colon-space-before': 'never',
```

- added these rules:
- added these rules:

```js
'function-no-unknown': null,
Expand All @@ -99,4 +106,4 @@ since this version.

# 0.1.0

- Initial release based on stylelint-config-standard. Add stylelint-scss plugin and a set of custom rules.
- Initial release based on stylelint-config-standard. Add stylelint-scss plugin and a set of custom rules.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ If you've installed `stylelint-config-team23-scss` locally within your project,

```json
{
"extends": "@team23/stylelint-config-team23-scss"
"extends": "@team23/stylelint-config-team23-scss"
}
```

If you use a version prior to v1.0.2, use

```json
{
"extends": "stylelint-config-team23-standard"
"extends": "stylelint-config-team23-standard"
}
```

Expand All @@ -70,8 +70,8 @@ For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules`

For proposing changes to the ruleset please open either

- a merge request
- a ticket
- a merge request
- a ticket

## [Changelog](CHANGELOG.md)

Expand Down
Loading

0 comments on commit acf3553

Please sign in to comment.