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 shuritch opened 1 year ago

shuritch commented 1 year 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 1 year ago

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

shuritch commented 1 year 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 1 year ago

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

corners2wall commented 1 year ago

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

shuritch commented 1 year 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 1 year ago

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

shuritch commented 1 year 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.

shuritch commented 1 year 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 1 year ago

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

shuritch commented 1 year 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.