Natalie Weizenbaum
6310dfb129
Update synchronization tests to verify the entire file ( #1880 )
...
This catches cases where the target file is edited directly without
also editing the source file.
Also re-run `pub run grinder`.
2023-02-01 16:23:37 -08:00
Christophe Coevoet
35cd8a77d9
Remove usage of deprecated member
2022-09-03 01:41:06 +02:00
Natalie Weizenbaum
270f5c4c93
Deploy the Sass website using GitHub pages rather than Heroku ( #1718 )
2022-06-13 16:05:13 -07:00
Natalie Weizenbaum
561fe25b82
Use "dart pub publish" instead of "pub publish" ( #1698 )
2022-05-20 15:04:07 -07:00
Jennifer Thakar
0db7ff29a0
Run formatter directly in grind.dart ( #1654 )
...
grinder's Pub class is broken in 2.17 (see https://github.com/google/grinder.dart/issues/385 ), so we need to run the formatter directly.
2022-03-18 13:13:48 -07:00
Natalie Weizenbaum
fc8b9fa3c7
Clone repos using https:// not git:// ( #1597 )
...
GitHub no longer supports the git:// protocol: https://github.blog/2021-09-01-improving-git-protocol-security-github/
2022-01-12 15:50:00 -08:00
Natalie Weizenbaum
4fa365adca
Use a more recent version of Carbon for our benchmarks
...
See sass/dart-sass#1534
2022-01-05 15:49:17 -08:00
Natalie Weizenbaum
fcdaa4e3f4
Add TypeScript type declarations to the npm package ( #1563 )
...
Closes #13
2021-12-02 23:01:14 +00:00
Natalie Weizenbaum
79541905bc
Release a release candidate for the new JS API ( #1562 )
2021-11-30 23:32:09 +00:00
Natalie Weizenbaum
97c51d6285
Add support for the JS API value types ( #1552 )
2021-11-30 00:10:47 +00:00
Natalie Weizenbaum
6622eebd79
Fix the Bazel deploy step again ( #1541 )
2021-10-26 22:24:46 +00:00
Natalie Weizenbaum
0ce65fc796
Replace Susy with Carbon as a benchmark target
...
Neither of these support Node v16 yet, but Susy is unmaintained and
will never support it while Carbon will likely add support in the near
future.
2021-10-20 16:36:29 -07:00
Natalie Weizenbaum
2cf2f27499
Use the latest version of cli_pkg
...
Closes #1531
2021-10-12 16:39:55 -07:00
Natalie Weizenbaum
2d56fe02df
Allow PRs to be linked to sass/sass PRs
2021-10-06 16:37:56 -07:00
Natalie Weizenbaum
fb180ff9f5
Update to the latest linter package and fix lints
2021-10-05 13:21:19 -07:00
Natalie Weizenbaum
31689a3637
Add basic compile functions for the new JS API ( #1503 )
2021-10-02 00:35:10 +00:00
Natalie Weizenbaum
080676387c
Add a double-check to verify that we bump versions ( #1498 )
2021-09-21 23:22:13 +00:00
Natalie Weizenbaum
a881eb63f0
Commit to the main branch of bazelrules/rules_sass ( #1497 )
2021-09-21 22:34:28 +00:00
Natalie Weizenbaum
8090b992de
Test against real-world Sass frameworks ( #1487 )
...
In a future commit, I'll update these jobs to only run just before
release, since they're expected to be substantially less likely to
fail and we don't want to waste cycles. For now, I have them runnning
always to verify that they run successfully at least once.
2021-09-17 23:17:41 +00:00
Natalie Weizenbaum
cfb7e405b0
Run shared JS tests from the sass-spec repo ( #1486 )
2021-09-16 22:51:33 +00:00
Natalie Weizenbaum
e4f38a79ec
Deploy sass-site's main branch to Heroku ( #1421 )
2021-08-04 20:23:59 +00:00
Natalie Weizenbaum
c07f46175b
Add a tag to the correct repo with the correct authentication ( #1420 )
2021-08-04 01:26:34 +00:00
Natalie Weizenbaum
1157d3c327
Manually resolve symlinks before deploying sub-packages ( #1419 )
2021-08-03 23:26:27 +00:00
Natalie Weizenbaum
667e9f40e6
Fix an unmodifiable map modification in the sass_api deploy ( #1418 )
2021-08-03 20:33:54 +00:00
Natalie Weizenbaum
2a0b6d05ef
Fix publishing errors for sass_api ( #1417 )
...
This needs a LICENSE of its own and it can't have dependency_overrides
when publishing.
2021-08-02 23:58:34 +00:00
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