@terrazzo/plugin-sass 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +3 -3
  3. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @terrazzo/plugin-sass
2
2
 
3
+ ## 0.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#477](https://github.com/terrazzoapp/terrazzo/pull/477) [`0e24810`](https://github.com/terrazzoapp/terrazzo/commit/0e248106b313e363edcfb1a27d11de619133af03) Thanks [@dzonatan](https://github.com/dzonatan)! - [plugin-css] add `baseSelector` option to css plugin to allow changing the root selector
8
+
9
+ ## 0.7.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#468](https://github.com/terrazzoapp/terrazzo/pull/468) [`2c28957`](https://github.com/terrazzoapp/terrazzo/commit/2c289579bee73eabcdf648fbdb99071fece9c018) Thanks [@drwpow](https://github.com/drwpow)! - When downsampling colors for sRGB gamut, preserve the originally-authored colorspace
14
+
15
+ - Updated dependencies [[`2c28957`](https://github.com/terrazzoapp/terrazzo/commit/2c289579bee73eabcdf648fbdb99071fece9c018)]:
16
+ - @terrazzo/token-tools@0.7.1
17
+ - @terrazzo/cli@0.7.1
18
+ - @terrazzo/plugin-css@0.7.1
19
+
3
20
  ## 0.7.0
4
21
 
5
22
  ### Minor Changes
package/README.md CHANGED
@@ -4,7 +4,7 @@ Convert DTCG tokens into Sass for use in any web application or native app with
4
4
 
5
5
  ## Setup
6
6
 
7
- Requires [Node.js 18 or later](https://nodejs.org) and [the CLI installed](https://terrazzo.app/docs/cli). With both installed, run:
7
+ Requires [Node.js 20 or later](https://nodejs.org) and [the CLI installed](https://terrazzo.app/docs/cli). With both installed, run:
8
8
 
9
9
  ```sh
10
10
  npm i -D @terrazzo/plugin-css @terrazzo/plugin-sass
@@ -21,10 +21,10 @@ export default defineConfig({
21
21
  outDir: "./tokens/",
22
22
  plugins: [
23
23
  css({
24
- fileName: "tokens.css",
24
+ filename: "tokens.css",
25
25
  }),
26
26
  sass({
27
- fileName: "index.sass",
27
+ filename: "index.sass",
28
28
  }),
29
29
  ],
30
30
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@terrazzo/plugin-sass",
3
3
  "description": "Generate scss/sass from your design tokens schema (requires @terrazzo/cli)",
4
- "version": "0.7.0",
4
+ "version": "0.7.2",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Drew Powers",
@@ -23,25 +23,25 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "peerDependencies": {
26
- "@terrazzo/cli": "0.x",
27
- "@terrazzo/plugin-css": "0.x"
26
+ "@terrazzo/cli": "^0.7.0",
27
+ "@terrazzo/plugin-css": "^0.7.2"
28
28
  },
29
29
  "dependencies": {
30
- "@terrazzo/token-tools": "^0.7.0"
30
+ "@terrazzo/token-tools": "^0.7.2"
31
31
  },
32
32
  "devDependencies": {
33
- "@terrazzo/cli": "^0.7.0",
34
- "@terrazzo/parser": "^0.7.0",
35
- "@terrazzo/plugin-css": "^0.7.0"
33
+ "@terrazzo/parser": "^0.7.1",
34
+ "@terrazzo/plugin-css": "^0.7.2",
35
+ "@terrazzo/cli": "^0.7.2"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "pnpm run build:ts && pnpm -w run inject-license @terrazzo/plugin-sass dist/index.js",
39
39
  "build:ts": "tsc -p tsconfig.build.json",
40
40
  "dev": "tsc -p tsconfig.build.json -w",
41
41
  "format": "biome check --fix --unsafe .",
42
- "lint": "biome check .",
43
- "test": "pnpm --filter @terrazzo/plugin-sass run \"/^test:.*/\"",
44
- "test:js": "vitest run",
45
- "test:ts": "tsc --noEmit"
42
+ "lint": "pnpm --filter @terrazzo/plugin-sass run \"/^lint:.*/\"",
43
+ "lint:js": "biome check .",
44
+ "lint:ts": "tsc --noEmit",
45
+ "test": "vitest run"
46
46
  }
47
47
  }