Skip to content

Commit

Permalink
refactor: dangling package.json inside packages directory #682
Browse files Browse the repository at this point in the history
Changes
-----------

1. Moved the dangling folders under the package that was created
2. Fixed linter errors (1000+)
3. Also migrated the cartrade example to import via the package

TODO:

1. Other examples to be converted into packages that are part of the build
2. Examples made to work with the build system as well

Fixes #682

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Sep 10, 2021
1 parent a8e21a9 commit 8e67048
Show file tree
Hide file tree
Showing 380 changed files with 168,705 additions and 12,184 deletions.
10 changes: 8 additions & 2 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"grpc",
"grpcs",
"grpcwebtext",
"guks",
"hashicorp",
"Healthcheck",
"HTLC",
Expand All @@ -50,6 +51,7 @@
"isready",
"jboss",
"JORDI",
"jsrsa",
"jsrsasign",
"Keychain",
"Keycloak",
Expand Down Expand Up @@ -92,8 +94,10 @@
"sbjpubkey",
"Secp",
"shrn",
"Smonitor",
"socketio",
"SPDX",
"Splug",
"Sprintf",
"stretchr",
"supervisorctl",
Expand All @@ -104,6 +108,7 @@
"tlsca",
"tlscacerts",
"txqueue",
"Uisrs",
"Unmarshal",
"uuidv",
"vscc",
Expand All @@ -114,8 +119,9 @@
"typescript,node,npm,go,rust"
],
"ignorePaths": [
"node_modules/**",
"**/node_modules/**",
"**/build/**",
"**/src/main/typescript/generated/**"
"**/src/main/typescript/generated/**",
"packages/cactus-plugin-verifier-cc/**"
]
}
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
# typings/**

**/src/main/typescript/generated/proto/**
packages/cactus-verifier/src/main/typescript/
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,9 @@ site/
!.yarn/sdks
!.yarn/versions
.pnp.*

!packages/cactus-plugin-verifier-cc/src/main/typescript/ledger-plugin/*/validator/src/build
!packages/cactus-plugin-verifier-cc/src/main/typescript/ledger-plugin/*/validator/src/core/bin

tools/docker/geth-testnet/data-geth1/
examples/cactus-example-verifier-cc-cartrade/src/main/typescript/impl/script-test-getFunctions/fabric/wallet/
Loading

0 comments on commit 8e67048

Please sign in to comment.