Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nx! #1617

Closed
wants to merge 151 commits into from
Closed

Nx! #1617

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
0f797ed
chore: package renames
alanshaw Nov 1, 2024
ac49094
revert: renames for web3.storage capabilities
alanshaw Nov 1, 2024
ffcd9c7
feat: wip router
alanshaw Nov 1, 2024
9b16598
feat: progress on blob/add handler
alanshaw Nov 1, 2024
c747f49
refactor: tweak selection method name
alanshaw Nov 1, 2024
6b0d72d
fix: upload API test fixes
alanshaw Nov 4, 2024
b179910
fix: tests
alanshaw Nov 4, 2024
d89a2a1
chor: appease formatter
alanshaw Nov 4, 2024
6a4d1f3
chore: lockfile update
alanshaw Nov 4, 2024
b035b6d
chore: fix ci
alanshaw Nov 4, 2024
0e77fde
fix: warnings
alanshaw Nov 4, 2024
edfd929
docs: redo rename undo
alanshaw Nov 4, 2024
689904e
fix: reset bucket after use
alanshaw Nov 4, 2024
ae0508c
refactor: storage node service
alanshaw Nov 4, 2024
c810735
feat: router (#11)
alanshaw Nov 5, 2024
d59ec88
feat: remove store protocol
alanshaw Nov 5, 2024
e60c74d
chore: remove unused dependency
alanshaw Nov 5, 2024
cad14ad
chore: attw
alanshaw Nov 5, 2024
f4f5f5a
chore: formatter
alanshaw Nov 5, 2024
0028049
feat: remove store protocol (#13)
alanshaw Nov 5, 2024
2f7ab28
chore(main): release did-mailto 1.0.0 (#7)
github-actions[bot] Nov 5, 2024
1c0902d
chore(main): release capabilities 1.0.0 (#16)
github-actions[bot] Nov 5, 2024
cdf6737
fix: bootstrap sha
alanshaw Nov 5, 2024
e089f6d
chore(main): release did-mailto 1.0.0 (#23)
github-actions[bot] Nov 5, 2024
defe3bc
chore(main): release capabilities 1.0.0 (#27)
github-actions[bot] Nov 5, 2024
ac3c18f
chore(main): release upload-client 1.0.0 (#25)
github-actions[bot] Nov 5, 2024
5c10938
chore(main): release client 1.0.0 (#26)
github-actions[bot] Nov 5, 2024
f3763a1
chore(main): release upload-api 1.0.0 (#24)
github-actions[bot] Nov 5, 2024
6fc4311
fix: record upload add cause (#28)
alanshaw Nov 5, 2024
4c094ed
chore(main): release upload-api 1.0.1 (#29)
github-actions[bot] Nov 5, 2024
b10046b
fix: re-export all blob types (#30)
alanshaw Nov 5, 2024
2ebf4dc
chore(main): release upload-api 1.0.2 (#32)
github-actions[bot] Nov 5, 2024
726ca23
fix: export blob errors (#33)
alanshaw Nov 5, 2024
9151bf8
chore(main): release upload-api 1.0.3 (#34)
github-actions[bot] Nov 5, 2024
cb473c5
fix: invocation config does not extend ucan options
alanshaw Nov 6, 2024
4704ebb
chore(main): release upload-api 1.0.4 (#35)
github-actions[bot] Nov 6, 2024
2a2eb0c
feat: export test external service implementations
alanshaw Nov 7, 2024
1f8973f
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 7, 2024
3726338
chore(main): release upload-api 1.1.0 (#36)
github-actions[bot] Nov 7, 2024
8c10e95
fix: export Subscription type
alanshaw Nov 7, 2024
26c3b92
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 7, 2024
7ab84ab
chore(main): release upload-api 1.1.1 (#37)
github-actions[bot] Nov 7, 2024
9deef57
fix: ensure idempotent
alanshaw Nov 8, 2024
87f31a1
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 8, 2024
4d263c7
chore(main): release upload-api 1.1.2 (#38)
github-actions[bot] Nov 8, 2024
6eba88d
fix: encode space DID as bytes in blob caveats (#41)
alanshaw Nov 12, 2024
112720e
feat: add CLI (#39)
alanshaw Nov 12, 2024
3f3452a
chore(main): release capabilities 1.0.1 (#42)
github-actions[bot] Nov 12, 2024
36d631d
Update release-please-config.json
alanshaw Nov 12, 2024
64f2b2f
chore(main): release capabilities 1.1.1 (#49)
github-actions[bot] Nov 12, 2024
fe6038c
fix: trigger release
alanshaw Nov 12, 2024
5418605
chore(main): release upload-api 1.1.3 (#50)
github-actions[bot] Nov 12, 2024
3fc3fc2
fix: trigger release
alanshaw Nov 12, 2024
da48011
chore(main): release cli 1.0.0 (#51)
github-actions[bot] Nov 12, 2024
9d3659e
fix: consume response body
alanshaw Nov 12, 2024
b7ec852
chore(main): release upload-client 1.0.1 (#52)
github-actions[bot] Nov 12, 2024
2e452c0
fix: use configured receipts endpoint
alanshaw Nov 12, 2024
dd67088
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 12, 2024
aaa1098
docs: add logo
alanshaw Nov 12, 2024
695322a
docs: badgers
alanshaw Nov 12, 2024
f740119
chore: format
alanshaw Nov 12, 2024
28a1d9a
chore(main): release client 1.0.1 (#55)
github-actions[bot] Nov 12, 2024
7ce123b
feat: add script for creating delegations (#40)
alanshaw Nov 13, 2024
f0f9a56
fix: trigger release
alanshaw Nov 13, 2024
8a1aea5
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 13, 2024
2e58280
chore(main): release cli 1.0.1 (#54)
github-actions[bot] Nov 13, 2024
5506c11
fix: jsdoc
alanshaw Nov 13, 2024
39d4a1b
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 13, 2024
40ebc05
chore: prettier
alanshaw Nov 20, 2024
11e34b4
fix: thanks prettier
alanshaw Nov 20, 2024
5936999
docs: receipts URL
alanshaw Nov 21, 2024
cc09933
fix: Fix type references
Peeja Nov 26, 2024
10e6c7d
fix: Fix type references (#57)
Peeja Nov 27, 2024
f4ad873
chore(main): release client 1.0.2
github-actions[bot] Nov 27, 2024
eaa5572
chore(main): release client 1.0.2 (#58)
Peeja Nov 27, 2024
7185046
fix: compatibility with legacy w3up client (#59)
alanshaw Nov 27, 2024
8de8c08
chore(main): release upload-api 1.1.4 (#61)
github-actions[bot] Nov 27, 2024
733ff7a
fix: try remove bootstrap sha
alanshaw Nov 27, 2024
139afff
chore: trigger release
alanshaw Nov 27, 2024
b6f9c46
chore(main): release upload-api 1.1.5 (#68)
github-actions[bot] Nov 27, 2024
577f525
fix: upgrade release please
alanshaw Nov 27, 2024
986f011
Merge branch 'main' of github.com:storacha/upload-service
alanshaw Nov 27, 2024
f4e2d26
fix: more config fix
alanshaw Nov 27, 2024
1e10042
chore: trigger release
alanshaw Nov 27, 2024
e0818a1
chore(main): release upload-api 1.1.6 (#76)
github-actions[bot] Nov 27, 2024
8f86297
chore: trigger release
alanshaw Nov 27, 2024
3234132
chore(main): release upload-api 1.1.7 (#77)
github-actions[bot] Nov 27, 2024
949b84a
fix: overflow slices (#1595)
alanshaw Nov 29, 2024
b0ccad7
chore(main): release client 1.0.3
github-actions[bot] Nov 29, 2024
7c336f2
chore(main): release client 1.0.3 (#79)
Peeja Nov 29, 2024
affd40f
Revert "chore(main): release client 1.0.3"
Peeja Nov 29, 2024
2f354c4
chore: Revert "chore(main): release client 1.0.3" (#84)
Peeja Nov 29, 2024
17ff92b
chore(main): release client 1.0.3
github-actions[bot] Nov 29, 2024
0ea3a80
chore(main): release client 1.0.3 (#85)
Peeja Nov 29, 2024
d341dfa
fix: update release please config
BravoNatalie Dec 2, 2024
2c33127
fix: update release please config (#86)
Peeja Dec 2, 2024
cbdd49f
chore(main): release client 1.0.4
github-actions[bot] Dec 2, 2024
16e35b5
chore(main): release client 1.0.4 (#87)
Peeja Dec 2, 2024
4ec13fa
build: Empty commit to get Release Please to run
Peeja Dec 2, 2024
d9a0652
build: Empty commit to get Release Please to run (#88)
Peeja Dec 2, 2024
05444ef
chore: Trigger release
Peeja Dec 2, 2024
36be4bf
chore: Trigger release (#94)
Peeja Dec 2, 2024
cc92859
chore(main): release client 1.0.5
github-actions[bot] Dec 2, 2024
6a6d2e5
chore(main): release client 1.0.5 (#95)
Peeja Dec 2, 2024
af0183c
chore(main): release filecoin-api 1.0.0
github-actions[bot] Dec 2, 2024
4e2de50
chore(main): release filecoin-api 1.0.0 (#93)
Peeja Dec 2, 2024
633d93b
chore(main): release filecoin-client 1.0.0
github-actions[bot] Dec 2, 2024
cb784be
chore(main): release filecoin-client 1.0.0 (#91)
Peeja Dec 2, 2024
7836dc4
fix: retry when PUT request fails (#1601)
alanshaw Dec 5, 2024
98ab50c
fix(egress/record): rename capability (#1572)
fforbeck Nov 5, 2024
1870202
fix(egressRecord): Remove unnecessary multiplication for ts conversio…
fforbeck Nov 22, 2024
df8b9a2
fix(egress/record): rename capability (#1572) (#97)
fforbeck Dec 12, 2024
79ac1ab
fix(egress/record): Remove unnecessary multiplication for ts conversi…
fforbeck Dec 12, 2024
c1cabb8
chore(main): release client 1.0.6
github-actions[bot] Dec 12, 2024
aafd1fc
chore(main): release capabilities 1.1.2
github-actions[bot] Dec 12, 2024
3b7dc50
chore(main): release upload-api 1.1.8
github-actions[bot] Dec 12, 2024
92716cf
chore(main): release capabilities 1.1.2 (#101)
fforbeck Dec 12, 2024
ed80fd4
Merge branch 'main' into release-please--branches--main--components--…
fforbeck Dec 12, 2024
8e203eb
chore(main): release upload-api 1.1.8 (#102)
fforbeck Dec 12, 2024
aec53e7
chore(main): release upload-api 1.1.8
github-actions[bot] Dec 12, 2024
5587b50
chore(main): release client 1.0.6 (#100)
fforbeck Dec 12, 2024
27cb383
chore(main): release client 1.0.6
github-actions[bot] Dec 12, 2024
e71494a
chore(main): release upload-api 1.1.8 (#103)
fforbeck Dec 12, 2024
07f27a2
chore(main): release client 1.0.6 (#104)
fforbeck Dec 12, 2024
6cbb202
feat: content serve authorization (#1590) + set default gateway (#99)
fforbeck Dec 19, 2024
671a411
chore(capabilities): top level filecoin cap (#105)
fforbeck Dec 19, 2024
f093beb
chore(main): release capabilities 1.2.0 (#110)
github-actions[bot] Dec 19, 2024
9217628
chore(main): release blob-index 1.0.0 (#89)
github-actions[bot] Dec 19, 2024
5eda88d
chore(main): release did-mailto 1.0.1 (#111)
github-actions[bot] Dec 19, 2024
46c5236
chore(main): release filecoin-api 1.1.0 (#109)
github-actions[bot] Dec 19, 2024
658824e
chore(main): release filecoin-client 1.0.1 (#107)
github-actions[bot] Dec 19, 2024
9baa4ca
chore(main): release access 1.0.0 (#90)
github-actions[bot] Dec 19, 2024
8377c4c
chore(main): release upload-api 1.2.0 (#106)
github-actions[bot] Dec 19, 2024
5e93eff
chore(main): release upload-client 1.0.2 (#92)
github-actions[bot] Dec 19, 2024
dcb1006
chore(main): release client 1.1.0 (#108)
github-actions[bot] Dec 19, 2024
8f2ab87
chore(main): release cli 1.1.0 (#112)
github-actions[bot] Dec 19, 2024
5eec331
fix(w3up-client): create space options (#113)
fforbeck Dec 19, 2024
54cc5a6
chore(main): release client 1.1.1 (#114)
github-actions[bot] Dec 19, 2024
3719670
fix(w3up-client): authorize agent to use space (#115)
fforbeck Dec 20, 2024
3ad8fc0
chore(main): release client 1.1.2 (#116)
github-actions[bot] Dec 20, 2024
1390106
feat: add legacy handlers (#117)
alanshaw Jan 15, 2025
d86e52c
chore: sync with w3up repo (#119)
fforbeck Jan 16, 2025
c857d9a
chore(main): release upload-client 1.0.3 (#121)
github-actions[bot] Jan 20, 2025
ed1c969
chore(main): release upload-api 1.3.0 (#118)
github-actions[bot] Jan 20, 2025
2974043
chore(main): release client 1.1.3 (#122)
github-actions[bot] Jan 20, 2025
157f93c
fix: clarify license
alanshaw Jan 20, 2025
6d54400
chore(main): release upload-api 1.3.1 (#123)
github-actions[bot] Jan 20, 2025
90e71d6
Add Nx
Peeja Jan 27, 2025
bc204a1
Tests run through Nx
Peeja Jan 28, 2025
02b6b50
Address linter
Peeja Jan 28, 2025
dc85389
Use Nx for CI
Peeja Jan 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .attw.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"ignoreRules": ["cjs-resolves-to-esm"]
"ignoreRules": ["cjs-resolves-to-esm"],
"excludeEntrypoints": ["browser.min.js"]
}
4 changes: 3 additions & 1 deletion .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"release-type": "node",
"include-component-in-tag": true,
"separate-pull-requests": true,
"bootstrap-sha": "c918ffc59eafa01fbc63d5df11ba621cc1888c64",
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Fixes", "hidden": false },
Expand All @@ -9,6 +10,7 @@
"packages": {
"packages/access-client": {},
"packages/blob-index": {},
"packages/cli": {},
"packages/filecoin-api": {},
"packages/filecoin-client": {},
"packages/capabilities": {},
Expand Down
19 changes: 10 additions & 9 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"packages/access-client": "20.1.0",
"packages/blob-index": "1.0.4",
"packages/filecoin-api": "7.3.2",
"packages/filecoin-client": "3.3.4",
"packages/capabilities": "17.4.0",
"packages/upload-api": "18.1.0",
"packages/upload-client": "17.1.0",
"packages/w3up-client": "16.4.0",
"packages/did-mailto": "2.0.2"
"packages/access-client": "1.0.0",
"packages/blob-index": "1.0.0",
"packages/cli": "1.1.0",
"packages/filecoin-api": "1.1.0",
"packages/filecoin-client": "1.0.1",
"packages/capabilities": "1.2.0",
"packages/upload-api": "1.3.1",
"packages/upload-client": "1.0.3",
"packages/w3up-client": "1.1.3",
"packages/did-mailto": "1.0.1"
}
40 changes: 0 additions & 40 deletions .github/workflows/access-client.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/blob-index.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/capabilities.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on:
push:
branches:
- main
pull_request:

# Needed for nx-set-shas when run on the main branch
permissions:
actions: read
contents: read

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Fetch full history so `nx affected` can determine what to run
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: 'pnpm'
- name: Install dependencies
run: pnpm install

# Set the base and head that `nx affected` will use
- uses: nrwl/nx-set-shas@v4

# Run CI tasks over all affected projects
- run: npx nx affected -t typecheck lint build test depcheck attw
37 changes: 0 additions & 37 deletions .github/workflows/did-mailto.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/filecoin-api.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/filecoin-client.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r --filter @web3-storage/access build
- run: pnpm -r --filter @web3-storage/access run rc || true # this fails because npm does not support workspace protocol so we force it to exit 0
- run: pnpm -r --filter @storacha/access build
- run: pnpm -r --filter @storacha/access run rc || true # this fails because npm does not support workspace protocol so we force it to exit 0
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore(access): Bump access sdk pre release version'
- run: pnpm -r --filter @web3-storage/access publish --tag next --access public
- run: pnpm -r --filter @storacha/access publish --tag next --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
deploy-upload-client:
Expand All @@ -57,11 +57,11 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install
- run: pnpm -r --filter @web3-storage/upload-client build
- run: pnpm -r --filter @web3-storage/upload-client run rc || true # this fails because npm does not support workspace protocol so we force it to exit 0
- run: pnpm -r --filter @storacha/upload-client build
- run: pnpm -r --filter @storacha/upload-client run rc || true # this fails because npm does not support workspace protocol so we force it to exit 0
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore(client): Bump client pre release version'
- run: pnpm -r --filter @web3-storage/upload-client publish --tag next --access public
- run: pnpm -r --filter @storacha/upload-client publish --tag next --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,18 @@ jobs:
outputs:
paths_released: ${{ steps.release.outputs.paths_released }}
steps:
- uses: google-github-actions/release-please-action@v3
- uses: googleapis/release-please-action@v4
id: release
with:
command: manifest
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
default-branch: main
release-type: node
npm:
needs: release
if: |
contains(fromJson(needs.release.outputs.paths_released), 'packages/access-client') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/blob-index') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/capabilities') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/cli') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/did-mailto') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-client') ||
contains(fromJson(needs.release.outputs.paths_released), 'packages/upload-api') ||
Expand Down
Loading
Loading