Skip to content

Commit

Permalink
Add worktrees extension (raycast#6867)
Browse files Browse the repository at this point in the history
* Add worktrees extension

- Make starting branch configurable
- Prepare for publish
- Update eslint config
- Move hook to component
- Add command to create new worktree
- Only replace ~/
- Document unnecessary eslint-disable
- Make terminal and editor configurable
- Use fd when possible
- Display error message
- Add confirmation toast
- Ignore the main worktree
- Parse porcelain format
- Raycast extension for managing git worktrees
- Update dependencies
- Migrate to latest
- Fix package name
- Remove superjson dependency
- Fix useEffect dependencies
- Merge pull request raycast#10 from canac/dependabot/npm_and_yarn/journal/electron-and-react-devtools-23.2.4
- Merge pull request raycast#9 from canac/dependabot/npm_and_yarn/bible/electron-and-react-devtools-23.2.4
- Bump electron and react-devtools in /journal
- Bump electron and react-devtools in /bible
- Merge pull request raycast#8 from canac/dependabot/npm_and_yarn/bible/node-fetch-3.2.10
- Merge pull request raycast#6 from canac/dependabot/npm_and_yarn/bible/http-cache-semantics-4.1.1
- Merge pull request raycast#7 from canac/dependabot/npm_and_yarn/bible/ansi-regex-3.0.1
- Merge pull request raycast#5 from canac/dependabot/npm_and_yarn/bible/minimist-1.2.8
- Bump node-fetch from 3.2.0 to 3.2.10 in /bible
- Bump ansi-regex from 3.0.0 to 3.0.1 in /bible
- Bump http-cache-semantics from 4.1.0 to 4.1.1 in /bible
- Bump minimist from 1.2.5 to 1.2.8 in /bible
- Add BibleGateway scraper
- Improve journal extension metadata
- Run prettier
- Merge pull request raycast#4 from canac/dependabot/npm_and_yarn/journal/minimatch-3.1.2
- Bump minimatch from 3.0.4 to 3.1.2 in /journal
- Merge pull request raycast#3 from canac/dependabot/npm_and_yarn/journal/http-cache-semantics-4.1.1
- Bump http-cache-semantics from 4.1.0 to 4.1.1 in /journal
- Merge pull request raycast#2 from canac/dependabot/npm_and_yarn/journal/ansi-regex-3.0.1
- Bump ansi-regex from 3.0.0 to 3.0.1 in /journal
- Merge pull request #1 from canac/dependabot/npm_and_yarn/journal/minimist-1.2.6
- Bump minimist from 1.2.5 to 1.2.6 in /journal
- Keep Raycast open after choosing a tag
- Clear the tag search after choosing a tag
- Journal Raycast extension
- Initial commit

* Add screenshots

* optimize metadata

* Update worktrees extension

- Merge branch 'contributions/merge-1686342399257255000'
- Pull contributions
- Refactor to use useForm

* Handle zero worktrees

* Add empty list view

* Completely hide summary

* Add changelog

---------

Co-authored-by: Per Nielsen Tikær <per@raycast.com>
  • Loading branch information
canac and pernielsentikaer committed Jul 7, 2023
1 parent 970fca8 commit bcbb02e
Show file tree
Hide file tree
Showing 13 changed files with 4,082 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/worktrees/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
10 changes: 10 additions & 0 deletions extensions/worktrees/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts

# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/worktrees/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
5 changes: 5 additions & 0 deletions extensions/worktrees/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Worktrees Changelog

## [Initial release] - 2023-07-06

- Add worktrees extension
Binary file added extensions/worktrees/assets/command-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/worktrees/metadata/worktrees-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/worktrees/metadata/worktrees-2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bcbb02e

Please sign in to comment.