Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor: remove @toeverything/theme #2254

Merged
merged 5 commits into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ mod:dev:

mod:workspace: 'packages/workspace/**/*'

mod:theme: 'packages/theme/**/*'

mod:i18n: 'packages/i18n/**/*'

mod:env: 'packages/env/**/*'
Expand Down
1 change: 0 additions & 1 deletion apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ const nextConfig = {
'@affine/jotai',
'@toeverything/hooks',
'@toeverything/y-indexeddb',
'@toeverything/theme',
],
publicRuntimeConfig: {
PROJECT_NAME: process.env.npm_package_name ?? 'AFFiNE',
Expand Down
2 changes: 1 addition & 1 deletion packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@popperjs/core": "^2.11.7",
"@radix-ui/react-avatar": "^1.0.2",
"@toeverything/hooks": "workspace:*",
"@toeverything/theme": "workspace:*",
"@toeverything/theme": "^0.5.7",
"@vanilla-extract/dynamic": "^2.0.3",
"clsx": "^1.2.1",
"jotai": "^2.1.0",
Expand Down
1 change: 1 addition & 0 deletions packages/theme/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This package has been moved to [toeverything/design](https://github.com/toeverything/design)
32 changes: 0 additions & 32 deletions packages/theme/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/theme/src/index.css.ts

This file was deleted.

243 changes: 0 additions & 243 deletions packages/theme/src/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions packages/theme/tsconfig.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/theme/tsconfig.node.json

This file was deleted.

25 changes: 0 additions & 25 deletions packages/theme/vite.config.ts

This file was deleted.

1 change: 0 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

packages=(
"y-indexeddb"
"theme"
)

for package in "${packages[@]}"; do
Expand Down
6 changes: 1 addition & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
"@affine-test/kit/*": ["./tests/kit/*"],
"@affine-test/fixtures/*": ["./tests/fixtures/*"],
"@toeverything/y-indexeddb": ["./packages/y-indexeddb/src"],
"@toeverything/hooks/*": ["./packages/hooks/src/*"],
"@toeverything/theme": ["./packages/theme/src"]
"@toeverything/hooks/*": ["./packages/hooks/src/*"]
}
},
"references": [
Expand Down Expand Up @@ -85,9 +84,6 @@
},
{
"path": "./apps/electron"
},
{
"path": "./packages/theme"
}
],
"files": [],
Expand Down
Loading