Commit Graph

73 Commits

Author SHA1 Message Date
Natalie Weizenbaum
7900dda573 Add a sass_api package and publishing infrastructure 2021-07-30 18:23:14 -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
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
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
ca39c834cd
Use cli_pkg 1.0.0-beta.10 (#1114) 2020-10-13 17:37:22 -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
20978e0320 Fix new strict inference hints from Dart 2.6 2019-11-06 14:47:24 -08:00
Natalie Weizenbaum
db87ed2f0e
Use the new Dart 2.3.0 literal syntax (#684) 2019-05-17 18:02:12 -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
3368e890cd
Add a grind script to sanity-check a release (#563)
Add a grind script to sanity-check a release

This will help avoid accidentally releasing dev versions 😖.
2019-01-09 19:45:27 -05:00
Natalie Weizenbaum
5d885e6905 Enforce non-whitespace formatting rules 2018-11-14 13:53:55 -08:00
Natalie Weizenbaum
a87300a1e9 Use camel-case for grinder task names
This also causes Grinder to use hyphen-separated names for them on the
CLI, rather than underscore-separated.
2018-06-25 16:40:26 -07:00
Natalie Weizenbaum
281838e0da
Deploy to Bazel on release (#358)
Closes bazelbuild/rules_sass#28
2018-06-19 14:00:06 -07:00
Natalie Weizenbaum
048cbe197a
Automate benchmarking and update benchmarks (#356)
Closes #293
2018-06-15 11:29:42 -07:00
Natalie Weizenbaum
9fb508e338
Split grind.dart up into separate libraries (#318) 2018-05-03 17:37:25 -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
ff532f9710
Use Travis auth info to deploy to Homebrew (#296) 2018-04-17 15:44:29 -07:00
Natalie Weizenbaum
5cce76b6d4
Use constants from dart2_constants (#282) 2018-04-04 15:49:07 -07:00
Natalie Weizenbaum
a23b8299a9 Enable tests for the latest Dart 2018-04-04 11:36:25 -07:00
Natalie Weizenbaum
713d179c9e Use the new mechanism for distinguishing Node from web compilation 2018-04-03 16:56:59 -07:00
Natalie Weizenbaum
7e0b0b76b8 Set GitHub and Chocolatey credentials via environment variables
It doesn't really make sense to bundle these with the archive, since
they aren't natively consumed by tools.
2018-03-27 16:55:51 -07:00
Natalie Weizenbaum
c4271ca3e4 Include a header and footer in the GitHub release message 2018-03-27 13:35:45 -07:00
Natalie Weizenbaum
65229499b3
Name the standalone executable sass rather than dart-sass (#257) 2018-03-16 14:38:46 -07:00
Natalie Weizenbaum
079ca97476
Separate out minified and non-minified JS compilation tasks (#245) 2018-03-09 17:16:00 -08:00
Natalie Weizenbaum
92e8230e32 Auto-release on Chocolatey 2018-02-04 16:12:33 -08:00
Natalie Weizenbaum
01e768c885 Use hyphens for multiple Chocolatey prerelease components
This way 1.0.0-beta.1.1 won't conflict with 1.0.0-beta.11, for
example.
2018-02-04 16:08:51 -08:00
Natalie Weizenbaum
13bdd462ae Manually deploy to GitHub rather than using Travis's support
This avoids re-running before_deploy steps unnecessarily, and allows
us to upload CHANGELOG entries automatically.
2018-02-03 22:35:20 -08:00
Natalie Weizenbaum
ba041b3471
Add support for automated deployment (#231)
We won't really be able to tell if this works until we actually deploy.
2018-02-03 17:02:27 -08:00
Natalie Weizenbaum
060df8a3d7
Add Homebrew support (#230)
Technically Homebrew support was added by sass/homebrew-sass@83b7db9,
but this makes it official by documenting it and adding a
semi-automated update process.
2018-02-03 16:18:10 -08:00
Natalie Weizenbaum
3548a20979 Add a specialized README for npm 2018-02-02 16:37:06 -08:00
Natalie Weizenbaum
2301ecb65f
Generate app snapshots for the current OS (#224)
Might as well give some subset of our users a speed-up while we wait
for dart-lang/sdk#28617.
2018-02-01 18:54:42 -08:00
Natalie Weizenbaum
2cfb0daf4d Remove some outdated TODOs 2017-12-02 16:37:57 -08:00
Natalie Weizenbaum
0a67d3845f Add a dev dependency on fibers from NPM 2017-12-01 14:36:37 -08:00
Natalie Weizenbaum
0df3463213 Compile asynchronous code to synchronous (#194)
See #9
2017-12-01 14:29:11 -08:00
Natalie Weizenbaum
1651dcab96 Support dev SDKs on Chocolatey (#183)
Made possible by daftspaniel/Chocolatey-Packages#10
2017-10-13 15:44:27 -07:00
Natalie Weizenbaum
e79bba4fae Allow packages to be built with Dart dev releases (#182) 2017-10-12 12:22:01 -07:00
Natalie Weizenbaum
48ba0e2128 Manually determine the operating system for paths
Works around dart-lang/sdk#30098.
2017-07-06 23:52:43 -07:00
Natalie Weizenbaum
3b36c5a1fb Reformat. 2017-07-06 23:23:04 -07:00
Natalie Weizenbaum
2dd7601ba6 Add an option to not minify the compiled JS 2017-07-06 15:03:27 -07:00
Natalie Weizenbaum
0851350068 Reformat. 2017-07-06 14:13:29 -07:00
Natalie Weizenbaum
14f0d6ea46 Fix an analysis error. 2017-07-05 15:30:53 -07:00