Skip to content

Commit 68fba0f

Browse files
fix: complete rename from skip-contributors to exclude-contributors
1 parent cc05ebb commit 68fba0f

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

docs/Creation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ See [Options.md](./Options.md).
2626
For example, running the creation script and skipping all APIs:
2727

2828
```shell
29-
npx template-typescript-node-package --mode create --skip-contributors-data --skip-github-api
29+
npx template-typescript-node-package --mode create --exclude-contributors --skip-github-api
3030
```

docs/Initialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ See [Options.md](./Options.md).
4040
For example, running the initialization script and skipping all APIs:
4141

4242
```shell
43-
pnpm run initialize --skip-contributors-data --skip-github-api
43+
pnpm run initialize --exclude-contributors --skip-github-api
4444
```

docs/Migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ See [Options.md](./Options.md).
1919
For example, running the migration script and skipping all APIs:
2020

2121
```shell
22-
npx template-typescript-node-package --mode migrate --skip-contributors-data --skip-github-api
22+
npx template-typescript-node-package --mode migrate --exclude-contributors --skip-github-api
2323
```

docs/Options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@ npx template-typescript-node-package --exclude-lint-package-json --exclude-lint-
9797

9898
You can prevent the migration script from making some network-based changes using any or all of the following CLI flags:
9999

100-
- `--skip-contributors-data` _(`boolean`)_: Skips network calls that fetch all-contributors data from GitHub
100+
- `--exclude-contributors` _(`boolean`)_: Skips network calls that fetch all-contributors data from GitHub
101101
- This flag does nothing if `--exclude-contributors` was specified.
102102
- `--skip-github-api` _(`boolean`)_: Skips calling to GitHub APIs.
103103
- `--skip-install` _(`boolean`)_: Skips installing all the new template packages with `pnpm`.
104104

105105
For example, providing all three flags will completely skip all network requests:
106106

107107
```shell
108-
npx template-typescript-node-package --skip-contributors-data --skip-github-api --skip-install
108+
npx template-typescript-node-package --exclude-contributors --skip-github-api --skip-install
109109
```
110110

111111
> 💡 Tip: To temporarily preview what the script would apply, you can run with all `--skip-*` flags, then `git add -A; git reset --hard HEAD` to completely reset all changes.

script/create-test-e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ await $`rm -rf ${repository}`;
1212

1313
await $({
1414
stdio: "inherit",
15-
})`c8 -o ./coverage-create -r html -r lcov --src src node ./bin/index.js --base everything --mode create --author ${author} --email ${email} --description ${description} --owner ${owner} --title ${title} --repository ${repository} --skip-contributors --skip-github-api`;
15+
})`c8 -o ./coverage-create -r html -r lcov --src src node ./bin/index.js --base everything --mode create --author ${author} --email ${email} --description ${description} --owner ${owner} --title ${title} --repository ${repository} --exclude-contributors --skip-github-api`;
1616

1717
process.chdir(repository);
1818

script/initialize-test-e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ await $`pnpm i`;
5252
await $`pnpm run build`;
5353
await $({
5454
stdio: "inherit",
55-
})`c8 -o ./coverage-initialize -r html -r lcov --src src node ./bin/index.js --base everything --description ${description} --mode initialize --owner ${owner} --title ${title} --repository ${repository} --skip-contributors --skip-github-api --skip-removal --skip-restore`;
55+
})`c8 -o ./coverage-initialize -r html -r lcov --src src node ./bin/index.js --base everything --description ${description} --mode initialize --owner ${owner} --title ${title} --repository ${repository} --exclude-contributors --skip-github-api --skip-removal --skip-restore`;

script/migrate-test-e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const title = "Template TypeScript Node Package";
99

1010
await $({
1111
stdio: "inherit",
12-
})`c8 -o ./coverage-migrate -r html -r lcov --src src node ./bin/index.js --base everything --mode migrate --description ${description} --owner ${owner} --title ${title} --repository ${repository} --skip-contributors --skip-github-api --skip-install`;
12+
})`c8 -o ./coverage-migrate -r html -r lcov --src src node ./bin/index.js --base everything --mode migrate --description ${description} --owner ${owner} --title ${title} --repository ${repository} --exclude-contributors --skip-github-api --skip-install`;
1313

1414
const { stdout: gitStatus } = await $`git status`;
1515
console.log(`Stdout from running \`git status\`:\n${gitStatus}`);

0 commit comments

Comments
 (0)