astrohelm / metaforge

Library đź“ť that allow you to describe data structures by subset of JavaScript syntax and validate them at runtime
https://astrohelm.ru
MIT License
3 stars 1 forks source link

Fronted build #13

Open sashapop10 opened 10 months ago

sashapop10 commented 10 months ago

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

corners2wall commented 10 months ago

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

sashapop10 commented 10 months ago

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"
   }
}
corners2wall commented 10 months ago

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

corners2wall commented 10 months ago

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

sashapop10 commented 10 months ago

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 commented 10 months ago

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

sashapop10 commented 10 months ago

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.

sashapop10 commented 10 months ago

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 commented 10 months ago

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

sashapop10 commented 10 months ago

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.