@terrazzo/plugin-sass 0.0.3 → 0.1.1
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/.turbo/turbo-build.log +12 -0
- package/CHANGELOG.md +29 -0
- package/dist/build.js +1 -1
- package/dist/build.js.map +1 -1
- package/package.json +9 -9
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
> @terrazzo/plugin-sass@0.1.1 build /home/runner/work/terrazzo/terrazzo/packages/plugin-sass
|
|
3
|
+
> pnpm run build:ts && pnpm -w run inject-license @terrazzo/plugin-sass dist/index.js
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> @terrazzo/plugin-sass@0.1.1 build:ts /home/runner/work/terrazzo/terrazzo/packages/plugin-sass
|
|
7
|
+
> tsc -p tsconfig.build.json
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
> @terrazzo/monorepo@ inject-license /home/runner/work/terrazzo/terrazzo
|
|
11
|
+
> node scripts/inject-license.js "@terrazzo/plugin-sass" "dist/index.js"
|
|
12
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @terrazzo/plugin-sass
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`b90287c`](https://github.com/terrazzoapp/terrazzo/commit/b90287cb13dc3bfdb24b8d6698931c7d156c3638)]:
|
|
8
|
+
- @terrazzo/token-tools@0.1.3
|
|
9
|
+
- @terrazzo/plugin-css@0.1.2
|
|
10
|
+
- @terrazzo/cli@0.1.3
|
|
11
|
+
|
|
12
|
+
## 0.1.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#319](https://github.com/terrazzoapp/terrazzo/pull/319) [`e7f272d`](https://github.com/terrazzoapp/terrazzo/commit/e7f272defcd889f5a410fdbd30497cf704671b32) Thanks [@drwpow](https://github.com/drwpow)! - ⚠️ Breaking change: dimension and duration tokens normalize to object syntax in plugins (following upcoming changes in DTCG spec; see https://github.com/design-tokens/community-group/pull/244).
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`e7f272d`](https://github.com/terrazzoapp/terrazzo/commit/e7f272defcd889f5a410fdbd30497cf704671b32)]:
|
|
21
|
+
- @terrazzo/token-tools@0.1.0
|
|
22
|
+
- @terrazzo/plugin-css@0.1.0
|
|
23
|
+
- @terrazzo/cli@0.1.0
|
|
24
|
+
|
|
25
|
+
## 0.0.3
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [[`d0a9df4`](https://github.com/terrazzoapp/terrazzo/commit/d0a9df43ccabd10ea338e12cbfcfbd7e00952d28)]:
|
|
30
|
+
- @terrazzo/cli@0.0.17
|
|
31
|
+
|
|
3
32
|
## 0.0.2
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
package/dist/build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { FORMAT_ID } from '@terrazzo/plugin-css';
|
|
1
2
|
import { isTokenMatch } from '@terrazzo/token-tools';
|
|
2
3
|
import { makeCSSVar } from '@terrazzo/token-tools/css';
|
|
3
|
-
import { FORMAT_ID } from '@terrazzo/plugin-css';
|
|
4
4
|
import { FILE_HEADER, MIXIN_TOKEN, MIXIN_TYPOGRAPHY } from './lib.js';
|
|
5
5
|
export default function build({ getTransforms, options }) {
|
|
6
6
|
const tokens = getTransforms({ format: FORMAT_ID, id: '*', mode: '.' });
|
package/dist/build.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.js","sourceRoot":"","sources":["../src/build.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sB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IAEtB,oBAAoB;IACpB,MAAM,CAAC,IAAI,CAAC,+BAA+B,CAAC,CAAC;IAE7C,MAAM,gBAAgB,GAAG,aAAa,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC;IACnG,KAAK,MAAM,KAAK,IAAI,gBAAgB,EAAE,CAAC;QACrC,MAAM,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,CAAC;QACxC,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;YAChD,MAAM,IAAI,GAAG,GAAG,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,EAAE,IAAI,QAAQ,EAAE,CAAC;YAC9D,MAAM,CAAC,IAAI,CAAC,QAAQ,QAAQ,OAAO,UAAU,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC;QAC9E,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAEtB,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC;IAEnD,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC3B,CAAC"}
|
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.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Drew Powers",
|
|
@@ -23,22 +23,22 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@terrazzo/cli": "^0.
|
|
27
|
-
"@terrazzo/plugin-css": "^0.
|
|
26
|
+
"@terrazzo/cli": "^0.1.3",
|
|
27
|
+
"@terrazzo/plugin-css": "^0.1.2"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@terrazzo/token-tools": "^0.
|
|
30
|
+
"@terrazzo/token-tools": "^0.1.3"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@terrazzo/cli": "^0.
|
|
34
|
-
"@terrazzo/parser": "^0.
|
|
35
|
-
"@terrazzo/plugin-css": "^0.
|
|
33
|
+
"@terrazzo/cli": "^0.1.3",
|
|
34
|
+
"@terrazzo/parser": "^0.1.3",
|
|
35
|
+
"@terrazzo/plugin-css": "^0.1.2"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
|
-
"build": "pnpm run build:
|
|
39
|
-
"build:clean": "del-cli dist",
|
|
38
|
+
"build": "pnpm run build:ts && pnpm -w run inject-license @terrazzo/plugin-sass dist/index.js",
|
|
40
39
|
"build:ts": "tsc -p tsconfig.build.json",
|
|
41
40
|
"dev": "tsc -p tsconfig.build.json -w",
|
|
41
|
+
"format": "biome check --fix --unsafe .",
|
|
42
42
|
"lint": "biome check .",
|
|
43
43
|
"test": "pnpm --filter @terrazzo/plugin-sass run \"/^test:.*/\"",
|
|
44
44
|
"test:js": "vitest run",
|