File tree Expand file tree Collapse file tree 9 files changed +21
-20292
lines changed
Expand file tree Collapse file tree 9 files changed +21
-20292
lines changed Original file line number Diff line number Diff line change 1- # codinsonn.dev - Personal Website
1+ <img src =" /packages/@aetherspace/assets/AetherspaceLogo.svg " width =" 50 " height =" 50 " />
2+
3+ # Thorr ⚡️ codinsonn.dev - Personal Website
24
35<p >
46 <a href =" https://codinsonn.dev " >
@@ -124,8 +126,6 @@ This starter monorepo has three types of workspaces:
124126│ └── head.tsx ➡️ HTML wrapper for head & meta tags (+ SSR styles)
125127│ └── layout.tsx ➡️ Root layout for all web pages (e.g. headers / footers / nav)
126128│ └── page.tsx ➡️ Web Homepage (e.g. using 'app-core/screens/HomeScreen.tsx')
127- │ └── src/
128- │ └── pages/ ➡️ directory based routes (using 'app-core/screens/')
129129│ └── api/ ➡️ directory based api routes (using 'app-core/resolvers/')
130130│ └── graphql.ts ➡️ GraphQL client from 'app-core/graphql/'
131131│ └── babel.config.js ➡️ Babel transpilation config for Next.js
Original file line number Diff line number Diff line change 3333 }
3434 },
3535 "web" : {
36- "favicon" : " ../next/public/favicon.png "
36+ "favicon" : " ../next/public/favicon.ico "
3737 }
3838 }
3939}
Original file line number Diff line number Diff line change 4747 },
4848 "devDependencies" : {
4949 "@expo/webpack-config" : " ^0.17.2" ,
50- "@types/react" : " 18.0.27 " ,
50+ "@types/react" : " 18.0.28 " ,
5151 "dotenv" : " ^16.3.1" ,
52- "typescript" : " ^4.9.4 "
52+ "typescript" : " ^4.9.5 "
5353 }
5454}
Original file line number Diff line number Diff line change 1919 "app" : " *" ,
2020 "encoding" : " ^0.1.13" ,
2121 "expo-asset-web" : " npm:expo-asset@8.7.0" ,
22- "next" : " ^ 13.4.8" ,
22+ "next" : " 13.4.8" ,
2323 "next-fonts" : " ^1.5.1" ,
2424 "next-images" : " ^1.8.5" ,
2525 "next-pwa" : " ^5.6.0" ,
Original file line number Diff line number Diff line change 5151 "webpack-merge" : " ^5.9.0"
5252 },
5353 "resolutions" : {
54- "typescript" : " ^4.9.4 " ,
54+ "typescript" : " ^4.9.5 " ,
5555 "zod" : " ~3.20.6" ,
5656 "@babel/core" : " ^7.20.0" ,
5757 "@expo/config" : " ^7.0.2" ,
58- "@types/react" : " 18.0.27 " ,
58+ "@types/react" : " 18.0.28 " ,
5959 "@expo/webpack-config" : " ^0.17.2"
6060 },
6161 "scripts" : {
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ We have a full working example of this in the Aetherspace demo app:
173173- [ /features/app-core/screens/HomeScreen.tsx#L39-L76] ( https://github.com/Aetherspace/green-stack-starter-demo/blob/main/features/app-core/screens/HomeScreen.tsx#L39-L76 )
174174- [ /features/app-core/routes/index.tsx] ( https://github.com/Aetherspace/green-stack-starter-demo/blob/main/features/app-core/routes/index.tsx )
175175
176- But again, you may want to save some time and skip the manual boilerplate and use a generator instead:
176+ But again, you may want to save some time by skipping the manual boilerplate entirely and use a generator instead:
177177
178178## Generating GraphQL powered routes
179179
Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ yarn document-components # runs `packages/@aetherspace/scripts/document-componen
2424
2525## Explaining the magic
2626
27- Most of these scripts contain of 2 steps to create their results:
27+ Most of these scripts contain 2 simple steps to create their results:
28281 . Collect all relevant filePaths with ` glob `
29292 . Analyse, filter & generate template code from their file contents
3030
3131Some examples of what these scripts enable:
32- - File based routing for Next.js & Expo right from your feature / package modules
33- - Automatic Storybook docgen for all components in the monorepo
34- - GraphQL from your resolvers & schema files
35- - Asset and Icon management through registries
32+ - File based routing for Next.js & Expo right from your feature / package modules -- with ` yarn link-routes `
33+ - Automatic Storybook docgen for all components in the monorepo -- with ` yarn document-components `
34+ - GraphQL from your resolvers & schema files -- with ` yarn collect-resolvers `
35+ - Asset and Icon management through registries -- with ` yarn collect-assets ` and ` yarn collect-icons `
3636
3737## Deduplicated Routing between Expo & Next.js
3838
You can’t perform that action at this time.
0 commit comments