
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@charlietango/nuget
Advanced tools
Package and publish a NuGet package to a custom feed. This is built for our specific needs on our own internal projects.
Add the dependency
yarn add @charlietango/nuget --dev
Build your static project into a build directory dist/static
, and package it with the Node API:
const nuget = require('@charlietango/nuget');
nuget({
files: 'dist',
output: 'output',
});
or calling the bin
$ ct-nuget dist -o output
The NuGet will be packaged and pushed to the feed.
To avoid polluting the .NET projects, all the files in the NuGet package should be contained in a directory.
By default we are using the static
directory inside dist dist
.
Once the NuGet package is installed, a shell script will copy all the files into the project
Name | Type | Default | Description |
---|---|---|---|
name | string | name from package.json | |
packageId | string | dk.charlietango.{upperFirst(camelCase(name))} | Valid packageId |
version | string | version from package.json | Valid semver version string |
files | glob | dist in project root | The directories and files to add. |
rootDir | string | dist | The root directory. This will be removed from all the paths. |
globOptions | Object | {ignore: ['**/index.html']} | |
author | string | 'Charlie Tango' | |
iconUrl | string | https://ct-assets.netlify.com/React_logo-64.png | |
description | string | description from package.json | |
apiKey | string | process.env.NUGET_API_KEY | |
nugetFeed | string | process.env.NUGET_FEED | |
output | string | Copy the .nupkg file to this directory | |
cache | string | node_modules/.cache/nuget | Temp directory to use when building |
legacyInstall | boolean | false | Don't add the powershell tools to copy files into the project after install, and instead use the special "content" directory |
quiet | boolean | false |
FAQs
Package and publish a NuGet package to a custom feed.
We found that @charlietango/nuget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.