-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nirvlife structure round 2 #19
base: develop
Are you sure you want to change the base?
Conversation
* Chore(deps): validate react-fullerpage, fix eslint and add prettier * validate react-idealer-image * finalize react-idealer-image * Feat(dev): fake file watching the react app
@@ -1,6 +1,8 @@ | |||
import type { FC } from "react"; | |||
|
|||
import IdealImage from "react-ideal-image"; | |||
import { IdealImage } from "react-idealer-image"; | |||
// import { IdealImage } from "../../../node_modules/react-ideal-image/src"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this
@@ -1,3 +1,3 @@ | |||
export default { | |||
module.exports = { | |||
extends: "../../.eslintrc.cjs", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extract this to an eslint package
@@ -0,0 +1,21 @@ | |||
import * as path from "path"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
put this file back into the devServer file
const { outputs, success, logs, ...buildData } = await buildApp(); | ||
|
||
console.info(`built success ${success}: total files`, outputs.length); | ||
// generally we want to figure out how to serve assets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this comment shouldnt be needed anymore
@@ -0,0 +1,21 @@ | |||
// @see https://github.com/kentcdodds/kcd-scripts/blob/main/src/config/prettierrc.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move this to a prettier package
and use the one we created for nodeproto
import { ReactFP, FPContainer, FPItem } from "react-fullerpage"; | ||
// <img src={"/img/logo_main.png"} className="img" alt="nirvai" /> | ||
// import { ReactFP, FPContainer, FPItem } from "react-fullerpage"; | ||
import { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use the main package as we can now develop with react-cosmos and dont need to copypaste into node_modules
also check on the bun issue with bun link not working
@@ -1,4 +1,14 @@ | |||
declare module "*.(svg|jpg|png)" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dunno why this doenst fkn work
@@ -1,7 +1,7 @@ | |||
import { reportWebVitals } from "reportWebVitals"; | |||
import React, { StrictMode } from "react"; | |||
import ReactDOM, { createRoot } from "react-dom/client"; | |||
|
|||
console.info("lol"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this
@@ -3,6 +3,9 @@ | |||
// ^ pretty sure this is just a copypasta from nirv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this file, turbo doesnt work with bun
C
T
A
push to next pr