Skip to content

Commit

Permalink
chore: bump lint dependencies
Browse files Browse the repository at this point in the history
- add code mirror dependencies to silence warning
- bump node version to allow execa
  • Loading branch information
18alantom committed Jun 21, 2023
1 parent 207a747 commit 8a1392e
Show file tree
Hide file tree
Showing 8 changed files with 316 additions and 294 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.13.1'
node-version: '16.14.0'

- name: Set yarn version
run: yarn set version 1.22.18
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.13.1'
node-version: '16.14.0'

- name: Checkout Books
uses: actions/checkout@v2
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.13.1'
node-version: '16.14.0'

- name: Checkout Books
uses: actions/checkout@v2
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.13.1'
node-version: '16.14.0'

- name: Checkout Books
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '16.13.1'
node-version: '16.14.0'

- name: Set yarn version
run: yarn set version 1.22.18
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ a local SQLite file as the database.
### Pre-requisites

To get the dev environment up and running you need to first set up Node.js version
16.13.1 and npm. For this, we suggest using
16.14.0 and npm. For this, we suggest using
[nvm](https://github.com/nvm-sh/nvm#installing-and-updating).

Next, you will need to install [yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable).
Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
"vue-router": "^4.0.12"
},
"devDependencies": {
"@codemirror/language": "^6.0.0",
"@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0",
"@lezer/common": "^1.0.0",
"@types/assert": "^1.5.6",
"@types/electron-devtools-installer": "^2.2.0",
"@types/lodash": "^4.14.179",
Expand All @@ -43,8 +47,8 @@
"@types/node": "^17.0.23",
"@types/node-fetch": "^2.6.1",
"@types/tape": "^4.13.2",
"@typescript-eslint/eslint-plugin": "^4.15.1",
"@typescript-eslint/parser": "^4.15.1",
"@typescript-eslint/eslint-plugin": "5.60.0",
"@typescript-eslint/parser": "5.60.0",
"@vitejs/plugin-vue": "^4.2.3",
"autoprefixer": "^9",
"chokidar": "^3.5.3",
Expand All @@ -54,10 +58,10 @@
"electron-devtools-installer": "^3.2.0",
"electron-rebuild": "^3.2.9",
"electron-updater": "^5.2.1",
"eslint": "^7.32.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^7.0.0",
"eslint-plugin-vue": "^9.15.0",
"execa": "^7.1.1",
"fs-extra": "^11.1.1",
"postcss": "^8",
Expand Down
4 changes: 0 additions & 4 deletions scripts/publish-mac-arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,10 @@
set -e

# Check node and yarn versions
NODE_VERSION=$(node --version)
YARN_VERSION=$(yarn --version)
if [ "$YARN_VERSION" != "1.22.18" ]; then
echo "Incorrect yarn version: $YARN_VERSION"
exit 1
elif [ "$NODE_VERSION" != "v16.13.1" ]; then
echo "Incorrect node version: $NODE_VERSION"
exit 1
fi

# Source secrets
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "es2018",
"target": "es2020",
"module": "esnext",
"strict": true,
"allowJs": true,
Expand Down
Loading

0 comments on commit 8a1392e

Please sign in to comment.