Natalie Weizenbaum
0c637b2e6a
Split CLI tests into multiple suites ( #337 )
2018-05-30 18:35:35 -04:00
Natalie Weizenbaum
d4655f22bd
Fix an Importer-calling bug ( #338 )
...
We were resolving URLs relative to the canonical URL rather than the
original URL, which broke importers for which those were different,
like the package importer.
Closes #334
2018-05-30 17:47:37 -04:00
Natalie Weizenbaum
fba35fe0da
Merge pull request #332 from sass/update
...
Add an --update flag
2018-05-28 17:44:19 -04:00
Natalie Weizenbaum
ac8c01a595
Add an --update flag
...
Partially addresses #264
2018-05-28 16:58:09 -04:00
Natalie Weizenbaum
17d3c1ae63
Add Importer.modificationTime()
2018-05-28 16:57:56 -04:00
Natalie Weizenbaum
08bfb46f16
Merge pull request #320 from sass/remove-path-workaround
...
Remove the workaround for dart-lang/sdk#30098
2018-05-28 16:55:19 -04:00
Natalie Weizenbaum
56d9551a33
Stop testing against Dart's stable channel
...
Once Dart 2 stable is released, we'll resume testing against stable
releases.
2018-05-28 15:25:09 -04:00
Natalie Weizenbaum
31c77fb1cc
Remove the workaround for dart-lang/sdk#30098
2018-05-28 15:23:47 -04:00
Natalie Weizenbaum
ad73a91f84
Match Node Sass's logic around source map file names ( #333 )
...
When sourceMap is a string and outFile is null, Node Sass determines
the source map filename from the input filename.
2018-05-24 19:16:14 -04:00
Natalie Weizenbaum
8007892075
Improve handling of invalid semicolons in the indented syntax ( #330 )
...
This improves the error message and fixes a bug where semicolons were
allowed after declarations.
2018-05-24 19:15:56 -04:00
Natalie Weizenbaum
7c26959156
Node API: generate a source map even when outFile isn't set ( #331 )
...
Contrary to documentation, Node Sass generates a source map when
outFile is unset as long as sourceMap is a string.
2018-05-24 18:42:16 -04:00
Natalie Weizenbaum
cd47c06905
Merge pull request #326 from sass/import-cache
...
Cache imports across compilations in the executable
2018-05-24 17:49:46 -04:00
Natalie Weizenbaum
a7118824b5
Fix source map path canonicalization
...
We need to canonicalize rather than normalize to ensure a consistent
output.
2018-05-24 17:21:19 -04:00
Natalie Weizenbaum
8e1d80c479
Test against live LTS releases for Node ( #329 )
2018-05-24 16:03:12 -04:00
Natalie Weizenbaum
c2987d4cf2
Cache imports across compilations in the executable
2018-05-24 14:31:07 -04:00
Natalie Weizenbaum
5b9765c833
Add an ImportCache
...
This will allow cached imports to be shared outside of the context of
a single stylesheet compilation.
2018-05-24 14:31:07 -04:00
Natalie Weizenbaum
6ef2631c9a
Merge pull request #327 from sass/fix-source-map-tests
...
Normalize source map paths before converting to URLs
2018-05-24 14:23:47 -04:00
Natalie Weizenbaum
5afe2a98e3
Pin the stable Node version to 10.1.0
...
This works around laverdet/node-fibers#378 .
2018-05-24 13:15:43 -04:00
Natalie Weizenbaum
d17b3e73fe
Normalize source map paths before converting to URLs
...
This ensures that source map URLs are always consistent on Windows,
where the case may be different from run to run.
2018-05-24 12:21:28 -04:00
Nicholas Shahan
45073b08e1
Add details to documentation for implementing an importer ( #325 )
2018-05-22 23:07:08 +01:00
Natalie Weizenbaum
d68acf9ac2
Support compiling entire directories at once ( #324 )
...
Partially addresses #264
2018-05-22 23:06:33 +01:00
Natalie Weizenbaum
0c9e3683c6
Merge pull request #323 from sass/cli-colons
...
Support input:output syntax for compiling multiple files at once
2018-05-21 14:11:36 +01:00
Natalie Weizenbaum
1450c241c6
Support input:output syntax for compiling multiple files at once
...
Partially addresses #264
2018-05-20 20:57:33 +01:00
Natalie Weizenbaum
beff4a1011
Add infrastructure for compiling multiple sources at once
...
This will allow us to use the same code path for --update as we do for
normal compilation.
2018-05-20 19:44:09 +01:00
Natalie Weizenbaum
454603d160
Run Appveyor against the Dart 2 SDK ( #319 )
2018-05-03 17:37:37 -07:00
Natalie Weizenbaum
9fb508e338
Split grind.dart up into separate libraries ( #318 )
2018-05-03 17:37:25 -07:00
Natalie Weizenbaum
2d72f1cdca
Add support for @elseif ( #317 )
...
Closes #316
2018-05-03 17:12:40 -07:00
Natalie Weizenbaum
d9d55f168e
Release against the Dart dev version on Chocolatey
...
This is now consistently updated with the latest SDK version.
[skip ci]
2018-05-03 11:48:06 -07:00
Natalie Weizenbaum
5d5f231a86
Use a script file to deploy to Heroku
...
Embedding this in YAML kept producing weird parsing issues.
[skip ci]
2018-05-02 17:32:10 -07:00
Natalie Weizenbaum
b5fd1409ce
Fix relative imports through relative load paths in the Node API ( #315 )
...
Closes #314
2018-05-02 17:04:36 -07:00
Natalie Weizenbaum
ecbf1aebce
Add a RecursiveStatementVisitor ( #313 )
...
This will make it easier to write utilities that traverse the syntax
tree.
2018-05-02 11:29:47 -07:00
Natalie Weizenbaum
166dac67d4
Add line continuations to the Heroku deploy script
...
[skip ci]
2018-04-25 19:14:39 -07:00
Natalie Weizenbaum
dd639b2a78
Merge pull request #312 from sass/release
...
Release 1.3.0
2018-04-25 19:03:05 -07:00
Natalie Weizenbaum
c060f29ba9
Release 1.3.0
2018-04-25 18:11:55 -07:00
Natalie Weizenbaum
6beb1ae8ac
Merge pull request #310 from sass/source-map-vars
...
Track variable declarations for source maps
2018-04-25 18:11:10 -07:00
Natalie Weizenbaum
5bf7773590
Track variable declarations for source maps
...
Closes #2
2018-04-25 17:50:24 -07:00
Natalie Weizenbaum
326f0fd86a
Remove the span argument from _EvaluateVisitor._evaluateArguments()
...
This was too broad; we should use the individual expressions' spans
instead.
2018-04-25 17:49:45 -07:00
Natalie Weizenbaum
6a117905ab
Fix a crash when printing warnings through the Node API ( #311 )
...
Closes #307
2018-04-25 17:47:29 -07:00
Natalie Weizenbaum
50b820aed3
Add CHANGELOG entries for source map CLI support
...
See #2
[skip ci]
2018-04-25 17:10:02 -07:00
Natalie Weizenbaum
a1f56d783d
Add a CHANGELOG entry for mbullington/node_preamble.dart#6
...
This doesn't actually require any changes in Dart Sass itself, but it
was producing behavior that was visible to our users (#301 ) so it
makes sense to include it in the CHANGELOG for the version that will
include the fix.
[skip ci]
2018-04-25 17:06:37 -07:00
Natalie Weizenbaum
234aa12e08
Add CLI source map support ( #309 )
...
Partially addresses #2
2018-04-25 16:12:37 -07:00
Natalie Weizenbaum
8c4180685a
Merge pull request #306 from sass/cli-refactor
...
Improve CLI option handling
2018-04-25 15:15:59 -07:00
Natalie Weizenbaum
829dc038f9
Remove an unnecessary dependency on Node Sass
...
This wasn't supposed to be committed.
2018-04-25 13:55:54 -07:00
Natalie Weizenbaum
7c616ef987
Limit the combinatorial explosion of compile calls
2018-04-25 13:41:22 -07:00
Natalie Weizenbaum
19408d943b
Refactor the way CLI options are handled
...
Exposing the options through a stateless object makes it easier to
separate out the procedure of compilation from the logic behind
parsing each option.
2018-04-25 13:41:22 -07:00
Natalie Weizenbaum
3082a77b01
Add sections to the CLI --help documentation
2018-04-24 14:12:56 -07:00
Natalie Weizenbaum
dc8d8a6166
Run Dart Sass in checked mode in tests ( #304 )
...
Also fix a checked mode error.
2018-04-23 21:20:38 -07:00
Natalie Weizenbaum
2c967f0070
Merge pull request #303 from sass/relative-import-from-relative-path
...
Fix a relative import bug in the JS API
2018-04-21 15:24:57 -07:00
Natalie Weizenbaum
7a882bd3be
Fix a relative import bug in the JS API
...
Closes #284
2018-04-21 00:50:23 -07:00
Natalie Weizenbaum
11f38291f0
Clean up expectations in node_api_test
2018-04-21 00:49:51 -07:00