Skip to content

Commit

Permalink
Code changes required to rename default branch to main (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode authored Feb 27, 2021
1 parent 9d05cb6 commit 16c9843
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
contact_links:
-
---
contact_links:
-
name: Question
about: "Please ask and answer usage questions in our Discussion forum."
url: "https://github.com/TypeStrong/ts-node/discussions"
-
-
name: Chat
about: "Alternatively, you can use the TypeScript Community Discord."
url: "https://discord.gg/typescript"
-
-
name: "Help! My Types Are Missing!"
about: "This is likely a configuration problem. Check our README"
url: "https://github.com/TypeStrong/ts-node/blob/master/README.md#help-my-types-are-missing"
-
url: "https://github.com/TypeStrong/ts-node/blob/main/README.md#help-my-types-are-missing"
-
name: "TSError or SyntaxError"
about: "These errors come from TypeScript and node, respectively. Use StackOverflow or Discord for usage and configuration help."
url: "https://stackoverflow.com/questions/tagged/ts-node"
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
# branches pushed by collaborators
push:
branches:
- master
- main
# pull request from non-collaborators
pull_request: {}
# nightly
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
# branches pushed by collaborators
push:
branches:
- master
- main
jobs:
build:
name: Build & Deploy
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ts-node-cwd scripts.ts
ts-node-transpile-only scripts.ts
```

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

### Shebang

Expand Down Expand Up @@ -309,5 +309,5 @@ MIT
[downloads-url]: https://npmjs.org/package/ts-node
[github-actions-image]: https://img.shields.io/github/workflow/status/TypeStrong/ts-node/Continuous%20Integration
[github-actions-url]: https://github.com/TypeStrong/ts-node/actions?query=workflow%3A%22Continuous+Integration%22
[codecov-image]: https://codecov.io/gh/TypeStrong/ts-node/branch/master/graph/badge.svg
[codecov-image]: https://codecov.io/gh/TypeStrong/ts-node/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/TypeStrong/ts-node
2 changes: 1 addition & 1 deletion esm-usage-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"dependencies": {
"ts-node": "github:TypeStrong/ts-node#master",
"ts-node": "github:TypeStrong/ts-node#main",
"typescript": "^3.8.3"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ export function create(rawOptions: CreateOptions = {}): Service {
: options.transpiler[0];
const transpilerOptions =
typeof options.transpiler === 'string' ? {} : options.transpiler[1] ?? {};
// TODO mimic fixed resolution logic from loadCompiler master
// TODO mimic fixed resolution logic from loadCompiler main
// TODO refactor into a more generic "resolve dep relative to project" helper
const transpilerPath = require.resolve(transpilerName, {
paths: [cwd, __dirname],
Expand Down
2 changes: 1 addition & 1 deletion website/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,5 @@ MIT
[downloads-url]: https://npmjs.org/package/ts-node
[github-actions-image]: https://img.shields.io/github/workflow/status/TypeStrong/ts-node/Continuous%20Integration
[github-actions-url]: https://github.com/TypeStrong/ts-node/actions?query=workflow%3A%22Continuous+Integration%22
[codecov-image]: https://codecov.io/gh/TypeStrong/ts-node/branch/master/graph/badge.svg
[codecov-image]: https://codecov.io/gh/TypeStrong/ts-node/branch/main/graph/badge.svg
[codecov-url]: https://codecov.io/gh/TypeStrong/ts-node
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/TypeStrong/ts-node/edit/master/website/',
'https://github.com/TypeStrong/ts-node/edit/main/website/',
},
// blog: {
// showReadingTime: true,
Expand Down

0 comments on commit 16c9843

Please sign in to comment.