Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Jul 27, 2024
1 parent f70d2fc commit 0226ea2
Show file tree
Hide file tree
Showing 13 changed files with 2,944 additions and 8,916 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "CIPs"]
path = CIPs
url = https://github.com/cardano-foundation/CIPs
branch = NetworkRegistry
branch = master
2 changes: 1 addition & 1 deletion CIPs
Submodule CIPs updated 303 files
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ const { networkId, networkMagic } = fromChainId(chainId);

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.

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

14 changes: 12 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,15 @@ module.exports = {
transform: {'^.+\\.ts?$': 'ts-jest'},
testEnvironment: 'node',
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node']
};
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
extensionsToTreatAsEsm: ['.ts'],
transform: {
'^.+\\.ts$': ['ts-jest', { useESM: true, }],
},
transformIgnorePatterns: [
'<rootDir>/node_modules/',
],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
};
Loading

0 comments on commit 0226ea2

Please sign in to comment.