From 20b91f3f3dd891d9d5715c544c73a85635fe43de Mon Sep 17 00:00:00 2001 From: Fraz Arshad Date: Fri, 1 Mar 2024 10:35:57 +0500 Subject: [PATCH] refactor(ci): Moved ui/ and contract/ to tools/ --- .github/workflows/e2e_debug.yml | 8 +- docker-compose.yml | 2 +- package.json | 4 +- pnpm-lock.yaml | 154 +++++++++--------- pnpm-workspace.yaml | 2 +- {contract => tools/contract}/.gitignore | 0 {contract => tools/contract}/Makefile | 0 {contract => tools/contract}/jsconfig.json | 0 {contract => tools/contract}/package.json | 0 .../scripts/build-contract-deployer.js | 0 .../contract}/scripts/build-proposal.sh | 0 .../contract}/scripts/install-bundles.sh | 0 .../contract}/scripts/parseProposals.mjs | 0 .../scripts/propose-start-contract.sh | 0 .../contract}/scripts/run-chain.sh | 0 .../scripts/voteLatestProposalAndWait.sh | 0 {contract => tools/contract}/src/debug.js | 0 .../contract}/src/offer-up-proposal.js | 0 .../contract}/src/offer-up.contract.js | 0 .../contract}/test/mintStable.js | 0 .../contract}/test/prepare-test-env-ava.js | 0 .../contract}/test/test-build-proposal.js | 0 .../contract}/test/test-bundle-source.js | 0 .../contract}/test/test-contract.js | 0 {contract => tools/contract}/test/utils.js | 0 {ui => tools/ui}/.eslintrc.cjs | 0 {ui => tools/ui}/index.html | 0 {ui => tools/ui}/package.json | 0 {ui => tools/ui}/public/agoric.svg | 0 {ui => tools/ui}/public/vite.svg | 0 {ui => tools/ui}/src/App.css | 0 {ui => tools/ui}/src/App.spec.tsx | 0 {ui => tools/ui}/src/App.tsx | 0 {ui => tools/ui}/src/assets/IST.svg | 0 {ui => tools/ui}/src/assets/map.png | Bin {ui => tools/ui}/src/assets/potionBlue.png | Bin {ui => tools/ui}/src/assets/react.svg | 0 {ui => tools/ui}/src/assets/scroll.png | Bin {ui => tools/ui}/src/components/Inventory.tsx | 0 {ui => tools/ui}/src/components/Logos.tsx | 0 {ui => tools/ui}/src/components/Trade.tsx | 0 {ui => tools/ui}/src/index.css | 0 {ui => tools/ui}/src/index.d.ts | 0 {ui => tools/ui}/src/installSesLockdown.ts | 0 {ui => tools/ui}/src/main.tsx | 0 {ui => tools/ui}/src/vite-env.d.ts | 0 {ui => tools/ui}/test/App.e2e.ts | 0 {ui => tools/ui}/tsconfig.json | 0 {ui => tools/ui}/tsconfig.node.json | 0 {ui => tools/ui}/vite.config.ts | 0 50 files changed, 82 insertions(+), 88 deletions(-) rename {contract => tools/contract}/.gitignore (100%) rename {contract => tools/contract}/Makefile (100%) rename {contract => tools/contract}/jsconfig.json (100%) rename {contract => tools/contract}/package.json (100%) rename {contract => tools/contract}/scripts/build-contract-deployer.js (100%) rename {contract => tools/contract}/scripts/build-proposal.sh (100%) rename {contract => tools/contract}/scripts/install-bundles.sh (100%) rename {contract => tools/contract}/scripts/parseProposals.mjs (100%) rename {contract => tools/contract}/scripts/propose-start-contract.sh (100%) rename {contract => tools/contract}/scripts/run-chain.sh (100%) rename {contract => tools/contract}/scripts/voteLatestProposalAndWait.sh (100%) rename {contract => tools/contract}/src/debug.js (100%) rename {contract => tools/contract}/src/offer-up-proposal.js (100%) rename {contract => tools/contract}/src/offer-up.contract.js (100%) rename {contract => tools/contract}/test/mintStable.js (100%) rename {contract => tools/contract}/test/prepare-test-env-ava.js (100%) rename {contract => tools/contract}/test/test-build-proposal.js (100%) rename {contract => tools/contract}/test/test-bundle-source.js (100%) rename {contract => tools/contract}/test/test-contract.js (100%) rename {contract => tools/contract}/test/utils.js (100%) rename {ui => tools/ui}/.eslintrc.cjs (100%) rename {ui => tools/ui}/index.html (100%) rename {ui => tools/ui}/package.json (100%) rename {ui => tools/ui}/public/agoric.svg (100%) rename {ui => tools/ui}/public/vite.svg (100%) rename {ui => tools/ui}/src/App.css (100%) rename {ui => tools/ui}/src/App.spec.tsx (100%) rename {ui => tools/ui}/src/App.tsx (100%) rename {ui => tools/ui}/src/assets/IST.svg (100%) rename {ui => tools/ui}/src/assets/map.png (100%) rename {ui => tools/ui}/src/assets/potionBlue.png (100%) rename {ui => tools/ui}/src/assets/react.svg (100%) rename {ui => tools/ui}/src/assets/scroll.png (100%) rename {ui => tools/ui}/src/components/Inventory.tsx (100%) rename {ui => tools/ui}/src/components/Logos.tsx (100%) rename {ui => tools/ui}/src/components/Trade.tsx (100%) rename {ui => tools/ui}/src/index.css (100%) rename {ui => tools/ui}/src/index.d.ts (100%) rename {ui => tools/ui}/src/installSesLockdown.ts (100%) rename {ui => tools/ui}/src/main.tsx (100%) rename {ui => tools/ui}/src/vite-env.d.ts (100%) rename {ui => tools/ui}/test/App.e2e.ts (100%) rename {ui => tools/ui}/tsconfig.json (100%) rename {ui => tools/ui}/tsconfig.node.json (100%) rename {ui => tools/ui}/vite.config.ts (100%) diff --git a/.github/workflows/e2e_debug.yml b/.github/workflows/e2e_debug.yml index 4e9fe7fe0..5d0ac623b 100644 --- a/.github/workflows/e2e_debug.yml +++ b/.github/workflows/e2e_debug.yml @@ -1,9 +1,6 @@ name: E2E (debug) -on: - push: - pull_request: - branches: [master, dev] +on: [push, pull_request] concurrency: group: @@ -13,9 +10,6 @@ concurrency: jobs: e2e: - if: - github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev' || - github.event_name == 'pull_request' runs-on: ubuntu-latest steps: diff --git a/docker-compose.yml b/docker-compose.yml index 51353190a..7ad20b38d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -86,7 +86,7 @@ services: DEST: 1 DEBUG: "SwingSet:ls,SwingSet:vat" volumes: - - ./contract:/workspace + - ./tools/contract:/workspace entrypoint: /workspace/scripts/run-chain.sh networks: - x11 diff --git a/package.json b/package.json index c27c4df74..bb5ea09dc 100644 --- a/package.json +++ b/package.json @@ -40,8 +40,8 @@ "release:patch": "release-it patch --disable-metrics", "update:deps": "ncu -u -x 'node-fetch' && pnpm install", "start:server": "serve node_modules/@metamask/test-dapp/dist -p 3000", - "start:contract": "cd contract && pnpm start", - "start:ui": "cd ui && pnpm dev", + "start:contract": "cd tools/contract && pnpm start", + "start:ui": "cd tools/ui && pnpm dev", "start:json-server": "json-server json-server-db.json --port 3004", "synpress:run:metamask": "EXTENSION=metamask SKIP_EXTENSION_SETUP=true SYNPRESS_LOCAL_TEST=true node synpress.js run --configFile=synpress.config.js", "test:e2e:metamask": "start-server-and-test 'pnpm start:server' http-get://localhost:3000 'pnpm synpress:run:metamask'", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac6575980..caa748429 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -184,7 +184,7 @@ importers: specifier: ^1.10.12 version: 1.12.4 - ui: + tools/ui: dependencies: '@endo/eventual-send': specifier: 0.17.2 @@ -323,7 +323,7 @@ packages: '@agoric/store': 0.9.2(ava@5.3.1) '@agoric/vat-data': 0.5.2(ava@5.3.1) '@endo/far': 0.2.18(ava@5.3.1) - '@endo/marshal': 0.8.5(ava@5.3.1) + '@endo/marshal': 0.8.9(ava@5.3.1) transitivePeerDependencies: - '@endo/ses-ava' - ava @@ -343,10 +343,10 @@ packages: '@cosmjs/stargate': 0.30.1(debug@4.3.4) '@cosmjs/tendermint-rpc': 0.30.1(debug@4.3.4) '@endo/far': 0.2.18(ava@5.3.1) - '@endo/init': 0.5.56 - '@endo/lockdown': 0.1.28 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/init': 0.5.60 + '@endo/lockdown': 0.1.32 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/promise-kit': 0.2.60 node-fetch: 2.7.0 transitivePeerDependencies: - '@endo/ses-ava' @@ -402,9 +402,9 @@ packages: '@agoric/vat-data': 0.5.2(ava@5.3.1) '@endo/eventual-send': 0.17.2 '@endo/far': 0.2.18(ava@5.3.1) - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 - '@endo/promise-kit': 0.2.56 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 + '@endo/promise-kit': 0.2.60 transitivePeerDependencies: - '@endo/ses-ava' - ava @@ -432,9 +432,9 @@ packages: '@endo/captp': 3.1.1(ava@5.3.1) '@endo/eventual-send': 0.17.2 '@endo/far': 0.2.18(ava@5.3.1) - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 - '@endo/promise-kit': 0.2.56 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 + '@endo/promise-kit': 0.2.60 transitivePeerDependencies: - '@endo/ses-ava' - ava @@ -462,8 +462,8 @@ packages: '@endo/captp': 3.1.1(ava@5.3.1) '@endo/eventual-send': 0.17.2 '@endo/far': 0.2.18(ava@5.3.1) - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 agoric: 0.21.1(@endo/ses-ava@0.2.40)(ava@5.3.1)(debug@4.3.4) jessie.js: 0.3.3(ava@5.3.1) transitivePeerDependencies: @@ -482,9 +482,9 @@ packages: dependencies: '@agoric/zone': 0.2.2(ava@5.3.1) '@endo/far': 0.2.18(ava@5.3.1) - '@endo/marshal': 0.8.5(ava@5.3.1) + '@endo/marshal': 0.8.9(ava@5.3.1) '@endo/patterns': 0.2.2(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/promise-kit': 0.2.60 '@endo/stream': 0.3.25 anylogger: 0.21.0 jessie.js: 0.3.3(ava@5.3.1) @@ -519,8 +519,8 @@ packages: '@agoric/swingset-vat': 0.32.2(@endo/ses-ava@0.2.40)(ava@5.3.1) '@agoric/vat-data': 0.5.2(ava@5.3.1) '@endo/far': 0.2.18(ava@5.3.1) - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/promise-kit': 0.2.60 transitivePeerDependencies: - '@endo/ses-ava' - ava @@ -572,7 +572,7 @@ packages: engines: {node: '>=14.15.0'} dependencies: '@agoric/assert': 0.6.0 - '@endo/marshal': 0.8.5(ava@5.3.1) + '@endo/marshal': 0.8.9(ava@5.3.1) transitivePeerDependencies: - ava dev: true @@ -592,9 +592,9 @@ packages: '@agoric/zoe': 0.26.2(@endo/ses-ava@0.2.40)(ava@5.3.1) '@endo/eventual-send': 0.17.2 '@endo/far': 0.2.18(ava@5.3.1) - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 - '@endo/promise-kit': 0.2.56 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 + '@endo/promise-kit': 0.2.60 transitivePeerDependencies: - '@endo/ses-ava' - ava @@ -612,7 +612,7 @@ packages: '@agoric/assert': 0.6.0 '@endo/eventual-send': 0.17.2 '@endo/import-bundle': 0.3.4 - '@endo/marshal': 0.8.5(ava@5.3.1) + '@endo/marshal': 0.8.9(ava@5.3.1) transitivePeerDependencies: - ava - supports-color @@ -640,10 +640,10 @@ packages: '@endo/eventual-send': 0.17.2 '@endo/exo': 0.2.2(ava@5.3.1) '@endo/far': 0.2.18(ava@5.3.1) - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/pass-style': 0.1.3(ava@5.3.1) + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/pass-style': 0.1.7(ava@5.3.1) '@endo/patterns': 0.2.2(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/promise-kit': 0.2.60 '@fast-check/ava': 1.2.1(ava@5.3.1) transitivePeerDependencies: - ava @@ -667,10 +667,10 @@ packages: dependencies: '@agoric/assert': 0.6.0 '@agoric/internal': 0.3.2(ava@5.3.1) - '@endo/base64': 0.2.31 + '@endo/base64': 0.2.35 '@endo/bundle-source': 2.8.0(ava@5.3.1) '@endo/check-bundle': 0.2.18 - '@endo/nat': 4.1.27 + '@endo/nat': 4.1.31 better-sqlite3: 8.7.0 transitivePeerDependencies: - ava @@ -707,12 +707,12 @@ packages: '@endo/eventual-send': 0.17.2 '@endo/exo': 0.2.2(ava@5.3.1) '@endo/far': 0.2.18(ava@5.3.1) - '@endo/init': 0.5.56 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 - '@endo/pass-style': 0.1.3(ava@5.3.1) + '@endo/init': 0.5.60 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 + '@endo/pass-style': 0.1.7(ava@5.3.1) '@endo/patterns': 0.2.2(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/promise-kit': 0.2.60 '@endo/ses-ava': 0.2.40 ava: 5.3.1 dev: true @@ -756,7 +756,7 @@ packages: '@agoric/vat-data': 0.5.2(ava@5.3.1) '@agoric/xsnap': 0.14.3-u13.0(ava@5.3.1) '@agoric/xsnap-lockdown': 0.14.0 - '@endo/base64': 0.2.31 + '@endo/base64': 0.2.35 '@endo/bundle-source': 2.8.0(ava@5.3.1) '@endo/captp': 3.1.1(ava@5.3.1) '@endo/check-bundle': 0.2.18 @@ -764,12 +764,12 @@ packages: '@endo/eventual-send': 0.17.2 '@endo/far': 0.2.18(ava@5.3.1) '@endo/import-bundle': 0.3.4 - '@endo/init': 0.5.56 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 - '@endo/promise-kit': 0.2.56 + '@endo/init': 0.5.60 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 + '@endo/promise-kit': 0.2.60 '@endo/ses-ava': 0.2.40 - '@endo/zip': 0.2.31 + '@endo/zip': 0.2.35 ansi-styles: 6.2.1 anylogger: 0.21.0 ava: 5.3.1 @@ -837,7 +837,7 @@ packages: dependencies: '@agoric/assert': 0.6.0 '@agoric/store': 0.9.2(ava@5.3.1) - '@endo/nat': 4.1.27 + '@endo/nat': 4.1.31 transitivePeerDependencies: - ava dev: true @@ -859,8 +859,8 @@ packages: '@agoric/assert': 0.6.0 '@agoric/ertp': 0.16.2(@endo/ses-ava@0.2.40)(ava@5.3.1) '@endo/eventual-send': 0.17.2 - '@endo/init': 0.5.56 - '@endo/nat': 4.1.27 + '@endo/init': 0.5.60 + '@endo/nat': 4.1.31 clsx: 1.2.1 transitivePeerDependencies: - '@endo/ses-ava' @@ -909,10 +909,10 @@ packages: '@agoric/zone': 0.2.2(ava@5.3.1) '@endo/far': 0.2.18(ava@5.3.1) '@endo/import-bundle': 0.3.4 - '@endo/init': 0.5.56 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 - '@endo/promise-kit': 0.2.56 + '@endo/init': 0.5.60 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 + '@endo/promise-kit': 0.2.60 jessie.js: 0.3.3(ava@5.3.1) transitivePeerDependencies: - '@endo/ses-ava' @@ -959,8 +959,8 @@ packages: '@agoric/wallet': 0.18.3(@endo/ses-ava@0.2.40)(ava@5.3.1)(debug@4.3.4)(eslint@8.57.0) '@endo/captp': 3.1.1(ava@5.3.1) '@endo/eventual-send': 0.17.2 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/promise-kit': 0.2.60 '@lit-labs/react': 1.2.1 lit: 2.0.2 transitivePeerDependencies: @@ -1021,10 +1021,10 @@ packages: '@endo/eventual-send': 0.17.2 '@endo/far': 0.2.18(ava@5.3.1) '@endo/import-bundle': 0.3.4 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 '@endo/patterns': 0.2.2(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/promise-kit': 0.2.60 transitivePeerDependencies: - '@endo/ses-ava' - ava @@ -2597,10 +2597,10 @@ packages: '@agoric/babel-generator': 7.17.6 '@babel/parser': 7.23.9 '@babel/traverse': 7.23.9 - '@endo/base64': 0.2.31 + '@endo/base64': 0.2.35 '@endo/compartment-mapper': 0.8.4 - '@endo/init': 0.5.56 - '@endo/promise-kit': 0.2.56 + '@endo/init': 0.5.60 + '@endo/promise-kit': 0.2.60 '@rollup/plugin-commonjs': 19.0.2(rollup@2.79.1) '@rollup/plugin-node-resolve': 13.3.0(rollup@2.79.1) acorn: 8.11.3 @@ -2639,9 +2639,9 @@ packages: resolution: {integrity: sha512-M+EiRxtm5xzKmZtOQmTtk5IfscPUKGSDGhmcxGTm4g4WvukFKSAB8hLHAbeurLaWVQG/ZcqZBffAZL/SGUZbmw==} dependencies: '@endo/eventual-send': 0.17.2 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 - '@endo/promise-kit': 0.2.56 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 + '@endo/promise-kit': 0.2.60 transitivePeerDependencies: - ava dev: true @@ -2649,7 +2649,7 @@ packages: /@endo/check-bundle@0.2.18: resolution: {integrity: sha512-PQB8ACM6ukv8dihzvqyfnHaKNr/+pKdJKmtZSxBvPmyBR4VnmLRSeTWMgMKnnmd27AyYN7vxdvKrL+qZDMA4RQ==} dependencies: - '@endo/base64': 0.2.31 + '@endo/base64': 0.2.35 '@endo/compartment-mapper': 0.8.4 transitivePeerDependencies: - supports-color @@ -2664,7 +2664,7 @@ packages: dependencies: '@endo/cjs-module-analyzer': 0.2.35 '@endo/static-module-record': 0.7.20 - '@endo/zip': 0.2.31 + '@endo/zip': 0.2.35 ses: 1.3.0 transitivePeerDependencies: - supports-color @@ -2701,7 +2701,7 @@ packages: resolution: {integrity: sha512-NJPz5x11AOsFgxZNSIW4+llQtSUNQtcYCrvxpMwhofti3hncMjhIiUUrMVggw99pdHNmXEBr0gl16H3n/1X0sw==} dependencies: '@endo/eventual-send': 0.17.2 - '@endo/pass-style': 0.1.3(ava@5.3.1) + '@endo/pass-style': 0.1.7(ava@5.3.1) transitivePeerDependencies: - ava dev: true @@ -2710,7 +2710,7 @@ packages: resolution: {integrity: sha512-MjB7VBJYFgcUhelMddJQf9uMwxqXV1McjVGqoJ3ZJ/OIQZ5BTYqR+uyZOI8CaUqpVmhNbsg3qMw8/wXW304YlA==} engines: {node: '>=12'} dependencies: - '@endo/base64': 0.2.31 + '@endo/base64': 0.2.35 '@endo/compartment-mapper': 0.8.4 transitivePeerDependencies: - supports-color @@ -2719,10 +2719,10 @@ packages: /@endo/init@0.5.56: resolution: {integrity: sha512-BKA7O2uy9uaGw9dB9X515SIaTumaO58HD30AXkJllW6bmLM/BxxFM3GCgS127x0Wot1ni32Y0DxkwxdEXFXJEQ==} dependencies: - '@endo/base64': 0.2.31 + '@endo/base64': 0.2.35 '@endo/eventual-send': 0.17.2 - '@endo/lockdown': 0.1.28 - '@endo/promise-kit': 0.2.56 + '@endo/lockdown': 0.1.32 + '@endo/promise-kit': 0.2.60 dev: true /@endo/init@0.5.60: @@ -2750,9 +2750,9 @@ packages: resolution: {integrity: sha512-oj2Ag/TlkoMPv8m00fjoa1uWPgDwm5w8nYUU0DPqaCLfTNGRe8a8s7kYDPbv+sQdiQbkZ1RgUQjdyr/O2Mvs+A==} dependencies: '@endo/eventual-send': 0.17.2 - '@endo/nat': 4.1.27 - '@endo/pass-style': 0.1.3(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/nat': 4.1.31 + '@endo/pass-style': 0.1.7(ava@5.3.1) + '@endo/promise-kit': 0.2.60 transitivePeerDependencies: - ava dev: true @@ -2779,7 +2779,7 @@ packages: /@endo/netstring@0.3.26: resolution: {integrity: sha512-IT3epH32/jLiNBwKhM+7BRjm0OwFjRooeQyymfGZUKGN95fm+hKHEbm8pDmWT8bnwSzHB++wsaQJTpi39U+obg==} dependencies: - '@endo/init': 0.5.56 + '@endo/init': 0.5.60 '@endo/stream': 0.3.25 ses: 1.3.0 dev: true @@ -2787,7 +2787,7 @@ packages: /@endo/pass-style@0.1.3(ava@5.3.1): resolution: {integrity: sha512-V2FLPBUJXsJYWjMSoZW2IopOuggEX14pm8AHfOVXUceF3uvHbdJj7qwKAuIIOhPApZ/TV+6nWYi86eb393Ic2w==} dependencies: - '@endo/promise-kit': 0.2.56 + '@endo/promise-kit': 0.2.60 '@fast-check/ava': 1.2.1(ava@5.3.1) transitivePeerDependencies: - ava @@ -2806,8 +2806,8 @@ packages: resolution: {integrity: sha512-rbS4BLRohZQhB+0aEPBoxmzOfOie9nAu8Qx55Fxe8xFQKS4k9acafeIYmKh9nvslEJISYQmogy5Lewm5mgdSjg==} dependencies: '@endo/eventual-send': 0.17.2 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/promise-kit': 0.2.56 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/promise-kit': 0.2.60 transitivePeerDependencies: - ava dev: true @@ -2859,7 +2859,7 @@ packages: /@endo/stream-node@0.2.26: resolution: {integrity: sha512-+UUr1/wZZIWz3KhuAwQr9HPsZv5P8zykw+z1aVFDckTMcdKRyK8yxSg35iEcntvyZoP40LEdnArCXuuEWjm0qw==} dependencies: - '@endo/init': 0.5.56 + '@endo/init': 0.5.60 '@endo/stream': 0.3.25 ses: 1.3.0 dev: true @@ -2868,7 +2868,7 @@ packages: resolution: {integrity: sha512-qSl9Q9o20/4nKdXlXYCs6KJfeANMKBLrsi7JIxWV1jP9YzIDdq/PkEJsMNq89Z/HWXtPRfEQ4JEMd3O1WBYU5Q==} dependencies: '@endo/eventual-send': 0.17.2 - '@endo/promise-kit': 0.2.56 + '@endo/promise-kit': 0.2.60 ses: 1.3.0 dev: true @@ -5082,10 +5082,10 @@ packages: '@endo/captp': 3.1.1(ava@5.3.1) '@endo/compartment-mapper': 0.8.4 '@endo/far': 0.2.18(ava@5.3.1) - '@endo/init': 0.5.56 - '@endo/marshal': 0.8.5(ava@5.3.1) - '@endo/nat': 4.1.27 - '@endo/promise-kit': 0.2.56 + '@endo/init': 0.5.60 + '@endo/marshal': 0.8.9(ava@5.3.1) + '@endo/nat': 4.1.31 + '@endo/promise-kit': 0.2.60 '@iarna/toml': 2.2.5 anylogger: 0.21.0 chalk: 5.3.0 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 80a924bc0..39a985dda 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,2 +1,2 @@ packages: - - 'ui/' + - 'tools/ui/' diff --git a/contract/.gitignore b/tools/contract/.gitignore similarity index 100% rename from contract/.gitignore rename to tools/contract/.gitignore diff --git a/contract/Makefile b/tools/contract/Makefile similarity index 100% rename from contract/Makefile rename to tools/contract/Makefile diff --git a/contract/jsconfig.json b/tools/contract/jsconfig.json similarity index 100% rename from contract/jsconfig.json rename to tools/contract/jsconfig.json diff --git a/contract/package.json b/tools/contract/package.json similarity index 100% rename from contract/package.json rename to tools/contract/package.json diff --git a/contract/scripts/build-contract-deployer.js b/tools/contract/scripts/build-contract-deployer.js similarity index 100% rename from contract/scripts/build-contract-deployer.js rename to tools/contract/scripts/build-contract-deployer.js diff --git a/contract/scripts/build-proposal.sh b/tools/contract/scripts/build-proposal.sh similarity index 100% rename from contract/scripts/build-proposal.sh rename to tools/contract/scripts/build-proposal.sh diff --git a/contract/scripts/install-bundles.sh b/tools/contract/scripts/install-bundles.sh similarity index 100% rename from contract/scripts/install-bundles.sh rename to tools/contract/scripts/install-bundles.sh diff --git a/contract/scripts/parseProposals.mjs b/tools/contract/scripts/parseProposals.mjs similarity index 100% rename from contract/scripts/parseProposals.mjs rename to tools/contract/scripts/parseProposals.mjs diff --git a/contract/scripts/propose-start-contract.sh b/tools/contract/scripts/propose-start-contract.sh similarity index 100% rename from contract/scripts/propose-start-contract.sh rename to tools/contract/scripts/propose-start-contract.sh diff --git a/contract/scripts/run-chain.sh b/tools/contract/scripts/run-chain.sh similarity index 100% rename from contract/scripts/run-chain.sh rename to tools/contract/scripts/run-chain.sh diff --git a/contract/scripts/voteLatestProposalAndWait.sh b/tools/contract/scripts/voteLatestProposalAndWait.sh similarity index 100% rename from contract/scripts/voteLatestProposalAndWait.sh rename to tools/contract/scripts/voteLatestProposalAndWait.sh diff --git a/contract/src/debug.js b/tools/contract/src/debug.js similarity index 100% rename from contract/src/debug.js rename to tools/contract/src/debug.js diff --git a/contract/src/offer-up-proposal.js b/tools/contract/src/offer-up-proposal.js similarity index 100% rename from contract/src/offer-up-proposal.js rename to tools/contract/src/offer-up-proposal.js diff --git a/contract/src/offer-up.contract.js b/tools/contract/src/offer-up.contract.js similarity index 100% rename from contract/src/offer-up.contract.js rename to tools/contract/src/offer-up.contract.js diff --git a/contract/test/mintStable.js b/tools/contract/test/mintStable.js similarity index 100% rename from contract/test/mintStable.js rename to tools/contract/test/mintStable.js diff --git a/contract/test/prepare-test-env-ava.js b/tools/contract/test/prepare-test-env-ava.js similarity index 100% rename from contract/test/prepare-test-env-ava.js rename to tools/contract/test/prepare-test-env-ava.js diff --git a/contract/test/test-build-proposal.js b/tools/contract/test/test-build-proposal.js similarity index 100% rename from contract/test/test-build-proposal.js rename to tools/contract/test/test-build-proposal.js diff --git a/contract/test/test-bundle-source.js b/tools/contract/test/test-bundle-source.js similarity index 100% rename from contract/test/test-bundle-source.js rename to tools/contract/test/test-bundle-source.js diff --git a/contract/test/test-contract.js b/tools/contract/test/test-contract.js similarity index 100% rename from contract/test/test-contract.js rename to tools/contract/test/test-contract.js diff --git a/contract/test/utils.js b/tools/contract/test/utils.js similarity index 100% rename from contract/test/utils.js rename to tools/contract/test/utils.js diff --git a/ui/.eslintrc.cjs b/tools/ui/.eslintrc.cjs similarity index 100% rename from ui/.eslintrc.cjs rename to tools/ui/.eslintrc.cjs diff --git a/ui/index.html b/tools/ui/index.html similarity index 100% rename from ui/index.html rename to tools/ui/index.html diff --git a/ui/package.json b/tools/ui/package.json similarity index 100% rename from ui/package.json rename to tools/ui/package.json diff --git a/ui/public/agoric.svg b/tools/ui/public/agoric.svg similarity index 100% rename from ui/public/agoric.svg rename to tools/ui/public/agoric.svg diff --git a/ui/public/vite.svg b/tools/ui/public/vite.svg similarity index 100% rename from ui/public/vite.svg rename to tools/ui/public/vite.svg diff --git a/ui/src/App.css b/tools/ui/src/App.css similarity index 100% rename from ui/src/App.css rename to tools/ui/src/App.css diff --git a/ui/src/App.spec.tsx b/tools/ui/src/App.spec.tsx similarity index 100% rename from ui/src/App.spec.tsx rename to tools/ui/src/App.spec.tsx diff --git a/ui/src/App.tsx b/tools/ui/src/App.tsx similarity index 100% rename from ui/src/App.tsx rename to tools/ui/src/App.tsx diff --git a/ui/src/assets/IST.svg b/tools/ui/src/assets/IST.svg similarity index 100% rename from ui/src/assets/IST.svg rename to tools/ui/src/assets/IST.svg diff --git a/ui/src/assets/map.png b/tools/ui/src/assets/map.png similarity index 100% rename from ui/src/assets/map.png rename to tools/ui/src/assets/map.png diff --git a/ui/src/assets/potionBlue.png b/tools/ui/src/assets/potionBlue.png similarity index 100% rename from ui/src/assets/potionBlue.png rename to tools/ui/src/assets/potionBlue.png diff --git a/ui/src/assets/react.svg b/tools/ui/src/assets/react.svg similarity index 100% rename from ui/src/assets/react.svg rename to tools/ui/src/assets/react.svg diff --git a/ui/src/assets/scroll.png b/tools/ui/src/assets/scroll.png similarity index 100% rename from ui/src/assets/scroll.png rename to tools/ui/src/assets/scroll.png diff --git a/ui/src/components/Inventory.tsx b/tools/ui/src/components/Inventory.tsx similarity index 100% rename from ui/src/components/Inventory.tsx rename to tools/ui/src/components/Inventory.tsx diff --git a/ui/src/components/Logos.tsx b/tools/ui/src/components/Logos.tsx similarity index 100% rename from ui/src/components/Logos.tsx rename to tools/ui/src/components/Logos.tsx diff --git a/ui/src/components/Trade.tsx b/tools/ui/src/components/Trade.tsx similarity index 100% rename from ui/src/components/Trade.tsx rename to tools/ui/src/components/Trade.tsx diff --git a/ui/src/index.css b/tools/ui/src/index.css similarity index 100% rename from ui/src/index.css rename to tools/ui/src/index.css diff --git a/ui/src/index.d.ts b/tools/ui/src/index.d.ts similarity index 100% rename from ui/src/index.d.ts rename to tools/ui/src/index.d.ts diff --git a/ui/src/installSesLockdown.ts b/tools/ui/src/installSesLockdown.ts similarity index 100% rename from ui/src/installSesLockdown.ts rename to tools/ui/src/installSesLockdown.ts diff --git a/ui/src/main.tsx b/tools/ui/src/main.tsx similarity index 100% rename from ui/src/main.tsx rename to tools/ui/src/main.tsx diff --git a/ui/src/vite-env.d.ts b/tools/ui/src/vite-env.d.ts similarity index 100% rename from ui/src/vite-env.d.ts rename to tools/ui/src/vite-env.d.ts diff --git a/ui/test/App.e2e.ts b/tools/ui/test/App.e2e.ts similarity index 100% rename from ui/test/App.e2e.ts rename to tools/ui/test/App.e2e.ts diff --git a/ui/tsconfig.json b/tools/ui/tsconfig.json similarity index 100% rename from ui/tsconfig.json rename to tools/ui/tsconfig.json diff --git a/ui/tsconfig.node.json b/tools/ui/tsconfig.node.json similarity index 100% rename from ui/tsconfig.node.json rename to tools/ui/tsconfig.node.json diff --git a/ui/vite.config.ts b/tools/ui/vite.config.ts similarity index 100% rename from ui/vite.config.ts rename to tools/ui/vite.config.ts