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/sdk
Advanced tools
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.To see the complete configuration, refer to the rollup.config.mjs
and rollup.dts.config.mjs
files. Although these files are self-explanatory, here's some additional information:
In rollup.config.mjs
, we set {external: [/node_modules/]}
to exclude our dependencies from being bundled.
When using rollup-plugin-dts
and @rollup/plugin-typescript
in the same configuration, we experienced issues with generating incorrect DTS files. To solve this, we use two Rollup configurations:
rollup.config.mjs
for generating bundlesrollup.dts.config.mjs
for generating DTS files.For build, the following steps are taken:
/dist
folder and ./bundle.*
files.rollup.config.mjs
configuration generates bundle files and basic DTS files, which are placed in the dist/dts
folder.rollup.dts.config.mjs
configuration uses the basic DTS files to generate *.d.ts
files for each bundle.During development, the following steps are taken:
build
to generate bundle and DTS files.
rollup.dts.config.mjs
in watch mode fails due to missing DTS files (race condition).rollup.config.mjs
configuration to generate bundle files and basic DTS files.rollup.dts.config.mjs
configuration to generate DTS 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": "./bundle.js", // UMD bundle
}
FAQs
JavaScript SDK for Integration.app
The npm package @integration-app/sdk receives a total of 4,442 weekly downloads. As such, @integration-app/sdk popularity was classified as popular.
We found that @integration-app/sdk 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.