Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

henrybuilt-js-library

Package Overview
Dependencies
Maintainers
5
Versions
440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

henrybuilt-js-library

This is a shared JavaScript library intended to be used by both clients and servers.

  • 1.8.298
  • npm
  • Socket score

Version published
Weekly downloads
481
increased by258.96%
Maintainers
5
Weekly downloads
 
Created
Source

henrybuilt-js-library

This is a shared JavaScript library intended to be used by both clients and servers.

Do not add code that is client-or-server-only.

Instructions

Setup

  • git clone https://github.com/henrybuilt/henrybuilt-js-library
  • npm install
  • npm test - verify that tests are passing - don't worry about code coverage for now
  • checkout a branch

Modifying the library

  1. inside henrybuilt-js-library

    1. set up a working branch and version

      1. determine the new version number, like 1.1.0
      2. git checkout -b v-X-X-X where X-X-X is like 1-1-0 and corresponds to the version
      3. update version: in package.json to the new version number
    2. develop your feature(s)

      1. make your modifications inside /src and keep test coverage at 100%
      2. if you're working with henrybuilt-website
        1. open another terminal tab and run npm run develop
        2. temporarily uncomment line 147 in henrybuilt-website/app/controllers/application_controller.rb
    3. run npm run build until it builds without errors

    4. push and Max will manage deployment

    5. if you have permission to publish

      1. git checkout master and git pull
      2. npm publish
  2. inside henrybuilt-website

    1. update ENV['HENRYBUILT_JS_LIBRARY_VERSION'] inside config/application.rb
    2. restart the server
    3. verify your update worked via chrome console by typing lib, pressing enter, and reviewing it or actually using it

TODO

  • JSFiddle with access
  • CI
  • any general classes
  • make it so henrybuilt-website doesn't need to be restarted

, "_moduleAliases": { "@src": "./src" }

FAQs

Package last updated on 21 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc