Skip to content

Commit

Permalink
Merge pull request #89 from torusresearch/feat/ts-5
Browse files Browse the repository at this point in the history
chore: update deps
  • Loading branch information
chaitanyapotti authored Sep 9, 2023
2 parents 94c7a34 + 8d9ec47 commit 271b8f2
Show file tree
Hide file tree
Showing 28 changed files with 6,161 additions and 5,627 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: ["@toruslabs/eslint-config-typescript"],
parser: "@typescript-eslint/parser",
ignorePatterns: ["*.config.js", ".eslintrc.js", "*.config.mjs"],
parserOptions: {
sourceType: "module",
ecmaVersion: 2022,
project: "./tsconfig.json",
},
};
11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:
strategy:
matrix:
node: ["18.x"]
node: ["20.x"]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
>=16.18.1
>=18.x
3 changes: 2 additions & 1 deletion .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# .prettierrc or .prettierrc.yaml
printWidth: 150
singleQuote: false
semi: true
semi: true
trailingComma: es5
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"cSpell.words": ["jrpc", "jsdelivr", "loglevel", "openlogin", "proxied", "solana", "Topup", "toruslabs"]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ entry-point: `index.js`
## Requirements

- This package requires a peer dependency of `@babel/runtime`
- Node 14+
- Node 18+

## License

Expand Down
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@toruslabs/config/babel.config");
4 changes: 0 additions & 4 deletions babel.config.json

This file was deleted.

4 changes: 1 addition & 3 deletions examples/vue-app/.browserslistrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
> 1%
last 2 versions
supports bigint
not dead
not ie 11
104 changes: 44 additions & 60 deletions examples/vue-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions examples/vue-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@
"assert": "^2.0.0",
"autoprefixer": "^10.4.7",
"buffer": "^6.0.3",
"crypto-browserify": "^3.12.0",
"eslint": "^7.20.0",
"eslint-plugin-vue": "^7.2.0",
"os-browserify": "^0.3.0",
"postcss": "^8.4.14",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"tailwindcss": "^3.1.4",
"typescript": "~4.1.5",
Expand Down
13 changes: 7 additions & 6 deletions examples/vue-app/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ const path = require("path");
const { ProvidePlugin } = require("webpack");

module.exports = {
transpileDependencies: true,
transpileDependencies: false,
parallel: !process.env.CI,
devServer: {
port: 3000,
},
configureWebpack: (config) => {
config.resolve.fallback = {
crypto: require.resolve("crypto-browserify"),
stream: require.resolve("stream-browserify"),
assert: require.resolve("assert"),
os: require.resolve("os-browserify/browser"),
http: require.resolve("stream-http"),
crypto: false,
stream: false,
assert: false,
os: false,
http: false,
https: false,
zlib: false,
};
Expand Down
Loading

0 comments on commit 271b8f2

Please sign in to comment.