Skip to content

Commit 5c619bb

Browse files
committed
fix: remove ts-reset out of runtime files
1 parent 6d54465 commit 5c619bb

File tree

7 files changed

+55
-5
lines changed

7 files changed

+55
-5
lines changed

packages/cli-connector/src/main.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import ReactDOM from "react-dom/client";
2828
import { WagmiProvider, deepEqual } from "wagmi";
2929

3030
import { App } from "./App.jsx";
31-
import "@total-typescript/ts-reset";
3231
import "./index.css";
3332

3433
globalThis.Buffer = Buffer;

packages/cli-connector/src/reset.d.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* Fluence CLI
3+
* Copyright (C) 2024 Fluence DAO
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU Affero General Public License as
7+
* published by the Free Software Foundation, version 3.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU Affero General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU Affero General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
18+
import "@total-typescript/ts-reset";

packages/cli/package/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,4 @@
1515
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717

18-
import "@total-typescript/ts-reset";
19-
2018
export { run } from "@oclif/core";

packages/cli/package/src/reset.d.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* Fluence CLI
3+
* Copyright (C) 2024 Fluence DAO
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU Affero General Public License as
7+
* published by the Free Software Foundation, version 3.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU Affero General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU Affero General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
18+
import "@total-typescript/ts-reset";

packages/cli/package/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"verbatimModuleSyntax": true
1111
},
1212
"include": ["src/**/*"],
13-
"files": ["src/environment.d.ts", "src/types.d.ts"],
13+
"files": ["src/environment.d.ts", "src/types.d.ts", "src/reset.d.ts"],
1414
"types": ["node"]
1515
}

packages/common/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717

18-
import "@total-typescript/ts-reset";
1918
import type { TransactionRequest } from "ethers";
2019

2120
export const DEFAULT_PUBLIC_FLUENCE_ENV = "testnet";

packages/common/src/reset.d.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/**
2+
* Fluence CLI
3+
* Copyright (C) 2024 Fluence DAO
4+
*
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU Affero General Public License as
7+
* published by the Free Software Foundation, version 3.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU Affero General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU Affero General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*/
17+
18+
import "@total-typescript/ts-reset";

0 commit comments

Comments
 (0)