Skip to content

Commit

Permalink
feat(init): initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-koval committed Sep 26, 2019
0 parents commit 6fbca52
Show file tree
Hide file tree
Showing 9 changed files with 5,764 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = tab
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json}]
indent_style = space
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
@@ -0,0 +1,25 @@
name: Publish

on:
push:
branches:
- master

jobs:
publish:
name: Publish to Github & NPM or Github Package Registry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- env:
CI: true
run: npm ci
- if: success()
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
31 changes: 31 additions & 0 deletions .gitignore
@@ -0,0 +1,31 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Cache files
.cache
*.cache

# Dependency directories
node_modules

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env

# MacOS-specific files
.DS_Store

# Build output
lib

# Coverage output
coverage
31 changes: 31 additions & 0 deletions .releaserc.yaml
@@ -0,0 +1,31 @@
branch: master
ci: false
dryRun: false
debug: false
plugins:
- - "@semantic-release/commit-analyzer"
- releaseRules:
- type: build
release: patch
- type: ci
release: patch
- type: chore
release: patch
- type: docs
release: patch
- type: refactor
release: patch
- type: style
release: patch
- type: test
release: patch
- "@semantic-release/release-notes-generator"
- "@semantic-release/changelog"
- "@semantic-release/npm"
- - "@semantic-release/git"
- assets:
- package.json
- package-lock.json
- CHANGELOG.md
message: "release(travis): Release ${nextRelease.version}\n\n[skip ci]\n\n${nextRelease.notes}"
- "@semantic-release/github"
5 changes: 5 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"releaserc"
]
}
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Oleg Koval

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.

0 comments on commit 6fbca52

Please sign in to comment.