Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
refactor: v3.0 (#113)
* chore: fix linting errors * chore: de-esm * chore: de-esm, start move to ava * chore: move to circle * chore: gulp to npm scripts, housekeeping * chore: unfuck prev de-esm * test: get root tests passing * test: better integration tests * test: finish ava migration * chore: clean up package, add code coverage * chore(ci): fix lint script * test: ignore postcss-parser-tests until after 7.x update * chore(ci): add node 6 to circle config * fix: fixes #88, malformed filenames and missing semicolons in imports * fix: fixes #89, case insensitive !important * chore: keep the old parsers around for reference temporarily * refactor: leverage postcss 7.0 * refactor: enable mixins * chore: improve linting, fix variable parse, enable sanity check tests * chore: get stringifying working * chore: re-implement stringifying, update tests, remove old /lib * test: add test for #110 * test: add test for #108 * chore: implement interpolation, update tests * fix: fixes #102 and #86 * chore: code cleanup
- Loading branch information
1 parent
9a40149
commit a28a329
Showing
74 changed files
with
10,013 additions
and
9,003 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
unit_tests: &unit_tests | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
- run: | ||
name: Run unit tests. | ||
command: npm run ci:test | ||
version: 2 | ||
jobs: | ||
dependency_cache: | ||
docker: | ||
- image: rollupcabal/circleci-node-base:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: Install Dependencies | ||
command: npm install | ||
- save_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
paths: | ||
- ./node_modules | ||
node-v10-latest: | ||
docker: | ||
- image: rollupcabal/circleci-node-v10:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
- run: | ||
name: Run unit tests. | ||
command: npm run ci:coverage | ||
- run: | ||
name: Submit coverage data to codecov. | ||
command: bash <(curl -s https://codecov.io/bash) | ||
when: on_success | ||
node-v8-latest: | ||
docker: | ||
- image: rollupcabal/circleci-node-v8:latest | ||
<<: *unit_tests | ||
node-v6-latest: | ||
docker: | ||
- image: rollupcabal/circleci-node-v6:latest | ||
<<: *unit_tests | ||
analysis: | ||
docker: | ||
- image: rollupcabal/circleci-node-base:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
- run: | ||
name: Run linting. | ||
command: npm run lint | ||
- run: | ||
name: Run NSP Security Check. | ||
command: npm run security | ||
- run: | ||
name: Validate Commit Messages | ||
command: npm run ci:lint:commits | ||
publish: | ||
docker: | ||
- image: rollupcabal/circleci-node-base:latest | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: dependency-cache-{{ checksum "package-lock.json" }} | ||
- run: | ||
name: NPM Rebuild | ||
command: npm install | ||
# - run: | ||
# name: Validate Commit Messages | ||
# command: npm run release:validate | ||
- run: | ||
name: Publish to NPM | ||
command: printf "noop running conventional-github-releaser" | ||
|
||
version: 2.0 | ||
workflows: | ||
version: 2 | ||
validate-publish: | ||
jobs: | ||
- dependency_cache | ||
- analysis: | ||
requires: | ||
- dependency_cache | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node-v6-latest: | ||
requires: | ||
- analysis | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node-v8-latest: | ||
requires: | ||
- analysis | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- node-v10-latest: | ||
requires: | ||
- analysis | ||
filters: | ||
tags: | ||
only: /.*/ | ||
- publish: | ||
requires: | ||
- node-v6-latest | ||
- node-v8-latest | ||
- node-v10-latest | ||
filters: | ||
branches: | ||
only: | ||
- master |
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,3 +1 @@ | ||
node_modules/ | ||
build/ | ||
package.json | ||
_lib |
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,10 +1,3 @@ | ||
{ | ||
"extends": "shellscape", | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"object-curly-spacing": ["error", "always", { "arraysInObjects": true }] | ||
} | ||
"extends": "shellscape" | ||
} |
File renamed without changes.
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,36 +1,10 @@ | ||
s.js | ||
|
||
/.vscode | ||
# Logs | ||
logs | ||
*.log | ||
.DS_Store | ||
.eslintcache | ||
.nyc_output | ||
.vscode | ||
coverage.lcov | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build | ||
|
||
# Dependency directory | ||
Thumbs.db | ||
node_modules | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
.idea | ||
DS_Store | ||
dist | ||
s.js |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.