Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit be4c486

Browse files
committed
canary --> main
1 parent 341fdf8 commit be4c486

File tree

11 files changed

+19
-20
lines changed

11 files changed

+19
-20
lines changed

.github/workflows/assertions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Assertions
22

33
on:
44
pull_request:
5-
branches: canary
5+
branches: main
66

77
workflow_dispatch:
88

.github/workflows/chromatic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Chromatic
22

33
on:
44
pull_request:
5-
branches: canary
5+
branches: main
66

77
workflow_dispatch:
88

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish
33
on:
44
push:
55
branches:
6-
- canary
6+
- main
77

88
workflow_dispatch:
99

docs/docs/backend/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Create a new WordPress install. We recommend the following settings:
3636

3737
Now that you've got a local WordPress install, it's time to turn it into a Headless CMS!
3838

39-
1. In your terminal, change directories to your new WordPress install's `/wp-content` directory, then download our [`composer.json`](https://raw.githubusercontent.com/WebDevStudios/nextjs-wordpress-starter/canary/backend/composer.json).
39+
1. In your terminal, change directories to your new WordPress install's `/wp-content` directory, then download our [`composer.json`](https://raw.githubusercontent.com/WebDevStudios/nextjs-wordpress-starter/main/backend/composer.json).
4040

4141
```bash
42-
curl -O https://raw.githubusercontent.com/WebDevStudios/nextjs-wordpress-starter/canary/backend/composer.json
42+
curl -O https://raw.githubusercontent.com/WebDevStudios/nextjs-wordpress-starter/main/backend/composer.json
4343
```
4444

4545
2. Install free plugins and the theme:

docs/docs/contributing.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: Contributing
44

55
There are many ways to contribute to this project:
66

7-
- Discuss [open issues](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/canary/issues) to help define the future of the project
8-
- [Submit bugs](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/canary/issues) and help verify fixes
9-
- Review and discuss [pull requests](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/canary/pulls)
7+
- Discuss [open issues](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/main/issues) to help define the future of the project
8+
- [Submit bugs](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/main/issues) and help verify fixes
9+
- Review and discuss [pull requests](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/main/pulls)
1010
- Level up the [documentation](https://webdevstudios.github.io/nextjs-wordpress-starter/docs/other/docusaurus)
1111
- Monitor and help answer questions in [Github Discussions](https://github.com/WebDevStudios/nextjs-wordpress-starter/discussions)
1212

@@ -39,11 +39,11 @@ If you do file an issue, be sure to fill out the issue report completely!
3939

4040
### Git Workflow
4141

42-
1. Create a `feature` branch off `canary`
42+
1. Create a `feature` branch off `main`
4343
2. Work locally adhering to coding standards
4444
3. When your `feature` has been tested, open a Pull Request (PR) and fill out the PR template
4545
4. Your PR must pass assertions and deploy successfully
46-
5. After peer review, the PR will be merged back into `canary`
46+
5. After peer review, the PR will be merged back into `main`
4747
6. Repeat ♻️
4848

4949
### Code Linting

docs/docs/frontend/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Before you get started, make sure you have the following dependencies installed
1919
**Step 1: Clone the frontend framework with `create-next-app`**
2020

2121
```bash
22-
npx create-next-app -e https://github.com/WebDevStudios/nextjs-wordpress-starter/tree/canary --use-npm nextjs-wordpress-starter
22+
npx create-next-app -e https://github.com/WebDevStudios/nextjs-wordpress-starter/tree/main --use-npm nextjs-wordpress-starter
2323
```
2424

2525
**Step 2: Change directories**
@@ -32,7 +32,7 @@ cd nextjs-wordpress-starter
3232

3333
ENV variables are like constants in `wp-config.php`. They're required in order for things like authentication with WordPress and other 3rd party services.
3434

35-
**Step 1: Copy the [sample ENV file](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/canary/.env.sample):**
35+
**Step 1: Copy the [sample ENV file](https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/main/.env.sample):**
3636

3737
```bash
3838
cp .env.sample .env

docs/docs/other/docusaurus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The documentation website is powered by [Docusaurus](https://docusaurus.io/) and
66

77
## Adding or Updating Documentation
88

9-
1. Create a new branch off `canary` (e.g,. `feature/my-doc-update`)
9+
1. Create a new branch off `main` (e.g,. `feature/my-doc-update`)
1010
2. From the root of the project, run `npm run dev:docs` to start a local server
1111
3. Add or edit markdown files in the `docs/` directory
1212
4. Commit your changes and push to Github
@@ -28,7 +28,7 @@ You can run the following commands from the root of the project:
2828

2929
### Github Actions
3030

31-
This repo uses a [Github Action](https://github.com/WebDevStudios/nextjs-wordpress-starter/tree/canary/.github/workflows) which automatically publishes changes to Github Pages.
31+
This repo uses a [Github Action](https://github.com/WebDevStudios/nextjs-wordpress-starter/tree/main/.github/workflows) which automatically publishes changes to Github Pages.
3232

3333
### Key Pair
3434

docs/docs/other/npm-workflows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Follow the prompts and enter your username, password, and two-factor authenticat
5252

5353
### Bump the version
5454

55-
Open the `package.json` file and bump the `version` number. For example, if the current version is `1.0.0-canary.1`, then the next version will be `1.0.0-canary.2`.
55+
Open the `package.json` file and bump the `version` number. For example, if the current version is `1.0.0-main.1`, then the next version will be `1.0.0-main.2`.
5656

5757
### Publish a Release
5858

@@ -72,10 +72,10 @@ npm publish --tag=next --access=public
7272

7373
### Unpublish a Release
7474

75-
If something goes wrong with the release, you can unpublish it. For example, if `1.0.0-canary.2` is not working the following will remove it from NPM's registry:
75+
If something goes wrong with the release, you can unpublish it. For example, if `1.0.0-main.2` is not working the following will remove it from NPM's registry:
7676

7777
```bash
78-
npm unpublish @webdevstudios/[email protected]canary.2
78+
npm unpublish @webdevstudios/[email protected]main.2
7979
```
8080

8181
[Learn more about NPM unpublish](https://docs.npmjs.com/cli/v7/commands/npm-unpublish).

docs/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module.exports = {
7373
docs: {
7474
sidebarPath: require.resolve('./sidebars.js'),
7575
editUrl:
76-
'https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/canary/',
76+
'https://github.com/WebDevStudios/nextjs-wordpress-starter/blob/main/',
7777
showLastUpdateAuthor: true,
7878
showLastUpdateTime: true
7979
},

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)