![38% of CISOs Fear They’re Not Moving Fast Enough on AI](https://cdn.sanity.io/images/cgdhsj6q/production/faa0bc28df98f791e11263f8239b34207f84b86f-1024x1024.webp?w=400&fit=max&auto=format)
Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@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.
The npm package @charlietango/nuget receives a total of 32 weekly downloads. As such, @charlietango/nuget popularity was classified as not popular.
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.