Skip to content

Commit 16c9843

Browse files
authored
Code changes required to rename default branch to main (#1254)
1 parent 9d05cb6 commit 16c9843

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

.github/ISSUE_TEMPLATE/config.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
---
2-
contact_links:
3-
-
1+
---
2+
contact_links:
3+
-
44
name: Question
55
about: "Please ask and answer usage questions in our Discussion forum."
66
url: "https://github.com/TypeStrong/ts-node/discussions"
7-
-
7+
-
88
name: Chat
99
about: "Alternatively, you can use the TypeScript Community Discord."
1010
url: "https://discord.gg/typescript"
11-
-
11+
-
1212
name: "Help! My Types Are Missing!"
1313
about: "This is likely a configuration problem. Check our README"
14-
url: "https://github.com/TypeStrong/ts-node/blob/master/README.md#help-my-types-are-missing"
15-
-
14+
url: "https://github.com/TypeStrong/ts-node/blob/main/README.md#help-my-types-are-missing"
15+
-
1616
name: "TSError or SyntaxError"
1717
about: "These errors come from TypeScript and node, respectively. Use StackOverflow or Discord for usage and configuration help."
1818
url: "https://stackoverflow.com/questions/tagged/ts-node"

.github/workflows/continuous-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
# branches pushed by collaborators
44
push:
55
branches:
6-
- master
6+
- main
77
# pull request from non-collaborators
88
pull_request: {}
99
# nightly

.github/workflows/website.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
# branches pushed by collaborators
44
push:
55
branches:
6-
- master
6+
- main
77
jobs:
88
build:
99
name: Build & Deploy

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ts-node-cwd scripts.ts
5252
ts-node-transpile-only scripts.ts
5353
```
5454

55-
![TypeScript REPL](https://github.com/TypeStrong/ts-node/raw/master/screenshot.png)
55+
![TypeScript REPL](https://github.com/TypeStrong/ts-node/raw/main/screenshot.png)
5656

5757
### Shebang
5858

@@ -309,5 +309,5 @@ MIT
309309
[downloads-url]: https://npmjs.org/package/ts-node
310310
[github-actions-image]: https://img.shields.io/github/workflow/status/TypeStrong/ts-node/Continuous%20Integration
311311
[github-actions-url]: https://github.com/TypeStrong/ts-node/actions?query=workflow%3A%22Continuous+Integration%22
312-
[codecov-image]: https://codecov.io/gh/TypeStrong/ts-node/branch/master/graph/badge.svg
312+
[codecov-image]: https://codecov.io/gh/TypeStrong/ts-node/branch/main/graph/badge.svg
313313
[codecov-url]: https://codecov.io/gh/TypeStrong/ts-node

esm-usage-example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"dependencies": {
4-
"ts-node": "github:TypeStrong/ts-node#master",
4+
"ts-node": "github:TypeStrong/ts-node#main",
55
"typescript": "^3.8.3"
66
}
77
}

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ export function create(rawOptions: CreateOptions = {}): Service {
667667
: options.transpiler[0];
668668
const transpilerOptions =
669669
typeof options.transpiler === 'string' ? {} : options.transpiler[1] ?? {};
670-
// TODO mimic fixed resolution logic from loadCompiler master
670+
// TODO mimic fixed resolution logic from loadCompiler main
671671
// TODO refactor into a more generic "resolve dep relative to project" helper
672672
const transpilerPath = require.resolve(transpilerName, {
673673
paths: [cwd, __dirname],

website/docs/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,5 @@ MIT
149149
[downloads-url]: https://npmjs.org/package/ts-node
150150
[github-actions-image]: https://img.shields.io/github/workflow/status/TypeStrong/ts-node/Continuous%20Integration
151151
[github-actions-url]: https://github.com/TypeStrong/ts-node/actions?query=workflow%3A%22Continuous+Integration%22
152-
[codecov-image]: https://codecov.io/gh/TypeStrong/ts-node/branch/master/graph/badge.svg
152+
[codecov-image]: https://codecov.io/gh/TypeStrong/ts-node/branch/main/graph/badge.svg
153153
[codecov-url]: https://codecov.io/gh/TypeStrong/ts-node

website/docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module.exports = {
8080
sidebarPath: require.resolve('./sidebars.js'),
8181
// Please change this to your repo.
8282
editUrl:
83-
'https://github.com/TypeStrong/ts-node/edit/master/website/',
83+
'https://github.com/TypeStrong/ts-node/edit/main/website/',
8484
},
8585
// blog: {
8686
// showReadingTime: true,

0 commit comments

Comments
 (0)