|
1 | 1 | { |
2 | 2 | "name": "@node-core/ui-components", |
3 | | - "version": "1.7.0", |
| 3 | + "version": "1.7.1", |
4 | 4 | "type": "module", |
5 | 5 | "exports": { |
6 | 6 | "./*": { |
7 | | - "rolldown": [ |
8 | | - "./dist/*", |
9 | | - "./dist/*.js", |
10 | | - "./dist/*/index.js" |
11 | | - ], |
12 | | - "default": [ |
| 7 | + "types": [ |
13 | 8 | "./src/*", |
14 | 9 | "./src/*.tsx", |
15 | 10 | "./src/*/index.tsx", |
16 | 11 | "./src/*.ts", |
17 | 12 | "./src/*/index.ts" |
| 13 | + ], |
| 14 | + "default": [ |
| 15 | + "./dist/*", |
| 16 | + "./dist/*.js", |
| 17 | + "./dist/*/index.js" |
18 | 18 | ] |
19 | | - } |
| 19 | + }, |
| 20 | + "./src/*": [ |
| 21 | + "./src/*", |
| 22 | + "./src/*.tsx", |
| 23 | + "./src/*/index.tsx", |
| 24 | + "./src/*.ts", |
| 25 | + "./src/*/index.ts" |
| 26 | + ] |
20 | 27 | }, |
21 | 28 | "repository": { |
22 | 29 | "type": "git", |
23 | 30 | "url": "https://github.com/nodejs/nodejs.org", |
24 | 31 | "directory": "packages/ui-components" |
25 | 32 | }, |
26 | 33 | "scripts": { |
27 | | - "compile:ts": "tsc", |
28 | | - "compile:css": "postcss --dir dist --base src \"src/**/*.module.css\" src/styles/index.css", |
29 | | - "compile": "node --run compile:ts && node --run compile:css", |
30 | | - "compile:watch": "concurrently -k \"node --run compile:ts -- --watch\" \"node --run compile:css -- --watch\"", |
31 | | - "release": "node --run compile", |
| 34 | + "build": "node --run build:ts && node --run build:css", |
| 35 | + "build:css": "postcss --dir dist --base src \"src/**/*.module.css\" src/styles/index.css", |
| 36 | + "build:ts": "tsc", |
| 37 | + "build:watch": "concurrently -k \"node --run build:ts -- --watch\" \"node --run build:css -- --watch\"", |
32 | 38 | "lint": "node --run lint:js && node --run lint:css", |
33 | 39 | "lint:css": "stylelint \"**/*.css\" --allow-empty-input --cache --cache-strategy=content --cache-location=.stylelintcache", |
34 | 40 | "lint:css:fix": "node --run lint:css -- --fix", |
35 | 41 | "lint:fix": "node --run lint:js:fix && node --run lint:css:fix", |
36 | 42 | "lint:js": "eslint \"**/*.{js,mjs,ts,tsx}\"", |
37 | 43 | "lint:js:fix": "node --run lint:js -- --fix", |
38 | 44 | "lint:types": "tsc --noEmit", |
| 45 | + "release": "node --run build", |
39 | 46 | "storybook": "cross-env NODE_NO_WARNINGS=1 storybook dev -p 6006 --quiet", |
40 | 47 | "storybook:build": "cross-env NODE_NO_WARNINGS=1 storybook build --quiet --webpack-stats-json", |
41 | 48 | "test": "node --run test:unit", |
|
54 | 61 | "@radix-ui/react-separator": "^1.1.8", |
55 | 62 | "@radix-ui/react-tabs": "^1.1.13", |
56 | 63 | "@radix-ui/react-tooltip": "^1.2.8", |
57 | | - "@tailwindcss/postcss": "~4.3.0", |
58 | | - "@types/react": "catalog:", |
59 | 64 | "@vcarl/remark-headings": "~0.1.0", |
60 | 65 | "classnames": "catalog:", |
61 | | - "postcss-calc": "10.1.1", |
62 | | - "postcss-cli": "11.0.1", |
63 | | - "react": "catalog:", |
64 | | - "tailwindcss": "catalog:", |
65 | | - "typescript": "catalog:" |
| 66 | + "react": "catalog:" |
66 | 67 | }, |
67 | 68 | "devDependencies": { |
68 | 69 | "@eslint-react/eslint-plugin": "~5.8.6", |
|
71 | 72 | "@storybook/addon-themes": "~10.4.1", |
72 | 73 | "@storybook/addon-webpack5-compiler-swc": "~4.0.3", |
73 | 74 | "@storybook/react-webpack5": "~10.4.1", |
| 75 | + "@tailwindcss/postcss": "~4.3.0", |
74 | 76 | "@testing-library/user-event": "~14.6.1", |
75 | 77 | "@types/node": "catalog:", |
| 78 | + "@types/react": "catalog:", |
76 | 79 | "concurrently": "9.2.1", |
77 | 80 | "cross-env": "catalog:", |
78 | 81 | "css-loader": "7.1.4", |
79 | 82 | "eslint-plugin-react": "7.37.5", |
80 | 83 | "eslint-plugin-react-hooks": "7.1.1", |
81 | 84 | "eslint-plugin-storybook": "10.3.3", |
82 | 85 | "global-jsdom": "29.0.0", |
| 86 | + "postcss-calc": "~10.1.1", |
| 87 | + "postcss-cli": "^11.0.1", |
83 | 88 | "postcss-loader": "8.2.1", |
84 | 89 | "storybook": "~10.4.1", |
85 | 90 | "style-loader": "4.0.0", |
86 | 91 | "stylelint": "17.9.1", |
87 | 92 | "stylelint-config-standard": "40.0.0", |
88 | 93 | "stylelint-order": "8.1.1", |
89 | 94 | "stylelint-selector-bem-pattern": "4.0.1", |
90 | | - "tsx": "4.22.3" |
| 95 | + "tailwindcss": "catalog:", |
| 96 | + "tsx": "4.22.3", |
| 97 | + "typescript": "catalog:" |
91 | 98 | }, |
92 | 99 | "imports": { |
93 | 100 | "#ui/*": { |
|
0 commit comments