Skip to content

Commit

Permalink
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
shellscape committed Sep 21, 2018
1 parent 9a40149 commit a28a329
Show file tree
Hide file tree
Showing 74 changed files with 10,013 additions and 9,003 deletions.
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

127 changes: 127 additions & 0 deletions .circleci/config.yml
@@ -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
4 changes: 1 addition & 3 deletions .eslintignore
@@ -1,3 +1 @@
node_modules/
build/
package.json
_lib
9 changes: 1 addition & 8 deletions .eslintrc
@@ -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.
40 changes: 7 additions & 33 deletions .gitignore
@@ -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
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

41 changes: 0 additions & 41 deletions CHANGELOG.md

This file was deleted.

12 changes: 0 additions & 12 deletions CONTRIBUTING.md

This file was deleted.

0 comments on commit a28a329

Please sign in to comment.