chore: export config constants and refactor exports#2308
Conversation
|
|
| }; | ||
| }); | ||
|
|
||
| vi.mock('node:fs', async () => { |
There was a problem hiding this comment.
It wasn't needed at all.
| export * from './load.js'; | ||
| export * from './utils.js'; | ||
| export * from './config-resolvers.js'; | ||
| export * from './constants.js'; |
There was a problem hiding this comment.
Exporting it explicitly in the index file: https://github.com/Redocly/redocly-cli/pull/2308/files#diff-9a4ceebe7c6f86856371906c3f061d3b56b7457022b05179884a113e7ced67e8R42
| @@ -1,6 +1,4 @@ | |||
| export { | |||
There was a problem hiding this comment.
Mostly moving exports around. No real changes here.
7227e85 to
c8ce059
Compare
What/Why/How?
new Configin the code (it's going to be exported only as a type)Check yourself
Security