Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@connectrpc/connect-migrate
Advanced tools
This tool updates your Connect project to use the new @connectrpc packages.
This tool updates your Connect project to use the new @connectrpc
packages.
To migrate, run the following command in your project root directory:
npx @connectrpc/connect-migrate
Add the --help
flag to the command to learn more about the available flags.
This package is made up of a few migration steps
package.json
files to point to the new @connectrpc
organizationinstall
command for your package managerWe ignore all files within node_modules
but will update any other files that
end with the following extensions: .ts
, .tsx
, .js
, .jsx
, .cjs
, .mjs
.
This tool leverages jscodeshift
in order to find all references to packages and
update them. As a result, we've assumed a parser to parse your JavaScript/TypeScript
files. If you see errors due to parsing, you may be using a custom babel config
or another custom parser. You can work around this while leveraging our
transforms by calling jscodeshift
directly.
npx jscodeshift -t ./node_modules/@connectrpc/connect-migrate/dist/cjs/migrations/v0.13.1-transform.js .
And add any additional params you feel are necessary. You can find more
information about jscodeshift
here.
FAQs
This tool updates your Connect project to use the new @connectrpc packages.
We found that @connectrpc/connect-migrate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.