From 2f8ae221dbb5832a8a384accffb69775a232b8c3 Mon Sep 17 00:00:00 2001 From: Benjamin Goering <171782+gobengo@users.noreply.github.com> Date: Mon, 27 Mar 2023 11:52:01 -0700 Subject: [PATCH] incorporate w3up-client into monorepo workflows (e.g. release.yml, typedoc --- .github/workflows/release.yml | 3 +- .github/workflows/w3up-client.yml | 19 +- .../.github/actions/test/action.yml | 13 +- .../.github/workflows/deploy-docs.yml | 31 -- .../w3up-client/.github/workflows/release.yml | 22 -- .../w3up-client/.github/workflows/test.yml | 17 -- pnpm-lock.yaml | 275 ++++++++++++++---- tsconfig.json | 3 +- 8 files changed, 249 insertions(+), 134 deletions(-) delete mode 100644 packages/w3up-client/.github/workflows/deploy-docs.yml delete mode 100644 packages/w3up-client/.github/workflows/release.yml delete mode 100644 packages/w3up-client/.github/workflows/test.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index daa80fd5b..842009d71 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,8 @@ jobs: contains(fromJson(needs.release.outputs.paths_released), 'packages/access-client') || contains(fromJson(needs.release.outputs.paths_released), 'packages/capabilities') || contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-client') || - contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-api') + contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-api') || + contains(fromJson(needs.release.outputs.paths_released), 'packages/w3up-client') runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/w3up-client.yml b/.github/workflows/w3up-client.yml index fb622227c..a333843a9 100644 --- a/.github/workflows/w3up-client.yml +++ b/.github/workflows/w3up-client.yml @@ -14,4 +14,21 @@ on: - 'pnpm-lock.yaml' jobs: test: - uses: ./packages/w3up-client/.github/workflows/test.yml + name: Test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install + uses: pnpm/action-setup@v2.2.3 + with: + version: 7 + - name: Setup + uses: actions/setup-node@v3 + with: + node-version: 18 + registry-url: https://registry.npmjs.org/ + cache: 'pnpm' + - run: pnpm --filter '@web3-storage/w3up-client' install + - run: pnpm --filter '@web3-storage/w3up-client' build + - uses: ./packages/w3up-client/.github/workflows/test.yml diff --git a/packages/w3up-client/.github/actions/test/action.yml b/packages/w3up-client/.github/actions/test/action.yml index 955e6d2cc..0556bc1e1 100644 --- a/packages/w3up-client/.github/actions/test/action.yml +++ b/packages/w3up-client/.github/actions/test/action.yml @@ -1,17 +1,10 @@ name: Test -description: 'Setup and test' - +description: 'test' +# install npm dependencies (e.g. via `npm` or monorepo `pnpm`) before invoking this action to run tests runs: using: "composite" steps: - - uses: actions/setup-node@v3 - with: - registry-url: 'https://registry.npmjs.org' - node-version: 18 - cache: 'npm' - - run: npm ci - shell: bash - run: npm run lint shell: bash - run: npm test - shell: bash \ No newline at end of file + shell: bash diff --git a/packages/w3up-client/.github/workflows/deploy-docs.yml b/packages/w3up-client/.github/workflows/deploy-docs.yml deleted file mode 100644 index 18f668aa1..000000000 --- a/packages/w3up-client/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Generate and deploy API docs -# trigger workflow manually for now. hook into release workflow once we know it's working -on: [workflow_call, workflow_dispatch] - -jobs: - deploy-docs: - permissions: - contents: read - pages: write - id-token: write - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - registry-url: 'https://registry.npmjs.org' - - run: npm install - - run: npm run build - - run: npm run docs - - uses: actions/configure-pages@v2 - - uses: actions/upload-pages-artifact@v1 - with: - path: './docs-generated' - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 - diff --git a/packages/w3up-client/.github/workflows/release.yml b/packages/w3up-client/.github/workflows/release.yml deleted file mode 100644 index ab74da1cd..000000000 --- a/packages/w3up-client/.github/workflows/release.yml +++ /dev/null @@ -1,22 +0,0 @@ -on: - workflow_call: - push: - branches: - - main -name: Release -jobs: - release-please: - runs-on: ubuntu-latest - steps: - - uses: google-github-actions/release-please-action@v3 - id: release - with: - release-type: node - package-name: "@web3-storage/w3up-client" - - uses: actions/checkout@v3 - - uses: ./.github/actions/test - - run: npm run build - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - if: ${{ steps.release.outputs.release_created }} diff --git a/packages/w3up-client/.github/workflows/test.yml b/packages/w3up-client/.github/workflows/test.yml deleted file mode 100644 index 0ad815a8a..000000000 --- a/packages/w3up-client/.github/workflows/test.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Test -on: - push: - branches: - - main - pull_request: - branches: - - main - workflow_call: - -jobs: - test: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: ./.github/actions/test diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 55f50c422..c3b3b4f07 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -324,6 +324,57 @@ importers: playwright-test: 8.2.0 typescript: 4.9.5 + packages/w3up-client: + specifiers: + '@docusaurus/core': ^2.2.0 + '@ipld/dag-ucan': ^3.0.1 + '@ucanto/client': ^5.1.0 + '@ucanto/core': ^5.1.0 + '@ucanto/interface': ^6.0.0 + '@ucanto/principal': ^5.1.0 + '@ucanto/server': ^6.1.0 + '@ucanto/transport': ^5.1.0 + '@web3-storage/access': ^11.0.0 + '@web3-storage/capabilities': ^4.0.0 + '@web3-storage/upload-client': ^8.0.0 + assert: ^2.0.0 + docusaurus-plugin-typedoc: ^0.18.0 + hundreds: ^0.0.9 + mocha: ^10.1.0 + multiformats: ^11.0.0 + npm-run-all: ^4.1.5 + playwright-test: ^8.1.1 + standard: ^17.0.0 + typedoc: ^0.23.24 + typedoc-plugin-markdown: ^3.14.0 + typedoc-plugin-missing-exports: ^1.0.0 + typescript: ^4.8.3 + dependencies: + '@ipld/dag-ucan': 3.2.0 + '@ucanto/client': 5.1.0 + '@ucanto/core': 5.2.0 + '@ucanto/interface': 6.2.0 + '@ucanto/principal': 5.1.0 + '@ucanto/transport': 5.1.1 + '@web3-storage/access': link:../access-client + '@web3-storage/capabilities': 4.0.1 + '@web3-storage/upload-client': link:../upload-client + devDependencies: + '@docusaurus/core': 2.3.1_typescript@4.9.5 + '@ucanto/server': 6.1.0 + assert: 2.0.0 + docusaurus-plugin-typedoc: 0.18.0_bhwftghzp2kjaeaba4ticsx7k4 + hundreds: 0.0.9 + mocha: 10.2.0 + multiformats: 11.0.2 + npm-run-all: 4.1.5 + playwright-test: 8.2.0 + standard: 17.0.0 + typedoc: 0.23.28_typescript@4.9.5 + typedoc-plugin-markdown: 3.14.0_typedoc@0.23.28 + typedoc-plugin-missing-exports: 1.0.0_typedoc@0.23.28 + typescript: 4.9.5 + packages: /@ampproject/remapping/2.2.0: @@ -3906,6 +3957,16 @@ packages: web-streams-polyfill: 3.2.1 dev: false + /@web3-storage/capabilities/4.0.1: + resolution: {integrity: sha512-Shl6ZGXOpCKL+wohQsAMjW6cN+eadk7vigSXyNW8iI2TUSgkILzfNOQtkC1nWhXw/d4bh3OuzS84QN8V0wO4fw==} + dependencies: + '@ucanto/core': 5.2.0 + '@ucanto/interface': 6.2.0 + '@ucanto/principal': 5.1.0 + '@ucanto/transport': 5.1.1 + '@ucanto/validator': 6.1.0 + dev: false + /@web3-storage/multipart-parser/1.0.0: resolution: {integrity: sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==} dev: false @@ -4265,7 +4326,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 get-intrinsic: 1.2.0 is-string: 1.0.7 @@ -4280,7 +4341,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 is-string: 1.0.7 dev: true @@ -4290,7 +4351,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 es-shim-unscopables: 1.0.0 dev: true @@ -4300,7 +4361,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 es-shim-unscopables: 1.0.0 dev: true @@ -4309,7 +4370,7 @@ packages: resolution: {integrity: sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 es-shim-unscopables: 1.0.0 get-intrinsic: 1.2.0 @@ -4504,7 +4565,7 @@ packages: dependencies: buffer: 6.0.3 inherits: 2.0.4 - readable-stream: 3.6.0 + readable-stream: 3.6.2 /blake3-wasm/2.1.5: resolution: {integrity: sha512-F1+K8EbfOZE49dtoPtmxUQrpXaBIl3ICvasLh+nJta0xkz+9kF/7uet9fLnwKqhDrmj6g+6K3Tw9yQPUg2ka5g==} @@ -5054,7 +5115,7 @@ packages: dev: true /concat-map/0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} /conf/10.2.0: resolution: {integrity: sha512-8fLl9F04EJqjSqH+QjITQfJF8BrOVaYr1jewVgSRAEWePfxT0sku4w2hrGQ60BC/TNLGQ2pgxNlTbWQmMPFvXg==} @@ -5201,7 +5262,7 @@ packages: resolution: {integrity: sha512-3scnzFj/94eb7y4wyXRWwvzLFaQp87yyfTnChIjlfYrVqp5lVO3E2hIJMeQIltUT0K2ZAB3An1qXcBmwGyvuwA==} engines: {node: '>=10'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.11 make-dir: 3.1.0 nested-error-stacks: 2.1.1 p-event: 4.2.0 @@ -5571,14 +5632,6 @@ packages: engines: {node: '>=8'} dev: true - /define-properties/1.1.4: - resolution: {integrity: sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==} - engines: {node: '>= 0.4'} - dependencies: - has-property-descriptors: 1.0.0 - object-keys: 1.1.1 - dev: true - /define-properties/1.2.0: resolution: {integrity: sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==} engines: {node: '>= 0.4'} @@ -6114,6 +6167,16 @@ packages: eslint: 8.33.0 dev: true + /eslint-config-standard-jsx/11.0.0_qfmo47wux3a6s5vhwqly27hd6u: + resolution: {integrity: sha512-+1EV/R0JxEK1L0NGolAr8Iktm3Rgotx3BKwgaX+eAuSX8D952LULKtjgZD3F+e6SvibONnhLwoTi9DPxN5LvvQ==} + peerDependencies: + eslint: ^8.8.0 + eslint-plugin-react: ^7.28.0 + dependencies: + eslint: 8.33.0 + eslint-plugin-react: 7.32.2_eslint@8.33.0 + dev: true + /eslint-config-standard-with-typescript/30.0.0_frfgwa7fqjzszldru3sxumpviq: resolution: {integrity: sha512-/Ltst1BCZCWrGmqprLHBkTwuAbcoQrR8uMeSzZAv1vHKIVg+2nFje+DULA30SW01yCNhnx0a8yhZBkR0ZZPp+w==} peerDependencies: @@ -6145,7 +6208,7 @@ packages: eslint-plugin-promise: ^6.0.0 dependencies: eslint: 8.33.0 - eslint-plugin-import: 2.27.5_ufewo3pl5nnmz6lltvjrdi2hii + eslint-plugin-import: 2.27.5_eslint@8.33.0 eslint-plugin-n: 15.6.1_eslint@8.33.0 eslint-plugin-promise: 6.1.1_eslint@8.33.0 dev: true @@ -6175,6 +6238,34 @@ packages: - supports-color dev: true + /eslint-module-utils/2.7.4_b5qyyy7jj6vxczv7eweintx4wu: + resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true + dependencies: + debug: 3.2.7 + eslint: 8.33.0 + eslint-import-resolver-node: 0.3.7 + transitivePeerDependencies: + - supports-color + dev: true + /eslint-module-utils/2.7.4_ypqpzq5szckeh62pb722iz7nn4: resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} @@ -6233,6 +6324,38 @@ packages: - supports-color dev: true + /eslint-plugin-import/2.27.5_eslint@8.33.0: + resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + dependencies: + array-includes: 3.1.6 + array.prototype.flat: 1.3.1 + array.prototype.flatmap: 1.3.1 + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 8.33.0 + eslint-import-resolver-node: 0.3.7 + eslint-module-utils: 2.7.4_b5qyyy7jj6vxczv7eweintx4wu + has: 1.0.3 + is-core-module: 2.11.0 + is-glob: 4.0.3 + minimatch: 3.1.2 + object.values: 1.1.6 + resolve: 1.22.1 + semver: 6.3.0 + tsconfig-paths: 3.14.1 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + dev: true + /eslint-plugin-import/2.27.5_ufewo3pl5nnmz6lltvjrdi2hii: resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} @@ -6924,7 +7047,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 functions-have-names: 1.2.3 dev: true @@ -6972,6 +7095,11 @@ packages: engines: {node: '>=8.0.0'} dev: true + /get-stdin/8.0.0: + resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} + engines: {node: '>=10'} + dev: true + /get-stream/4.1.0: resolution: {integrity: sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==} engines: {node: '>=6'} @@ -7092,7 +7220,7 @@ packages: resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} engines: {node: '>= 0.4'} dependencies: - define-properties: 1.1.4 + define-properties: 1.2.0 dev: true /globby/11.1.0: @@ -7146,10 +7274,6 @@ packages: resolution: {integrity: sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==} dev: true - /graceful-fs/4.2.10: - resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} - dev: true - /graceful-fs/4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} dev: true @@ -7899,7 +8023,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 dev: true /is-negative-zero/2.0.2: @@ -8301,7 +8425,7 @@ packages: resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} hasBin: true dependencies: - minimist: 1.2.7 + minimist: 1.2.8 dev: true /json5/2.2.3: @@ -8500,12 +8624,23 @@ packages: resolution: {integrity: sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==} engines: {node: '>=4'} dependencies: - graceful-fs: 4.2.10 + graceful-fs: 4.2.11 parse-json: 4.0.0 pify: 3.0.0 strip-bom: 3.0.0 dev: true + /load-json-file/5.3.0: + resolution: {integrity: sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==} + engines: {node: '>=6'} + dependencies: + graceful-fs: 4.2.11 + parse-json: 4.0.0 + pify: 4.0.1 + strip-bom: 3.0.0 + type-fest: 0.3.1 + dev: true + /loader-runner/4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} @@ -9166,7 +9301,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 dev: true /object-keys/1.1.1: @@ -9189,7 +9324,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 dev: true @@ -9198,14 +9333,14 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 dev: true /object.hasown/1.1.2: resolution: {integrity: sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==} dependencies: - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 dev: true @@ -9214,7 +9349,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 dev: true @@ -9586,6 +9721,19 @@ packages: engines: {node: '>=4'} dev: true + /pify/4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + dev: true + + /pkg-conf/3.1.0: + resolution: {integrity: sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ==} + engines: {node: '>=6'} + dependencies: + find-up: 3.0.0 + load-json-file: 5.3.0 + dev: true + /pkg-dir/4.2.0: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} @@ -9618,7 +9766,7 @@ packages: events: 3.3.0 globby: 13.1.3 kleur: 4.1.5 - lilconfig: 2.0.6 + lilconfig: 2.1.0 lodash: 4.17.21 merge-options: 3.0.4 nanoid: 4.0.0 @@ -10481,14 +10629,6 @@ packages: util-deprecate: 1.0.2 dev: true - /readable-stream/3.6.0: - resolution: {integrity: sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==} - engines: {node: '>= 6'} - dependencies: - inherits: 2.0.4 - string_decoder: 1.3.0 - util-deprecate: 1.0.2 - /readable-stream/3.6.2: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} @@ -10496,7 +10636,6 @@ packages: inherits: 2.0.4 string_decoder: 1.3.0 util-deprecate: 1.0.2 - dev: true /readable-stream/4.3.0: resolution: {integrity: sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ==} @@ -10559,7 +10698,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 functions-have-names: 1.2.3 dev: true @@ -11327,6 +11466,36 @@ packages: stacktrace-gps: 3.1.2 dev: false + /standard-engine/15.0.0: + resolution: {integrity: sha512-4xwUhJNo1g/L2cleysUqUv7/btn7GEbYJvmgKrQ2vd/8pkTmN8cpqAZg+BT8Z1hNeEH787iWUdOpL8fmApLtxA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + get-stdin: 8.0.0 + minimist: 1.2.8 + pkg-conf: 3.1.0 + xdg-basedir: 4.0.0 + dev: true + + /standard/17.0.0: + resolution: {integrity: sha512-GlCM9nzbLUkr+TYR5I2WQoIah4wHA2lMauqbyPLV/oI5gJxqhHzhjl9EG2N0lr/nRqI3KCbCvm/W3smxvLaChA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + hasBin: true + dependencies: + eslint: 8.33.0 + eslint-config-standard: 17.0.0_xh3wrndcszbt2l7hdksdjqnjcq + eslint-config-standard-jsx: 11.0.0_qfmo47wux3a6s5vhwqly27hd6u + eslint-plugin-import: 2.27.5_eslint@8.33.0 + eslint-plugin-n: 15.6.1_eslint@8.33.0 + eslint-plugin-promise: 6.1.1_eslint@8.33.0 + eslint-plugin-react: 7.32.2_eslint@8.33.0 + standard-engine: 15.0.0 + transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + dev: true + /state-toggle/1.0.3: resolution: {integrity: sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==} dev: true @@ -11356,7 +11525,7 @@ packages: resolution: {integrity: sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==} dependencies: inherits: 2.0.4 - readable-stream: 3.6.0 + readable-stream: 3.6.2 dev: true /streaming-iterables/7.1.0: @@ -11394,7 +11563,7 @@ packages: resolution: {integrity: sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 get-intrinsic: 1.2.0 has-symbols: 1.0.3 @@ -11408,7 +11577,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 dev: true @@ -11417,7 +11586,7 @@ packages: engines: {node: '>= 0.4'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 dev: true @@ -11425,7 +11594,7 @@ packages: resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 dev: true @@ -11433,7 +11602,7 @@ packages: resolution: {integrity: sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 + define-properties: 1.2.0 es-abstract: 1.21.1 dev: true @@ -11591,7 +11760,7 @@ packages: has-dynamic-import: 2.0.1 inherits: 2.0.4 is-regex: 1.1.4 - minimist: 1.2.7 + minimist: 1.2.8 object-inspect: 1.12.3 object-is: 1.1.5 object-keys: 1.1.1 @@ -11778,7 +11947,7 @@ packages: dependencies: '@types/json5': 0.0.29 json5: 1.0.2 - minimist: 1.2.7 + minimist: 1.2.8 strip-bom: 3.0.0 dev: true @@ -11834,6 +12003,11 @@ packages: engines: {node: '>=10'} dev: true + /type-fest/0.3.1: + resolution: {integrity: sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==} + engines: {node: '>=6'} + dev: true + /type-fest/0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} @@ -11895,7 +12069,6 @@ packages: typedoc: 0.22.x || 0.23.x dependencies: typedoc: 0.23.28_typescript@4.9.5 - dev: false /typedoc/0.23.28_typescript@4.9.5: resolution: {integrity: sha512-9x1+hZWTHEQcGoP7qFmlo4unUoVJLB0H/8vfO/7wqTnZxg4kPuji9y3uRzEu0ZKez63OJAUmiGhUrtukC6Uj3w==} diff --git a/tsconfig.json b/tsconfig.json index 1e1be7206..b05856bf6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -38,7 +38,8 @@ "entryPoints": [ "packages/access-client", "packages/capabilities", - "packages/upload-client" + "packages/upload-client", + "packages/w3up-client", ], "excludeExternals": true, "darkHighlightTheme": "github-dark",