UNPKG

semantic-release-gh

Version:

The official GitHub plugin, modified to accept repositoryUrl as a parameter

384 lines (383 loc) 11.6 kB
{ "private": false, "name": "semantic-release-gh", "version": "1.0.29", "description": "The official GitHub plugin, modified to accept repositoryUrl as a parameter", "license": "MIT", "author": "Brian Zalewski <brian@megabyte.space> (https://megabyte.space)", "contributors": [ "Gregor Martynus (https://twitter.com/gr2m)", "Pierre Vanduynslager (https://twitter.com/@pvdlg)", "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)" ], "homepage": "https://megabyte.space", "repository": { "type": "git", "url": "git+https://github.com/megabyte-labs/semantic-release-gh.git" }, "bugs": { "email": "help@megabyte.space", "url": "https://gitlab.com/megabyte-labs/npm/plugin/semantic-release-gh/-/issues" }, "type": "commonjs", "main": "dist/main.js", "files": [ "dist", "lib" ], "scripts": { "build": "bash start.sh && task npm:build:tsconfig", "bump": "npm run build && npm version patch --no-scripts --no-commit-hooks --no-git-tag-version --force && SKIP_PREPUB=true npm publish", "commit": "bash start.sh && task commit", "fix": "bash start.sh && task fix", "help": "bash start.sh && task --menu", "lint": "bash start.sh && task lint", "preload": "bash start.sh && task preload", "prepare": "bash start.sh && (test -f Taskfile.yml && task npm:prepare) || true", "release": "bash start.sh && task publish:semantic-release", "repair": "bash <(curl -sS https://install.doctor/repair)", "start": "test -z $SKIP_NPM_START && bash start.sh || true", "test": "bash start.sh && task npm:test:none", "unpack": "bash start.sh && task npm:bundle:unpack", "update": "bash start.sh && task update", "vscode": "bash start.sh && task vscode" }, "config": { "commitizen": { "path": "node_modules/git-cz-emoji" } }, "typings": "dist/main.d.ts", "dependencies": { "@octokit/rest": "^18.12.0", "@semantic-release/error": "^2.2.0", "aggregate-error": "^3.1.0", "bottleneck": "^2.19.5", "debug": "^4.3.4", "dir-glob": "^3.0.1", "fs-extra": "^10.0.1", "globby": "^11.1.0", "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "issue-parser": "^6.0.0", "lodash": "^4.17.21", "mime": "^3.0.0", "p-filter": "^2.1.0", "p-retry": "^4.6.1", "tslib": "latest", "url-join": "^4.0.1" }, "optionalDependencies": {}, "devDependencies": { "@commitlint/config-conventional": "latest", "@types/debug": "^4.1.7", "@types/dir-glob": "^2.0.1", "@types/fs-extra": "^9.0.13", "@types/issue-parser": "^3.0.1", "@types/lodash": "^4.14.181", "@types/mime": "^2.0.3", "@types/node": "^16.11.6", "@types/url-join": "^4.0.1", "ava": "4.0.1", "clear-module": "4.1.2", "codecov": "3.8.3", "esbuild": "^0.12.29", "esbuild-node-externals": "^1.3.0", "eslint-config-strict-mode": "latest", "git-cz-emoji": "latest", "handlebars-helpers": "latest", "jest-preset-ts": "latest", "nock": "13.2.2", "nyc": "15.1.0", "prettier-config-sexy-mode": "latest", "proxy": "1.0.2", "proxyquire": "2.1.3", "semantic-release-config": "latest", "server-destroy": "1.0.1", "sinon": "12.0.1", "tempy": "1.0.1", "tslib": "^2.3.1", "typescript": "^4.5.5" }, "keywords": [ "git", "github", "issue", "mblabs", "megabytelabs", "notifications", "plugin", "professormanhattan", "publish", "pull-request", "release", "semantic-release", "version", "washingtondc" ], "engines": { "node": ">=14.18.0" }, "publishConfig": { "@gitlab:registry": "https://gitlab.com/api/v4/projects/33305860/packages/npm/", "@megabyte:registry": "https://gitlab.com/api/v4/projects/33305860/packages/npm/", "access": "public", "registry": "https://registry.npmjs.org/", "tag": "edge" }, "ava": { "files": [ "test/**/*.test.js" ] }, "blueprint": { "customPackageName": "semantic-release-gh", "description": "The official GitHub plugin, modified to accept repositoryUrl as a parameter", "github_id": "R_kgDOGxNq3w", "gitlab_group_id": "14035198", "gitlab_project_id": "33305860", "group": "npm", "jsonOverrides": { "package.json": { "ava": { "files": [ "test/**/*.test.js" ] }, "contributors": [ "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)", "Gregor Martynus (https://twitter.com/gr2m)", "Pierre Vanduynslager (https://twitter.com/@pvdlg)" ], "nyc": { "all": true, "include": [ "dist/**/*.js" ], "reporter": [ "json", "text", "html" ] } } }, "name": "Semantic Release GitHub", "overview": "This [semantic-release](https://github.com/semantic-release/semantic-release) plugin is a fork of the official [@semantic-release/github](https://www.npmjs.com/package/@semantic-release/github) plugin. It allows you to specify the `repositoryUrl` (normally inferred from `package.json`) as a configuration parameter. This opens the door to being able to publish with multiple plugins that rely on different values for `repositoryUrl`. [semantic-release-config](https://github.com/ProfessorManhattan/semantic-release-config) uses this plugin to publish to GitLab Releases and GitHub Releases from within the same flow.", "repository": { "github": "https://github.com/megabyte-labs/semantic-release-gh", "gitlab": "https://gitlab.com/megabyte-labs/npm/plugin/semantic-release-gh" }, "slug": "semantic-release-gh", "subgroup": "plugin", "subheader_description": "A tweaked version of the official `@semantic-release/github` plugin that allows you to pass in `repositoryUrl` as a plugin configuration instead of a CLI parameter", "title": "Semantic Release GitHub" }, "changelog": { "displayTypes": [ "feat", "fix", "perf", "refactor", "revert" ], "showAuthor": true }, "commitlint": { "extends": [ "@commitlint/config-conventional" ], "helpUrl": "https://megabyte.space/docs/contributing/commits" }, "eslintConfig": { "extends": "eslint-config-strict-mode", "ignorePatterns": [ "test/**" ], "rules": { "@typescript-eslint/no-explicit-any": "off", "camelcase": "off", "fp/no-mutating-methods": "off", "fp/no-mutation": "off", "functional/immutable-data": "off", "functional/no-let": "off", "functional/no-throw-statement": "off", "functional/no-try-statement": "off", "id-blacklist": "off", "max-lines-per-function": "off", "max-statements": "off", "sonarjs/cognitive-complexity": "off", "sonarjs/no-nested-template-literals": "off", "unicorn/no-array-reduce": "warn" } }, "funding": [ { "type": "opencollective", "url": "https://opencollective.com/megabytelabs" }, { "type": "patreon", "url": "https://www.patreon.com/ProfessorManhattan" } ], "jest": { "preset": "jest-preset-ts", "reporters": [ "default", [ "jest-html-reporters", { "filename": "index.html", "logoImgPath": "./.config/assets/logo-jest-report.png", "openReport": true, "pageTitle": "Code Coverage Report", "publicPath": "./coverage" } ] ] }, "jscpd": { "gitignore": true, "threshold": 0.1 }, "lint-staged": { "(Brewfile|composer.lock|Gemfile|Gopkg.lock|Pipfile.lock)": [ "task fix:prettier --" ], "**/!(logo).(jpg|png)": [ "task image:compress --" ], "**/*": [ "task lint:any --" ], "**/*!(template).(json|webapp|webmanifest)": [ "task fix:json --" ], "**/*.(bash|cfg|cgi|command|css|env|env.*|handlebars|hbs|html|less|fcgi|java|md|mdx|mjml|php|phtml|properties|reg|scss|tmpl|tmux|tool|tpl|zsh)": [ "task fix:prettier --" ], "**/*.(cjs|js|jsx|mjs|ts|tsx)": [ "task fix:js --", "task lint:js --" ], "**/*.(yml|yaml)": [ "task fix:yaml --", "task lint:yaml --" ], "**/*.go": [ "task fix:go --", "task lint:go --" ], "**/*.md": [ "task fix:markdown --", "task lint:spelling:markdown --" ], "**/*.php": [ "task fix:php --", "task lint:php --" ], "**/*.py": [ "task fix:python --", "task lint:python --" ], "**/*.sh": [ "task fix:prettier --", "task fix:shell --", "task lint:shell --" ], "**/*.toml": [ "task fix:toml --", "task fix:prettier --", "task lint:toml --" ], "**/*.xml": [ "task fix:xml --", "task lint:xml --" ], "Dockerfile": [ "task fix:prettier --", "task lint:docker --" ], "Vagrantfile": [ "task fix:prettier --", "task lint:vagrant" ], "logo.png": [ "task image:resize -- 200 200", "task image:compress --" ] }, "nodemonConfig": { "exec": "tsc -p . && node --inspect-brk dist/main", "ext": "js,jsx,json,ts,tsx,yml", "ignore": [ "src/**/*.spec.ts" ], "watch": [ ".env", "src" ] }, "ntl": { "descriptions": { "build": "Builds the project using the build command specified under scripts in package.json", "bump": "Used to quickly build, increase the package.json version, and publish the package", "commit": "If unsure, use this task to commit your code so that it adheres to our commit rules", "fix": "Run auto-fixing with all available auto-fixers", "help": "Display the Bodega Taskfile.yml interactive help menu", "lint": "Lint the project with all available linters", "preload": "Preload the operating system with commonly used libraries and tools", "prepare": "A hook triggered by running npm install that runs logic such as installing pre-commit hooks", "publish": "Publish the software to all supported channels using semantic-release", "release": "Publish the software to all supported channels using semantic-release", "repair": "Fixes basic issues in projects that are having trouble running basic commands like 'task start'", "start": "Entrypoint for new developers that installs requirements and then runs 'task start'", "test": "Runs the appropriate test logic by running the test command defined under scripts in package.json", "unpack": "Populates production node_modules from compressed copies saved in the .modules/ folder", "update": "Update and refresh the repository with upstream changes and templated parts" } }, "nyc": { "all": true, "include": [ "dist/**/*.js" ], "reporter": [ "json", "text", "html" ] }, "pnpm": { "allowedVersions": { "@typescript-eslint/eslint-plugin": "5", "eslint": "8", "typescript": "4" }, "neverBuiltDependencies": [ "core-js", "core-js-pure", "highlight.js" ], "peerDependencyRules": { "ignoreMissing": [ "eslint", "prettier" ] } }, "prettier": "prettier-config-sexy-mode", "release": { "branches": [ "main", "master", "next", { "name": "beta", "prerelease": true } ], "extends": "semantic-release-config" } }