Code Monkey home page Code Monkey logo

Comments (9)

FilledStacks avatar FilledStacks commented on June 24, 2024 1

@llewellyncollins we've gotten to this point where we have neat structure to define an endpoint. Basically I want the code in this folder to be a package. I'm doing some research now then i'll try to extract it into a package, and update the boxtout code to use the new package.

I'm almost certain I'll run into path issues for the glob collecting but i'll try to make the package now. @r0hit-gupta is back on some other work. My goal is to write the written tutorial for the setup on Sunday.

from boxtout.

FilledStacks avatar FilledStacks commented on June 24, 2024 1

Status Update

We have not refactored and improved the functionParser that you can view here. The goal is to get this out of the code base and have the backend simply contain the code required for the backend's intended functionality.

from boxtout.

r0hit-gupta avatar r0hit-gupta commented on June 24, 2024

I'm almost certain I'll run into path issues for the glob collecting but i'll try to make the package now.

@FilledStacks this is why we pass the root path(__dirname) when calling the FunctionParser. new FunctionParser(__dirname, exports). This shouldn't create much issues, but we need to put proper validations in place and throw meaningful errors if it does.

from boxtout.

FilledStacks avatar FilledStacks commented on June 24, 2024

@r0hit-gupta nice. You see this is why I need you guys and your JS / TS skills. We'll do a pass of possible exceptions and throw some good errors with guides if anything like that can happen. Once the package is up and going then we can work on those improvements.

from boxtout.

llewellyncollins avatar llewellyncollins commented on June 24, 2024

@FilledStacks Not sure how far you got with the new package. But I have created a repo for the new repo for the package
Repo
Package
Artifacts

I created it under my own GitHub account as I don't have access to Filledstack account. But in my repo, you can see how I went about setting it up.

If you are happy with this I can port this over to a Filledstack repo.

I will need the following

  1. A repo to push to
  2. A npm publish token

Please note in my repo I am publishing to the GitHub registry and not the npm registry, this was just for test and convenience purposes. I do not recommend publishing to the GitHub registry as there are extra steps required in order to install the package

from boxtout.

FilledStacks avatar FilledStacks commented on June 24, 2024

@llewellyncollins Nice! That's awesome

I've actually created a repo which I linked above in the todo and I sent you an invite for it last night when I made it 😄

You have access on the repo above so you can either push that or your can transfer it over to FilledStacks and I'll delete the our empty one. I'll get on the npm publish token now and send that over to you.

from boxtout.

FilledStacks avatar FilledStacks commented on June 24, 2024

@llewellyncollins I moved your repo history over here. I failed to publish a package haha, created the filledstacks npm profile and updated from your profile to filledstacks. I have the automate publish token to use for the publishing of the package. Let me know and I'll send that to you.

from boxtout.

llewellyncollins avatar llewellyncollins commented on June 24, 2024

@FilledStacks Ah yeah I missed that repo in the Todo. Thanks for moving this over however I did not import the history from the boxtout repo so it is missing @r0hit-gupta history I will see if I can get that sorted.

Now that repo has been moved it will not publish. So I will pick that up and get it working.

Could you please send the npm token to me privately and create an actions repository secret with the name NPM_TOKEN and the value as the npm token. This will allow me to setup up automated packages

from boxtout.

FilledStacks avatar FilledStacks commented on June 24, 2024

@llewellyncollins no problem, no need to have that full history on here, for now. I'll send it to you on what's app?

I've added the token as NPM_TOKEN so it should be available in the actions

from boxtout.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.