Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feature(store): update to es2019 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
thedoublejay authored Dec 15, 2022
1 parent 0fd6ad9 commit 2b2936b
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 51 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"@birthdayresearch/eslint-config": "^0.3.2",
"@birthdayresearch/sticky-turbo": "^0.3.2",
"@waveshq/walletkit-core": "workspace:*",
"@waveshq/standard-web": "^0.18.0",
"@waveshq/standard-web-linter": "^0.18.0",
"@waveshq/standard-defichain-jellyfishsdk": "^0.18.0",
"@waveshq/standard-prettier": "^0.18.0"
"@waveshq/standard-web": "^0.19.0",
"@waveshq/standard-web-linter": "^0.19.0",
"@waveshq/standard-defichain-jellyfishsdk": "^0.19.0",
"@waveshq/standard-prettier": "^0.19.0"
},
"eslintConfig": {
"extends": [
Expand Down
3 changes: 2 additions & 1 deletion packages/walletkit-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"scripts": {
"build": "tsc -b ./tsconfig.build.json",
"test": "jest --maxWorkers=100%",
"lint": "eslint ."
"lint": "eslint .",
"clean": "rm -rf dist"
},
"jest": {
"preset": "@birthdayresearch/sticky-jest"
Expand Down
9 changes: 5 additions & 4 deletions packages/walletkit-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
],
"dependencies": {
"@birthdayresearch/sticky-jest": "^0.3.2",
"@waveshq/standard-web": "^0.18.0",
"@waveshq/standard-web-linter": "^0.18.0",
"@waveshq/standard-defichain-jellyfishsdk": "^0.18.0",
"@waveshq/standard-web": "^0.19.0",
"@waveshq/standard-web-linter": "^0.19.0",
"@waveshq/standard-defichain-jellyfishsdk": "^0.19.0",
"@waveshq/walletkit-core": "workspace:*",
"bignumber.js": "^9.1.1",
"immer": "^9.0.16",
Expand All @@ -26,7 +26,8 @@
"scripts": {
"build": "tsc -b ./tsconfig.build.json",
"test": "jest --maxWorkers=100%",
"lint": "eslint ."
"lint": "eslint .",
"clean": "rm -rf dist"
},
"jest": {
"preset": "@birthdayresearch/sticky-jest",
Expand Down
4 changes: 1 addition & 3 deletions packages/walletkit-ui/src/store/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const initialState: BlockState = {
lastSuccessfulSync: undefined,
};

const block = createSlice({
export const block = createSlice({
name: "block",
initialState,
reducers: {
Expand Down Expand Up @@ -55,5 +55,3 @@ const block = createSlice({
},
},
});

export { block };
12 changes: 1 addition & 11 deletions packages/walletkit-ui/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,8 @@
"include": ["./src"],
"exclude": ["**/*.unit.ts"],
"compilerOptions": {
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react",
"outDir": "./dist",
"rootDir": "./src",
"composite": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true
"rootDir": "./src"
}
}
52 changes: 26 additions & 26 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"$schema": "https://json.schemastore.org/tsconfig",
"display": "walletkit",
"compilerOptions": {
"lib": ["esnext", "dom"],
"target": "ESNext",
"lib": ["es2019", "dom", "dom.iterable"],
"target": "es2019",
"module": "commonjs",
"moduleResolution": "node",
"strict": true,
Expand Down

0 comments on commit 2b2936b

Please sign in to comment.