Skip to content

Commit

Permalink
chore: upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
dword-design committed Feb 16, 2021
1 parent 2faffee commit 57fa5f8
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 61 deletions.
7 changes: 6 additions & 1 deletion .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"extends": [
"@commitlint/config-conventional"
]
],
"rules": {
"footer-max-line-length": [
0
]
}
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* text=auto eol=lf
*.jpg filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
13 changes: 5 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ jobs:
steps:
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: rokroskar/workflow-run-cleanup-action@v0.2.2
uses: rokroskar/workflow-run-cleanup-action@v0.3.0
release:
if: github.ref == 'refs/heads/master'
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: 12
- run: git config --global user.email "actions@github.com"
- run: git config --global user.name "GitHub Actions"
- run: yarn --frozen-lockfile
- run: yarn clean
- run: yarn lint
- env:
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
Expand All @@ -28,21 +26,20 @@ jobs:
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
if: github.ref == 'refs/heads/master'
name: Release
run: yarn semantic-release
test:
needs: cancel-existing
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: git config --global user.email "actions@github.com"
- run: git config --global user.name "GitHub Actions"
- run: yarn --frozen-lockfile
- run: yarn clean
- run: yarn test
- run: yarn check-unknown-files
- env:
COVERALLS_GIT_BRANCH: ${{ github.ref }}
COVERALLS_GIT_COMMIT: ${{ github.sha }}
Expand Down
3 changes: 2 additions & 1 deletion .huskyrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"skipCI": false
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dist"
],
"scripts": {
"clean": "base clean",
"check-unknown-files": "base check-unknown-files",
"commit": "base commit",
"dev": "base dev",
"lint": "base lint",
Expand Down
78 changes: 28 additions & 50 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1012,11 +1012,11 @@
"@babel/plugin-proposal-pipeline-operator" "^7.5.0"
"@babel/preset-env" "^7.6.3"
"@dword-design/functions" "^2.2.2"
"@vue/babel-preset-jsx" "github:dword-design/jsx#fork-babel-preset-jsx"
"@vue/babel-preset-jsx" dword-design/jsx#fork-babel-preset-jsx
babel-plugin-add-module-exports "^1.0.2"
babel-plugin-module-resolver "^4.0.0"
babel-plugin-transform-imports "^2.0.0"
babel-plugin-wildcard "github:dword-design/babel-plugin-wildcard#fork"
babel-plugin-wildcard dword-design/babel-plugin-wildcard#fork
depcheck-package-name "^1.0.0"
find-up "^5.0.0"
param-case "^3.0.3"
Expand All @@ -1039,9 +1039,9 @@
fs-extra "^9.0.0"

"@dword-design/base@^7.0.0":
version "7.0.1"
resolved "https://registry.yarnpkg.com/@dword-design/base/-/base-7.0.1.tgz#93ee5a80aa635e29d40e92ffdbd64228d2cbd3b3"
integrity sha512-xJ0YPy9DBIKeGP+OvEPoB5z1eFB7azEspqTgClb4ODtien6IxT4INsLUecQuDprh+xY07yFWz8hOjV5NhH30YA==
version "7.0.3"
resolved "https://registry.yarnpkg.com/@dword-design/base/-/base-7.0.3.tgz#5088d806c68b2a26f05fab765b2b276d6e4720e8"
integrity sha512-LpZS6Yim1vB8fkgFpdWmfOO10BFNA5eHzJeite6VQY4Czx7j/zVUdzWlUzeH9LSiWZVgTfuA05c6lkYk3oCZdw==
dependencies:
"@babel/core" "^7.6.4"
"@babel/register" "^7.6.2"
Expand All @@ -1058,7 +1058,7 @@
commitizen "^4.0.3"
constant-case "^3.0.3"
cz-conventional-changelog "^3.1.0"
depcheck "github:dword-design/depcheck#fork"
depcheck dword-design/depcheck#fork
depcheck-detector-execa "^1.2.1"
depcheck-detector-package-name "^1.0.0"
depcheck-package-name "^1.0.0"
Expand Down Expand Up @@ -1098,9 +1098,9 @@
integrity sha512-OYS1drt7xw15eTnZea3UhNSUxOX6ZIcA9MMItbMhj9oKFBdIwC4WEYAjqftiStjz2ms0M9OWUurLl70fiCDp1A==

"@dword-design/ci@^1.0.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@dword-design/ci/-/ci-1.1.1.tgz#c3ca85be6524254eb20ba8898cb156ae61be4133"
integrity sha512-hvAai6CUH2GVvu4AL/FPql/cZZc2dIks0tLzH6RmmzClDDjLQ15ECXLPAmkgiuOqBwBFt+g762Wvglai7ThdeQ==
version "1.1.2"
resolved "https://registry.yarnpkg.com/@dword-design/ci/-/ci-1.1.2.tgz#26403b1d7e2f626ef906f5cfdc5662ab68cf9775"
integrity sha512-HbAvm3ZTDCdUMUYIHd/bqDUN5jT+cxvUmAwdPp93S+mOVkJ0dajsmWeVmvDZ6qLVvL5uAsCGQ7cVaerjDjlB+A==
dependencies:
"@dword-design/functions" "^2.7.2"
coveralls "^3.1.0"
Expand All @@ -1121,7 +1121,7 @@
depcheck-package-name "^1.0.0"
eslint-config-airbnb-base "^14.2.1"
eslint-config-prettier "^7.0.0"
eslint-import-resolver-babel-module "github:dword-design/eslint-import-resolver-babel-module#fork"
eslint-import-resolver-babel-module dword-design/eslint-import-resolver-babel-module#fork
eslint-plugin-import "^2.22.1"
eslint-plugin-json-format "^2.0.1"
eslint-plugin-prefer-arrow "^1.1.6"
Expand Down Expand Up @@ -1149,7 +1149,7 @@
resolved "https://registry.yarnpkg.com/@dword-design/functions/-/functions-1.1.5.tgz#0b39b7a15ed2b162641991c6950cca9844f4cd4e"
integrity sha512-j/pqGY6PC/8ccXM+SMxekarpwsHsDPOUkia+Eu/28ZTx3FQ2mUDb0EEAmFj9OwEXIjVvU+F710Wh0fBB7/9eyg==
dependencies:
endent "github:dword-design/endent#fork"
endent dword-design/endent#fork
lodash "^4.17.15"
tinycolor2 "^1.4.1"

Expand Down Expand Up @@ -1561,7 +1561,6 @@

"@vue/babel-preset-jsx@github:dword-design/jsx#fork-babel-preset-jsx":
version "1.1.2"
uid a73cb9961541a60a66b1b99a69a32e00bc66d336
resolved "https://codeload.github.com/dword-design/jsx/tar.gz/a73cb9961541a60a66b1b99a69a32e00bc66d336"
dependencies:
"@vue/babel-helper-vue-jsx-merge-props" "^1.0.0"
Expand All @@ -1580,7 +1579,6 @@

"@vue/babel-sugar-inject-h@dword-design/jsx#fork-babel-sugar-inject-h":
version "1.1.2"
uid cc36a2200c059120f37944615fb2ec0e22f8f3cc
resolved "https://codeload.github.com/dword-design/jsx/tar.gz/cc36a2200c059120f37944615fb2ec0e22f8f3cc"
dependencies:
"@babel/plugin-syntax-jsx" "^7.2.0"
Expand Down Expand Up @@ -2013,7 +2011,6 @@ babel-plugin-transform-imports@^2.0.0:

"babel-plugin-wildcard@github:dword-design/babel-plugin-wildcard#fork":
version "6.0.0"
uid "691d11923ee2dcf63e86f205b0a2c998883e3a3c"
resolved "https://codeload.github.com/dword-design/babel-plugin-wildcard/tar.gz/691d11923ee2dcf63e86f205b0a2c998883e3a3c"
dependencies:
rimraf "^2.6.2"
Expand Down Expand Up @@ -2713,15 +2710,15 @@ conventional-commits-filter@^2.0.0, conventional-commits-filter@^2.0.7:
modify-values "^1.0.0"

conventional-commits-parser@^3.0.0, conventional-commits-parser@^3.0.7:
version "3.2.0"
resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.2.0.tgz#9e261b139ca4b7b29bcebbc54460da36894004ca"
integrity sha512-XmJiXPxsF0JhAKyfA2Nn+rZwYKJ60nanlbSWwwkGwLQFbugsc0gv1rzc7VbbUWAzJfR1qR87/pNgv9NgmxtBMQ==
version "3.2.1"
resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-3.2.1.tgz#ba44f0b3b6588da2ee9fd8da508ebff50d116ce2"
integrity sha512-OG9kQtmMZBJD/32NEw5IhN5+HnBqVjy03eC+I71I0oQRFA5rOgA4OtPOYG7mz1GkCfCNxn3gKIX8EiHJYuf1cA==
dependencies:
JSONStream "^1.0.4"
is-text-path "^1.0.1"
lodash "^4.17.15"
meow "^8.0.0"
split2 "^2.0.0"
split2 "^3.0.0"
through2 "^4.0.0"
trim-off-newlines "^1.0.0"

Expand Down Expand Up @@ -2963,7 +2960,6 @@ decode-uri-component@^0.2.0:

dedent@0.7.0, dedent@dword-design/dedent#fork:
version "0.7.0"
uid c8d46e5017d60504657c2d01b59082c0329a12a7
resolved "https://codeload.github.com/dword-design/dedent/tar.gz/c8d46e5017d60504657c2d01b59082c0329a12a7"
dependencies:
babel-plugin-add-module-exports "^1.0.2"
Expand Down Expand Up @@ -3075,7 +3071,6 @@ depcheck-parser-babel@^1.2.0:

"depcheck@github:dword-design/depcheck#fork":
version "0.0.1"
uid "8a9eb41006c2c6f9cbd79e4e68bf265e1c1df1dc"
resolved "https://codeload.github.com/dword-design/depcheck/tar.gz/8a9eb41006c2c6f9cbd79e4e68bf265e1c1df1dc"
dependencies:
"@babel/parser" "^7.8.4"
Expand Down Expand Up @@ -3261,9 +3256,9 @@ ee-first@1.1.1:
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=

electron-to-chromium@^1.3.649:
version "1.3.664"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.664.tgz#8fb039e2fa8ef3ab2568308464a28425d4f6e2a3"
integrity sha512-yb8LrTQXQnh9yhnaIHLk6CYugF/An50T20+X0h++hjjhVfgSp1DGoMSYycF8/aD5eiqS4QwaNhiduFvK8rifRg==
version "1.3.666"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.666.tgz#59f3ce1e45b860a0ebe439b72664354efbb8bc62"
integrity sha512-/mP4HFQ0fKIX4sXltG6kfcoGrfNDZwCIyWbH2SIcVaa9u7Rm0HKjambiHNg5OEruicTl9s1EwbERLwxZwk19aw==

emoji-regex@^7.0.1:
version "7.0.3"
Expand Down Expand Up @@ -3296,7 +3291,6 @@ end-of-stream@^1.0.0, end-of-stream@^1.1.0:

endent@dword-design/endent#fork, "endent@github:dword-design/endent#fork":
version "1.4.0"
uid be5433db67eaec07c6c9d00ba3bed2ed946dc664
resolved "https://codeload.github.com/dword-design/endent/tar.gz/be5433db67eaec07c6c9d00ba3bed2ed946dc664"
dependencies:
dedent dword-design/dedent#fork
Expand Down Expand Up @@ -3429,7 +3423,6 @@ eslint-config-prettier@^7.0.0:

"eslint-import-resolver-babel-module@github:dword-design/eslint-import-resolver-babel-module#fork":
version "5.1.2"
uid "97550c5b7626a9cf582ea2392b9749702a27473d"
resolved "https://codeload.github.com/dword-design/eslint-import-resolver-babel-module/tar.gz/97550c5b7626a9cf582ea2392b9749702a27473d"
dependencies:
pkg-up "^2.0.0"
Expand Down Expand Up @@ -4508,9 +4501,9 @@ growl@1.10.5:
integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==

handlebars@^4.7.6:
version "4.7.6"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.6.tgz#d4c05c1baf90e9945f77aa68a7a219aa4a7df74e"
integrity sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==
version "4.7.7"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1"
integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==
dependencies:
minimist "^1.2.5"
neo-async "^2.6.0"
Expand Down Expand Up @@ -6675,7 +6668,6 @@ npm@^6.14.9:
cmd-shim "^3.0.3"
columnify "~1.5.4"
config-chain "^1.1.12"
debuglog "*"
detect-indent "~5.0.0"
detect-newline "^2.1.0"
dezalgo "~1.0.3"
Expand All @@ -6690,7 +6682,6 @@ npm@^6.14.9:
has-unicode "~2.0.1"
hosted-git-info "^2.8.8"
iferr "^1.0.2"
imurmurhash "*"
infer-owner "^1.0.4"
inflight "~1.0.6"
inherits "^2.0.4"
Expand All @@ -6709,14 +6700,8 @@ npm@^6.14.9:
libnpx "^10.2.4"
lock-verify "^2.1.0"
lockfile "^1.0.4"
lodash._baseindexof "*"
lodash._baseuniq "~4.6.0"
lodash._bindcallback "*"
lodash._cacheindexof "*"
lodash._createcache "*"
lodash._getnative "*"
lodash.clonedeep "~4.5.0"
lodash.restparam "*"
lodash.union "~4.6.0"
lodash.uniq "~4.5.0"
lodash.without "~4.4.0"
Expand Down Expand Up @@ -7114,9 +7099,9 @@ p-reduce@^2.0.0:
integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==

p-retry@^4.0.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.3.0.tgz#a31679a66b0261a51fa6c43b19b6f4471a54021e"
integrity sha512-Pow4yaHpOiJou1QcpGcBJhGHiS4782LdDa6GhU91hlaNh3ExOOupjSJcxPQZYmUSZk3Pl2ARz/LRvW8Qu0+3mQ==
version "4.4.0"
resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-4.4.0.tgz#fefc2abe883ca7c91ca0dd25060180438b61ebd4"
integrity sha512-gVB/tBsG+3AHI1SyDHRrX6n9ZL0Bcbifps9W9/Bgu3Oyu4/OrAh8SvDzDsvpP0oxfCt3oWNT+0fQ9LyUGwBTLg==
dependencies:
"@types/retry" "^0.12.0"
retry "^0.12.0"
Expand Down Expand Up @@ -7185,9 +7170,9 @@ package-json@^4.0.0:
semver "^5.1.0"

package-name-regex@^1.0.5:
version "1.0.8"
resolved "https://registry.yarnpkg.com/package-name-regex/-/package-name-regex-1.0.8.tgz#4b8388cace6cc415f462ab4a269583d9a2d9f131"
integrity sha512-g3vB2J62dLqf4m50VM4tJUC4sixw3JB+Igd0cF3P/gJhAvmvsmFEV2eWZTeLbwfkKEWTf3+gwQ2C6JFFRxWHEQ==
version "1.0.9"
resolved "https://registry.yarnpkg.com/package-name-regex/-/package-name-regex-1.0.9.tgz#d7d33ff3f2ef43a28fbb02aa4fcf48fc1ab26588"
integrity sha512-+U2oQCfEz2IlGqws8gmfKzdMDbSd6+RZp6UIFdKo+GAw3+o+kfnsgXkWtJ1JMoKhpP2kEvuYyTy1lXOEQEe0ZA==

pacote@^9.1.0, pacote@^9.5.12, pacote@^9.5.3:
version "9.5.12"
Expand Down Expand Up @@ -8561,13 +8546,6 @@ split-string@^3.0.1, split-string@^3.0.2:
dependencies:
extend-shallow "^3.0.0"

split2@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/split2/-/split2-2.2.0.tgz#186b2575bcf83e85b7d18465756238ee4ee42493"
integrity sha512-RAb22TG39LhI31MbreBgIuKiIKhVsawfTgEGqKHTK87aG+ul/PB8Sqoi3I7kVdRWiCfrKxK3uo4/YUkpNvhPbw==
dependencies:
through2 "^2.0.2"

split2@^3.0.0:
version "3.2.2"
resolved "https://registry.yarnpkg.com/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f"
Expand Down Expand Up @@ -8932,7 +8910,7 @@ text-table@^0.2.0, text-table@~0.2.0:
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=

through2@^2.0.0, through2@^2.0.2, through2@~2.0.0:
through2@^2.0.0, through2@~2.0.0:
version "2.0.5"
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==
Expand Down

0 comments on commit 57fa5f8

Please sign in to comment.