Skip to content

Commit

Permalink
chore(deps): lock file maintenance (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
renovate[bot] and renovate-bot committed Feb 15, 2021
1 parent 4ffba6f commit 5812279
Show file tree
Hide file tree
Showing 14 changed files with 1,329 additions and 1,237 deletions.
3 changes: 3 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "@dword-design/babel-config"
}
5 changes: 5 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"@commitlint/config-conventional"
]
}
3 changes: 3 additions & 0 deletions .cz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"path": "cz-conventional-changelog"
}
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

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

[*.md]
max_line_length = off
trim_trailing_whitespace = false
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
.DS_Store
/.babelrc.json
/.commitlintrc.json
/.cz.json
/.editorconfig
/.env.json
/.eslintrc.json
/.huskyrc.json
/.nyc_output
/.releaserc.json
/.test.env.json
/.vscode
/coverage
/dist
/node_modules
3 changes: 2 additions & 1 deletion .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM gitpod/workspace-full
# Need to add :latest, otherwise old versions (e.g. of node) are installed
FROM gitpod/workspace-full:latest

RUN sudo apt-get update && sudo apt-get install -y libgtk-3-0 libx11-xcb1 libnss3 libxss1 libasound2 libgbm1
5 changes: 3 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
image:
file: .gitpod.Dockerfile

tasks:
- init: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >>~/.npmrc
- init: yarn --frozen-lockfile

vscode:
extensions:
- karlito40.fix-irregular-whitespace@0.0.3:8jjyZYuYF6yW6nwsAiulrg==
- karlito40.fix-irregular-whitespace@0.0.3:8jjyZYuYF6yW6nwsAiulrg==
- adrianwilczynski.toggle-hidden@1.0.2:pj4yxebPvdfdMeVIjOEuRQ==
5 changes: 5 additions & 0 deletions .huskyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
15 changes: 15 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"message": "chore: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
1 change: 1 addition & 0 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"labels": [
"maintenance"
],
"semanticCommitScope": null,
"packageRules": [
{
"packagePatterns": [
Expand Down
24 changes: 24 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"files.exclude": {
".babelrc.json": true,
".commitlintrc.json": true,
".cz.json": true,
".editorconfig": true,
".eslintrc.json": true,
".gitattributes": true,
".github": true,
".gitignore": true,
".gitpod.Dockerfile": true,
".gitpod.yml": true,
".huskyrc.json": true,
".nyc_output": true,
".releaserc.json": true,
".renovaterc.json": true,
"CHANGELOG.md": true,
"LICENSE.md": true,
"coverage": true,
"dist": true,
"node_modules": true,
"yarn.lock": true
}
}
6 changes: 4 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ and licensed under:

## MIT License

MIT License Copyright (c) <year> <copyright holders>
MIT License

Copyright (c) <year> <copyright holders>

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 (including the next paragraph) shall be included in all copies or substantial portions of the Software.
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.
4 changes: 2 additions & 2 deletions src/dev.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default {
await outputFile(P.join('src', 'index.js'), 'foo bar')
await new Promise(resolve =>
childProcess.stdout.on('data', data => {
if (data.toString().includes('Unexpected token, expected ";"')) {
if (data.toString().includes(`${P.join('src', 'index.js')}: Missing semicolon (1:3)`)) {
resolve()
}
})
Expand Down Expand Up @@ -154,7 +154,7 @@ export default {
},
})
await execa.command('base prepare')
const childProcess = execa.command('base dev')
const childProcess = execa.command('base dev', { stdio: 'inherit' })
try {
await portReady(3000)
expect(
Expand Down
Loading

0 comments on commit 5812279

Please sign in to comment.