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

Fronted build #13

Open
shuritch opened this issue Oct 18, 2023 · 10 comments
Open

Fronted build #13

shuritch opened this issue Oct 18, 2023 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@shuritch
Copy link
Member

shuritch commented Oct 18, 2023

Describe the problem

We need to create metaforge browser build for frontend Apps.

  1. npm run build for build generation
  2. export from package.json for browsers
@shuritch shuritch added the enhancement New feature or request label Oct 18, 2023
@shuritch shuritch self-assigned this Oct 18, 2023
@corners2wall
Copy link

Which template needed? It's important...
Maybe use next path: ~/apps/web - for ui

@shuritch
Copy link
Member Author

shuritch commented Nov 7, 2023

Which template needed? It's important... Maybe use next path: ~/apps/web - for ui

Hello, what do you mean by template ? Sorry for so not clear issue name, but we need to create browser build for this library (metaforge) by some builder, to allow run it at fronted apps.

For example at dist folder.
And export it from package.json

{
  "browser": {
    "./index.js": "./dist/index.js"
   }
}

@shuritch shuritch changed the title Fronted version Fronted build Nov 7, 2023
@corners2wall
Copy link

By template I mean public template like this. We just copy code and run. Easy and fast way.

@corners2wall
Copy link

For example in redux repo. They build site from path ~/website

@shuritch
Copy link
Member Author

shuritch commented Nov 8, 2023

By template I mean public template like this. We just copy code and run. Easy and fast way.

Well, we dont use any dependency here, except our own utils library, so you can use browserify as dev dependency to compile it from ~/index.js. As for the vite boilerplate, i don't know any, i think it mostly for website development and it would not fit in our issue.

@corners2wall
Copy link

You want to say that we will write a website in pure js without frameworks. I like it

@shuritch
Copy link
Member Author

shuritch commented Nov 8, 2023

o say that we will write a webs

Well, this project not about the website at all, this specific library supposed to validate data at runtime. But at the main goal - yes, we have in plans website.

@shuritch
Copy link
Member Author

shuritch commented Nov 8, 2023

You want to say that we will write a website in pure js without frameworks. I like it

Purejs / svelte / htmx always welcome, but its to early to build website for this project, we need to finish our framework & k8s utils first.

@corners2wall
Copy link

I'm confused man. I want to help you but I don’t understand how

@shuritch
Copy link
Member Author

shuritch commented Nov 8, 2023

I'm confused man. I want to help you but I don’t understand how

I see.. May i ask, how did you find us or this repository ?
If you want to solve this issue, you can ask me direct questions about problems on your way and i can help to solve them. We have more tasks todo, if you want to participate there - i can figure out task that can fit you.

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

No branches or pull requests

2 participants