Commit Graph

171 Commits

Author SHA1 Message Date
Natalie Weizenbaum
4a0da21ed3
Fix a stack overflow when setting pkg.githubReleaseNotes (#1130) 2020-10-29 13:43:27 -07:00
Natalie Weizenbaum
a9a3946fb4
Use node_interop rather than manually declaring Node APIs (#1127) 2020-10-28 15:00:05 -07:00
Natalie Weizenbaum
73ebf92e9f
Support the latest version of the analyzer package (#1115) 2020-10-14 14:10:46 -07:00
Natalie Weizenbaum
ca39c834cd
Use cli_pkg 1.0.0-beta.10 (#1114) 2020-10-13 17:37:22 -07:00
Natalie Weizenbaum
6ec78f975b
Test against a matching sass-spec feature branch by default (#1082)
Rather than always defaulting to master, if Travis is running for a
feature branch or a pull request targeting a feature branch, it will
default to using the same feature branch in sass-spec.
2020-09-16 17:53:36 -07:00
Jennifer Thakar
830bb3aab2
Move Node tests on Windows to Travis (#1063)
* Move Node tests on Windows to Travis

Appveyor is flaky and can't be restarted by all team members, so moving
everything to Travis is preferable if we can get it to work.

* Actually use latest stable Node

This should also workaround the issue with lts/* not working on
Windows.

* Use npm.cmd instead of raw npm on Windows

* Use p.prettyUri() for Node API tests

Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2020-09-08 09:23:46 -07:00
Natalie Weizenbaum
9f640625e9
Improve the error messages for syntax errors (#1055)
* Produce a useful error for "@else i<EOF>"

* Produce a useful error for out-of-range hex escapes

Closes #1029, #1049, #1030
2020-08-10 13:55:13 -07:00
Jennifer Thakar
fcd7c26a6f
Fix release notes to include changes (#1037) 2020-07-01 14:59:26 -07:00
Natalie Weizenbaum
cf43f0d851
Add a release header (#961)
This got dropped in the move to cli_pkg.

Closes #944
2020-03-09 12:17:09 -07:00
Natalie Weizenbaum
3318efa087
Export the Bazel deploy task from grind.dart (#963) 2020-02-25 14:05:01 -08:00
Natalie Weizenbaum
9a23831cb9 Fix a typo in the Chocolatey XML 2020-02-07 17:03:45 -08:00
Natalie Weizenbaum
5450c1c07b
Use cli_pkg to build and release executables (#924) 2020-01-24 13:05:04 -08:00
Natalie Weizenbaum
e110961120
Pass the version variable to script snapshots at build time (#920)
Closes #914
See https://github.com/dart-lang/sdk/issues/36579#issuecomment-571386118
2020-01-07 13:53:30 -08:00
Natalie Weizenbaum
7113a729cd
Update dependency versions (#918) 2020-01-02 14:53:19 -08:00
Natalie Weizenbaum
ec3d0ddc19 Fix new pedantic lints 2019-12-18 15:46:36 -08:00
Natalie Weizenbaum
be05a5d77a Use dart2native rather than dart2aot 2019-11-15 16:40:15 -08:00
Natalie Weizenbaum
20978e0320 Fix new strict inference hints from Dart 2.6 2019-11-06 14:47:24 -08:00
Natalie Weizenbaum
d6aa4c25e1 Stop benchmarking Ruby Sass
We already know it's way slower than any other implementation,
it's reached end-of-life, and it slows down the process of running
benchmarks significantly.
2019-07-16 19:42:38 -07:00
Natalie Weizenbaum
a841882724 Don't compile to JS in minified mode
The JS size doesn't really matter on the server side, and this makes
profiling the release-mode binary substantially easier, as well as
improving the quality of stack traces provided by downstream users.
2019-07-15 21:59:54 +01:00
Natalie Weizenbaum
fb75fc39ce
Fix a Travis task that was broken by sass/sass-spec#1426 (#757) 2019-07-10 16:02:40 -07:00
Natalie Weizenbaum
532358d7fa
Merge pull request #727 from sass/static-require
Require dependencies in the preamble rather than through JS-interop
2019-06-28 14:32:18 -07:00
Natalie Weizenbaum
033533ae75
Avoid deprecated analyzer APIs (#735) 2019-06-26 14:53:37 -07:00
Natalie Weizenbaum
174ef128a2 Merge remote-tracking branch 'origin/feature.use' into merge-use 2019-06-24 14:12:05 -07:00
Natalie Weizenbaum
31f3ca2ead Replace dynamic require()s in dependencies with static alternatives 2019-06-20 19:05:23 +01:00
Natalie Weizenbaum
494e208067 Require dependencies in the preamble rather than through JS-interop
Closes #726
2019-06-19 19:41:16 +01:00
Natalie Weizenbaum
e888f84ce5 Merge branch 'master' into feature.use 2019-06-06 21:46:51 +01:00
Natalie Weizenbaum
11e3749721
Merge pull request #709 from sass/analysis
Enable stricter analysis options, especially around typing
2019-05-31 17:01:13 +01:00
Natalie Weizenbaum
ac38653776 Enable strict raw types 2019-05-31 16:01:49 +01:00
Natalie Weizenbaum
79e9bbd816 Enable strict inference 2019-05-31 15:54:59 +01:00
Natalie Weizenbaum
1340ba7b8a Enable and fix (most) pedantic lints 2019-05-31 15:18:59 +01:00
Natalie Weizenbaum
58a525c435
Get npm and pub credentials from environment variables (#694)
Getting them from a file made the process of updating either set of
credentials convoluted and error-prone, and meant that if one needed
to be updated both had to be re-encrypted.

This also updates the pub credentials to accommodate the new scope, as
described in dart-lang/pub-dev#2281.
2019-05-24 16:43:04 -07:00
Natalie Weizenbaum
c76ef209af Merge branch 'master' into master-into-use 2019-05-20 16:52:20 -07:00
Natalie Weizenbaum
2317be8812
Give Module a type parameter rather than making it synchronized (#686)
This allows us to have one fewer synchronized file, which reduces
complexity, and also lets us just write "Module" in async code rather
than "AsyncModule".
2019-05-20 15:34:14 -07:00
Natalie Weizenbaum
db87ed2f0e
Use the new Dart 2.3.0 literal syntax (#684) 2019-05-17 18:02:12 -07:00
Natalie Weizenbaum
19df69d26c Continue running feature.use in use mode 2019-05-17 14:40:34 -07:00
Natalie Weizenbaum
7857c9eb09
Merge pull request #675 from sass/update
Update dependencies
2019-05-16 14:19:16 -07:00
Natalie Weizenbaum
6a5f6227f2
Pass the package version to dart2aot (#683)
This can't be set via dartaotruntime, so we have to set it at
compile-time.
2019-05-16 11:59:35 -07:00
Natalie Weizenbaum
7c9d63a4dc Reformat with the latest formatter 2019-05-15 18:17:26 -07:00
Natalie Weizenbaum
5ed3bbc9c7 Update dependencies 2019-05-15 18:17:06 -07:00
Natalie Weizenbaum
aaebd424ed Get rid of tool/synchronize.dart
This was moved to tool/grind/synchronize.dart in #318, but the old
file never got removed.
2019-05-15 18:17:06 -07:00
Natalie Weizenbaum
1027737d9c
Update encrypted credentials (#682)
The old npm credentials got leaked in sass/migrator#44 as a result of
dart-lang/pub#2132.
2019-05-15 18:02:32 -07:00
Natalie Weizenbaum
4b7699291c
Compile release executables in native mode (#679) 2019-05-15 16:02:02 -07:00
Natalie Weizenbaum
9ff1e20064
Run app-snapshot in the before-test grinder task (#660)
This matches the behavior recommended by the tests if the snapshot is
out-of-date.
2019-05-03 12:55:53 -07:00
Natalie Weizenbaum
75ec9241f0
Build standalone Mac OS releases on Mac OS bots (#662)
This will allow us to distribute application snapshots, rather than
script snapshots, for Mac OS.
2019-05-02 15:08:46 -07:00
Natalie Weizenbaum
8b03319c97 Run each type of test from its own script file 2019-04-25 11:51:50 -07:00
Natalie Weizenbaum
7bd0f422b9 Test Windows and OS X on Travis 2019-04-25 11:51:27 -07:00
Natalie Weizenbaum
a0e63ac704 Merge branch 'feature.use' into merge-use 2019-03-07 18:17:42 -08:00
Anthony Sottile
7249698cac https-ify sass-lang.com urls (#614)
See https://github.com/sass/sass-site/issues/217

Committed via https://github.com/asottile/all-repos
2019-03-04 16:38:55 -08:00
Natalie Weizenbaum
0929aa5ce2
Update pub credentials (#605)
Pub recently started requiring more OAuth2 scopes than our old
credentials held.
2019-02-22 15:53:44 -08:00
Natalie Weizenbaum
7a7aea95b3 Add a module class and a way to create it from an Environment 2019-02-21 00:30:04 -08:00