Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching name #30

Merged
merged 15 commits into from
Sep 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @priestine
* @orlovedev
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: priestine
patreon: orlovedev
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
Expand Down
4 changes: 2 additions & 2 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
| Version | Supported |
| ------- | ------------------ |
| 1.x.x | :white_check_mark: |
| 1.7.0 | :rotating_light: |
| 1.14.0 | :rotating_light: |

`1.7.0` has a security issue that might compromise your credentials when publishing versions with build metadata. Make sure you update to at least `1.7.1` where the issue was fixed.
- `1.7.0` has a security issue that might compromise your credentials when publishing versions with build metadata. Make sure you update to at least `1.7.1` where the issue was fixed.

## Reporting a Vulnerability

Expand Down
2 changes: 1 addition & 1 deletion .github/code_of_conduct.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at priestine1.dev@gmail.com. All
reported by contacting the project team at orlove.dev@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
2 changes: 1 addition & 1 deletion .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Please note we have a code of conduct, please follow it in all your interactions
- Do not manually change project version in `package.json`
- Contributed code must be at least 80% covered with tests
- Contributed code must be checked with linting tools set up for the project
- Create a pull request to `master` branch of current repository
- Create a pull request to `main` branch of current repository
- Specify link to the issue you are resolving with this contribution (if applicable)
4 changes: 2 additions & 2 deletions .github/issue_template/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
title: '[BUG] '
labels: bug
assignees: priestine
assignees: orlovedev
---

## Describe the bug
Expand Down
4 changes: 2 additions & 2 deletions .github/issue_template/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[ENHANCEMENT] "
title: '[ENHANCEMENT] '
labels: enhancement
assignees: priestine
assignees: orlovedev
---

