Skip to content

Commit

Permalink
refactor: separate docs from the main app
Browse files Browse the repository at this point in the history
  • Loading branch information
pure-js committed Dec 18, 2024
1 parent 87f0c7f commit 94ee4b1
Show file tree
Hide file tree
Showing 36 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
</head>
<body>
<div id="app"></div>
<script type="module" src="./src/index.tsx"></script>
<script type="module" src="./apps/client/index.tsx"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "local-microblogging-client",
"version": "2.12.1",
"description": "Local Microblogging Frontend Client",
"main": "src/index.tsx",
"main": "apps/client/index.tsx",
"homepage": "https://pure-js.github.io/local-microblogging-client/",
"type": "module",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"rootDir": "./",
"moduleResolution": "Node",
"paths": {
"~/*": ["./src/*"]
"~/*": ["./apps/client/*"]
},
"resolveJsonModule": true,
"allowJs": false,
Expand All @@ -22,5 +22,5 @@
"noImplicitAny": true,
"skipLibCheck": true
},
"include": ["src", "vite-env.d.ts"]
"include": ["apps/client", "vite-env.d.ts"]
}
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default defineConfig({
alias: [
{
find: '~/',
replacement: '/src/',
replacement: '/apps/client/',
},
],
},
Expand Down

0 comments on commit 94ee4b1

Please sign in to comment.