Socket
Book a DemoInstallSign in
Socket

scriptfodder-publish

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scriptfodder-publish

[![Build Status](https://travis-ci.org/Kamshak/scriptfodder-publish.svg?branch=master)](https://travis-ci.org/Kamshak/scriptfodder-publish) [![npm version](https://badge.fury.io/js/scriptfodder-publish.svg)](https://badge.fury.io/js/scriptfodder-publish)

1.7.2
latest
Source
npmnpm
Version published
Weekly downloads
1
-75%
Maintainers
1
Weekly downloads
 
Created
Source

scriptfodder-publish

Build Status npm version semantic-release

Package to publish new versions of addons to ScriptFodder

Usage

Upload zip of current folder as new version, using CHANGELOG as changelog:

scriptfodder-publish --script-id=123 --api-key=asdfasdf --version-name=2.0.0 --changes=CHANGELOG

Upload zip of dist folder as new version, using CHANGELOG as changelog:

scriptfodder-publish --script-id=123 --api-key=asdfasdf --version-name=2.0.0 --changes=CHANGELOG --relative-to=dist

Full CLI usage:

scriptfodder-publish
Uploads a new version to an existing scriptfodder script.

Usage:
  scriptfodder-publish [glob]

  glob is a pattern that is zipped and uploaded. Default is ** which
  uploads everything in the current working directory.
Options:
  -h --help               Show this screen.
  -v --version            Show version.
  --api-key=<String>      Scriptfodder API Key
  --script-id=<Number>    Scriptfodder Script ID
  --version-name=<String> Name of the new version
  --changes-file=<String> Path of the file containing the changelog
  --relative-to           Add files to zip relative to this folder.
                          e.g. scriptfodder-publish --relative-to=dist
                          will add all files in dist under / in the zip archive    

Environment variables

Api Key and Script Id can be configured via environment variables as well:

  • SF_APIKEY
  • SF_SCRIPTID

.gmodignore

To prevent certain files from being included in the zip create a .gmodignore file in the folder that is zipped up. Each line is a glob pattern (you can use wildcards). Example:

package.json
**/*.dll

License

The MIT License

Copyright (c) 2017 Valentin Funk

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

FAQs

Package last updated on 28 Apr 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.