This file contains hidden or 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
| import type { FileInfo, API, ASTNode } from 'jscodeshift' | |
| export default function transformer(file: FileInfo, api: API) { | |
| const j = api.jscodeshift | |
| const root = j(file.source) | |
| // Walk the AST, extract information about each file, and persist that information somewhere | |
| return | |
| } |
This file contains hidden or 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
| # Fn to pull git branch from remote when not checked out | |
| pull_branch() { | |
| branch=${1:-main} | |
| git fetch origin "$branch":"$branch" | |
| } | |
| # Fn to create git worktrees quickly | |
| # | |
| # It accepts three parameters: | |
| # - A branch name to create the worktree for (required) |
This file contains hidden or 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
| import type { RsbuildPlugin } from '@rsbuild/core' | |
| export function pluginCopyManifest({ | |
| gitSha, | |
| }: { | |
| gitSha: string | |
| }): RsbuildPlugin { | |
| return { | |
| name: 'my-project:copy-manifest', |
This file contains hidden or 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
| ########################################################################################### | |
| # | |
| # Intake Formset | |
| # | |
| ########################################################################################### | |
| submission_save_path: _forms/intake/ | |
| filename_format: "{{ slug }}-{{ year }}{{ month }}{{ day }}-{{ hour }}{{ minute }}-{{ second }}" |
This file contains hidden or 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
| /* | |
| |-------------------------------------------------------------------------- | |
| | Hook: Modify Submission | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Allow submission modification by other add-ons with the ability to manipulate | |
| | content of the submission. Has access to the success and config. | |
| | | |
| */ |
This file contains hidden or 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
| <div class="social-media"> | |
| facebook: https://www.facebook.com/acmecorp | |
| twitter: https://twitter/acmecorp | |
| tumblr: https://www.tumblr.com/acmecorp | |
| instagram: http://www.youtube.com/acmecorp | |
| urbanspoon: http://www.urbanspoon.com/acmecorp | |
| linkedin: https://www.linkedin.com/acmecorp | |
| pinterest: https://www.pinterest.com/acmecorp | |
| youtube: https://foursquare.com/acmecorp | |
| foursquare: https://foursquare.com/acmecorp |