Skip to content

Commit 0226ea2

Browse files
2.0.0
1 parent f70d2fc commit 0226ea2

13 files changed

+2944
-8916
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "CIPs"]
22
path = CIPs
33
url = https://github.com/cardano-foundation/CIPs
4-
branch = NetworkRegistry
4+
branch = master

CIPs

Submodule CIPs updated 303 files

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,8 @@ const { networkId, networkMagic } = fromChainId(chainId);
3535

3636
The current status of the registry is tracked inside the CIP repository. To keep things in sync, this project uses the CIP repo as a git submodule.
3737

38-
To use the latest version of the registry, simply run `npm run update-submodule`.
38+
To use the latest version of the registry,
39+
1. `git submodule init`
40+
2. `git submodule update`
41+
3. (whenever you want to update afterwards) `npm run update-submodule`
42+

jest.config.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,15 @@ module.exports = {
22
transform: {'^.+\\.ts?$': 'ts-jest'},
33
testEnvironment: 'node',
44
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
5-
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
6-
};
5+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
6+
extensionsToTreatAsEsm: ['.ts'],
7+
transform: {
8+
'^.+\\.ts$': ['ts-jest', { useESM: true, }],
9+
},
10+
transformIgnorePatterns: [
11+
'<rootDir>/node_modules/',
12+
],
13+
moduleNameMapper: {
14+
'^(\\.{1,2}/.*)\\.js$': '$1',
15+
},
16+
};

0 commit comments

Comments
 (0)