Skip to content

Commit b5cea3c

Browse files
mirceanisnickreynolds
andauthoredJan 30, 2023
build: convert veramo modules to ESM instead of CommonJS (#1103)
BREAKING CHANGE: this is a breaking change as modules will have to be imported differently: * https://www.typescriptlang.org/docs/handbook/esm-node.html * https://nodejs.org/api/esm.html * https://caniuse.com/?search=modules test(did-provider-ion): skip a couple of tests that fail with unreasonable errors chore: use ubuntu-latest on CI fix: temporarily remove puppeteer tests fix: use craco for test-react-app to enable babel config test: fix unit and integration tests (browser tests still broken) fix: fix some build issues that prevented tests from working fix: missing deps flagged by pnpm build: migrate esm branch from yarn to pnpm (#1099) fix: remove schemas fix: use requireCjs for importing JSON files build: use local veramo cli in CI scripts build: fix api-extractor and schema generation scripts fix(cli): esm objectCreator fix(cli): ignore types in schema generation fix: requireCjs refactor: convert all modules to ESM Co-authored-by: nickreynolds <[email protected]>
1 parent 17a7c51 commit b5cea3c

File tree

216 files changed

+2438
-1540
lines changed

Some content is hidden

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

216 files changed

+2438
-1540
lines changed
 

‎.github/workflows/build-and-test-on-pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and Test PR
22
on: [pull_request, workflow_dispatch]
33
jobs:
44
build-test:
5-
runs-on: ubuntu-18.04
5+
runs-on: ubuntu-latest
66
services:
77
postgres:
88
image: postgres:15.1
@@ -23,7 +23,7 @@ jobs:
2323
- name: Use Node.js
2424
uses: actions/setup-node@v3
2525
with:
26-
node-version: 14
26+
node-version: 18
2727
cache: 'pnpm'
2828

2929
- run: pnpm install

‎.github/workflows/build-test-publish-on-push.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
GH_TOKEN: ${{secrets.GH_TOKEN}}
1616
GH_USER: ${{secrets.GH_USER}}
1717
GH_EMAIL: ${{secrets.GH_EMAIL}}
18-
runs-on: ubuntu-18.04
18+
runs-on: ubuntu-latest
1919
services:
2020
postgres:
2121
image: postgres:15.1
@@ -36,7 +36,7 @@ jobs:
3636
- name: Use Node.js
3737
uses: actions/setup-node@v3
3838
with:
39-
node-version: 14
39+
node-version: 18
4040
cache: 'pnpm'
4141

4242
- run: pnpm install
@@ -54,6 +54,8 @@ jobs:
5454
- name: run browser tests
5555
run: pnpm test:browser
5656

57+
- run: pnpm run docs
58+
5759
- name: setup git coordinates
5860
run: |
5961
git remote set-url origin https://uport-project:$GH_TOKEN@github.com/uport-project/veramo.git

0 commit comments

Comments
 (0)
Please sign in to comment.