@terrazzo/plugin-sass 0.7.1 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 0.7.1
4
10
 
5
11
  ### Patch 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.1",
4
+ "version": "0.7.2",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Drew Powers",
@@ -24,24 +24,24 @@
24
24
  "license": "MIT",
25
25
  "peerDependencies": {
26
26
  "@terrazzo/cli": "^0.7.0",
27
- "@terrazzo/plugin-css": "^0.7.0"
27
+ "@terrazzo/plugin-css": "^0.7.2"
28
28
  },
29
29
  "dependencies": {
30
- "@terrazzo/token-tools": "^0.7.1"
30
+ "@terrazzo/token-tools": "^0.7.2"
31
31
  },
32
32
  "devDependencies": {
33
- "@terrazzo/cli": "^0.7.1",
34
33
  "@terrazzo/parser": "^0.7.1",
35
- "@terrazzo/plugin-css": "^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
  }