Skip to content

refactor: v3.0 #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Sep 21, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f050d7d
chore: fix linting errors
shellscape Sep 17, 2018
d32e442
chore: de-esm
shellscape Sep 17, 2018
07a4737
chore: de-esm, start move to ava
shellscape Sep 17, 2018
0391ba9
chore: move to circle
shellscape Sep 17, 2018
4a1b884
chore: gulp to npm scripts, housekeeping
shellscape Sep 17, 2018
c1c79d3
chore: unfuck prev de-esm
shellscape Sep 17, 2018
c01a348
test: get root tests passing
shellscape Sep 17, 2018
f0da4b2
test: better integration tests
shellscape Sep 17, 2018
c4c4027
test: finish ava migration
shellscape Sep 17, 2018
a558f90
chore: clean up package, add code coverage
shellscape Sep 17, 2018
f8fcefa
chore(ci): fix lint script
shellscape Sep 17, 2018
d9da269
test: ignore postcss-parser-tests until after 7.x update
shellscape Sep 17, 2018
c5726fa
chore(ci): add node 6 to circle config
shellscape Sep 17, 2018
295945d
fix: fixes #88, malformed filenames and missing semicolons in imports
shellscape Sep 17, 2018
66fbdc6
fix: fixes #89, case insensitive !important
shellscape Sep 17, 2018
68c4d9e
chore: keep the old parsers around for reference temporarily
shellscape Sep 18, 2018
aa8790f
refactor: leverage postcss 7.0
shellscape Sep 18, 2018
3d30cb6
refactor: enable mixins
shellscape Sep 18, 2018
1d0c987
chore: improve linting, fix variable parse, enable sanity check tests
shellscape Sep 18, 2018
57c3c5d
chore: get stringifying working
shellscape Sep 18, 2018
fb1d7bc
chore: re-implement stringifying, update tests, remove old /lib
shellscape Sep 18, 2018
00995e5
test: add test for #110
shellscape Sep 18, 2018
1ba6c13
test: add test for #108
shellscape Sep 18, 2018
c2a0f5a
chore: implement interpolation, update tests
shellscape Sep 19, 2018
e26c886
fix: fixes #102 and #86
shellscape Sep 19, 2018
7bfd85c
chore: code cleanup
shellscape Sep 19, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: keep the old parsers around for reference temporarily
  • Loading branch information
shellscape committed Sep 18, 2018
commit 68c4d9ee47b59e8c80ac3832bdae0bc679467a61
19 changes: 19 additions & 0 deletions _lib/Import.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const PostCssRule = require('postcss/lib/at-rule');
const stringify = require('./less-stringify');

module.exports = class Import extends PostCssRule {
constructor (defaults) {
super(defaults);
this.type = 'import';
}

toString (stringifier) {
if (!stringifier) {
stringifier = {
stringify
};
}

return super.toString(stringifier);
}
};
Loading