Skip to content

Commit 7990182

Browse files
committed
feat(all): clean project
1 parent af1c98d commit 7990182

7 files changed

Lines changed: 23 additions & 31 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
44
[![Node Version](https://img.shields.io/badge/node-22.x-brightgreen.svg)](https://nodejs.org)
5-
[![pnpm Version](https://img.shields.io/badge/pnpm-10.28.1-orange.svg)](https://pnpm.io)
5+
[![pnpm Version](https://img.shields.io/badge/pnpm-10.30.3-orange.svg)](https://pnpm.io)
66
[![Vite](https://img.shields.io/badge/Vite-8.0.0--beta.10-646CFF.svg?logo=vite)](https://vite.dev)
77
[![Rolldown](https://img.shields.io/badge/Rolldown-Powered-FF6B35.svg)](https://rolldown.rs)
88

@@ -24,8 +24,8 @@ kubit-react-components/
2424
│ ├── components/ # React component library
2525
│ ├── design-system/ # CSS-in-JS styles and themes
2626
│ └── storybook/ # Interactive documentation
27-
├── public/ # Shared assets and utilities
28-
└── scripts/ # Build and automation scripts
27+
├── scripts/ # Build and automation scripts
28+
└── docs/ # Documentation and assets
2929
```
3030

3131
### Packages

package.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,14 @@
3030
"dev:design-system": "turbo run dev --filter=@kubit-ui-web/design-system",
3131
"build": "turbo run build --filter=!@kubit-ui-web/storybook",
3232
"build:all": "turbo run build",
33-
"build:components": "turbo run build --filter=@kubit-ui-web/react-components...",
34-
"build:design-system": "turbo run build --filter=@kubit-ui-web/design-system...",
35-
"build:storybook": "turbo run build --filter=@kubit-ui-web/storybook",
36-
"build:force": "turbo run build --force --filter=!@kubit-ui-web/storybook",
3733
"lint": "turbo run lint --continue",
38-
"lint:components": "turbo run lint --filter=@kubit-ui-web/react-components",
39-
"lint:design-system": "turbo run lint --filter=@kubit-ui-web/design-system",
4034
"lint:fix": "turbo run lint:fix --continue",
4135
"format": "turbo run format --continue",
4236
"format:check": "turbo run format:check --continue",
4337
"test": "turbo run test --filter=@kubit-ui-web/react-components",
4438
"test:watch": "turbo run test:watch --filter=@kubit-ui-web/react-components",
4539
"test:coverage": "turbo run test:coverage --filter=@kubit-ui-web/react-components",
4640
"typecheck": "turbo run typecheck --continue",
47-
"typecheck:components": "turbo run typecheck --filter=@kubit-ui-web/react-components",
48-
"typecheck:design-system": "turbo run typecheck --filter=@kubit-ui-web/design-system",
49-
"typecheck:storybook": "turbo run typecheck --filter=@kubit-ui-web/storybook",
5041
"validate": "turbo run format:check lint typecheck build --filter=!@kubit-ui-web/storybook --continue",
5142
"validate:quick": "turbo run lint typecheck --continue",
5243
"validate:ci": "turbo run format:check lint typecheck test build --filter=!@kubit-ui-web/storybook --continue",
@@ -55,8 +46,6 @@
5546
"clean": "turbo run clean && rm -rf node_modules .pnpm-store",
5647
"clean:build": "turbo run clean:build",
5748
"clean:cache": "turbo daemon clean && rm -rf .turbo",
58-
"graph": "turbo run build --graph=dependency-graph.html",
59-
"graph:dot": "turbo run build --graph=dependency-graph.dot",
6049
"changeset": "changeset",
6150
"changeset:version": "changeset version",
6251
"changeset:publish": "pnpm build && changeset publish",

packages/components/.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ vitest.config.*
3131
vitest.setup.*
3232
eslint.config.*
3333
.prettierrc*
34+
.prettierignore
3435
.htmlvalidate.json
36+
.editorconfig
37+
.npmrc
38+
.yarnrc
39+
rslib.config.*
3540

3641
# Git files
3742
.git/

packages/components/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ pnpm add @kubit-ui-web/react-components @kubit-ui-web/design-system
4141

4242
This package requires the following peer dependencies:
4343

44-
- `react` >= 17.0.0 || >= 18.3.1
45-
- `react-dom` >= 17.0.0 || >= 18.3.1
44+
- `react` ^18.3.0 || ^19.0.0
45+
- `react-dom` ^18.3.0 || ^19.0.0
4646

4747
## Quick Start
4848

packages/components/package.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -142,28 +142,20 @@
142142
"scripts": {
143143
"dev": "rslib build --watch",
144144
"build": "rslib build",
145-
"predist": "rm -rf dist",
146-
"dist": "rslib build",
147145
"lint": "eslint src",
148146
"lint:fix": "eslint src --fix",
149147
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
150148
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,scss,md}\"",
151-
"test": "pnpm lint && pnpm typecheck && vitest --coverage.enabled=true --silent --run",
152-
"test:ci": "vitest --ui --coverage.enabled=true",
149+
"test": "vitest --coverage.enabled=true --silent --run",
153150
"test:watch": "vitest --watch",
154-
"test:unit": "vitest --run",
155151
"test:coverage": "vitest --coverage.enabled=true --run",
156152
"test:coverage:ui": "vitest --coverage.enabled=true --ui",
157153
"typecheck": "tsc --noEmit",
158-
"validate": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm dist",
154+
"validate": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm build",
159155
"validate:quick": "pnpm lint && pnpm typecheck",
160-
"pack:check": "pnpm pack --dry-run",
161-
"pack:size": "pnpm pack --dry-run 2>&1 | tail -1",
162-
"pack:analyze": "pnpm pack && tar -tzf *.tgz | head -50 && rm *.tgz",
163-
"pack:verify": "pnpm pack:check && pnpm pack:size",
164156
"clean": "rm -rf dist node_modules",
165157
"clean:build": "rm -rf dist",
166-
"prepublishOnly": "pnpm dist && pnpm pack:size",
158+
"prepublishOnly": "pnpm build",
167159
"prerelease": "pnpm validate && pnpm test"
168160
},
169161
"peerDependencies": {

packages/design-system/.npmignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ vite.config.*
2626
vitest.config.*
2727
eslint.config.*
2828
.prettierrc*
29+
.prettierignore
30+
.editorconfig
31+
.npmrc
32+
.yarnrc
33+
rslib.config.*
34+
bernova.config.*
2935

3036
# Git files
3137
.git/

turbo.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"persistent": true
6464
},
6565
"lint": {
66-
"dependsOn": ["^build"],
66+
"dependsOn": [],
6767
"inputs": [
6868
"src/**/*.{ts,tsx,js,jsx}",
6969
"stories/**/*.{ts,tsx,js,jsx}",
@@ -76,7 +76,7 @@
7676
"outputs": []
7777
},
7878
"lint:fix": {
79-
"dependsOn": ["^build"],
79+
"dependsOn": [],
8080
"inputs": [
8181
"src/**/*.{ts,tsx,js,jsx}",
8282
"stories/**/*.{ts,tsx,js,jsx}",
@@ -142,7 +142,7 @@
142142
"env": ["NODE_ENV"]
143143
},
144144
"typecheck": {
145-
"dependsOn": ["^build"],
145+
"dependsOn": [],
146146
"inputs": [
147147
"src/**/*.{ts,tsx}",
148148
"stories/**/*.{ts,tsx}",
@@ -153,7 +153,7 @@
153153
"outputs": ["*.tsbuildinfo"]
154154
},
155155
"@kubit-ui-web/react-components#typecheck": {
156-
"dependsOn": ["^build"],
156+
"dependsOn": [],
157157
"inputs": [
158158
"src/**/*.{ts,tsx}",
159159
"tsconfig.json",

0 commit comments

Comments
 (0)