Skip to content

Commit f6fdbd2

Browse files
committed
feat(default.ts): remove deprecated default export function
Initial versions of this package provided its utility function as a default export of the module. This is no longer the case and this function was deprecated. This commit deletes the export from the module. BREAKING CHANGE: The breaking change with this update is that any codebases utilising the default export will no longer work. Please update to use the exported named function exportFunctions.
1 parent 92981bb commit f6fdbd2

File tree

4 files changed

+2
-91
lines changed

4 files changed

+2
-91
lines changed

__tests__/default.test.ts

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/default.ts

Lines changed: 0 additions & 70 deletions
This file was deleted.

src/export-functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable no-console, no-continue */
1+
/* eslint-disable no-console, no-continue, no-unused-vars */
22
import camelCase from 'camelcase';
33
import glob from 'glob';
44
import set from 'lodash.set';

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export { ExportFunctionsConfig, exportFunctions, funcNameFromRelPathDefault } from './export-functions';
2-
export { default } from './default';
1+
export * from './export-functions';

0 commit comments

Comments
 (0)