init tw
This commit is contained in:
4
packages/twu/.npmrc
Normal file
4
packages/twu/.npmrc
Normal file
@@ -0,0 +1,4 @@
|
||||
//npm.xiongxiao.me/:_authToken=${ME_NPM_TOKEN}
|
||||
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
|
||||
|
||||
ignore-workspace-root-check=true
|
||||
3
packages/twu/nav/Nav.tsx
Normal file
3
packages/twu/nav/Nav.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export const Nav = () => {
|
||||
return <div>Nav</div>
|
||||
}
|
||||
1
packages/twu/nav/nav.mdx
Normal file
1
packages/twu/nav/nav.mdx
Normal file
@@ -0,0 +1 @@
|
||||
# nav的模块
|
||||
26
packages/twu/package.json
Normal file
26
packages/twu/package.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "@kevisual/twu",
|
||||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"src",
|
||||
"nav"
|
||||
],
|
||||
"author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
|
||||
"license": "MIT",
|
||||
"packageManager": "pnpm@10.6.2",
|
||||
"type": "module",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"tailwindcss": "^4.1.4",
|
||||
"@tailwindcss/vite": "^4.1.4"
|
||||
}
|
||||
}
|
||||
3
packages/twu/src/First.tsx
Normal file
3
packages/twu/src/First.tsx
Normal file
@@ -0,0 +1,3 @@
|
||||
export const First = () => {
|
||||
return <div>First</div>
|
||||
}
|
||||
17
packages/twu/tsconfig.json
Normal file
17
packages/twu/tsconfig.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"extends": "@kevisual/types/json/frontend.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"jsx": "react-jsx",
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"src/**/*",
|
||||
"stories/**/*",
|
||||
"nav"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user