Natalie Weizenbaum
7900dda573
Add a sass_api package and publishing infrastructure
2021-07-30 18:23:14 -07:00
Natalie Weizenbaum
43b69e60a0
Change CompileResult.includedFiles to CompileResult.includedUrls
...
Rather than constructing this explicitly to match Node Sass's API, we
construct it with canonical URLs and convert it into the format
expected by the Node Sass API (a mix of paths and URLs) in the
compatibility layer.
2021-07-13 18:08:18 -07:00
Natalie Weizenbaum
abcad66580
Default to running against sass-spec's main branch ( #1383 )
2021-06-29 16:14:17 -07:00
Natalie Weizenbaum
e85d9a7afc
Fix automated migrator errors
...
This gets the project analyzer-clean, but the tests are still failing.
2021-04-14 17:15:08 -07:00
Natalie Weizenbaum
81d952dc7d
Automated null-safety migration
2021-04-14 17:15:08 -07:00
Jennifer Thakar
dfbdae0d71
Prepare for null-safety migration
2021-04-14 17:15:08 -07:00
Natalie Weizenbaum
27c899e77b
Wait longer before running the Bazel task. ( #1212 )
...
This is still consistently failing to see the newly-uploaded npm
package.
2021-01-20 15:55:51 -08:00
Christophe Coevoet
6ea8ce6cf9
Fix the CI to use a PR version of sass-spec ( #1201 )
...
The previous implementation contained 2 mistakes:
- there was a mismatch between names of env variables in the workflow
config and in the script
- the `github.base_ref` property in github actions contains a branch
name, not a full git ref like `github.ref`
2021-01-13 13:06:56 -08:00
Natalie Weizenbaum
a2d2fe20fd
Wait 30 seconds for the npm package to be available for Bazel ( #1202 )
2021-01-12 13:59:59 -08:00
Natalie Weizenbaum
e97dd1a279
Merge pull request #1198 from sass/deploy
...
Fix some deployment infrastructure
2021-01-11 17:41:17 -08:00
Natalie Weizenbaum
0b877a127d
Fix an analysis hint
2021-01-11 17:04:00 -08:00
Natalie Weizenbaum
b9f313295b
Update benchmarks ( #1196 )
2021-01-11 16:54:14 -08:00
Natalie Weizenbaum
f3bd9103ed
If Yarn can't find the new Sass version immediately, wait 10 seconds
2021-01-11 16:44:51 -08:00
Natalie Weizenbaum
ec8cfb32f9
Use GH_TOKEN and GH_USER for Bazel deploy
2021-01-11 16:37:46 -08:00
Natalie Weizenbaum
0cae33007f
Fix the expected format for GitHub refs ( #1197 )
2021-01-11 16:11:24 -08:00
Natalie Weizenbaum
ae967c7e6e
Remove lingering references to Travis CI ( #1195 )
2021-01-11 15:02:36 -08:00
Natalie Weizenbaum
c1cdabc4a3
Use GH_* instead of GITHUB_* for environment variables
...
According to [the docs], environment variables may not begin with
`GITHUB_`.
[the docs]: https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables#naming-conventions-for-environment-variables
2021-01-08 17:22:07 -08:00
Christophe Coevoet
b4ab18968e
Migrate the CI to github actions
2021-01-08 17:22:07 -08:00
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