Skip to content

Commit 9d58efb

Browse files
authored
v3 (#718)
1 parent cb83bb0 commit 9d58efb

File tree

638 files changed

+26952
-116906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

638 files changed

+26952
-116906
lines changed

.changeset/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ with multi-package repos, or single-package repos to help you version and publis
55
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
66

77
We have a quick list of common questions to get you started engaging with this project in
8-
[our documentation](https://github.com/changesets/changesets/blob/master/docs/common-questions.md)
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

+8-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3-
"changelog": [
4-
"@changesets/cli/changelog",
5-
{ "repo": "0xsequence/sequence.js" }
6-
],
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
74
"commit": false,
8-
"linked": [
9-
[
10-
"@0xsequence/*"
11-
]
12-
],
13-
"access": "public",
14-
"baseBranch": "master",
15-
"ignore": [],
16-
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
17-
"updateInternalDependents": "always"
18-
}
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
1911
}

.eslintignore

-2
This file was deleted.

.eslintrc.js

-50
This file was deleted.

.github/actions/install-dependencies/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runs:
1212
- name: Setup PNPM
1313
uses: pnpm/action-setup@v3
1414
with:
15-
version: 9
15+
version: 10
1616
run_install: false
1717

1818
- name: Get pnpm store directory

.github/workflows/tests.yml

+6-173
Original file line numberDiff line numberDiff line change
@@ -21,185 +21,18 @@ jobs:
2121
- run: pnpm lint
2222
- run: pnpm build
2323

24-
tests-0xsequence:
25-
name: Run 0xsequence tests
24+
tests:
25+
name: Run all tests
2626
runs-on: ubuntu-latest
2727
needs: [install]
2828
steps:
2929
- uses: actions/checkout@v4
3030
- uses: ./.github/actions/install-dependencies
31-
- run: pnpm --filter 0xsequence test
31+
- run: pnpm test
3232

