mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-09 08:48:15 +01:00
chore: remove some unecessary build:lib
This commit is contained in:
@@ -3,16 +3,12 @@
|
||||
"version": "1.0.5",
|
||||
"license": "See LICENSE.md in repo root",
|
||||
"sideEffects": false,
|
||||
"main": "lib/index",
|
||||
"files": [
|
||||
"lib/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"main": "src/index",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
|
||||
"test:unit": "jest --version && jest -c ../../jest.config.base.js",
|
||||
"type-check": "tsc --build",
|
||||
"build:lib": "rimraf lib && yarn tsc --build ./tsconfig.lib.json"
|
||||
"type-check": "tsc --build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@trezor/env-utils": "workspace:*",
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./lib",
|
||||
"esModuleInterop": false
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
@@ -14,19 +14,13 @@
|
||||
},
|
||||
"license": "See LICENSE.md in repo root",
|
||||
"sideEffects": false,
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
"lib/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"types": "lib/index.d.ts",
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"lint": "eslint '**/*.{ts,js}'",
|
||||
"test:unit": "jest --version && jest",
|
||||
"test:discovery": "tsx ./tests/tools/discovery-test.ts",
|
||||
"test:anonymity": "tsx ./tests/tools/anonymity-test.ts",
|
||||
"type-check": "tsc --build",
|
||||
"build:lib": "rimraf lib && tsc --build ./tsconfig.lib.json"
|
||||
"type-check": "tsc --build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@trezor/blockchain-link": "workspace:*",
|
||||
|
||||
@@ -2,3 +2,4 @@ export { CoinjoinBackend } from './backend/CoinjoinBackend';
|
||||
export { CoinjoinClient } from './client/CoinjoinClient';
|
||||
export { getInputSize, getOutputSize } from './utils/coordinatorUtils';
|
||||
export * from './types';
|
||||
export * from './enums';
|
||||
|
||||
@@ -20,7 +20,7 @@ export interface CoinjoinClientSettings extends BaseSettings {
|
||||
prison?: CoinjoinPrisonInmate[];
|
||||
}
|
||||
|
||||
export type { ScanAccountProgress, ScanAccountCheckpoint } from './backend';
|
||||
export type { ScanAccountProgress, ScanAccountCheckpoint, ScanProgressInfo } from './backend';
|
||||
|
||||
export * from './account';
|
||||
export * from './client';
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"outDir": "./lib"
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: 'tsconfig.lib.json',
|
||||
tsconfig: 'tsconfig.json',
|
||||
},
|
||||
},
|
||||
testEnvironment: 'node',
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
"private": true,
|
||||
"license": "See LICENSE.md in repo root",
|
||||
"sideEffects": false,
|
||||
"main": "lib/index",
|
||||
"main": "src/index",
|
||||
"scripts": {
|
||||
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
|
||||
"test:unit": "jest -c ../../jest.config.base.js --passWithNoTests",
|
||||
"type-check": "tsc --build",
|
||||
"build:lib": "rimraf lib && yarn tsc --build ./tsconfig.lib.json"
|
||||
"type-check": "tsc --build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@trezor/connect": "workspace:*"
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./lib",
|
||||
"esModuleInterop": false
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
@@ -12,15 +12,10 @@
|
||||
"url": "https://github.com/trezor/trezor-suite/issues"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"main": "lib/index",
|
||||
"files": [
|
||||
"lib/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
|
||||
"type-check": "tsc --build",
|
||||
"build:lib": "rimraf lib && yarn tsc --build ./tsconfig.lib.json",
|
||||
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
|
||||
"prepublish": "yarn tsx ../../scripts/prepublish.js"
|
||||
},
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "lib"
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
@@ -4,16 +4,11 @@
|
||||
"private": true,
|
||||
"license": "See LICENSE.md in repo root",
|
||||
"sideEffects": false,
|
||||
"main": "lib/index",
|
||||
"files": [
|
||||
"lib/",
|
||||
"!**/*.map"
|
||||
],
|
||||
"main": "src/index.ts",
|
||||
"scripts": {
|
||||
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
|
||||
"test:e2e": "jest --runInBand -c ../../jest.config.base.js",
|
||||
"type-check": "tsc --build tsconfig.json",
|
||||
"build:lib": "rimraf ./lib && yarn tsc --build tsconfig.lib.json",
|
||||
"test:stress": "ts-node -O '{\"module\": \"commonjs\"}' ./e2e/identities-stress.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./lib"
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
@@ -2,7 +2,7 @@ module.exports = {
|
||||
rootDir: './',
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: 'tsconfig.lib.json',
|
||||
tsconfig: 'tsconfig.json',
|
||||
},
|
||||
},
|
||||
moduleFileExtensions: ['js', 'ts'],
|
||||
|
||||
@@ -11,20 +11,12 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/trezor/trezor-suite/issues"
|
||||
},
|
||||
"main": "./lib/main.js",
|
||||
"browser": "./lib/renderer.js",
|
||||
"files": [
|
||||
"lib/main.js",
|
||||
"lib/renderer.js",
|
||||
"!**/*.map"
|
||||
],
|
||||
"types": "lib/main.d.ts",
|
||||
"typings": "lib/main.d.ts",
|
||||
"main": "./src/main.ts",
|
||||
"browser": "./src/renderer.ts",
|
||||
"scripts": {
|
||||
"lint:js": "yarn g:eslint '**/*{.ts,.tsx}'",
|
||||
"test:unit": "jest --verbose -c jest.config.js",
|
||||
"type-check": "tsc --build tsconfig.json",
|
||||
"build:lib": "rimraf lib && yarn tsc --build ./tsconfig.lib.json"
|
||||
"type-check": "tsc --build tsconfig.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jest": "^26.6.3",
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"outDir": "./lib",
|
||||
"noImplicitAny": false,
|
||||
"esModuleInterop": false
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useReducer } from 'react';
|
||||
import { ScanProgressInfo } from '@trezor/coinjoin/lib/types/backend';
|
||||
import { ScanProgressInfo } from '@trezor/coinjoin';
|
||||
|
||||
import { CoinjoinService } from 'src/services/coinjoin';
|
||||
import { selectSelectedAccount } from 'src/reducers/wallet/selectedAccountReducer';
|
||||
|
||||
@@ -35,7 +35,7 @@ import {
|
||||
transactionsActions,
|
||||
} from '@suite-common/wallet-core';
|
||||
import { addToast } from '@suite-common/toast-notifications';
|
||||
import { SessionPhase } from '@trezor/coinjoin/lib/enums';
|
||||
import { SessionPhase } from '@trezor/coinjoin';
|
||||
import { UI, DEVICE } from '@trezor/connect';
|
||||
import { arrayDistinct } from '@trezor/utils';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: 'tsconfig.lib.json',
|
||||
tsconfig: 'tsconfig.json',
|
||||
},
|
||||
},
|
||||
testEnvironment: 'node',
|
||||
|
||||
Reference in New Issue
Block a user