-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e530331
commit 5fef370
Showing
18 changed files
with
413 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { defineConfig } from 'tsup' | ||
|
||
export default defineConfig({ | ||
name: '@baseapp-frontend/authentication', | ||
entry: ['index.ts'], | ||
format: ['esm', 'cjs'], | ||
treeshake: false, | ||
splitting: true, | ||
dts: false, | ||
clean: true, | ||
minify: true, | ||
external: ['react', 'react-dom'], | ||
}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
'use client' | ||
|
||
export { default as withController } from './functions/form/withController' | ||
export type * from './functions/form/withController/types' | ||
export { default as useDebounce } from './hooks/useDebounce' | ||
export { default as useDjangoOrderBy } from './hooks/useDjangoOrderBy' | ||
export { default as useEventSubscription } from './hooks/useEventSubscription' | ||
export { default as useNotification } from './hooks/useNotification' | ||
export { NotificationProvider } from './hooks/useNotification' | ||
export { default as useSSR } from './hooks/useSSR' | ||
export { default as useBoolean } from './hooks/useBoolean' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
export { default as withController } from './withController' | ||
export type * from './withController/types' | ||
|
||
export * from './filterDirtyValues' | ||
export * from './getInitialValues' | ||
export * from './setFormApiErrors' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
'use client' | ||
|
||
import { useEffect, useRef } from 'react' | ||
|
||
import debounce from 'lodash/debounce' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
'use client' | ||
|
||
import { useState } from 'react' | ||
|
||
import { decamelize } from 'humps' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
{ | ||
"extends": "@baseapp-frontend/tsconfig/lib.json", | ||
"include": ["**/*.ts", "**/*.tsx", "**/*.d.ts", ".eslintrc.js", "*.js", "*.jsx", "index.d.ts"], | ||
"include": [ | ||
"**/*.ts", | ||
"**/*.tsx", | ||
"**/*.d.ts", | ||
".eslintrc.js", | ||
"*.js", | ||
"*.jsx", | ||
"index.d.ts", | ||
"index.ts", | ||
"client.ts" | ||
], | ||
"exclude": ["node_modules"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { defineConfig } from 'tsup' | ||
|
||
export default defineConfig({ | ||
name: '@baseapp-frontend/utils', | ||
entry: ['index.ts', 'client.ts'], | ||
format: ['esm', 'cjs'], | ||
treeshake: false, | ||
splitting: true, | ||
dts: false, | ||
clean: true, | ||
minify: false, | ||
external: ['react', 'react-dom'], | ||
}) |
Oops, something went wrong.