Skip to content

Commit 52b4f40

Browse files
working build
1 parent 5b0ac9f commit 52b4f40

File tree

101 files changed

+5395
-3518
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+5395
-3518
lines changed

.eslintrc.js

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
require("@rushstack/eslint-patch/modern-module-resolution");
2+
3+
module.exports = {
4+
root: true,
5+
extends: ["@toruslabs/eslint-config-typescript"],
6+
parser: "@typescript-eslint/parser",
7+
parserOptions: {
8+
sourceType: "module",
9+
ecmaVersion: 11,
10+
project: "./tsconfig.json",
11+
},
12+
ignorePatterns: ["*.config.js", "*.d.ts", ".eslintrc.js"],
13+
env: {
14+
es2020: true,
15+
browser: true,
16+
node: true,
17+
mocha: true,
18+
},
19+
};

.eslintrc.json

-29
This file was deleted.

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
>=16.18.1
1+
>=18.x

.prettierrc.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# .prettierrc or .prettierrc.yaml
22
printWidth: 150
33
singleQuote: false
4-
semi: true
4+
semi: true
5+
trailingComma: es5

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ await web3auth.connect();
103103
## ⏪ Requirements
104104

105105
- All packages require a peer dependency of `@babel/runtime`
106-
- Node 14+
106+
- Node 18+
107107

108108
## 🧳 Bundling
109109

babel.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require("@toruslabs/config/babel.config");

babel.config.json

-10
This file was deleted.

lerna.json

-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
{
2-
"packages": [
3-
"packages/base",
4-
"packages/modal",
5-
"packages/no-modal",
6-
"packages/adapter-factory",
7-
"packages/ui",
8-
"packages/providers/*",
9-
"packages/adapters/*",
10-
"packages/plugins/*"
11-
],
122
"version": "6.1.8",
133
"npmClient": "npm"
144
}

locales/importLocales.mjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* eslint-disable promise/always-return */
2-
/* eslint-disable import/no-extraneous-dependencies */
2+
33
import fs from "fs";
4-
import fetch from "node-fetch";
54
import path from "path";
65

76
const args = process.argv.slice(2);

0 commit comments

Comments
 (0)