Skip to content

Commit

Permalink
refactor: postcss8 native support (#795)
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

- Only supports `postcss@8` and higher
- `composes` and `@values` that reference other entries will need to be listed in dependency order.
  • Loading branch information
tivac committed Nov 18, 2021
1 parent c6ffbb5 commit 331b833
Show file tree
Hide file tree
Showing 71 changed files with 24,754 additions and 33,925 deletions.
8 changes: 5 additions & 3 deletions .eslintrc.js
Expand Up @@ -4,7 +4,11 @@ module.exports = {
"plugin:jest/recommended",
],

parser : "babel-eslint",
parser : "@babel/eslint-parser",

parserOptions : {
requireConfigFile : false,
},

env : {
node : true,
Expand Down Expand Up @@ -33,7 +37,5 @@ module.exports = {
{ blankLine : "always", prev : "directive", next : "*" },
{ blankLine : "any", prev : "directive", next : "directive" },
],

"jest/no-try-expect" : "warn",
},
};
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -14,15 +14,15 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Cache node modules
id: cache
uses: actions/cache@v2
with:
path: |
node_modules
key: ${{ runner.OS }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.OS }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/package-lock.json') }}

- name: npm install
if: steps.cache.outputs.cache-hit != 'true'
Expand All @@ -40,7 +40,7 @@ jobs:

strategy:
matrix:
node-version: [ 10, 12, 14 ]
node-version: [ 12, 14 ]
os: [ ubuntu-latest ]

steps:
Expand All @@ -58,7 +58,7 @@ jobs:
path: |
node_modules
*/*/node_modules
key: ${{ matrix.os }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ matrix.os }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/package-lock.json') }}

- name: npm install
if: steps.cache.outputs.cache-hit != 'true'
Expand Down
50 changes: 50 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,56 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [27.0.2](https://github.com/tivac/modular-css/compare/v27.0.1...v27.0.2) (2021-07-18)


### Bug Fixes

* support complex [@value](https://github.com/value) replacements ([06eb52c](https://github.com/tivac/modular-css/commit/06eb52ccf63ca6de2828d50abded6b79070e1e4d))





## [27.0.1](https://github.com/tivac/modular-css/compare/v27.0.0...v27.0.1) (2021-07-18)


### Bug Fixes

* local references as references ([aeba154](https://github.com/tivac/modular-css/commit/aeba154d07e53c76643f2838621a30c4dcec0c36))
* **www:** get REPL working again ([#797](https://github.com/tivac/modular-css/issues/797)) ([c6ffbb5](https://github.com/tivac/modular-css/commit/c6ffbb54a025f4809c7a6a9d12606e54fa1d2d28))





# [27.0.0](https://github.com/tivac/modular-css/compare/v26.0.0...v27.0.0) (2021-07-06)


### Bug Fixes

* [@composes](https://github.com/composes) working again ([f48bc5f](https://github.com/tivac/modular-css/commit/f48bc5f9b6515c9fa7ce4581258ba02fa58f05b7))
* [@keyframes](https://github.com/keyframes) can be anywhere ([b6dddc7](https://github.com/tivac/modular-css/commit/b6dddc759233f7148f0add32104a23c41d923a19))


### Code Refactoring

* remove postcss as dep ([ca67c39](https://github.com/tivac/modular-css/commit/ca67c39dee4b98e0528e2543e556e735f2ed8bf8))


### Features

* Add .warnings to processor ([eb0e117](https://github.com/tivac/modular-css/commit/eb0e1174ea10892d396c87298508bba1acd233ae))


### BREAKING CHANGES

* - Requires `postcss@8` be installed alongside to function.





# [26.0.0](https://github.com/tivac/modular-css/compare/v25.8.2...v26.0.0) (2021-02-25)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
@@ -1,5 +1,5 @@
{
"version": "26.0.0",
"version": "27.0.2",
"command": {
"publish": {
"conventionalCommits": true,
Expand Down

0 comments on commit 331b833

Please sign in to comment.