File tree Expand file tree Collapse file tree 9 files changed +66
-7
lines changed Expand file tree Collapse file tree 9 files changed +66
-7
lines changed Original file line number Diff line number Diff line change 99
99
- run : git tag sass-api-${{ steps.sass-api-version.outputs.version }}
100
100
- run : git push --tag
101
101
102
+ deploy_sass_types :
103
+ name : Deploy @sass/types
104
+ runs-on : ubuntu-latest
105
+
106
+ steps :
107
+ - uses : actions/checkout@v5
108
+ with :
109
+ token : ${{ secrets.GH_TOKEN }}
110
+ # Set up .npmrc file to publish to npm
111
+ - uses : actions/setup-node@v4
112
+ with :
113
+ node-version : ' lts/*'
114
+ check-latest : true
115
+ registry-url : ' https://registry.npmjs.org'
116
+ - name : Get Dart Sass version
117
+ id : dart-sass-version
118
+ run : echo "version=${{ github.ref_name }}" | tee --append "$GITHUB_OUTPUT"
119
+ - name : Check out the language repo
120
+ uses : actions/checkout@v5
121
+ with : {repository: sass/sass, path: build/language}
122
+ - name : Copy types from the language repo
123
+ run : cp -r build/language/js-api-doc pkg/sass-types/types
124
+ - name : Copy LICENSE file
125
+ run : cp LICENSE pkg/sass-types/
126
+ - name : Set the version of @sass/types
127
+ run : npm pkg set version='{{ steps.dart-sass-version.outputs.version }}'
128
+ working-directory : pkg/sass-types/
129
+ - run : npm publish
130
+ env :
131
+ NODE_AUTH_TOKEN : ' ${{ secrets.NPM_TOKEN }}'
132
+ working-directory : pkg/sass-types/
133
+
102
134
deploy_sass_parser :
103
135
name : Deploy sass-parser
104
136
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
- ## 1.92.2-dev
1
+ ## 1.93.0
2
2
3
3
* Fix a crash when a style rule contains a nested ` @import ` , and the loaded file
4
4
` @use ` s a user-defined module as well as ` @include ` s a top-level mixin which
5
5
emits top-level declarations.
6
6
7
+ ### JavaScript API
8
+
9
+ * Release a ` @sass/types ` package which contains the type annotations used by
10
+ both the ` sass ` and ` sass-embedded ` package without any additional code or
11
+ dependencies.
12
+
7
13
## 1.92.1
8
14
9
15
* Fix a bug where variable definitions from one imported, forwarded module
Original file line number Diff line number Diff line change 1
- ## 0.4.29-dev
1
+ ## 0.4.29
2
2
3
3
* No user-visible changes.
4
4
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " sass-parser" ,
3
- "version" : " 0.4.29-dev " ,
3
+ "version" : " 0.4.29" ,
4
4
"description" : " A PostCSS-compatible wrapper of the official Sass parser" ,
5
5
"repository" : " sass/sass" ,
6
6
"author" : " Google Inc." ,
Original file line number Diff line number Diff line change
1
+ # @sass/types
2
+
3
+ This package is a dual-publish of the [ Sass JS API] ( https://sass-lang.com/documentation/js-api/ )
4
+ types. The ` sass ` and ` sass-embedded ` packages ** still contain types** . This package is for
5
+ users who _ only_ need the Sass JS types (such as for ` @types/gulp-sass ` ). It is published
6
+ alongside every release of ` sass ` and ` sass-embedded ` , so you can always use the same version.
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " @sass/types" ,
3
+ "version" : " auto" ,
4
+ "description" : " A standalone types package for the Sass JS API" ,
5
+ "repository" : " sass/sass" ,
6
+ "author" : " Google Inc." ,
7
+ "license" : " MIT" ,
8
+ "exports" : {
9
+ "types" : " ./types/index.d.ts"
10
+ },
11
+ "types" : " types/index.d.ts" ,
12
+ "files" : [
13
+ " types/**/*.d.ts"
14
+ ]
15
+ }
Original file line number Diff line number Diff line change 1
- ## 15.11.1-dev
1
+ ## 15.12.0
2
2
3
3
* No user-visible changes.
4
4
Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ name: sass_api
2
2
# Note: Every time we add a new Sass AST node, we need to bump the *major*
3
3
# version because it's a breaking change for anyone who's implementing the
4
4
# visitor interface(s).
5
- version : 15.11.1-dev
5
+ version : 15.12.0
6
6
description : Additional APIs for Dart Sass.
7
7
homepage : https://github.com/sass/dart-sass
8
8
9
9
environment :
10
10
sdk : " >=3.6.0 <4.0.0"
11
11
12
12
dependencies :
13
- sass : 1.92.2
13
+ sass : 1.93.0
14
14
15
15
dev_dependencies :
16
16
dartdoc : ^8.0.14
Original file line number Diff line number Diff line change 1
1
name : sass
2
- version : 1.92.2-dev
2
+ version : 1.93.0
3
3
description : A Sass implementation in Dart.
4
4
homepage : https://github.com/sass/dart-sass
5
5
You can’t perform that action at this time.
0 commit comments