Skip to content
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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

nirvlife structure round 2 #19

wants to merge 2 commits into from

Conversation

noahehall
Copy link
Contributor

@noahehall noahehall commented May 29, 2023

C

  • continue with the structure
  • we have react-fullerpage and react-ideal-image

T

  • blah need to add framer-motion to react-ideal-image
  • push all of these todos to the nirvai github project
  • dunno

A

push to next pr

  • copy: card
  • copy stacks
  • setup test for library components once interface stabalizes
    • updated tsc to run typescript checks, but need turbo for the pipelines
  • need to setup husky
    • theres a bunch of ops related stuff we need todo
  • issues found
    • figure out how to install exact with bun
    • once app stabalizes move readme stuff into nirvai/docs
    • update repo settings
    • bun.build doesnt clean dir
    • setup hotreload: dev server reloads on server changes, but not on src changes
    • finish setting up turbo
      • provides caching and pipelines for bun scripts
      • should get around the bun hot reloading issue (atleast we hsould be able to reload the browser)

@noahehall noahehall changed the title initial commit nirvlife structure round 2 May 29, 2023
* 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";
Copy link
Contributor Author

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",
Copy link
Contributor Author

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";
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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 {
Copy link
Contributor Author

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)" {
Copy link
Contributor Author

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");
Copy link
Contributor Author

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant