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