33-
tests-abi:
34-
name: Run abi tests
35-
runs-on: ubuntu-latest
36-
needs: [install]
37-
steps:
38-
- uses: actions/checkout@v4
39-
- uses: ./.github/actions/install-dependencies
40-
- run: pnpm --filter abi test
41-
42-
test-account:
43-
name: Run account tests
44-
runs-on: ubuntu-latest
45-
needs: [install]
46-
steps:
47-
- uses: actions/checkout@v4
48-
- uses: ./.github/actions/install-dependencies
49-
- run: pnpm --filter account test
50-
51-
tests-api:
52-
name: Run api tests
53-
runs-on: ubuntu-latest
54-
needs: [install]
55-
steps:
56-
- uses: actions/checkout@v4
57-
- uses: ./.github/actions/install-dependencies
58-
- run: pnpm --filter api test
59-
60-
tests-auth:
61-
name: Run auth tests
62-
runs-on: ubuntu-latest
63-
needs: [install]
64-
steps:
65-
- uses: actions/checkout@v4
66-
- uses: ./.github/actions/install-dependencies
67-
- run: pnpm --filter auth test
68-
69-
tests-core:
70-
name: Run core tests
71-
runs-on: ubuntu-latest
72-
needs: [install]
73-
steps:
74-
- uses: actions/checkout@v4
75-
- uses: ./.github/actions/install-dependencies
76-
- run: pnpm --filter core test
77-
78-
tests-deployer:
79-
name: Run deployer tests
80-
runs-on: ubuntu-latest
81-
needs: [install]
82-
steps:
83-
- uses: actions/checkout@v4
84-
- uses: ./.github/actions/install-dependencies
85-
- run: pnpm --filter deployer test
86-
87-
tests-guard:
88-
name: Run guard tests
89-
runs-on: ubuntu-latest
90-
needs: [install]
91-
steps:
92-
- uses: actions/checkout@v4
93-
- uses: ./.github/actions/install-dependencies
94-
- run: pnpm --filter guard test
95-
96-
tests-indexer:
97-
name: Run indexer tests
98-
runs-on: ubuntu-latest
99-
needs: [install]
100-
steps:
101-
- uses: actions/checkout@v4
102-
- uses: ./.github/actions/install-dependencies
103-
- run: pnpm --filter indexer test
104-
105-
tests-metadata:
106-
name: Run metadata tests
107-
runs-on: ubuntu-latest
108-
needs: [install]
109-
steps:
110-
- uses: actions/checkout@v4
111-
- uses: ./.github/actions/install-dependencies
112-
- run: pnpm --filter metadata test
113-
114-
tests-migration:
115-
name: Run migrations tests
116-
runs-on: ubuntu-latest
117-
needs: [install]
118-
steps:
119-
- uses: actions/checkout@v4
120-
- uses: ./.github/actions/install-dependencies
121-
- run: pnpm --filter migration test
122-
123-
tests-network:
124-
name: Run network tests
125-
runs-on: ubuntu-latest
126-
needs: [install]
127-
steps:
128-
- uses: actions/checkout@v4
129-
- uses: ./.github/actions/install-dependencies
130-
- run: pnpm --filter network test
131-
132-
tests-provider:
133-
name: Run provider tests
134-
runs-on: ubuntu-latest
135-
needs: [install]
136-
steps:
137-
- uses: actions/checkout@v4
138-
- uses: ./.github/actions/install-dependencies
139-
- run: pnpm --filter provider test
140-
141-
tests-relayer:
142-
name: Run relayer tests
143-
runs-on: ubuntu-latest
144-
needs: [install]
145-
steps:
146-
- uses: actions/checkout@v4
147-
- uses: ./.github/actions/install-dependencies
148-
- run: pnpm --filter relayer test
149-
150-
tests-replacer:
151-
name: Run replacer tests
152-
runs-on: ubuntu-latest
153-
needs: [install]
154-
steps:
155-
- uses: actions/checkout@v4
156-
- uses: ./.github/actions/install-dependencies
157-
- run: pnpm --filter replacer test
158-
159-
tests-sessions:
160-
name: Run sessions tests
161-
runs-on: ubuntu-latest
162-
needs: [install]
163-
steps:
164-
- uses: actions/checkout@v4
165-
- uses: ./.github/actions/install-dependencies
166-
- run: pnpm --filter sessions test
167-
168-
tests-signhub:
169-
name: Run signhub tests
170-
runs-on: ubuntu-latest
171-
needs: [install]
172-
steps:
173-
- uses: actions/checkout@v4
174-
- uses: ./.github/actions/install-dependencies
175-
- run: pnpm --filter signhub test
176-
177-
tests-utils:
178-
name: Run utils tests
179-
runs-on: ubuntu-latest
180-
needs: [install]
181-
steps:
182-
- uses: actions/checkout@v4
183-
- uses: ./.github/actions/install-dependencies
184-
- run: pnpm --filter utils test
185-
186-
tests-waas:
187-
name: Run waas tests
188-
runs-on: ubuntu-latest
189-
needs: [install]
190-
steps:
191-
- uses: actions/checkout@v4
192-
- uses: ./.github/actions/install-dependencies
193-
- run: pnpm --filter waas test
194-
195-
tests-wallet:
196-
name: Run wallet tests
197-
runs-on: ubuntu-latest
198-
needs: [install]
199-
steps:
200-
- uses: actions/checkout@v4
201-
- uses: ./.github/actions/install-dependencies
202-
- run: pnpm --filter wallet test
33+
# NOTE: if you'd like to see example of how to run
34+
# tests per package in parallel, see 'v2' branch
35+
# .github/workflows/tests.yml
20336

20437
# coverage:
20538
# name: Run coverage

.gitignore

+33-18
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,41 @@
1-
# See https://help.github.com/ignore-files/ for more about ignoring files.
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

3-
node_modules/
4-
cache/
5-
build/
6-
dist/
3+
# Dependencies
4+
node_modules
5+
.pnp
6+
.pnp.js
77

8-
test_chain/
8+
# Local env files
9+
.env
10+
.env.local
11+
.env.development.local
12+
.env.test.local
13+
.env.production.local
914

10-
*.js.map
11-
PROD.env
12-
13-
.DS_Store
14-
.vscode
15-
.idea
16-
*.iml
17-
.cache
18-
package-lock.json
15+
# Testing
1916
coverage
20-
.rts2_cache*
2117

18+
# Turbo
19+
.turbo
20+
21+
# Vercel
22+
.vercel
23+
24+
# Build Outputs
25+
.next/
26+
out/
27+
build
28+
dist
29+
30+
31+
# Debug
32+
npm-debug.log*
2233
yarn-debug.log*
2334
yarn-error.log*
24-
lerna-debug.log*
2535

26-
.nyc_output/
36+
# Misc
37+
.DS_Store
38+
*.pem
39+
40+
# Husky
41+
.husky/

.nycrc

-26
This file was deleted.

.prettierrc

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{
2-
"tabWidth": 2,
3-
"useTabs": false,
2+
"printWidth": 120,
43
"semi": false,
5-
"singleQuote": true,
6-
"trailingComma": "none",
7-
"arrowParens": "avoid",
8-
"printWidth": 130
4+
"singleQuote": true
95
}

0 commit comments

Comments
 (0)