@terrazzo/plugin-js 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 +22 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
> @terrazzo/plugin-js@0.1.1 build /home/runner/work/terrazzo/terrazzo/packages/plugin-js
|
|
3
|
+
> pnpm run build:ts && pnpm -w run inject-license @terrazzo/plugin-js dist/index.js
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> @terrazzo/plugin-js@0.1.1 build:ts /home/runner/work/terrazzo/terrazzo/packages/plugin-js
|
|
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-js" "dist/index.js"
|
|
12
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @terrazzo/plugin-js
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#347](https://github.com/terrazzoapp/terrazzo/pull/347) [`b90287c`](https://github.com/terrazzoapp/terrazzo/commit/b90287cb13dc3bfdb24b8d6698931c7d156c3638) Thanks [@tomasfrancisco](https://github.com/tomasfrancisco)! - Add support for inset shadows
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`b90287c`](https://github.com/terrazzoapp/terrazzo/commit/b90287cb13dc3bfdb24b8d6698931c7d156c3638)]:
|
|
10
|
+
- @terrazzo/token-tools@0.1.3
|
|
11
|
+
- @terrazzo/cli@0.1.3
|
|
12
|
+
|
|
13
|
+
## 0.1.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [#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).
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`e7f272d`](https://github.com/terrazzoapp/terrazzo/commit/e7f272defcd889f5a410fdbd30497cf704671b32)]:
|
|
22
|
+
- @terrazzo/token-tools@0.1.0
|
|
23
|
+
- @terrazzo/cli@0.1.0
|
|
24
|
+
|
|
3
25
|
## 0.0.3
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* SOFTWARE.
|
|
24
24
|
*/
|
|
25
25
|
import { transformJSValue } from '@terrazzo/token-tools/js';
|
|
26
|
-
import { FORMAT_DTS_ID, FORMAT_JS_ID, TYPE_MAP } from './lib.js';
|
|
27
26
|
import { buildDTS, buildJS } from './build.js';
|
|
27
|
+
import { FORMAT_DTS_ID, FORMAT_JS_ID, TYPE_MAP } from './lib.js';
|
|
28
28
|
export * from './build.js';
|
|
29
29
|
export * from './lib.js';
|
|
30
30
|
export default function pluginJS(options) {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,OAAO,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}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@terrazzo/plugin-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Generate JS, TS, and JSON from your design tokens schema (requires @terrazzo/cli)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -24,20 +24,20 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@terrazzo/cli": "^0.
|
|
27
|
+
"@terrazzo/cli": "^0.1.3"
|
|
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.
|
|
33
|
+
"@terrazzo/cli": "^0.1.3",
|
|
34
|
+
"@terrazzo/parser": "^0.1.3"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
|
-
"build": "pnpm run build:
|
|
38
|
-
"build:clean": "del-cli dist",
|
|
37
|
+
"build": "pnpm run build:ts && pnpm -w run inject-license @terrazzo/plugin-js dist/index.js",
|
|
39
38
|
"build:ts": "tsc -p tsconfig.build.json",
|
|
40
39
|
"dev": "tsc -p tsconfig.build.json -w",
|
|
40
|
+
"format": "biome check --fix --unsafe .",
|
|
41
41
|
"lint": "biome check .",
|
|
42
42
|
"test": "pnpm --filter @terrazzo/plugin-js run \"/^test:*/\"",
|
|
43
43
|
"test:js": "vitest run",
|