@yahoo/uds 0.0.7 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
- "version": "0.0.7",
3
+ "version": "0.1.3",
4
4
  "description": "Yahoo Universal System",
5
5
  "type": "module",
6
- "main": "./dist/index.js",
6
+ "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "sideEffects": false,
10
10
  "exports": {
11
11
  ".": "./dist/index.js",
12
- "./tokens/*": "./dist/tokens/*.js",
12
+ "./fixtures": "./dist/fixtures.js",
13
+ "./styles/*": "./dist/styles/*",
13
14
  "./package.json": "./package.json"
14
15
  },
15
16
  "files": [
@@ -17,23 +18,38 @@
17
18
  "package.json"
18
19
  ],
19
20
  "devDependencies": {
20
- "@types/react": "^18.2.34",
21
- "@types/react-dom": "^18.2.14",
21
+ "@types/react": "^18.2.39",
22
+ "@types/react-dom": "^18.2.17",
23
+ "concurrently": "^8.2.2",
22
24
  "react": "^18.2.0",
23
25
  "react-dom": "^18.2.0",
24
- "tsup": "^7.2.0",
25
- "typescript": "^5.2.2",
26
- "eslint-config-custom": "0.0.2",
26
+ "tsup": "^8.0.1",
27
+ "tsx": "^4.6.1",
28
+ "typescript": "^5.3.2",
29
+ "eslint-config-custom": "0.0.3",
27
30
  "tsconfig": "0.0.1"
28
31
  },
32
+ "dependencies": {
33
+ "@radix-ui/react-slot": "^1.0.2",
34
+ "clsx": "^2.0.0",
35
+ "tailwind-merge": "^2.0.0",
36
+ "tailwindcss": "^3.3.5",
37
+ "zod": "^3.22.4",
38
+ "shared": "0.0.1"
39
+ },
29
40
  "scripts": {
30
- "build": "tsup",
31
- "dev": "tsup --watch",
41
+ "build": "pnpm build:fontcss && tsup",
42
+ "build:fontcss": "tsx ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
43
+ "dev": "concurrently pnpm:dev:*",
44
+ "dev:ts": "tsup --watch",
45
+ "dev:fontcss": "tsx watch --clear-screen=false ./scripts/generateFontCSS.ts --output ./generated/fonts.css",
46
+ "debug:css": "tailwindcss --input ./src/tailwind/styles.css --output ./dist/styles.css --config ./src/tailwind/tailwind.config.ts",
32
47
  "lint": "eslint .",
33
48
  "test": "vitest run",
34
49
  "test:watch": "vitest",
35
50
  "test:coverage": "vitest run --coverage",
36
51
  "test:ui": "vitest --ui --coverage",
52
+ "typecheck": "tsc --noEmit",
37
53
  "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
38
54
  }
39
55
  }
@@ -1 +0,0 @@
1
- "use strict";var t=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var c=(o,r)=>{for(var l in r)t(o,l,{get:r[l],enumerable:!0})},v=(o,r,l,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of y(r))!n.call(o,e)&&e!==l&&t(o,e,{get:()=>r[e],enumerable:!(a=p(r,e))||a.enumerable});return o};var x=o=>v(t({},"__esModule",{value:!0}),o);var i={};c(i,{red60:()=>d,textPrimary:()=>u});module.exports=x(i);var d={color:"var(--red60)",value:60},u={color:"var(--text-primary)",value:6};0&&(module.exports={red60,textPrimary});
@@ -1,12 +0,0 @@
1
- /**
2
- * DO NOT EDIT THIS FILE DIRECTLY
3
- * This file would be generated from style-dictionary or other tooling
4
- */
5
- type ColorType = {
6
- readonly color: string;
7
- readonly value: number;
8
- };
9
- declare const red60: ColorType;
10
- declare const textPrimary: ColorType;
11
-
12
- export { ColorType, red60, textPrimary };
@@ -1,12 +0,0 @@
1
- /**
2
- * DO NOT EDIT THIS FILE DIRECTLY
3
- * This file would be generated from style-dictionary or other tooling
4
- */
5
- type ColorType = {
6
- readonly color: string;
7
- readonly value: number;
8
- };
9
- declare const red60: ColorType;
10
- declare const textPrimary: ColorType;
11
-
12
- export { ColorType, red60, textPrimary };
@@ -1 +0,0 @@
1
- var r={color:"var(--red60)",value:60},o={color:"var(--text-primary)",value:6};export{r as red60,o as textPrimary};