-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tools-storm-plugins-drizzle): Added support for Postgresql and t…
…able relations
- Loading branch information
1 parent
f050deb
commit bf6387b
Showing
11 changed files
with
419 additions
and
169 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 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 |
---|---|---|
|
@@ -75,7 +75,8 @@ jobs: | |
# - run: npx nx affected -t test --parallel=3 --configuration=ci --base=${{ github.event.before }} | ||
|
||
- name: Build repository packages | ||
run: pnpm nx affected -t build --parallel=3 --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} | ||
run: pnpm nx affected -t build --parallel=3 | ||
# run: pnpm nx affected -t build --parallel=3 --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }} | ||
|
||
#- name: Run Tests | ||
# uses: nick-fields/[email protected] | ||
|
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
21 changes: 20 additions & 1 deletion
21
libs/core/typescript/shared/utilities/src/common/string-fns.ts
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,22 +1,41 @@ | ||
import { dash } from "radash"; | ||
import { dash, snake } from "radash"; | ||
|
||
/** | ||
* Upper case the first character of an input string. | ||
* @example ThisIsAnExample | ||
*/ | ||
export const upperCaseFirst = (input?: string): string | undefined => { | ||
return input ? input.charAt(0).toUpperCase() + input.substr(1) : input; | ||
}; | ||
|
||
/** | ||
* Lower case the first character of an input string. | ||
* @example thisIsAnExample | ||
*/ | ||
export const lowerCaseFirst = (input?: string): string | undefined => { | ||
return input ? input.charAt(0).toLowerCase() + input.substr(1) : input; | ||
}; | ||
|
||
/** | ||
* Convert the input string to kebab case. | ||
* @example this-is-an-example | ||
*/ | ||
export const kebabCase = (input?: string): string | undefined => { | ||
return dash(input); | ||
}; | ||
|
||
/** | ||
* Convert the input string to snake case. | ||
* @example this_is_an_example | ||
*/ | ||
export const snakeCase = (input?: string): string | undefined => { | ||
return snake(input); | ||
}; | ||
|
||
/** | ||
* Convert the input string to constant case. | ||
* @example THIS_IS_AN_EXAMPLE | ||
*/ | ||
export const constantCase = (input?: string): string | undefined => { | ||
return snake(input).toUpperCase(); | ||
}; |
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
Oops, something went wrong.