Skip to content

Commit 9f51459

Browse files
committed
chore(release): 1.0.3
1 parent b55c47c commit 9f51459

File tree

10 files changed

+30
-35
lines changed

10 files changed

+30
-35
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true

apps/docs/app/layout.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
import 'ui/styles/globals.css';
1+
import "@ui/styles/globals.css";
22

3-
export default function RootLayout({ children }: { children: React.ReactNode }) {
3+
export default function RootLayout({
4+
children,
5+
}: {
6+
children: React.ReactNode;
7+
}) {
48
return (
59
<html lang="en">
610
<body>{children}</body>

apps/docs/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button } from 'ui';
1+
import { Button } from "@ui/components/button";
22

33
export default function Page() {
44
return (

apps/web/app/layout.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
import 'ui/styles/globals.css';
1+
import "ui/styles/globals.css";
22

3-
export default function RootLayout({ children }: { children: React.ReactNode }) {
3+
export default function RootLayout({
4+
children,
5+
}: {
6+
children: React.ReactNode;
7+
}) {
48
return (
59
<html lang="en">
610
<body>{children}</body>

apps/web/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button } from 'ui';
1+
import { Button } from "@ui/components/button";
22

33
export default function Page() {
44
return (

packages/tsconfig/nextjs.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
"target": "es5",
1818
"paths": {
1919
"@/*": ["./*"],
20-
"@ui/*": ["../../packages/ui/*"]
20+
"@ui/*": ["../../packages/ui/*"],
21+
"@ui/components/*": ["../../packages/ui/components/ui/*"],
22+
"@ui/components/ui/*": ["../../packages/ui/components/ui/*"]
2123
}
2224
},
2325
"include": ["src", "next-env.d.ts"],

packages/ui/index.tsx

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/ui/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
{
22
"name": "ui",
33
"version": "0.0.0",
4-
"main": "./index.tsx",
5-
"types": "./index.tsx",
64
"license": "MIT",
75
"scripts": {
86
"lint": "eslint \"**/*.ts*\"",
9-
"ui:add": "pnpm dlx shadcn-ui@latest add",
10-
"postui:add": "ts-node --esm ./scripts/generateIndex.mts"
7+
"ui:add": "pnpm dlx shadcn-ui@latest add"
118
},
129
"devDependencies": {
1310
"@types/node": "^17.0.12",

packages/ui/scripts/generateIndex.mts

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/ui/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"compilerOptions": {
66
"baseUrl": ".",
77
"paths": {
8-
"@ui/*": ["./*"]
8+
"@ui/*": ["./*"],
9+
"@ui/componets/ui*": ["./components/ui*"]
910
}
1011
}
1112
}

0 commit comments

Comments
 (0)