Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dependencies #1924

Merged
merged 3 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Thank you for contributing to sheikah! :)
- [ ] I have read and understood [CONTRIBUTING][cont] document.
- [ ] I have read and understood [STYLEGUIDE][style] document.
- [ ] I have included tests for the changes in my PR. If not, I have included a rationale for why I haven't.
- [ ] My code is formatted and is accepted by `yarn lint`.
- [ ] My code is formatted and is accepted by `pnpm lint`.
- [ ] **I understand my PR may be closed if it becomes obvious I didn't actually perform all of these steps.**

# Why this change is necessary and useful
Expand Down
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

Empty file removed .zshrc
Empty file.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,47 +35,47 @@ git clone [email protected]:witnet/sheikah.git
cd sheikah

# install application dependencies
yarn
pnpm install

# launch development application
yarn electron:serve:wallet
pnpm dev
```

### Formatter

- Verify files are correctly formatted with `yarn lint`
- Repair lint errors with (**this operation modifies your files!**) `yarn lint!`
- Verify files are correctly formatted with `pnpm lint:check`
- Repair lint errors with (**this operation modifies your files!**) `pnpm lint`

### Test

We use [Jest](https://facebook.github.io/jest/) for testing.

```bash
# run unit tests
yarn test
pnpm test
```

### Build

#### Production

To build the application run: `yarn electron:build`, the build files are written to `dist_electron` directory.
To build the application run: `pnpm build`, the build files are written to `dist_electron` directory.

### Contributing

You can read the [contributing guide](https://github.com/witnet/sheikah/blob/master/.github/CONTRIBUTING.md)

#### Github Actions (continuous integration)

When opening a pull request a job in [Github Actions](https://github.com/features/actions) will be fired off to check the changes. To avoid wasting time waiting for Github Actions output we provide the command `yarn ci` that will perform almost the same checks but it'll run in your computer.
When opening a pull request a job in [Github Actions](https://github.com/features/actions) will be fired off to check the changes. To avoid wasting time waiting for Github Actions output we provide the command `pnpm ci` that will perform almost the same checks but it'll run in your computer.

#### Troubleshooting

- Use `yarn clean` to remove the contents of the build directory (`dist_electron`)
- Use `yarn clean-deps` to remove all installed dependencies
- Use `yarn reinstall` to remove all installed dependencies and install them again
- Use `pnpm clean` to remove the contents of the build directory (`dist_electron`)
- Use `pnpm clean-deps` to remove all installed dependencies
- Use `pnpm reinstall` to remove all installed dependencies and install them again

If the application doesn't boot correctly and no error is reported in the terminal, try running `yarn reinstall` and try again.
If the application doesn't boot correctly and no error is reported in the terminal, try running `pnpm reinstall` and try again.

## Release

Expand Down
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

3 changes: 0 additions & 3 deletions cypress.json

This file was deleted.

9 changes: 0 additions & 9 deletions lint-staged.config.js

This file was deleted.

76 changes: 37 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,26 @@
"dev": "vite",
"build": "vue-tsc --noEmit && vite build && electron-builder",
"preview": "vite preview",
"test": "yarn test:unit",
"lint": "yarn lint:fix:eslint && yarn lint:fix:prettier",
"ci": "yarn lint:check && yarn test && yarn electron:build --publish=never",
"clean": "yarn clean-deps && rm -rf dist_electron",
"test": "pnpm test:unit",
"lint": "pnpm lint:fix:eslint && pnpm lint:fix:prettier",
"ci": "pnpm lint:check && pnpm test && pnpm electron:build --publish=never",
"clean": "pnpm clean-deps && rm -rf dist_electron",
"clean-deps": "rm -rf node_modules",
"electron:build": "vue-cli-service electron:build",
"electron:generate-icons": "electron-icon-builder --input=./public/icon.png --output=build --flatten",
"electron:serve": "vue-cli-service electron:serve",
"electron:serve:wallet": "vue-cli-service electron:serve --wallet",
"i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|ts|vue)' --locales './src/locales/**/*.json'",
"lint:check": "yarn lint:check:eslint && yarn lint:check:prettier",
"lint:check:eslint": "yarn lint:eslint --ext .js,.ts,.vue .",
"lint:check:prettier": "yarn lint:prettier --check \"**/*.{ts,js,json,css,scss,vue,html}\"",
"lint:check": "pnpm lint:check:eslint && pnpm lint:check:prettier",
"lint:check:eslint": "pnpm lint:eslint --ext .js,.ts,.vue .",
"lint:check:prettier": "pnpm lint:prettier --check \"**/*.{ts,js,json,css,scss,vue,html}\"",
"lint:eslint": "eslint",
"lint:fix:eslint": "yarn lint:eslint --fix --ext .js,.ts,.vue .",
"lint:fix:prettier": "yarn lint:prettier --write \"**/*.{ts,js,json,css,scss,vue,html}\"",
"lint:fix:eslint": "pnpm lint:eslint --fix --ext .js,.ts,.vue .",
"lint:fix:prettier": "pnpm lint:prettier --write \"**/*.{ts,js,json,css,scss,vue,html}\"",
"lint:prettier": "prettier --loglevel warn",
"postinstall": "electron-builder install-app-deps",
"postuninstall": "electron-builder install-app-deps",
"reinstall": "yarn clean-deps && yarn",
"reinstall": "pnpm clean-deps && pnpm",
"test:unit": "vitest"
},
"main": "dist-electron/main/index.js",
Expand All @@ -51,60 +51,58 @@
},
"devDependencies": {
"@electron/notarize": "^2.3.0",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/vue-fontawesome": "^3.0.6",
"@intlify/unplugin-vue-i18n": "^3.0.1",
"@rushstack/eslint-patch": "^1.10.1",
"@types/node": "^20.12.3",
"@typescript-eslint/parser": "^7.5.0",
"@vitejs/plugin-vue": "^5.0.4",
"@typescript-eslint/parser": "^8.8.1",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/test-utils": "^2.4.5",
"@vueuse/core": "^10.9.0",
"@vueuse/core": "^11.1.0",
"autoprefixer": "^10.4.19",
"axios": "^1.6.8",
"big.js": "^6.2.1",
"cbor2": "^1.2.2",
"axios": "^1.7.7",
"big.js": "^6.2.2",
"cbor2": "^1.7.0",
"date-fns": "^3.6.0",
"electron": "^29.1.6",
"electron-builder": "^24.13.3",
"electron": "^32.2.0",
"electron-builder": "^25.1.7",
"electron-devtools-installer": "^3.2.0",
"electron-log": "^5.1.2",
"electron-updater": "^6.1.8",
"element-plus": "^2.6.3",
"electron-log": "^5.2.0",
"electron-updater": "^6.3.9",
"element-plus": "^2.7.3",
"eslint": "^8.57.0",
"eslint-import-resolver-alias": "1.1.2",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-vue": "9.24.0",
"eslint-plugin-vue": "9.28.0",
"fs-extra": "^11.2.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"postcss": "^8.4.38",
"prettier": "3.2.5",
"jsdom": "^25.0.1",
"postcss": "^8.4.47",
"prettier": "3.3.3",
"progress-stream": "^2.0.0",
"qrcode.vue": "^3.5.0",
"rpc-websockets": "^7.9.0",
"sass": "^1.72.0",
"semver": "^7.6.0",
"semver": "^7.6.3",
"tar": "^6.2.1",
"tree-kill": "^1.2.2",
"typescript": "^5.4.3",
"unplugin-auto-import": "^0.17.5",
"unplugin-vue-components": "^0.26.0",
"uuid": "^9.0.1",
"vite": "^5.2.7",
"vite-plugin-electron": "^0.28.4",
"vite-plugin-electron-renderer": "^0.14.5",
"typescript": "^5.6.3",
"unplugin-auto-import": "^0.18.3",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.8",
"vite-plugin-electron": "^0.28.8",
"vite-plugin-electron-renderer": "^0.14.6",
"vite-svg-loader": "^5.1.0",
"vitest": "^1.4.0",
"vue": "3.4.21",
"vue": "3.5.11",
"vue-i18n": "^9.10.2",
"vue-json-tree": "^0.4.3",
"vue-observe-visibility": "^1.0.0",
"vue-router": "^4.3.0",
"vue-router": "^4.4.5",
"vue-tsc": "^2.1.6",
"vuex": "^4.1.0",
"witnet-radon-js": "^0.11.0",
Expand Down
Loading
Loading