-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: bump minimum Node version to v12 * chore: declare postcss as peer dependency * chore: update dev env to Node 16 * chore: update escape-string-regexp to v4 * chore: engines set to node >= 10 * chore: use github actions * test: run prettier in CI * refactor: use postcss 8 api * chore: update github actions deps
- Loading branch information
1 parent
f6a1303
commit cf87705
Showing
16 changed files
with
5,230 additions
and
1,654 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
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,19 +1,22 @@ | ||
### What kind of change does this PR introduce? *(Bug fix, feature, docs update, ...)* | ||
### What kind of change does this PR introduce? _(Bug fix, feature, docs update, ...)_ | ||
|
||
... | ||
|
||
### What is the current behaviour? *(You can also link to an open issue here)* | ||
### What is the current behaviour? _(You can also link to an open issue here)_ | ||
|
||
... | ||
|
||
### What is the new behaviour? | ||
... | ||
|
||
### Does this PR introduce a breaking change? *(What changes might users need to make in their application due to this PR?)* | ||
... | ||
|
||
### Does this PR introduce a breaking change? _(What changes might users need to make in their application due to this PR?)_ | ||
|
||
### Other information: | ||
... | ||
|
||
### Other information: | ||
|
||
### Please check if the PR fulfills these requirements: | ||
|
||
- [ ] Tests for the changes have been added | ||
- [ ] Docs have been added / updated |
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,26 @@ | ||
--- | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Node.js 16.15 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16.15' | ||
|
||
- run: npm ci | ||
|
||
- name: Upload code coverage | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
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,2 +1,4 @@ | ||
node_modules/ | ||
npm-debug.log | ||
.nyc_output | ||
coverage |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
16.15 |
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 @@ | ||
.git/ | ||
package.json | ||
package-lock.json | ||
.nyc_output | ||
coverage |
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,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
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,22 +1,34 @@ | ||
## 3.0.0 | ||
|
||
Breaking Changes | ||
|
||
- Use `PostCSS` 8 | ||
- Node supported version >=12 | ||
|
||
## 2.0.0 | ||
|
||
- Consider `rule` nodes only when when building ancestor selectors | ||
- Use `PostCSS` 6 | ||
- Restrict support to `node.js` >= 4 | ||
- Remove `object-assign` dependency | ||
|
||
## 1.0.0 | ||
|
||
- Solve complex nesting scenarios scenarios externalizing parent selectors resolution to [postcss-resolve-nested-selector](https://github.com/davidtheclark/) | ||
- Refactor bootstrap function using `walkRules` and `walkDecls` PostCSS methods | ||
- `replaceDeclarations` option will replace declaration values only | ||
|
||
## 0.1.0 | ||
|
||
- Add experimental `replaceDeclarations` option, to process declaration props and values, too | ||
- Cast warning when nestingLevel >= parentsStack.length | ||
- Move `spacesAndAmpersandRegex` regex into a reusable regex | ||
- Add a failing test case documenting issues when complex nesting | ||
|
||
## 0.0.1 | ||
|
||
- Fix `levelSymbol` and `parentSymbol` options not being used | ||
|
||
## 0.0.0 | ||
|
||
- Initial release |
Oops, something went wrong.