Skip to content

Commit 5f0a8f6

Browse files
authored
chore(branch): rename branch to main (#129)
### Related Ticket(s) Refs carbon-design-system/carbon-for-ibm-dotcom#5230 ### Description This updates references from `master` branch to `main` branch. ### Changelog **Changed** - Various documentation references to `main` branch
1 parent fbaea92 commit 5f0a8f6

File tree

6 files changed

+14
-11
lines changed

6 files changed

+14
-11
lines changed

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged

.huskyrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
## Overview
1313

1414
This is a Next.js template utilizing Carbon for IBM.com React, deploying a vanilla instance of Next.js with the
15-
[DotcomShell](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/master/packages/react/src/components/DotcomShell/README.md),
15+
[DotcomShell](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/packages/react/src/components/DotcomShell/README.md),
1616
along with other various patterns and components available in Carbon for IBM.com.
1717

1818
## Getting Started
@@ -76,7 +76,7 @@ Right-to-left rendering is supported, to enable set the `ENABLE_RTL` environment
7676
## Things to Note
7777
7878
If building an IBM.com page, there are items that need to be included which can be viewed here:
79-
[Building for IBM.com](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/master/docs/building-for-ibm-dotcom.md)
79+
[Building for IBM.com](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/docs/building-for-ibm-dotcom.md)
8080
8181
### Page Language
8282
@@ -88,7 +88,7 @@ This template handles page language functionality, where the available languages
8888
8989
The Digital Data Object (DDO) is a flexible, customizable collection of metadata that also provides tools and services
9090
such as live chat and analytics to page authors. You can find more details on
91-
[Building for IBM.com](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/master/docs/building-for-ibm-dotcom.md).
91+
[Building for IBM.com](https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/docs/building-for-ibm-dotcom.md).
9292
9393
The template has a placeholder DDO you can define located in `pages/data/DDO.json. Example values shown below:
9494
@@ -165,5 +165,5 @@ git fetch --all
165165
And finally merge changes in:
166166

167167
```bash
168-
git merge template/master
168+
git merge template/main
169169
```

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"build-export": "next build && next export",
2121
"lint": "eslint pages",
2222
"lint:styles": "stylelint '**/*.{css,scss}' --config ./packages/stylelint-config-ibmdotcom",
23+
"prepare": "husky install",
2324
"update-canary": "yarn upgrade @carbon/ibmdotcom-react@canary && yarn upgrade @carbon/ibmdotcom-styles@canary",
2425
"update-next": "yarn upgrade @carbon/ibmdotcom-react@next && yarn upgrade @carbon/ibmdotcom-styles@next",
2526
"update-latest": "yarn upgrade @carbon/ibmdotcom-react@latest && yarn upgrade @carbon/ibmdotcom-styles@latest"

pages/_app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import React from "react";
1010
/**
1111
* Sets the root path of the alternative urls
1212
* Learn more about configuring alternative languages at:
13-
* https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/master/docs/building-for-ibm-dotcom.md
13+
* https://github.com/carbon-design-system/carbon-for-ibm-dotcom/blob/main/docs/building-for-ibm-dotcom.md
1414
*
1515
* @type {string|string}
1616
* @private

0 commit comments

Comments
 (0)