Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pocesar committed Jul 16, 2024
1 parent 59c0c0d commit dbba9a2
Show file tree
Hide file tree
Showing 129 changed files with 687 additions and 2,174 deletions.
1 change: 1 addition & 0 deletions dist/cjs/tsconfig.cjs.build.tsbuildinfo

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/tsconfig.cjs.build.tsbuildinfo

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"packages/*"
],
"scripts": {
"build": "yarn workspaces foreach -v run build",
"build:cjs": "yarn workspaces foreach -v run build:cjs",
"build": "tsc -b tsconfig.esm.build.json && yarn workspaces foreach -v run build",
"build:cjs": "tsc -b tsconfig.cjs.build.json && yarn workspaces foreach -v run build:cjs",
"circular-deps:check": "yarn workspaces foreach -v run circular-deps:check",
"cleanup-build": "yarn workspaces foreach -v run cleanup && yarn install && yarn workspaces foreach -v run build",
"reinstall": "yarn workspaces foreach -v run cleanup:nm && yarn install",
Expand Down Expand Up @@ -80,17 +80,17 @@
"husky": "^7.0.1",
"jest": "^28.1.3",
"lint-staged": "^13.0.1",
"node-gyp": "^9.1.0",
"node-gyp": "^10.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"ts-jest": "^28.0.7",
"ts-node": "^10.0.0",
"ts-node": "^10.9.2",
"ts-node-dev": "^1.1.8",
"tsc-alias": "^1.8.10",
"tsx": "^4.15.6",
"typedoc": "^0.23.24",
"typedoc-plugin-missing-exports": "^1.0.0",
"typescript": "^4.7.4"
"tsx": "^4.16.2",
"typedoc": "^0.26.4",
"typedoc-plugin-missing-exports": "^3.0.0",
"typescript": "5"
},
"packageManager": "[email protected]"
}
12 changes: 3 additions & 9 deletions packages/cardano-services-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:cjs && tsc -p src/tsconfig.json --outDir ./dist/esm --module es2020 && tsc-alias -p src/tsconfig.json --outDir ./dist/esm && cp ../../build/esm-package.json ./dist/esm/package.json",
"build:cjs": "yarn build:version && tsc --build src && cp ./package.json dist/ && cp ../../build/cjs-package.json ./dist/cjs/package.json",
"build": "tsc -p src/tsconfig.esm.json && tsc-alias -p src/tsconfig.esm.json && cp ../../build/esm-package.json ./dist/esm/package.json",
"build:cjs": "tsc -p src/tsconfig.json && cp ../../build/cjs-package.json ./dist/cjs/package.json",
"build:version": "bash -c 'if node ./scripts/createVersionSource.js --check ; then node ./scripts/createVersionSource.js --create && yarn lint:fix ; fi'",
"tscNoEmit": "echo typescript --noEmit command not implemented yet",
"cleanup:dist": "rm -rf dist",
Expand All @@ -42,15 +42,9 @@
"@cardano-sdk/util-dev": "workspace:~",
"@types/validator": "^13.7.1",
"axios-mock-adapter": "^1.20.0",
"eslint": "^7.32.0",
"express": "^4.17.3",
"get-port-please": "^2.5.0",
"jest": "^28.1.3",
"madge": "^5.0.1",
"npm-run-all": "^4.1.5",
"ts-jest": "^28.0.7",
"tsc-alias": "^1.8.10",
"typescript": "^4.7.4"
"madge": "^5.0.1"
},
"dependencies": {
"@cardano-sdk/core": "workspace:~",
Expand Down
14 changes: 0 additions & 14 deletions packages/cardano-services-client/src/tsconfig.esm.json

This file was deleted.

14 changes: 0 additions & 14 deletions packages/cardano-services-client/src/tsconfig.json

This file was deleted.

21 changes: 0 additions & 21 deletions packages/cardano-services-client/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
{
"extends": "../../../test/tsconfig.json",
"compilerOptions": {
"baseUrl": "."
},
"include": ["./**/*.ts"],
"references": [
{
"path": "../src"
},
{
"path": "../../core/src"
},
{
"path": "../../util/src"
},
{
"path": "../../crypto/src"
},
{
"path": "../../util-dev/src"
}
]
}
6 changes: 6 additions & 0 deletions packages/cardano-services-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": ["../../tsconfig.json", "../../tsconfig.cjs.json"],
"include": [
"./package.json"
]
}
10 changes: 2 additions & 8 deletions packages/cardano-services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"sideEffects": false,
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:cjs",
"build:cjs": "tsc --build src && chmod +x ./dist/cjs/cli.js && bash ./copy-assets.sh",
"build": "tsc -p src/tsconfig.esm.json && tsc-alias -p src/tsconfig.esm.json && cp ../../build/esm-package.json ./dist/esm/package.json",
"build:cjs": "tsc -p src/tsconfig.json && cp ../../build/cjs-package.json ./dist/cjs/package.json",
"build:test-db": "./test/jest-setup/rebuild-test-db.sh",
"cleanup:dist": "rm -rf dist",
"cleanup:nm": "rm -rf node_modules",
Expand Down Expand Up @@ -70,16 +70,10 @@
"delay": "^5.0.0",
"dockerode": "^3.3.1",
"dockerode-utils": "^0.0.7",
"eslint": "^7.32.0",
"get-port-please": "^2.5.0",
"jest": "^28.1.3",
"jest-to-match-shape-of": "^1.3.2",
"json-bigint-patch": "^0.0.8",
"madge": "^5.0.1",
"npm-run-all": "^4.1.5",
"ts-jest": "^28.0.7",
"ts-node": "^10.0.0",
"typescript": "^4.7.4",
"wait-on": "^6.0.1"
},
"dependencies": {
Expand Down
35 changes: 0 additions & 35 deletions packages/cardano-services/src/tsconfig.esm.json

This file was deleted.

35 changes: 0 additions & 35 deletions packages/cardano-services/src/tsconfig.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ interface TypeormServiceDependencies {
export abstract class TypeormService extends RunnableModule {
#entities: Function[];
#connectionConfig$: Observable<PgConnectionConfig>;
logger: Logger;
protected dataSource$ = new BehaviorSubject<DataSource | null>(null);
#subscription: Subscription | undefined;

Expand Down
44 changes: 0 additions & 44 deletions packages/cardano-services/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,3 @@
{
"extends": "../../../test/tsconfig.json",
"compilerOptions": {
"baseUrl": "."
},
"include": [
"./**/*.ts",
"../../input-selection/test/util",
"../../core/test/CardanoNode",
"../../ogmios/test/mocks"
],
"references": [
{
"path": "../src"
},
{
"path": "../../cardano-services-client/src"
},
{
"path": "../../core/src"
},
{
"path": "../../crypto/src"
},
{
"path": "../../util/src"
},
{
"path": "../../util-rxjs/src"
},
{
"path": "../../projection/src"
},
{
"path": "../../projection-typeorm/src"
},
{
"path": "../../util-dev/src"
},
{
"path": "../../ogmios/src"
},
{
"path": "../../input-selection/src"
}
]
}
1 change: 1 addition & 0 deletions packages/cardano-services/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "extends": ["../../tsconfig.json", "../../tsconfig.cjs.json"] }
14 changes: 4 additions & 10 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"sideEffects": false,
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:cjs && tsc -p src/tsconfig.json --outDir ./dist/esm --module es2020 && tsc-alias -p src/tsconfig.json --outDir ./dist/esm && cp ../../build/esm-package.json ./dist/esm/package.json",
"build:cjs": "tsc --build src && cp ../../build/cjs-package.json ./dist/cjs/package.json",
"build": "tsc -p src/tsconfig.esm.json && tsc-alias -p src/tsconfig.esm.json && cp ../../build/esm-package.json ./dist/esm/package.json",
"build:cjs": "tsc -p src/tsconfig.json && cp ../../build/cjs-package.json ./dist/cjs/package.json",
"tscNoEmit": "echo typescript --noEmit command not implemented yet",
"cleanup:dist": "rm -rf dist",
"cleanup:nm": "rm -rf node_modules",
Expand All @@ -38,13 +38,7 @@
"devDependencies": {
"@types/lodash": "^4.14.182",
"delay": "^5.0.0",
"eslint": "^7.32.0",
"jest": "^28.1.3",
"madge": "^5.0.1",
"npm-run-all": "^4.1.5",
"ts-jest": "^28.0.7",
"tsc-alias": "^1.8.10",
"typescript": "^4.7.4"
"madge": "^5.0.1"
},
"peerDependencies": {
"rxjs": "^7.4.0"
Expand All @@ -63,7 +57,7 @@
"@foxglove/crc": "^0.0.3",
"@scure/base": "^1.1.1",
"fraction.js": "4.0.1",
"ip-address": "^8.1.0",
"ip-address": "^9.0.5",
"lodash": "^4.17.21",
"ts-custom-error": "^3.2.0",
"ts-log": "^2.2.4",
Expand Down
14 changes: 0 additions & 14 deletions packages/core/src/tsconfig.esm.json

This file was deleted.

14 changes: 0 additions & 14 deletions packages/core/src/tsconfig.json

This file was deleted.

12 changes: 0 additions & 12 deletions packages/core/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
{
"extends": "../../../test/tsconfig.json",
"compilerOptions": {
"baseUrl": "."
},
"include": ["./**/*.ts", "../../util-dev/src/Cip19TestVectors.ts"],
"references": [
{
"path": "../src"
},
{
"path": "../../crypto/src"
}
]
}
3 changes: 3 additions & 0 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["../../tsconfig.json", "../../tsconfig.cjs.json"],
}
Loading

0 comments on commit dbba9a2

Please sign in to comment.