
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@henrybuilt/react-lib
Advanced tools
cd ~/repos
git clone https://github.com/henrybuilt/hb-react-lib.git
cd ~/repos/hb-react-lib
npm i
npm link
cd ~/repos/hb-react-lib
npm link
npm run watch
, this will rebuild your ~/repos/hb-react-lib/dist as you make changes locallyrm -rf ./node_modules/react
, we remove the /react dir from ./node_modules to prevent conflicts with the target repo we wish to npm link with hb-react-lib
cd ~/repos/target-repo
, where "target-repo" is the repo in which you wish to use @henrybuilt/react-lib
npm link @henrybuilt/react-lib
If npm run build
results in TypeError: Unknown file extension ".json"
, try the following:
See this stack-overflow for more information.
Run node --experimental-json-modules ./node_modules/.bin/rollup -c
If using npm link
and you get the following error message in the repo where you're linking @henrybuilt/react-lib
,
Uncaught TypeError: Cannot read properties of null (reading 'useState')
run the following commands in hb-react-lib
directory:
a. rm -rf ./node_modules/react
b. rm -rf ./node_modules/react-dom
This can occur if you recently ran npm i
inside hb-react-lib
.
FAQs
## Development
We found that @henrybuilt/react-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.