Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@integration-app/react
Advanced tools
To release a new version of a package (@integration-app/sdk, @integration-app/ui, @integration-app/react), do the following:
To release a new version of a package (@integration-app/sdk, @integration-app/ui, @integration-app/react), do the following:
npm version -- patch
(or npm version -- minor
or npm version -- major
) to bump the version.Check out the rollup.config.mjs file for the full config.
It's pretty self-explanatory, but here's some additional info:
We set {external: [/node_modules/]}
because we don't want to bundle any of our dependencies.
If we need to bundle some dependencies and some not, we can use rollup-plugin-peer-deps-external
plugin instead of this.
To prevent Rollup from bundling the @integration-app/sdk
package during local development, we specify it as an external dependency since Rollup does not match locally placed packages with the /node_modules/
rule.
DTS files are generated by tsc
and placed in dist/dts
folder.
After that plugin rollup-plugin-dts
is used to generate *.d.ts
files for each bundle.
{
"exports": {
"types": "./dist/index.d.ts", // TypeScript typings for NodeNext modules
"require": "./dist/index.js", // used for require() in Node 12+
"import": "./dist/index.module.mjs" // ESM bundle
},
"types": "./dist/index.d.ts", // TypeScript typings
"main": "./dist/index.js", // CommonJS bundle
"module": "./dist/index.module.mjs", // ESM bundle
"unpkg": "./dist/index.umd.js", // UMD bundle
}
For a local development, we use locally placed @integration-app/sdk
package.
And for publishing, we use @integration-app/sdk@latest
package.
To make it work, we use dev
and build
commands.
dev
workflowdist
folders@integration-app/sdk
pointed to sdk
folderreact
and react-dom
packages from node_modules
folder
console
, engine
and other local projectsrollup
in watch mode to build a packagebuild
workflowdist
folders@integration-app/sdk@latest
packagerollup
to build a packageBecause GitHub Actions use build
command, we could be sure that package uses the latest @integration-app/sdk
package.
FAQs
- [Developers documentation](https://console.integration.app/docs) - [Rest API](https://api-reference.integration.app)
The npm package @integration-app/react receives a total of 1,813 weekly downloads. As such, @integration-app/react popularity was classified as popular.
We found that @integration-app/react 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.