-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Thorn Walli
committed
Feb 20, 2020
1 parent
5dbeadc
commit 8677c1b
Showing
77 changed files
with
21,306 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"branchNameLinter": { | ||
"prefixes": ["feature", "hotfix", "release"], | ||
"suggestions": { | ||
"features": "feature", | ||
"feat": "feature", | ||
"fix": "hotfix", | ||
"releases": "release" | ||
}, | ||
"banned": ["wip"], | ||
"skip": ["skip-ci"], | ||
"disallowed": ["master", "develop", "staging"], | ||
"seperator": "/", | ||
"msgBranchBanned": "Branches with the name \"%s\" are not allowed.", | ||
"msgBranchDisallowed": "Pushing to \"%s\" is not allowed, use git-flow.", | ||
"msgPrefixNotAllowed": "Branch prefix \"%s\" is not allowed.", | ||
"msgPrefixSuggestion": "Instead of \"%s\" try \"%s\".", | ||
"msgSeperatorRequired": "Branch \"%s\" must contain a seperator \"%s\"." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_size = 2 | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Common | ||
node_modules | ||
dist | ||
.nuxt | ||
coverage | ||
reports | ||
|
||
# Plugin | ||
lib/plugin.js | ||
lib/worker/plugin.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
parser: 'babel-eslint', | ||
sourceType: 'module' | ||
}, | ||
extends: [ | ||
'@nuxtjs' | ||
], | ||
rules: { | ||
"vue/name-property-casing": [ | ||
"error", | ||
"PascalCase" | ||
], | ||
"vue/component-name-in-template-casing": [ | ||
"error", | ||
"kebab-case", | ||
{ | ||
"registeredComponentsOnly": true, | ||
"ignores": [] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
node_modules | ||
*.iml | ||
.idea | ||
*.log* | ||
.nuxt | ||
.vscode/settings.json | ||
!.vscode/launch.json | ||
.DS_Store | ||
coverage | ||
dist | ||
reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/node_modules/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@semantic-release/changelog", | ||
{ | ||
"changelogFile": "CHANGELOG.md", | ||
"changelogTitle": "# Project Changelog" | ||
} | ||
], | ||
[ | ||
"@semantic-release/exec", | ||
{ | ||
"verifyReleaseCmd": "echo '{\"version\": \"${nextRelease.version}\", \"branch\": \"${options.branch}\", \"date\": \"${Date.now()}\"}' > release.json" | ||
} | ||
], | ||
"@semantic-release/npm", | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": [ | ||
"CHANGELOG.md", | ||
"CHANGELOG_PROJECT.md", | ||
"package.json", | ||
"package-lock.json", | ||
"npm-shrinkwrap.json" | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/github" | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Common | ||
node_modules | ||
dist | ||
.nuxt | ||
coverage | ||
reports | ||
|
||
# Files | ||
**/*.js | ||
lib/font-face.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-recess-order" | ||
], | ||
"ignoreFiles": [ | ||
"./**/*.js" | ||
], | ||
"rules": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
language: node_js | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
cache: | ||
npm: true | ||
directories: | ||
- dist | ||
- reports | ||
jobs: | ||
include: | ||
- stage: prepare cache | ||
name: install | ||
before_install: | ||
- rm -rf dist reports | ||
install: | ||
- npm i | ||
- stage: website | ||
name: build | ||
script: | ||
# - echo $TRAVIS_PULL_REQUEST_BRANCH | ||
# - echo $TRAVIS_BRANCH | ||
# - echo $TRAVIS_COMMIT | ||
# - echo $TRAVIS_PULL_REQUEST_SHA | ||
- if [ -z "$TRAVIS_PULL_REQUEST_BRANCH" ]; then export PT_BRANCH=$TRAVIS_BRANCH; else export PT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH; fi | ||
- if [ -z "$TRAVIS_PULL_REQUEST_SHA" ]; then export PT_COMMIT=$TRAVIS_COMMIT; else export PT_COMMIT=$TRAVIS_PULL_REQUEST_SHA; fi | ||
# - echo $PT_COMMIT | ||
# - echo $PT_BRANCH | ||
- npm run build --base=/nuxt-custom-elements/ | ||
- stage: deploy | ||
if: branch = master | ||
install: | ||
- npm i semantic-release @semantic-release/exec @semantic-release/git @semantic-release/changelog --no-save | ||
script: | ||
- npx semantic-release --provider=github | ||
- mkdir gh-pages gh-pages/reports | ||
- cp -R dist/nuxt-custom-elements/* gh-pages/ | ||
- cp -R reports/* gh-pages/reports/ | ||
- touch gh-pages/.nojekyll | ||
deploy: | ||
provider: pages | ||
cleanup: false | ||
keep_history: false | ||
github_token: $GITHUB_TOKEN | ||
local_dir: gh-pages/ | ||
on: | ||
branch: master | ||
edge: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug (build)", | ||
"runtimeVersion": "12.1.0", | ||
"runtimeArgs": [ | ||
"--inspect" | ||
], | ||
"program": "${workspaceFolder}/node_modules/.bin/nuxt", | ||
"outputCapture": "std", | ||
"args": [ | ||
"build", | ||
"--config-file", | ||
"example/nuxt.config.js" | ||
] | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Debug (nuxt)", | ||
"runtimeVersion": "12.1.0", | ||
"runtimeArgs": [ | ||
"--inspect" | ||
], | ||
"program": "${workspaceFolder}/node_modules/.bin/nuxt", | ||
"outputCapture": "std", | ||
"args": [ | ||
"--config-file", | ||
"example/nuxt.config.js" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) Thorn Walli <thorn.walli@grabarzundpartner.de> | ||
|
||
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. |
Oops, something went wrong.