@voyagier/test
Advanced tools
| name: Publish to NPM | ||
| on: | ||
| workflow_dispatch: | ||
| permissions: | ||
| contents: write | ||
| id-token: write | ||
| jobs: | ||
| publish: | ||
| uses: Voyagier-Travel/voyagier-workflows/.github/workflows/publish-to-npm.yaml@main | ||
| with: | ||
| access: public | ||
| secrets: inherit |
+12
-2
@@ -1,3 +0,13 @@ | ||
| module.exports = function greet(name) { | ||
| function greet(name) { | ||
| return `Hello, ${name}!`; | ||
| }; | ||
| } | ||
| function sum(a, b) { | ||
| return a + b; | ||
| } | ||
| function capitalize(str) { | ||
| return str.charAt(0).toUpperCase() + str.slice(1); | ||
| } | ||
| module.exports = { greet, sum, capitalize }; |
+1
-1
| { | ||
| "name": "@voyagier/test", | ||
| "version": "1.0.0", | ||
| "version": "1.3.0", | ||
| "description": "Voyagier Test", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
974
387%3
50%10
233.33%