## Is your feature request related to a problem? Please describe
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Codecov Reports
name: Sending Codecov Report
on: [push]
jobs:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: XO
name: Linting (XO, ESLint, tsc)
on: [push, pull_request]
jobs:
check:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-preview-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Node.js Package
name: Publishing Package (NPM, GHP)
on:
release:
types: [prereleased]
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
with:
node-version: '12.x'
registry-url: https://npm.pkg.github.com/
scope: '@priestine'
scope: '@orlovedev'
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
- name: Install dependencies
Expand All @@ -43,4 +43,4 @@ jobs:
- name: Publish to GHP
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.PRIESTINE_VERSIONS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.OR_RELEASE_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/publish-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Node.js Package
name: Publishing Preview Package (NPM, GHP)
on:
release:
types: [released]
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:
with:
node-version: '12.x'
registry-url: https://npm.pkg.github.com/
scope: '@priestine'
scope: '@orlovedev'
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
- name: Install dependencies
Expand All @@ -43,4 +43,4 @@ jobs:
- name: Publish to GHP
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.PRIESTINE_VERSIONS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.OR_RELEASE_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: AVA
name: Testing (AVA)
on: [push, pull_request]
jobs:
check:
Expand All @@ -14,5 +14,5 @@ jobs:
node-version: '12.x'
- name: Install dependencies
run: yarn
- name: Test
- name: Run tests
run: yarn test
9 changes: 5 additions & 4 deletions .github/workflows/versioning-preview-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Priestine Versioning (Preview)
name: Versioning (Alpha)
on:
push:
branches-ignore:
- main
- master
jobs:
versioning:
Expand All @@ -14,7 +15,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Publish new version if applicable
run: npx @priestine/versions@latest --pre-release=alpha --repository=$GITHUB_REPOSITORY
- name: Publish new release (if applicable)
run: npx or-release --pre-release=alpha --repository=$GITHUB_REPOSITORY
env:
PRIESTINE_VERSIONS_TOKEN: ${{ secrets.PRIESTINE_VERSIONS_TOKEN }}
OR_RELEASE_TOKEN: ${{ secrets.OR_RELEASE_TOKEN }}
11 changes: 6 additions & 5 deletions .github/workflows/versioning-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Priestine Versioning
name: Versioning
on:
push:
branches: [master]
branches:
- main
jobs:
versioning:
runs-on: ubuntu-latest
Expand All @@ -13,7 +14,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Publish new version if applicable
run: npx @priestine/versions@latest --repository=$GITHUB_REPOSITORY
- name: Publish new release (if applicable)
run: npx or-release --repository=$GITHUB_REPOSITORY
env:
PRIESTINE_VERSIONS_TOKEN: ${{ secrets.PRIESTINE_VERSIONS_TOKEN }}
OR_RELEASE_TOKEN: ${{ secrets.OR_RELEASE_TOKEN }}
2 changes: 1 addition & 1 deletion docs/js-ts/npm.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
# If you use scoped packages, put the scope here. If you don't,
# just remove this property altogether.
scope: '@priestine'
scope: '@orlovedev'
- name: Set env
# This command extracts the release tag value and assigns it to a
# RELEASE_VERSION env variable.
Expand Down
2 changes: 1 addition & 1 deletion docs/js-ts/npm.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
# Если Вы используете скоуп (@...) в названии Вашего пакета,
# укажите его здесь. В ином случае, данное свойство можно
# удалить.
scope: '@priestine'
scope: '@orlovedev'
- name: Set env
# Эта команда излекает версию из релизного тега и присваивает её
# переменной окружения RELEASE_VERSION.
Expand Down
8 changes: 4 additions & 4 deletions docs/nightly-release.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
with:
node-version: '12.x'
- name: Publish new version with build metadata attached
# Run @priestine/versions with the build metadata value of current
# Run or-release with the build metadata value of current
# date year, month and day and pre-release of nightly.
# The result of this command for version 1.0.0 as of June 23, 2020
# would be `1.0.0-nightly.1+20200623`.
run: npx @priestine/versions --pre-release=nightly --build-metadata=$(date '+%Y%m%d') --repository=$GITHUB_REPOSITORY
run: npx or-release --pre-release=nightly --build-metadata=$(date '+%Y%m%d') --repository=$GITHUB_REPOSITORY
env:
# Move configuration to environment variables available to
# @priestine/versions.
PRIESTINE_VERSIONS_TOKEN: ${{ secrets.PRIESTINE_VERSIONS_TOKEN }}
# or-release.
OR_RELEASE_TOKEN: ${{ secrets.OR_RELEASE_TOKEN }}
```
6 changes: 3 additions & 3 deletions docs/nightly-release.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
with:
node-version: '12.x'
- name: Publish new version with build metadata attached
# Запуск @priestine/versions с указанием build metadata на основе
# Запуск or-release с указанием build metadata на основе
# текущей даты и пре-релиза nightly.
# Результатом выполнения этой команды для версии 1.0.0 от 23 июня
# 2020 будет `1.0.0-nightly.1+20200623`.
run: npx @priestine/versions --pre-release=nightly --build-metadata=$(date '+%Y%m%d') --repository=$GITHUB_REPOSITORY
run: npx or-release --pre-release=nightly --build-metadata=$(date '+%Y%m%d') --repository=$GITHUB_REPOSITORY
env:
# Для удобства, можно перенести часть конфигурации в переменные
# окружения.
PRIESTINE_VERSIONS_TOKEN: ${{ secrets.PRIESTINE_VERSIONS_TOKEN }}
OR_RELEASE_TOKEN: ${{ secrets.OR_RELEASE_TOKEN }}
```
Binary file added images/or-release.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@priestine/versions",
"description": "A tool for automating Semantic Versioning on your project",
"name": "or-release",
"description": "Automated release management for your projects",
"version": "0.0.0",
"main": "index.js",
"engines": {
Expand All @@ -10,7 +10,7 @@
"access": "public"
},
"bin": "./index.js",
"repository": "https://github.com/priestine/versions.git",
"repository": "https://github.com/orlovedev/or-release.git",
"author": "Sergei Orlov <orlove.dev@gmail.com> (https://orlove.dev/)",
"keywords": [
"ci",
Expand All @@ -29,10 +29,10 @@
"bitbucket"
],
"license": "MIT",
"homepage": "https://github.com/priestine/versions",
"homepage": "https://github.com/orlovedev/or-release",
"bugs": {
"email": "orlove.dev@gmail.com",
"url": "https://github.com/priestine/versions/issues"
"url": "https://github.com/orlovedev/or-release/issues"
},
"scripts": {
"start": "ts-node src/index.ts",
Expand All @@ -56,12 +56,15 @@
"optionalDependencies": {},
"peerDependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/cli": "^11.0.0",
"@types/node": "^14.0.13",
"@types/sinon": "^9.0.4",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"ava": "^3.8.2",
"commitlint-config-gitmoji": "^1.0.1",
"cross-env": "^7.0.2",
"eslint-config-xo-typescript": "^0.32.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"nyc": "^15.1.0",
Expand All @@ -70,7 +73,7 @@
"sinon": "^9.0.2",
"ts-node": "^8.10.2",
"typescript": "^3.9.5",
"xo": "^0.32.0",
"xo": "^0.33.1",
"yarn": "^1.22.4"
},
"husky": {
Expand Down Expand Up @@ -99,6 +102,7 @@
"@typescript-eslint/no-invalid-void-type": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "off",
"prefer-destructuring": "off",
"no-eq-null": "off",
"eqeqeq": "off"
Expand Down
Loading