Commit Graph

239 Commits

Author SHA1 Message Date
Natalie Weizenbaum
17e3a48639
Convert Sass to Dart 3 style (#2038) 2023-08-02 00:34:45 +00:00
Natalie Weizenbaum
b1d56a4f07
Change terminology to refer to JS instead of Node.js (#2039)
Now that we support running in a browser, saying "Node.js" is
generally inaccurate. It's still preserved in places that are
genuinely Node-specific.
2023-07-21 14:36:12 -07:00
Ed Rivas
ca2be2ace9
Expose calculations in JS API (#1988)
Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-07-19 14:36:22 -07:00
Natalie Weizenbaum
b4e8a74a50
Use the new import name for the ESM default export (#2026)
Closes #2024
2023-06-21 20:30:11 +00:00
Natalie Weizenbaum
3de612e67c
Re-enable support for default exports (#2009)
See #2008
2023-06-13 15:28:49 -07:00
Natalie Weizenbaum
ce58d87dcf
Add missing ESM exports (#2010) 2023-06-13 14:23:23 -07:00
Natalie Weizenbaum
ce909e454d
Use the correct pub credential location for deploying sub-packages (#1997) 2023-06-07 17:58:46 -07:00
Natalie Weizenbaum
d82654bc3a
Fix deploy configuration (#1994) 2023-06-07 17:15:18 -07:00
Natalie Weizenbaum
9e1d18a60e
Upgrade the analyzer package (#1974) 2023-05-24 14:53:21 -07:00
Ed Rivas
cca9464b09
Add support for running in the browser (#1895)
Closes #25

Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-05-19 13:22:44 -07:00
Natalie Weizenbaum
eb18526913
Use the embedded protocol from the Sass language repo (#1966) 2023-05-17 13:12:44 -07:00
Natalie Weizenbaum
6d6d5ee5a4 Merge branch 'embedded-move' into embedded 2023-05-15 14:34:52 -07:00
Natalie Weizenbaum
f50a3f0da3
Use buf instead of protoc to compile protobufs (#146)
This is more consistent with the embedded host, and avoids relying on
the seldom-maintaned arduino/setup-protoc GitHub action.
2023-02-08 17:30:05 -08:00
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
なつき
dfd4432f5d
Auto-update homebrew formula on release (#122)
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2022-12-08 12:21:48 -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
なつき
38451a4f9a
Deploy linux arm64 release to github (#77) 2022-03-28 15:04:05 -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
e12ef6f481 Allow PRs to be linked to the Dart Sass and embedded protocol repos 2022-01-25 17:16:39 -08:00
Natalie Weizenbaum
53464a7979
Use the Sass shared Dart analysis options (#67) 2022-01-25 17:16:17 -08: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
b402a20757
Refer to "main" branches (#49) 2021-06-29 16:14:01 -07:00
Natalie Weizenbaum
1c773f1cb1
Support VersionRequest and VersionResponse (#46)
Closes #33
2021-06-14 12:51:01 -07:00
Natalie Weizenbaum
93bc86f97a
Support non-nullability (#40) 2021-05-17 20:57:37 -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