Skip to content

Commit

Permalink
Add jetpack-commands extension (#9569)
Browse files Browse the repository at this point in the history
* Add jetpack-commands extension

- Update list of commands screenshot on Readme
- Hosting Command Palette: Prepare metadata and screenshots for submission to the store (#38)
- Fix commands title case to make the linter happier
- Hosting Command Palette: Use extension name as ref for new URLs (#37)
- Fixes grammar error in the description and subtitle of the command (#34)
- Fixes project title to use the right capitalization (#36)
- Hosting Command Palette: Add cache action commands on Raycast (#31)
- Hosting Command Palette: Add more site management commands (#29)
- Hosting Command Palette: Add keywords for each command (#28)
- Hosting Command Palette: Add \'Open Jetpack Scan\' and \'Open Jetpack Social\' (#26)
- Hosting Command Palette: Use Jetpack Cloud for Activity and Backup (#24)
- Hosting Command Palette: Fix command description at root (#32)
- Fix linting issue
- Hosting Command Palette: After selecting a command that opens a web page, the list of sites is empty (#22)
- Hosting Command Palette: Add \'Open Reader\' command (#23)
- Fix linting failure (#25)
- Hosting Command Palette: Add \'View media uploads\' command to Raycast (#20)
- Hosting command Palette: Add url to label (#21)
- Hosting Command Palette: Switch oAuth provider back to \'WordPress.com\' (#19)
- Hosting Command Palette: Change the package.json author  (#13)
- Hosting Command Palette: Fix site item styling (#9)
- Hosting Command Palette: Tweak oAuth connection strings (#17)
- Hosting Command Palette: Fix JP product name (#18)
- Hosting Command Palette: Register additional site management commands for Raycast (#15)
- Add a PULL_REQUEST_TEMPLATE (#14)
- Hosting Command Palette: Apply WordPress.com branding to WordPress.com-specific commands (#12)
- Hosting Command Paltte: Fix lint errors (#11)
- Hosting Command Palette: Navigate to root after site command (#8)
- Hosting Command Pallette: Add navigational commands (#7)
- Hosting Command Palette: Add ssh commands (#5)
- Hosting Command Palette: Add OAuth support (#3)
- Hosting Command Palette: Add running locally docs (#4)
- Hosting Command Pallete: Update the name of the extension (#2)
- Prototype: minor refactor (#1)
- Initial commit using the code from Raycast exploration
- Initial commit

* Using images from metadata

* Update package.json

* Update CHANGELOG.md and optimise images

---------

Co-authored-by: Per Nielsen Tikær <per@raycast.com>
Co-authored-by: raycastbot <bot@raycast.com>
  • Loading branch information
3 people committed Dec 13, 2023
1 parent 8653eff commit 1512ddf
Show file tree
Hide file tree
Showing 76 changed files with 6,775 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/jetpack-commands/.eslintrc.json
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
10 changes: 10 additions & 0 deletions extensions/jetpack-commands/.gitignore
@@ -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/jetpack-commands/.prettierrc
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
5 changes: 5 additions & 0 deletions extensions/jetpack-commands/CHANGELOG.md
@@ -0,0 +1,5 @@
# Jetpack Commands Changelog

## [Initial Version] - 2023-12-05

- Jetpack Commands extension added to the Raycast Store.
33 changes: 33 additions & 0 deletions extensions/jetpack-commands/README.md
@@ -0,0 +1,33 @@
# Jetpack Commands Raycast Extension

## Authentication

The Jetpack Commands Raycast Extension authenticates with the [WordPress.com](https://wordpress.com) API to retrieve information about your sites. Each site must also have an active Jetpack connection.

When you first run a command, you'll need to connect to WordPress.com in through your web browser. Once you've connected, Raycast will store the oAuth token for future requests.

![Jetpack Commands OAuth Screenshot](metadata/jetpack-commands-2.png)

## Running Jetpack Commands locally

In order to run Jetpack Commands Raycast Extension locally, you'll need to have the following installed:

1. [Raycast](https://raycast.com/)
2. [Node.js](https://nodejs.org/)

Once you have Raycast and Node installed, you can run the following command to install the project's dependencies:

```bash
npm install
```

To run the extension locally, you can run the following command:

```bash
npm run dev
```

After running the command above, you should see the new commands listed under the "Developer" section of command list in Raycast.
The extension will automatically reload if you make any changes to the code.

![Jetpack Commands Screenshot](metadata/jetpack-commands-1.png)
12 changes: 12 additions & 0 deletions extensions/jetpack-commands/assets/comman-palette-loading.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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/jetpack-commands/assets/wpcom-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 1512ddf

Please sign in to comment.