Commit Graph

31 Commits

Author SHA1 Message Date
なつき
f611b066c5
Remove @types/node from dependency (#1737) 2022-07-08 21:57:51 -07:00
Goodwine
2299632ddf
Fix sass types for TS 4.7+ Node16/NodeNext module resolution (#1736)
Fixes #1714
2022-06-30 16:05:41 -07:00
Awjin Ahn
5a12ef508f
Drop support for non-LTS Node (< 12). (#1612) 2022-01-26 17:07:18 -08:00
Natalie Weizenbaum
811cffa2c1
Use the new JS API in the README (#1572) 2021-12-16 02:08:12 +00: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
97c51d6285
Add support for the JS API value types (#1552) 2021-11-30 00:10:47 +00:00
awjin
af0f25cb0e Fix broken tests 2021-04-14 17:15:09 -07:00
Natalie Weizenbaum
ae967c7e6e
Remove lingering references to Travis CI (#1195) 2021-01-11 15:02:36 -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
c8ac543d1e
Re-add support for Node Carbon (#785)
Apparently npm and Yarn won't avoid installing a package version that
declares incompatibility with them, so dropping compatibility for an
old version is actually a breaking change 😭.
2019-07-29 22:32:53 +01:00
Natalie Weizenbaum
d0f471ca9d Drop support for Node 8.x
url.pathToFileURL, which wasn't supported until Node 10.x, is now used
in node_preamble.
2019-07-22 16:51:15 -07:00
Natalie Weizenbaum
2cdbbebcaf
Declare support for Chokidar 3.0.0 (#731)
Closes #730
2019-06-26 16:06:22 -07: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
80afdd88f8 Run in Dart 2 runtime mode everywhere 2018-11-14 13:53:53 -08:00
Natalie Weizenbaum
89ce44aac4
Pass --no-preview-dart-2 to the Chocolatey script (#434)
I missed this in c462b82.

Closes #433
2018-08-03 14:24:53 -07:00
Natalie Weizenbaum
c462b82102 Run snapshots in Dart 1 mode
Until dart-lang/sdk#33257 is fixed, this ensures that users get as
much performance as possible.
2018-06-27 15:51:16 -07:00
Natalie Weizenbaum
6bbb961675 Add a --watch command
Partially addresses #264
2018-06-09 14:13:36 -04:00
Natalie Weizenbaum
d316fe19b9 Use $0 rather than $BASH_SOURCE for POSIX-compatibility
Closes #276
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
8e9c3a766b Show Travis status for the master branch only 2018-02-04 16:18:10 -08:00
Natalie Weizenbaum
3548a20979 Add a specialized README for npm 2018-02-02 16:37:06 -08:00
Jen Thakar
ccbe35da77 Make function in package script more portable
The script in the standalone package currently fails on OSes like
Ubuntu where /bin/sh does not support functions declared with the
function keyword.

This removes the function keyword from `follow_links`.
2018-01-26 22:03:55 -08:00
Natalie Weizenbaum
bd4cc36186 Rename the npm package "sass".
We'll continue to build the "dart-sass" package for the time being to
ease migration, but I expect to move entirely to "sass" by 1.0.0
stable.
2017-06-06 15:11:12 -07:00
Natalie Weizenbaum
54d4f3f608 Fix my npm author URL. 2017-06-06 15:07:12 -07:00
Natalie Weizenbaum
b02da78c98 Update the Node version constraint.
We're using `process.exitCode`, which was added in v0.11.8.

Closes #95
2017-06-01 15:10:26 -07:00
Natalie Weizenbaum
5e80408f90 Add support for building a Chocolatey package. (#98)
Closes #67
2017-01-13 16:13:26 -08:00
Natalie Weizenbaum
70aa894b2e Follow symlinks in dart-sass.sh.
Shamelessly copied from Dart's shell scripts:
634e5a1d02/sdk/bin/dart (L6-L16)

Closes #52
2016-12-02 13:36:25 -08:00
Martin Lepadusch
446cb846c3 Fixes for the windows archives (#22)
* add file extension for windows executables

* fix comments
2016-11-02 13:01:47 -07:00
Natalie Weizenbaum
1efefb1524 Restructure standalone packages.
This renames the script to dart-sass, and makes it the only file in the
archive root directory to make it easier to add to PATH.
2016-10-21 13:51:34 -07:00
Natalie Weizenbaum
68bd26637a Build an NPM module. 2016-10-14 17:39:28 -07:00