
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@rocjs/roc-internal-dev
Advanced tools
Internal tool for building Roc extensions.
Add this module as a dev dependency to the Roc extension that you want to manage. Then you can connect npm scripts to the commands that this module exposes.
You can use the short name rid
as an alternative to roc-internal-dev
if you don't want to write out the entire name.
"scripts": {
"build": "rid build",
// ...
}
A useful tip is to add an alias to rid that makes it easier to work with in the project.
"scripts": {
"start": "rid",
// ...
}
It is then possible to run all possible commands using npm start <command>
.
It is important to add the extension itself to the package.json
for roc-internal-dev
to be able to generate documentation.
Example
{
"name": "roc-package-module",
...
"roc": {
"packages": [
"./lib/index.js"
]
}
}
Please see here for all of the commands.
npm test
in extensions using rid test:alias
.yarn
over npm
when using rid link
.clean
when running release
.--next
flag to be used with release
command.bin/
folder when publishing to npm.roc
.extensions/
instead of packages/
for the extensions.lint-alias
to lint
on release by default and added option to use alias with --use-alias
.rnm
, for removing node_modules
in extensions directory.link
command, see rid link -h
for more info.lint-alias
instead of alias
when doing the release.roc
.FAQs
Roc enhancher used for development of Roc extensions
The npm package @rocjs/roc-internal-dev receives a total of 1 weekly downloads. As such, @rocjs/roc-internal-dev popularity was classified as not popular.
We found that @rocjs/roc-internal-dev demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.