create-typescript-app 1.77.1 → 1.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -49
- package/lib/create/createAndEnterGitDirectory.d.ts +1 -1
- package/lib/create/createAndEnterGitDirectory.js +4 -3
- package/lib/create/createAndEnterGitDirectory.js.map +1 -1
- package/lib/create/createWithOptions.d.ts +1 -1
- package/lib/create/createWithOptions.js +7 -8
- package/lib/create/createWithOptions.js.map +1 -1
- package/lib/create/index.js +8 -2
- package/lib/create/index.js.map +1 -1
- package/lib/next/base.d.ts +1 -2
- package/lib/next/base.js +37 -27
- package/lib/next/base.js.map +1 -1
- package/lib/next/blocks/blockAllContributors.d.ts +1 -2
- package/lib/next/blocks/blockAllContributors.js +11 -2
- package/lib/next/blocks/blockAllContributors.js.map +1 -1
- package/lib/next/blocks/blockAreTheTypesWrong.d.ts +1 -2
- package/lib/next/blocks/blockCSpell.d.ts +1 -2
- package/lib/next/blocks/blockCSpell.js +16 -0
- package/lib/next/blocks/blockCSpell.js.map +1 -1
- package/lib/next/blocks/blockContributingDocs.d.ts +1 -2
- package/lib/next/blocks/blockContributorCovenant.d.ts +1 -2
- package/lib/next/blocks/blockDevelopmentDocs.d.ts +1 -2
- package/lib/next/blocks/blockESLint.d.ts +1 -2
- package/lib/next/blocks/blockESLintComments.d.ts +1 -2
- package/lib/next/blocks/blockESLintJSDoc.d.ts +1 -2
- package/lib/next/blocks/blockESLintJSONC.d.ts +1 -2
- package/lib/next/blocks/blockESLintMarkdown.d.ts +1 -2
- package/lib/next/blocks/blockESLintMoreStyling.d.ts +1 -2
- package/lib/next/blocks/blockESLintNode.d.ts +1 -2
- package/lib/next/blocks/blockESLintPackageJson.d.ts +1 -2
- package/lib/next/blocks/blockESLintPerfectionist.d.ts +1 -2
- package/lib/next/blocks/blockESLintRegexp.d.ts +1 -2
- package/lib/next/blocks/blockESLintYML.d.ts +1 -2
- package/lib/next/blocks/blockExampleFiles.d.ts +1 -2
- package/lib/next/blocks/blockFunding.d.ts +1 -2
- package/lib/next/blocks/blockGitHubActionsCI.d.ts +1 -2
- package/lib/next/blocks/blockGitHubApps.d.ts +52 -0
- package/lib/next/blocks/blockGitHubApps.js +34 -0
- package/lib/next/blocks/blockGitHubApps.js.map +1 -0
- package/lib/next/blocks/blockGitHubIssueTemplates.d.ts +1 -2
- package/lib/next/blocks/blockGitHubPRTemplate.d.ts +1 -2
- package/lib/next/blocks/blockGitignore.d.ts +1 -2
- package/lib/next/blocks/blockKnip.d.ts +1 -2
- package/lib/next/blocks/blockKnip.js +2 -2
- package/lib/next/blocks/blockKnip.js.map +1 -1
- package/lib/next/blocks/blockMITLicense.d.ts +1 -2
- package/lib/next/blocks/blockMarkdownlint.d.ts +1 -2
- package/lib/next/blocks/blockNvmrc.d.ts +1 -2
- package/lib/next/blocks/blockPRCompliance.d.ts +1 -2
- package/lib/next/blocks/blockPackageJson.d.ts +1 -2
- package/lib/next/blocks/blockPackageJson.js +46 -41
- package/lib/next/blocks/blockPackageJson.js.map +1 -1
- package/lib/next/blocks/blockPnpmDedupe.d.ts +1 -2
- package/lib/next/blocks/blockPrettier.d.ts +1 -2
- package/lib/next/blocks/blockPrettierPluginCurly.d.ts +1 -2
- package/lib/next/blocks/blockPrettierPluginPackageJson.d.ts +1 -2
- package/lib/next/blocks/blockPrettierPluginSh.d.ts +1 -2
- package/lib/next/blocks/blockREADME.d.ts +1 -2
- package/lib/next/blocks/blockReleaseIt.d.ts +1 -2
- package/lib/next/blocks/blockReleaseIt.js +13 -0
- package/lib/next/blocks/blockReleaseIt.js.map +1 -1
- package/lib/next/blocks/blockRenovate.d.ts +1 -2
- package/lib/next/blocks/blockRenovate.js +9 -0
- package/lib/next/blocks/blockRenovate.js.map +1 -1
- package/lib/next/blocks/{blockRepositoryBranchProtection.d.ts → blockRepositoryBranchRuleset.d.ts} +3 -4
- package/lib/next/blocks/blockRepositoryBranchRuleset.js +71 -0
- package/lib/next/blocks/blockRepositoryBranchRuleset.js.map +1 -0
- package/lib/next/blocks/blockRepositoryLabels.d.ts +1 -2
- package/lib/next/blocks/blockRepositoryLabels.js +12 -2
- package/lib/next/blocks/blockRepositoryLabels.js.map +1 -1
- package/lib/next/blocks/blockRepositorySecrets.d.ts +52 -0
- package/lib/next/blocks/blockRepositorySecrets.js +34 -0
- package/lib/next/blocks/blockRepositorySecrets.js.map +1 -0
- package/lib/next/blocks/blockRepositorySettings.d.ts +1 -2
- package/lib/next/blocks/blockRepositorySettings.js +1 -1
- package/lib/next/blocks/blockRepositorySettings.js.map +1 -1
- package/lib/next/blocks/blockSecurityDocs.d.ts +1 -2
- package/lib/next/blocks/blockTSup.d.ts +1 -2
- package/lib/next/blocks/blockTemplatedBy.d.ts +1 -2
- package/lib/next/blocks/blockTypeScript.d.ts +1 -2
- package/lib/next/blocks/blockVSCode.d.ts +1 -2
- package/lib/next/blocks/blockVitest.d.ts +1 -2
- package/lib/next/blocks/blockVitest.js +26 -17
- package/lib/next/blocks/blockVitest.js.map +1 -1
- package/lib/next/blocks/options.fakes.d.ts +1 -0
- package/lib/next/blocks/options.fakes.js +1 -0
- package/lib/next/blocks/options.fakes.js.map +1 -1
- package/lib/next/blocks/packageData.d.ts +3 -2
- package/lib/next/blocks/packageData.js +20 -14
- package/lib/next/blocks/packageData.js.map +1 -1
- package/lib/next/presetCommon.d.ts +1 -2
- package/lib/next/presetEverything.d.ts +1 -2
- package/lib/next/presetMinimal.d.ts +1 -2
- package/lib/next/presetMinimal.js +6 -2
- package/lib/next/presetMinimal.js.map +1 -1
- package/lib/next/readDocumentation.d.ts +5 -0
- package/lib/next/readDocumentation.js +28 -0
- package/lib/next/readDocumentation.js.map +1 -0
- package/lib/next/template.d.ts +2 -3
- package/lib/next/template.js +2 -6
- package/lib/next/template.js.map +1 -1
- package/lib/next/utils/resolveBin.d.ts +3 -0
- package/lib/next/utils/resolveBin.js +7 -0
- package/lib/next/utils/resolveBin.js.map +1 -0
- package/lib/shared/getGitHubUserAsAllContributor.js +1 -1
- package/lib/shared/getGitHubUserAsAllContributor.js.map +1 -1
- package/lib/shared/options/optionsSchema.d.ts +4 -4
- package/lib/shared/options/readOptions.js +1 -1
- package/lib/shared/options/readOptions.js.map +1 -1
- package/lib/shared/packages.js +1 -3
- package/lib/shared/packages.js.map +1 -1
- package/lib/steps/addToolAllContributors.js +1 -1
- package/lib/steps/addToolAllContributors.js.map +1 -1
- package/lib/steps/initializeGitHubRepository/initializeBranchProtectionSettings.js +53 -31
- package/lib/steps/initializeGitHubRepository/initializeBranchProtectionSettings.js.map +1 -1
- package/lib/steps/uninstallPackages.js +4 -0
- package/lib/steps/uninstallPackages.js.map +1 -1
- package/lib/steps/updateAllContributorsTable.js +1 -1
- package/lib/steps/updateAllContributorsTable.js.map +1 -1
- package/lib/steps/writing/creation/createKnipConfig.d.ts +3 -0
- package/lib/steps/writing/creation/createKnipConfig.js +20 -0
- package/lib/steps/writing/creation/createKnipConfig.js.map +1 -0
- package/lib/steps/writing/creation/index.d.ts +2 -1
- package/lib/steps/writing/creation/index.js +21 -8
- package/lib/steps/writing/creation/index.js.map +1 -1
- package/lib/steps/writing/creation/rootFiles.js +2 -9
- package/lib/steps/writing/creation/rootFiles.js.map +1 -1
- package/package.json +16 -12
- package/lib/next/blocks/blockRepositoryBranchProtection.js +0 -49
- package/lib/next/blocks/blockRepositoryBranchProtection.js.map +0 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<p align="center">
|
|
6
6
|
<!-- prettier-ignore-start -->
|
|
7
7
|
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
8
|
-
<a href="#contributors" target="_blank"><img alt="👪 All Contributors:
|
|
8
|
+
<a href="#contributors" target="_blank"><img alt="👪 All Contributors: 51" src="https://img.shields.io/badge/%F0%9F%91%AA_all_contributors-51-21bb42.svg" /></a>
|
|
9
9
|
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
10
10
|
<!-- prettier-ignore-end -->
|
|
11
11
|
<a href="https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CODE_OF_CONDUCT.md" target="_blank"><img alt="🤝 Code of Conduct: Kept" src="https://img.shields.io/badge/%F0%9F%A4%9D_code_of_conduct-kept-21bb42" /></a>
|
|
@@ -68,70 +68,71 @@ Thanks! 💖
|
|
|
68
68
|
<table>
|
|
69
69
|
<tbody>
|
|
70
70
|
<tr>
|
|
71
|
-
<td align="center" valign="top" width="14.28%"><a href="https://katt.dev"><img src="https://avatars.githubusercontent.com/u/459267?v=4?s=100" width="100px;" alt="Alex / KATT"/><br /><sub><b>Alex / KATT</b></sub></a><br /><a href="
|
|
72
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/garuna-m6"><img src="https://avatars.githubusercontent.com/u/23234342?v=4?s=100" width="100px;" alt="Anurag"/><br /><sub><b>Anurag</b></sub></a><br /><a href="
|
|
73
|
-
<td align="center" valign="top" width="14.28%"><a href="https://atila.io"><img src="https://avatars.githubusercontent.com/u/2382552?v=4?s=100" width="100px;" alt="Atila Fassina"/><br /><sub><b>Atila Fassina</b></sub></a><br /><a href="
|
|
74
|
-
<td align="center" valign="top" width="14.28%"><a href="http://biplobsd.me"><img src="https://avatars.githubusercontent.com/u/43641536?v=4?s=100" width="100px;" alt="Biplob Sutradhar"/><br /><sub><b>Biplob Sutradhar</b></sub></a><br /><a href="
|
|
75
|
-
<td align="center" valign="top" width="14.28%"><a href="https://conormeagher.com/"><img src="https://avatars.githubusercontent.com/u/363781?v=4?s=100" width="100px;" alt="Conor Meagher"/><br /><sub><b>Conor Meagher</b></sub></a><br /><a href="
|
|
76
|
-
<td align="center" valign="top" width="14.28%"><a href="https://effectivetypescript.com"><img src="https://avatars.githubusercontent.com/u/98301?v=4?s=100" width="100px;" alt="Dan Vanderkam"/><br /><sub><b>Dan Vanderkam</b></sub></a><br /><a href="
|
|
71
|
+
<td align="center" valign="top" width="14.28%"><a href="https://katt.dev"><img src="https://avatars.githubusercontent.com/u/459267?v=4?s=100" width="100px;" alt="Alex / KATT"/><br /><sub><b>Alex / KATT</b></sub></a><br /><a href="#bug-katt" title="Bug reports">🐛</a></td>
|
|
72
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/garuna-m6"><img src="https://avatars.githubusercontent.com/u/23234342?v=4?s=100" width="100px;" alt="Anurag"/><br /><sub><b>Anurag</b></sub></a><br /><a href="#code-garuna-m6" title="Code">💻</a></td>
|
|
73
|
+
<td align="center" valign="top" width="14.28%"><a href="https://atila.io"><img src="https://avatars.githubusercontent.com/u/2382552?v=4?s=100" width="100px;" alt="Atila Fassina"/><br /><sub><b>Atila Fassina</b></sub></a><br /><a href="#bug-atilafassina" title="Bug reports">🐛</a></td>
|
|
74
|
+
<td align="center" valign="top" width="14.28%"><a href="http://biplobsd.me"><img src="https://avatars.githubusercontent.com/u/43641536?v=4?s=100" width="100px;" alt="Biplob Sutradhar"/><br /><sub><b>Biplob Sutradhar</b></sub></a><br /><a href="#code-biplobsd" title="Code">💻</a></td>
|
|
75
|
+
<td align="center" valign="top" width="14.28%"><a href="https://conormeagher.com/"><img src="https://avatars.githubusercontent.com/u/363781?v=4?s=100" width="100px;" alt="Conor Meagher"/><br /><sub><b>Conor Meagher</b></sub></a><br /><a href="#code-conrmahr" title="Code">💻</a></td>
|
|
76
|
+
<td align="center" valign="top" width="14.28%"><a href="https://effectivetypescript.com"><img src="https://avatars.githubusercontent.com/u/98301?v=4?s=100" width="100px;" alt="Dan Vanderkam"/><br /><sub><b>Dan Vanderkam</b></sub></a><br /><a href="#bug-danvk" title="Bug reports">🐛</a> <a href="#ideas-danvk" title="Ideas, Planning, & Feedback">🤔</a> <a href="#tool-danvk" title="Tools">🔧</a></td>
|
|
77
77
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/DanexQ"><img src="https://avatars.githubusercontent.com/u/72567464?v=4?s=100" width="100px;" alt="Daniel"/><br /><sub><b>Daniel</b></sub></a><br /><a href="#infra-DanexQ" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
78
78
|
</tr>
|
|
79
79
|
<tr>
|
|
80
|
-
<td align="center" valign="top" width="14.28%"><a href="https://roe.dev/"><img src="https://avatars.githubusercontent.com/u/28706372?v=4?s=100" width="100px;" alt="Daniel Roe"/><br /><sub><b>Daniel Roe</b></sub></a><br /><a href="
|
|
81
|
-
<td align="center" valign="top" width="14.28%"><a href="https://linktr.ee/DemianParkhomenko"><img src="https://avatars.githubusercontent.com/u/95881717?v=4?s=100" width="100px;" alt="Demian Parkhomenko"/><br /><sub><b>Demian Parkhomenko</b></sub></a><br /><a href="
|
|
82
|
-
<td align="center" valign="top" width="14.28%"><a href="https://dominicduffin.uk"><img src="https://avatars.githubusercontent.com/u/26224873?v=4?s=100" width="100px;" alt="Dominic Duffin"/><br /><sub><b>Dominic Duffin</b></sub></a><br /><a href="
|
|
83
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nowyDEV"><img src="https://avatars.githubusercontent.com/u/12304307?v=4?s=100" width="100px;" alt="Dominik Nowik"/><br /><sub><b>Dominik Nowik</b></sub></a><br /><a href="#tool-nowyDEV" title="Tools">🔧</a> <a href="
|
|
84
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/emday4prez"><img src="https://avatars.githubusercontent.com/u/35363144?v=4?s=100" width="100px;" alt="Emerson"/><br /><sub><b>Emerson</b></sub></a><br /><a href="
|
|
85
|
-
<td align="center" valign="top" width="14.28%"><a href="https://farazpatankar.com/"><img src="https://avatars.githubusercontent.com/u/10681116?v=4?s=100" width="100px;" alt="Faraz Patankar"/><br /><sub><b>Faraz Patankar</b></sub></a><br /><a href="
|
|
86
|
-
<td align="center" valign="top" width="14.28%"><a href="https://feedic.com"><img src="https://avatars.githubusercontent.com/u/188768?v=4?s=100" width="100px;" alt="Felix Boehm"/><br /><sub><b>Felix Boehm</b></sub></a><br /><a href="
|
|
80
|
+
<td align="center" valign="top" width="14.28%"><a href="https://roe.dev/"><img src="https://avatars.githubusercontent.com/u/28706372?v=4?s=100" width="100px;" alt="Daniel Roe"/><br /><sub><b>Daniel Roe</b></sub></a><br /><a href="#code-danielroe" title="Code">💻</a></td>
|
|
81
|
+
<td align="center" valign="top" width="14.28%"><a href="https://linktr.ee/DemianParkhomenko"><img src="https://avatars.githubusercontent.com/u/95881717?v=4?s=100" width="100px;" alt="Demian Parkhomenko"/><br /><sub><b>Demian Parkhomenko</b></sub></a><br /><a href="#bug-demianparkhomenko" title="Bug reports">🐛</a> <a href="#code-demianparkhomenko" title="Code">💻</a></td>
|
|
82
|
+
<td align="center" valign="top" width="14.28%"><a href="https://dominicduffin.uk"><img src="https://avatars.githubusercontent.com/u/26224873?v=4?s=100" width="100px;" alt="Dominic Duffin"/><br /><sub><b>Dominic Duffin</b></sub></a><br /><a href="#code-dominicduffin1" title="Code">💻</a></td>
|
|
83
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nowyDEV"><img src="https://avatars.githubusercontent.com/u/12304307?v=4?s=100" width="100px;" alt="Dominik Nowik"/><br /><sub><b>Dominik Nowik</b></sub></a><br /><a href="#tool-nowyDEV" title="Tools">🔧</a> <a href="#code-nowyDEV" title="Code">💻</a> <a href="#ideas-nowyDEV" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
84
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/emday4prez"><img src="https://avatars.githubusercontent.com/u/35363144?v=4?s=100" width="100px;" alt="Emerson"/><br /><sub><b>Emerson</b></sub></a><br /><a href="#code-emday4prez" title="Code">💻</a></td>
|
|
85
|
+
<td align="center" valign="top" width="14.28%"><a href="https://farazpatankar.com/"><img src="https://avatars.githubusercontent.com/u/10681116?v=4?s=100" width="100px;" alt="Faraz Patankar"/><br /><sub><b>Faraz Patankar</b></sub></a><br /><a href="#bug-FarazPatankar" title="Bug reports">🐛</a></td>
|
|
86
|
+
<td align="center" valign="top" width="14.28%"><a href="https://feedic.com"><img src="https://avatars.githubusercontent.com/u/188768?v=4?s=100" width="100px;" alt="Felix Boehm"/><br /><sub><b>Felix Boehm</b></sub></a><br /><a href="#bug-fb55" title="Bug reports">🐛</a></td>
|
|
87
87
|
</tr>
|
|
88
88
|
<tr>
|
|
89
|
-
<td align="center" valign="top" width="14.28%"><a href="https://gvasquez.dev"><img src="https://avatars.githubusercontent.com/u/7041175?v=4?s=100" width="100px;" alt="Graham Vasquez"/><br /><sub><b>Graham Vasquez</b></sub></a><br /><a href="
|
|
89
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gvasquez.dev"><img src="https://avatars.githubusercontent.com/u/7041175?v=4?s=100" width="100px;" alt="Graham Vasquez"/><br /><sub><b>Graham Vasquez</b></sub></a><br /><a href="#code-gv14982" title="Code">💻</a></td>
|
|
90
90
|
<td align="center" valign="top" width="14.28%"><a href="https://jamiemagee.co.uk"><img src="https://avatars.githubusercontent.com/u/1358764?v=4?s=100" width="100px;" alt="Jamie Magee"/><br /><sub><b>Jamie Magee</b></sub></a><br /><a href="#ideas-jamiemagee" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
91
|
-
<td align="center" valign="top" width="14.28%"><a href="https://niklas-wortmann.com"><img src="https://avatars.githubusercontent.com/u/6104311?v=4?s=100" width="100px;" alt="Jan-Niklas W."/><br /><sub><b>Jan-Niklas W.</b></sub></a><br /><a href="
|
|
92
|
-
<td align="center" valign="top" width="14.28%"><a href="https://sinchang.me"><img src="https://avatars.githubusercontent.com/u/3297859?v=4?s=100" width="100px;" alt="Jeff Wen"/><br /><sub><b>Jeff Wen</b></sub></a><br /><a href="
|
|
93
|
-
<td align="center" valign="top" width="14.28%"><a href="https://jessicawilkins.dev/"><img src="https://avatars.githubusercontent.com/u/67210629?v=4?s=100" width="100px;" alt="Jessica Wilkins "/><br /><sub><b>Jessica Wilkins </b></sub></a><br /><a href="
|
|
94
|
-
<td align="center" valign="top" width="14.28%"><a href="https://typescriptcourse.com/tutorials"><img src="https://avatars.githubusercontent.com/u/3806031?v=4?s=100" width="100px;" alt="Joe Previte"/><br /><sub><b>Joe Previte</b></sub></a><br /><a href="
|
|
95
|
-
<td align="center" valign="top" width="14.28%"><a href="https://blog.johnnyreilly.com/"><img src="https://avatars.githubusercontent.com/u/1010525?v=4?s=100" width="100px;" alt="John Reilly"/><br /><sub><b>John Reilly</b></sub></a><br /><a href="
|
|
91
|
+
<td align="center" valign="top" width="14.28%"><a href="https://niklas-wortmann.com"><img src="https://avatars.githubusercontent.com/u/6104311?v=4?s=100" width="100px;" alt="Jan-Niklas W."/><br /><sub><b>Jan-Niklas W.</b></sub></a><br /><a href="#code-niklas-wortmann" title="Code">💻</a></td>
|
|
92
|
+
<td align="center" valign="top" width="14.28%"><a href="https://sinchang.me"><img src="https://avatars.githubusercontent.com/u/3297859?v=4?s=100" width="100px;" alt="Jeff Wen"/><br /><sub><b>Jeff Wen</b></sub></a><br /><a href="#code-sinchang" title="Code">💻</a></td>
|
|
93
|
+
<td align="center" valign="top" width="14.28%"><a href="https://jessicawilkins.dev/"><img src="https://avatars.githubusercontent.com/u/67210629?v=4?s=100" width="100px;" alt="Jessica Wilkins "/><br /><sub><b>Jessica Wilkins </b></sub></a><br /><a href="#code-jdwilkin4" title="Code">💻</a></td>
|
|
94
|
+
<td align="center" valign="top" width="14.28%"><a href="https://typescriptcourse.com/tutorials"><img src="https://avatars.githubusercontent.com/u/3806031?v=4?s=100" width="100px;" alt="Joe Previte"/><br /><sub><b>Joe Previte</b></sub></a><br /><a href="#bug-jsjoeio" title="Bug reports">🐛</a> <a href="#code-jsjoeio" title="Code">💻</a></td>
|
|
95
|
+
<td align="center" valign="top" width="14.28%"><a href="https://blog.johnnyreilly.com/"><img src="https://avatars.githubusercontent.com/u/1010525?v=4?s=100" width="100px;" alt="John Reilly"/><br /><sub><b>John Reilly</b></sub></a><br /><a href="#code-johnnyreilly" title="Code">💻</a> <a href="#ideas-johnnyreilly" title="Ideas, Planning, & Feedback">🤔</a> <a href="#bug-johnnyreilly" title="Bug reports">🐛</a> <a href="#maintenance-johnnyreilly" title="Maintenance">🚧</a> <a href="#doc-johnnyreilly" title="Documentation">📖</a> <a href="#tool-johnnyreilly" title="Tools">🔧</a></td>
|
|
96
96
|
</tr>
|
|
97
97
|
<tr>
|
|
98
|
-
<td align="center" valign="top" width="14.28%"><a href="http://www.joshuakgoldberg.com"><img src="https://avatars.githubusercontent.com/u/3335181?v=4?s=100" width="100px;" alt="Josh Goldberg"/><br /><sub><b>Josh Goldberg</b></sub></a><br /><a href="
|
|
99
|
-
<td align="center" valign="top" width="14.28%"><a href="https://twitter.com/Jolg42"><img src="https://avatars.githubusercontent.com/u/1328733?v=4?s=100" width="100px;" alt="Joël Galeran"/><br /><sub><b>Joël Galeran</b></sub></a><br /><a href="
|
|
100
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jaas666"><img src="https://avatars.githubusercontent.com/u/30204147?v=4?s=100" width="100px;" alt="Juan A."/><br /><sub><b>Juan A.</b></sub></a><br /><a href="
|
|
101
|
-
<td align="center" valign="top" width="14.28%"><a href="https://kristo-baricevic.github.io/"><img src="https://avatars.githubusercontent.com/u/108290619?v=4?s=100" width="100px;" alt="Kristo Baricevic"/><br /><sub><b>Kristo Baricevic</b></sub></a><br /><a href="
|
|
102
|
-
<td align="center" valign="top" width="14.28%"><a href="https://webpro.nl"><img src="https://avatars.githubusercontent.com/u/456426?v=4?s=100" width="100px;" alt="Lars Kappert"/><br /><sub><b>Lars Kappert</b></sub></a><br /><a href="
|
|
103
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Aslemammad"><img src="https://avatars.githubusercontent.com/u/37929992?v=4?s=100" width="100px;" alt="Mohammad Bagher Abiyat"/><br /><sub><b>Mohammad Bagher Abiyat</b></sub></a><br /><a href="
|
|
104
|
-
<td align="center" valign="top" width="14.28%"><a href="https://navinmoorthy.me/"><img src="https://avatars.githubusercontent.com/u/39694575?v=4?s=100" width="100px;" alt="Navin Moorthy"/><br /><sub><b>Navin Moorthy</b></sub></a><br /><a href="
|
|
98
|
+
<td align="center" valign="top" width="14.28%"><a href="http://www.joshuakgoldberg.com"><img src="https://avatars.githubusercontent.com/u/3335181?v=4?s=100" width="100px;" alt="Josh Goldberg"/><br /><sub><b>Josh Goldberg</b></sub></a><br /><a href="#bug-JoshuaKGoldberg" title="Bug reports">🐛</a> <a href="#code-JoshuaKGoldberg" title="Code">💻</a> <a href="#maintenance-JoshuaKGoldberg" title="Maintenance">🚧</a> <a href="#review-JoshuaKGoldberg" title="Reviewed Pull Requests">👀</a> <a href="#tool-JoshuaKGoldberg" title="Tools">🔧</a> <a href="#doc-JoshuaKGoldberg" title="Documentation">📖</a> <a href="#infra-JoshuaKGoldberg" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#test-JoshuaKGoldberg" title="Tests">⚠️</a> <a href="#ideas-JoshuaKGoldberg" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
99
|
+
<td align="center" valign="top" width="14.28%"><a href="https://twitter.com/Jolg42"><img src="https://avatars.githubusercontent.com/u/1328733?v=4?s=100" width="100px;" alt="Joël Galeran"/><br /><sub><b>Joël Galeran</b></sub></a><br /><a href="#code-jolg42" title="Code">💻</a></td>
|
|
100
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jaas666"><img src="https://avatars.githubusercontent.com/u/30204147?v=4?s=100" width="100px;" alt="Juan A."/><br /><sub><b>Juan A.</b></sub></a><br /><a href="#code-jaas666" title="Code">💻</a> <a href="#doc-jaas666" title="Documentation">📖</a></td>
|
|
101
|
+
<td align="center" valign="top" width="14.28%"><a href="https://kristo-baricevic.github.io/"><img src="https://avatars.githubusercontent.com/u/108290619?v=4?s=100" width="100px;" alt="Kristo Baricevic"/><br /><sub><b>Kristo Baricevic</b></sub></a><br /><a href="#code-kristo-baricevic" title="Code">💻</a></td>
|
|
102
|
+
<td align="center" valign="top" width="14.28%"><a href="https://webpro.nl"><img src="https://avatars.githubusercontent.com/u/456426?v=4?s=100" width="100px;" alt="Lars Kappert"/><br /><sub><b>Lars Kappert</b></sub></a><br /><a href="#code-webpro" title="Code">💻</a></td>
|
|
103
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Aslemammad"><img src="https://avatars.githubusercontent.com/u/37929992?v=4?s=100" width="100px;" alt="Mohammad Bagher Abiyat"/><br /><sub><b>Mohammad Bagher Abiyat</b></sub></a><br /><a href="#code-aslemammad" title="Code">💻</a></td>
|
|
104
|
+
<td align="center" valign="top" width="14.28%"><a href="https://navinmoorthy.me/"><img src="https://avatars.githubusercontent.com/u/39694575?v=4?s=100" width="100px;" alt="Navin Moorthy"/><br /><sub><b>Navin Moorthy</b></sub></a><br /><a href="#bug-navin-moorthy" title="Bug reports">🐛</a> <a href="#code-navin-moorthy" title="Code">💻</a> <a href="#ideas-navin-moorthy" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
105
105
|
</tr>
|
|
106
106
|
<tr>
|
|
107
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/NazCodeland"><img src="https://avatars.githubusercontent.com/u/113494366?v=4?s=100" width="100px;" alt="NazCodeland"/><br /><sub><b>NazCodeland</b></sub></a><br /><a href="
|
|
108
|
-
<td align="center" valign="top" width="14.28%"><a href="https://orta.io"><img src="https://avatars.githubusercontent.com/u/49038?v=4?s=100" width="100px;" alt="Orta Therox"/><br /><sub><b>Orta Therox</b></sub></a><br /><a href="
|
|
109
|
-
<td align="center" valign="top" width="14.28%"><a href="https://paulisaweso.me/"><img src="https://avatars.githubusercontent.com/u/6335792?v=4?s=100" width="100px;" alt="Paul Esch-Laurent"/><br /><sub><b>Paul Esch-Laurent</b></sub></a><br /><a href="
|
|
110
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
111
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
112
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/
|
|
113
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
107
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/NazCodeland"><img src="https://avatars.githubusercontent.com/u/113494366?v=4?s=100" width="100px;" alt="NazCodeland"/><br /><sub><b>NazCodeland</b></sub></a><br /><a href="#code-NazCodeland" title="Code">💻</a></td>
|
|
108
|
+
<td align="center" valign="top" width="14.28%"><a href="https://orta.io"><img src="https://avatars.githubusercontent.com/u/49038?v=4?s=100" width="100px;" alt="Orta Therox"/><br /><sub><b>Orta Therox</b></sub></a><br /><a href="#code-orta" title="Code">💻</a> <a href="#ideas-orta" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
109
|
+
<td align="center" valign="top" width="14.28%"><a href="https://paulisaweso.me/"><img src="https://avatars.githubusercontent.com/u/6335792?v=4?s=100" width="100px;" alt="Paul Esch-Laurent"/><br /><sub><b>Paul Esch-Laurent</b></sub></a><br /><a href="#code-Pinjasaur" title="Code">💻</a></td>
|
|
110
|
+
<td align="center" valign="top" width="14.28%"><a href="https://kodfabrik.se/"><img src="https://avatars.githubusercontent.com/u/34457?v=4?s=100" width="100px;" alt="Pelle Wessman"/><br /><sub><b>Pelle Wessman</b></sub></a><br /><a href="#ideas-voxpelli" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
111
|
+
<td align="center" valign="top" width="14.28%"><a href="https://praveenshinde.vercel.app/"><img src="https://avatars.githubusercontent.com/u/107350270?v=4?s=100" width="100px;" alt="Praveen Shinde"/><br /><sub><b>Praveen Shinde</b></sub></a><br /><a href="#code-praveenshinde3" title="Code">💻</a></td>
|
|
112
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/promise-dash"><img src="https://avatars.githubusercontent.com/u/86062880?v=4?s=100" width="100px;" alt="Promise Dash"/><br /><sub><b>Promise Dash</b></sub></a><br /><a href="#code-promise-dash" title="Code">💻</a></td>
|
|
113
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/RebeccaStevens"><img src="https://avatars.githubusercontent.com/u/7224206?v=4?s=100" width="100px;" alt="Rebecca Stevens"/><br /><sub><b>Rebecca Stevens</b></sub></a><br /><a href="#code-RebeccaStevens" title="Code">💻</a> <a href="#infra-RebeccaStevens" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
114
114
|
</tr>
|
|
115
115
|
<tr>
|
|
116
|
-
<td align="center" valign="top" width="14.28%"><a href="
|
|
117
|
-
<td align="center" valign="top" width="14.28%"><a href="
|
|
118
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
119
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
120
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
121
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/
|
|
122
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
116
|
+
<td align="center" valign="top" width="14.28%"><a href="https://linktr.ee/ronbraha"><img src="https://avatars.githubusercontent.com/u/45559220?v=4?s=100" width="100px;" alt="Ron Braha"/><br /><sub><b>Ron Braha</b></sub></a><br /><a href="#code-RNR1" title="Code">💻</a> <a href="#design-RNR1" title="Design">🎨</a> <a href="#test-RNR1" title="Tests">⚠️</a></td>
|
|
117
|
+
<td align="center" valign="top" width="14.28%"><a href="http://ronjeanfrancois.com"><img src="https://avatars.githubusercontent.com/u/105710107?v=4?s=100" width="100px;" alt="Ron Jean-Francois"/><br /><sub><b>Ron Jean-Francois</b></sub></a><br /><a href="#code-ronthetech" title="Code">💻</a> <a href="#infra-ronthetech" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
|
|
118
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/RuthwikReddy09"><img src="https://avatars.githubusercontent.com/u/126862059?v=4?s=100" width="100px;" alt="Ruthwik"/><br /><sub><b>Ruthwik</b></sub></a><br /><a href="#code-ruthwikreddy09" title="Code">💻</a></td>
|
|
119
|
+
<td align="center" valign="top" width="14.28%"><a href="https://ryota-murakami.github.io/"><img src="https://avatars.githubusercontent.com/u/5501268?v=4?s=100" width="100px;" alt="Ryota Murakami"/><br /><sub><b>Ryota Murakami</b></sub></a><br /><a href="#code-ryota-murakami" title="Code">💻</a> <a href="#bug-ryota-murakami" title="Bug reports">🐛</a></td>
|
|
120
|
+
<td align="center" valign="top" width="14.28%"><a href="https://www.shraddha.tech"><img src="https://avatars.githubusercontent.com/u/27571141?v=4?s=100" width="100px;" alt="Shraddha"/><br /><sub><b>Shraddha</b></sub></a><br /><a href="#code-5hraddha" title="Code">💻</a></td>
|
|
121
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/the-lazy-learner"><img src="https://avatars.githubusercontent.com/u/13695177?v=4?s=100" width="100px;" alt="Sudhansu"/><br /><sub><b>Sudhansu</b></sub></a><br /><a href="#code-the-lazy-learner" title="Code">💻</a></td>
|
|
122
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/mrswastik-robot"><img src="https://avatars.githubusercontent.com/u/107865087?v=4?s=100" width="100px;" alt="Swastik Patel"/><br /><sub><b>Swastik Patel</b></sub></a><br /><a href="#doc-mrswastik-robot" title="Documentation">📖</a></td>
|
|
123
123
|
</tr>
|
|
124
124
|
<tr>
|
|
125
|
-
<td align="center" valign="top" width="14.28%"><a href="https://
|
|
126
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/
|
|
127
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/
|
|
128
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/
|
|
129
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/
|
|
130
|
-
<td align="center" valign="top" width="14.28%"><a href="
|
|
131
|
-
<td align="center" valign="top" width="14.28%"><a href="
|
|
125
|
+
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/timonjurschitsch/"><img src="https://avatars.githubusercontent.com/u/103483059?v=4?s=100" width="100px;" alt="Timon Jurschitsch"/><br /><sub><b>Timon Jurschitsch</b></sub></a><br /><a href="#code-dertimonius" title="Code">💻</a></td>
|
|
126
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tungbq"><img src="https://avatars.githubusercontent.com/u/85242618?v=4?s=100" width="100px;" alt="Tung Bui (Leo)"/><br /><sub><b>Tung Bui (Leo)</b></sub></a><br /><a href="#code-tungbq" title="Code">💻</a></td>
|
|
127
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/valon-loshaj"><img src="https://avatars.githubusercontent.com/u/73202963?v=4?s=100" width="100px;" alt="Valon"/><br /><sub><b>Valon</b></sub></a><br /><a href="#doc-valon-loshaj" title="Documentation">📖</a></td>
|
|
128
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/vasanth9"><img src="https://avatars.githubusercontent.com/u/42891954?v=4?s=100" width="100px;" alt="Vasanth Kumar Cheepurupalli"/><br /><sub><b>Vasanth Kumar Cheepurupalli</b></sub></a><br /><a href="#code-vasanth9" title="Code">💻</a></td>
|
|
129
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/xl4624"><img src="https://avatars.githubusercontent.com/u/116298054?v=4?s=100" width="100px;" alt="Xiaomin Liu"/><br /><sub><b>Xiaomin Liu</b></sub></a><br /><a href="#code-xl4624" title="Code">💻</a></td>
|
|
130
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/lcforbes"><img src="https://avatars.githubusercontent.com/u/42080532?v=4?s=100" width="100px;" alt="lcforbes"/><br /><sub><b>lcforbes</b></sub></a><br /><a href="#bug-lcforbes" title="Bug reports">🐛</a></td>
|
|
131
|
+
<td align="center" valign="top" width="14.28%"><a href="http://nandertga.ddns.net"><img src="https://avatars.githubusercontent.com/u/65074195?v=4?s=100" width="100px;" alt="nandertga"/><br /><sub><b>nandertga</b></sub></a><br /><a href="#code-nandertga" title="Code">💻</a></td>
|
|
132
132
|
</tr>
|
|
133
133
|
<tr>
|
|
134
|
-
<td align="center" valign="top" width="14.28%"><a href="https://github.com/
|
|
134
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/rubiesonthesky"><img src="https://avatars.githubusercontent.com/u/2591240?v=4?s=100" width="100px;" alt="rubiesonthesky"/><br /><sub><b>rubiesonthesky</b></sub></a><br /><a href="#ideas-rubiesonthesky" title="Ideas, Planning, & Feedback">🤔</a> <a href="#code-rubiesonthesky" title="Code">💻</a></td>
|
|
135
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/TAKANOME-DEV"><img src="https://avatars.githubusercontent.com/u/79809121?v=4?s=100" width="100px;" alt="takanomedev"/><br /><sub><b>takanomedev</b></sub></a><br /><a href="#code-TAKANOME-DEV" title="Code">💻</a></td>
|
|
135
136
|
</tr>
|
|
136
137
|
</tbody>
|
|
137
138
|
</table>
|
|
@@ -5,13 +5,14 @@ async function createAndEnterGitDirectory(directory) {
|
|
|
5
5
|
if (directory !== "." && !(await fs.readdir(".")).includes(directory)) {
|
|
6
6
|
await fs.mkdir(directory);
|
|
7
7
|
} else if ((await fs.readdir(directory)).length) {
|
|
8
|
-
return
|
|
8
|
+
return void 0;
|
|
9
9
|
}
|
|
10
10
|
if (directory !== ".") {
|
|
11
11
|
process.chdir(directory);
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
const cwd = process.cwd();
|
|
14
|
+
await $({ cwd })`git init -b main`;
|
|
15
|
+
return cwd;
|
|
15
16
|
}
|
|
16
17
|
export {
|
|
17
18
|
createAndEnterGitDirectory
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/create/createAndEnterGitDirectory.ts"],"sourcesContent":["import { $ } from \"execa\";\nimport * as fs from \"node:fs/promises\";\nimport * as process from \"node:process\";\n\nexport async function createAndEnterGitDirectory(directory: string) {\n\tif (directory !== \".\" && !(await fs.readdir(\".\")).includes(directory)) {\n\t\tawait fs.mkdir(directory);\n\t} else if ((await fs.readdir(directory)).length) {\n\t\treturn
|
|
1
|
+
{"version":3,"sources":["../../src/create/createAndEnterGitDirectory.ts"],"sourcesContent":["import { $ } from \"execa\";\nimport * as fs from \"node:fs/promises\";\nimport * as process from \"node:process\";\n\nexport async function createAndEnterGitDirectory(directory: string) {\n\tif (directory !== \".\" && !(await fs.readdir(\".\")).includes(directory)) {\n\t\tawait fs.mkdir(directory);\n\t} else if ((await fs.readdir(directory)).length) {\n\t\treturn undefined;\n\t}\n\n\tif (directory !== \".\") {\n\t\tprocess.chdir(directory);\n\t}\n\n\t// https://github.com/JoshuaKGoldberg/create-typescript-app/pull/1781\n\t// For some reason, after this function returns, the cwd was resetting back?\n\t// Also $ commands seem to preserve the cwd from the start of the script?!\n\t// Maybe some parallelized running of scripts was messing with it?\n\t// All this code will be gone soon once the create engine takes over anyway.\n\tconst cwd = process.cwd();\n\n\tawait $({ cwd })`git init -b main`;\n\n\treturn cwd;\n}\n"],"mappings":"AAAA,SAAS,SAAS;AAClB,YAAY,QAAQ;AACpB,YAAY,aAAa;AAEzB,eAAsB,2BAA2B,WAAmB;AACnE,MAAI,cAAc,OAAO,EAAE,MAAM,GAAG,QAAQ,GAAG,GAAG,SAAS,SAAS,GAAG;AACtE,UAAM,GAAG,MAAM,SAAS;AAAA,EACzB,YAAY,MAAM,GAAG,QAAQ,SAAS,GAAG,QAAQ;AAChD,WAAO;AAAA,EACR;AAEA,MAAI,cAAc,KAAK;AACtB,YAAQ,MAAM,SAAS;AAAA,EACxB;AAOA,QAAM,MAAM,QAAQ,IAAI;AAExB,QAAM,EAAE,EAAE,IAAI,CAAC;AAEf,SAAO;AACR;","names":[]}
|
|
@@ -4,7 +4,7 @@ import 'zod';
|
|
|
4
4
|
import '../shared/types.js';
|
|
5
5
|
import '../shared/codes.js';
|
|
6
6
|
|
|
7
|
-
declare function createWithOptions({ octokit, options
|
|
7
|
+
declare function createWithOptions({ octokit, options }: OctokitAndOptions, repositoryDirectory: string): Promise<{
|
|
8
8
|
sentToGitHub: boolean | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
|
|
@@ -14,10 +14,9 @@ import { initializeGitHubRepository } from "../steps/initializeGitHubRepository/
|
|
|
14
14
|
import { runCleanup } from "../steps/runCleanup.js";
|
|
15
15
|
import { writeReadme } from "../steps/writeReadme/index.js";
|
|
16
16
|
import { writeStructure } from "../steps/writing/writeStructure.js";
|
|
17
|
-
async function createWithOptions({
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}) {
|
|
17
|
+
async function createWithOptions({ octokit, options }, repositoryDirectory) {
|
|
18
|
+
process.chdir(repositoryDirectory);
|
|
19
|
+
const $$ = $({ cwd: repositoryDirectory });
|
|
21
20
|
if (isUsingCreateEngine()) {
|
|
22
21
|
await withSpinner("Creating repository", async () => {
|
|
23
22
|
await runCreateEnginePreset(options);
|
|
@@ -54,10 +53,10 @@ async function createWithOptions({
|
|
|
54
53
|
const sendToGitHub = octokit && await doesRepositoryExist(octokit, options);
|
|
55
54
|
if (sendToGitHub) {
|
|
56
55
|
await withSpinner("Initializing GitHub repository", async () => {
|
|
57
|
-
await
|
|
58
|
-
await
|
|
59
|
-
await
|
|
60
|
-
await
|
|
56
|
+
await $$`git remote add origin https://github.com/${options.owner}/${options.repository}`;
|
|
57
|
+
await $$`git add -A`;
|
|
58
|
+
await $$`git commit --message ${"feat: initialized repo \u2728"} --no-gpg-sign`;
|
|
59
|
+
await $$`git push -u origin main --force`;
|
|
61
60
|
await initializeGitHubRepository(octokit, options);
|
|
62
61
|
});
|
|
63
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/create/createWithOptions.ts"],"sourcesContent":["import { $ } from \"execa\";\n\nimport { runCreateEnginePreset } from \"../next/runCreateEnginePreset.js\";\nimport {\n\tLabeledSpinnerTask,\n\twithSpinner,\n\twithSpinners,\n} from \"../shared/cli/spinners.js\";\nimport { createCleanupCommands } from \"../shared/createCleanupCommands.js\";\nimport { doesRepositoryExist } from \"../shared/doesRepositoryExist.js\";\nimport { isUsingCreateEngine } from \"../shared/isUsingCreateEngine.js\";\nimport { OctokitAndOptions } from \"../shared/options/readOptions.js\";\nimport { addToolAllContributors } from \"../steps/addToolAllContributors.js\";\nimport { clearLocalGitTags } from \"../steps/clearLocalGitTags.js\";\nimport { finalizeDependencies } from \"../steps/finalizeDependencies.js\";\nimport { initializeGitHubRepository } from \"../steps/initializeGitHubRepository/index.js\";\nimport { runCleanup } from \"../steps/runCleanup.js\";\nimport { writeReadme } from \"../steps/writeReadme/index.js\";\nimport { writeStructure } from \"../steps/writing/writeStructure.js\";\n\nexport async function createWithOptions(
|
|
1
|
+
{"version":3,"sources":["../../src/create/createWithOptions.ts"],"sourcesContent":["import { $ } from \"execa\";\n\nimport { runCreateEnginePreset } from \"../next/runCreateEnginePreset.js\";\nimport {\n\tLabeledSpinnerTask,\n\twithSpinner,\n\twithSpinners,\n} from \"../shared/cli/spinners.js\";\nimport { createCleanupCommands } from \"../shared/createCleanupCommands.js\";\nimport { doesRepositoryExist } from \"../shared/doesRepositoryExist.js\";\nimport { isUsingCreateEngine } from \"../shared/isUsingCreateEngine.js\";\nimport { OctokitAndOptions } from \"../shared/options/readOptions.js\";\nimport { addToolAllContributors } from \"../steps/addToolAllContributors.js\";\nimport { clearLocalGitTags } from \"../steps/clearLocalGitTags.js\";\nimport { finalizeDependencies } from \"../steps/finalizeDependencies.js\";\nimport { initializeGitHubRepository } from \"../steps/initializeGitHubRepository/index.js\";\nimport { runCleanup } from \"../steps/runCleanup.js\";\nimport { writeReadme } from \"../steps/writeReadme/index.js\";\nimport { writeStructure } from \"../steps/writing/writeStructure.js\";\n\nexport async function createWithOptions(\n\t{ octokit, options }: OctokitAndOptions,\n\trepositoryDirectory: string,\n) {\n\t// https://github.com/JoshuaKGoldberg/create-typescript-app/pull/1781\n\t// I don't know why the chdir wasn't sticking from createAndEnterGitDirectory\n\tprocess.chdir(repositoryDirectory);\n\tconst $$ = $({ cwd: repositoryDirectory });\n\n\tif (isUsingCreateEngine()) {\n\t\tawait withSpinner(\"Creating repository\", async () => {\n\t\t\tawait runCreateEnginePreset(options);\n\t\t});\n\t\treturn { sentToGitHub: false };\n\t}\n\n\tawait withSpinners(\"Creating repository structure\", [\n\t\t[\n\t\t\t\"Writing structure\",\n\t\t\tasync () => {\n\t\t\t\tawait writeStructure(options);\n\t\t\t},\n\t\t],\n\t\t[\n\t\t\t\"Writing README.md\",\n\t\t\tasync () => {\n\t\t\t\tawait writeReadme(options);\n\t\t\t},\n\t\t] satisfies LabeledSpinnerTask<void>,\n\t]);\n\n\tif (!options.excludeAllContributors && !options.skipAllContributorsApi) {\n\t\tawait withSpinner(\"Adding contributors to table\", async () => {\n\t\t\tawait addToolAllContributors(octokit, options);\n\t\t});\n\t}\n\n\tif (!options.skipInstall) {\n\t\tawait withSpinner(\"Installing packages\", async () =>\n\t\t\tfinalizeDependencies(options),\n\t\t);\n\n\t\tawait runCleanup(createCleanupCommands(options.bin), options.mode);\n\t}\n\n\tawait withSpinner(\"Clearing any local Git tags\", clearLocalGitTags);\n\n\tconst sendToGitHub = octokit && (await doesRepositoryExist(octokit, options));\n\n\tif (sendToGitHub) {\n\t\tawait withSpinner(\"Initializing GitHub repository\", async () => {\n\t\t\tawait $$`git remote add origin https://github.com/${options.owner}/${options.repository}`;\n\t\t\tawait $$`git add -A`;\n\t\t\tawait $$`git commit --message ${\"feat: initialized repo ✨\"} --no-gpg-sign`;\n\t\t\tawait $$`git push -u origin main --force`;\n\t\t\tawait initializeGitHubRepository(octokit, options);\n\t\t});\n\t}\n\n\treturn { sentToGitHub: sendToGitHub };\n}\n"],"mappings":"AAAA,SAAS,SAAS;AAElB,SAAS,6BAA6B;AACtC;AAAA,EAEC;AAAA,EACA;AAAA,OACM;AACP,SAAS,6BAA6B;AACtC,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AAEpC,SAAS,8BAA8B;AACvC,SAAS,yBAAyB;AAClC,SAAS,4BAA4B;AACrC,SAAS,kCAAkC;AAC3C,SAAS,kBAAkB;AAC3B,SAAS,mBAAmB;AAC5B,SAAS,sBAAsB;AAE/B,eAAsB,kBACrB,EAAE,SAAS,QAAQ,GACnB,qBACC;AAGD,UAAQ,MAAM,mBAAmB;AACjC,QAAM,KAAK,EAAE,EAAE,KAAK,oBAAoB,CAAC;AAEzC,MAAI,oBAAoB,GAAG;AAC1B,UAAM,YAAY,uBAAuB,YAAY;AACpD,YAAM,sBAAsB,OAAO;AAAA,IACpC,CAAC;AACD,WAAO,EAAE,cAAc,MAAM;AAAA,EAC9B;AAEA,QAAM,aAAa,iCAAiC;AAAA,IACnD;AAAA,MACC;AAAA,MACA,YAAY;AACX,cAAM,eAAe,OAAO;AAAA,MAC7B;AAAA,IACD;AAAA,IACA;AAAA,MACC;AAAA,MACA,YAAY;AACX,cAAM,YAAY,OAAO;AAAA,MAC1B;AAAA,IACD;AAAA,EACD,CAAC;AAED,MAAI,CAAC,QAAQ,0BAA0B,CAAC,QAAQ,wBAAwB;AACvE,UAAM,YAAY,gCAAgC,YAAY;AAC7D,YAAM,uBAAuB,SAAS,OAAO;AAAA,IAC9C,CAAC;AAAA,EACF;AAEA,MAAI,CAAC,QAAQ,aAAa;AACzB,UAAM;AAAA,MAAY;AAAA,MAAuB,YACxC,qBAAqB,OAAO;AAAA,IAC7B;AAEA,UAAM,WAAW,sBAAsB,QAAQ,GAAG,GAAG,QAAQ,IAAI;AAAA,EAClE;AAEA,QAAM,YAAY,+BAA+B,iBAAiB;AAElE,QAAM,eAAe,WAAY,MAAM,oBAAoB,SAAS,OAAO;AAE3E,MAAI,cAAc;AACjB,UAAM,YAAY,kCAAkC,YAAY;AAC/D,YAAM,8CAA8C,QAAQ,KAAK,IAAI,QAAQ,UAAU;AACvF,YAAM;AACN,YAAM,0BAA0B,+BAA0B;AAC1D,YAAM;AACN,YAAM,2BAA2B,SAAS,OAAO;AAAA,IAClD,CAAC;AAAA,EACF;AAEA,SAAO,EAAE,cAAc,aAAa;AACrC;","names":[]}
|
package/lib/create/index.js
CHANGED
|
@@ -17,7 +17,10 @@ const create = async (args, promptedOptions) => {
|
|
|
17
17
|
options: inputs.options
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
|
|
20
|
+
const repositoryDirectory = await createAndEnterGitDirectory(
|
|
21
|
+
inputs.options.directory
|
|
22
|
+
);
|
|
23
|
+
if (!repositoryDirectory) {
|
|
21
24
|
prompts.outro(
|
|
22
25
|
chalk.red(
|
|
23
26
|
`The ${inputs.options.directory} directory already exists and is not empty. Please clear the directory, run with --mode initialize, or try a different directory.`
|
|
@@ -28,7 +31,10 @@ const create = async (args, promptedOptions) => {
|
|
|
28
31
|
return {
|
|
29
32
|
code: await runOrRestore({
|
|
30
33
|
run: async () => {
|
|
31
|
-
const { sentToGitHub } = await createWithOptions(
|
|
34
|
+
const { sentToGitHub } = await createWithOptions(
|
|
35
|
+
inputs,
|
|
36
|
+
repositoryDirectory
|
|
37
|
+
);
|
|
32
38
|
const nextSteps = generateNextSteps(inputs.options);
|
|
33
39
|
outro(
|
|
34
40
|
sentToGitHub ? nextSteps : [
|
package/lib/create/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/create/index.ts"],"sourcesContent":["import * as prompts from \"@clack/prompts\";\nimport chalk from \"chalk\";\n\nimport { outro } from \"../shared/cli/outro.js\";\nimport { StatusCodes } from \"../shared/codes.js\";\nimport { generateNextSteps } from \"../shared/generateNextSteps.js\";\nimport { readOptions } from \"../shared/options/readOptions.js\";\nimport { runOrRestore } from \"../shared/runOrRestore.js\";\nimport { ModeRunner } from \"../shared/types.js\";\nimport { createAndEnterGitDirectory } from \"./createAndEnterGitDirectory.js\";\nimport { createRerunSuggestion } from \"./createRerunSuggestion.js\";\nimport { createWithOptions } from \"./createWithOptions.js\";\n\nexport const create: ModeRunner = async (args, promptedOptions) => {\n\tconst inputs = await readOptions(args, \"create\", promptedOptions);\n\tif (inputs.cancelled) {\n\t\treturn {\n\t\t\tcode: StatusCodes.Cancelled,\n\t\t\terror: inputs.error,\n\t\t\toptions: inputs.options,\n\t\t};\n\t}\n\n\
|
|
1
|
+
{"version":3,"sources":["../../src/create/index.ts"],"sourcesContent":["import * as prompts from \"@clack/prompts\";\nimport chalk from \"chalk\";\n\nimport { outro } from \"../shared/cli/outro.js\";\nimport { StatusCodes } from \"../shared/codes.js\";\nimport { generateNextSteps } from \"../shared/generateNextSteps.js\";\nimport { readOptions } from \"../shared/options/readOptions.js\";\nimport { runOrRestore } from \"../shared/runOrRestore.js\";\nimport { ModeRunner } from \"../shared/types.js\";\nimport { createAndEnterGitDirectory } from \"./createAndEnterGitDirectory.js\";\nimport { createRerunSuggestion } from \"./createRerunSuggestion.js\";\nimport { createWithOptions } from \"./createWithOptions.js\";\n\nexport const create: ModeRunner = async (args, promptedOptions) => {\n\tconst inputs = await readOptions(args, \"create\", promptedOptions);\n\tif (inputs.cancelled) {\n\t\treturn {\n\t\t\tcode: StatusCodes.Cancelled,\n\t\t\terror: inputs.error,\n\t\t\toptions: inputs.options,\n\t\t};\n\t}\n\n\tconst repositoryDirectory = await createAndEnterGitDirectory(\n\t\tinputs.options.directory,\n\t);\n\tif (!repositoryDirectory) {\n\t\tprompts.outro(\n\t\t\tchalk.red(\n\t\t\t\t`The ${inputs.options.directory} directory already exists and is not empty. Please clear the directory, run with --mode initialize, or try a different directory.`,\n\t\t\t),\n\t\t);\n\t\treturn { code: StatusCodes.Failure, options: inputs.options };\n\t}\n\n\treturn {\n\t\tcode: await runOrRestore({\n\t\t\trun: async () => {\n\t\t\t\tconst { sentToGitHub } = await createWithOptions(\n\t\t\t\t\tinputs,\n\t\t\t\t\trepositoryDirectory,\n\t\t\t\t);\n\t\t\t\tconst nextSteps = generateNextSteps(inputs.options);\n\n\t\t\t\toutro(\n\t\t\t\t\tsentToGitHub\n\t\t\t\t\t\t? nextSteps\n\t\t\t\t\t\t: [\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tlabel:\n\t\t\t\t\t\t\t\t\t\t\"Consider creating a GitHub repository from the new directory:\",\n\t\t\t\t\t\t\t\t\tlines: [\n\t\t\t\t\t\t\t\t\t\t`cd ${inputs.options.repository}`,\n\t\t\t\t\t\t\t\t\t\tcreateRerunSuggestion({\n\t\t\t\t\t\t\t\t\t\t\t...inputs.options,\n\t\t\t\t\t\t\t\t\t\t\tmode: \"initialize\",\n\t\t\t\t\t\t\t\t\t\t\tskipGitHubApi: false,\n\t\t\t\t\t\t\t\t\t\t\tskipInstall: false,\n\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t`git add -A`,\n\t\t\t\t\t\t\t\t\t\t`git commit -m \"feat: initial commit ✨\"`,\n\t\t\t\t\t\t\t\t\t\t`git push -u origin main`,\n\t\t\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\t\tvariant: \"code\",\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t...nextSteps,\n\t\t\t\t\t\t\t],\n\t\t\t\t);\n\t\t\t},\n\t\t\tskipRestore: inputs.options.skipRestore,\n\t\t}),\n\t\toptions: inputs.options,\n\t};\n};\n"],"mappings":"AAAA,YAAY,aAAa;AACzB,OAAO,WAAW;AAElB,SAAS,aAAa;AACtB,SAAS,mBAAmB;AAC5B,SAAS,yBAAyB;AAClC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAE7B,SAAS,kCAAkC;AAC3C,SAAS,6BAA6B;AACtC,SAAS,yBAAyB;AAE3B,MAAM,SAAqB,OAAO,MAAM,oBAAoB;AAClE,QAAM,SAAS,MAAM,YAAY,MAAM,UAAU,eAAe;AAChE,MAAI,OAAO,WAAW;AACrB,WAAO;AAAA,MACN,MAAM,YAAY;AAAA,MAClB,OAAO,OAAO;AAAA,MACd,SAAS,OAAO;AAAA,IACjB;AAAA,EACD;AAEA,QAAM,sBAAsB,MAAM;AAAA,IACjC,OAAO,QAAQ;AAAA,EAChB;AACA,MAAI,CAAC,qBAAqB;AACzB,YAAQ;AAAA,MACP,MAAM;AAAA,QACL,OAAO,OAAO,QAAQ,SAAS;AAAA,MAChC;AAAA,IACD;AACA,WAAO,EAAE,MAAM,YAAY,SAAS,SAAS,OAAO,QAAQ;AAAA,EAC7D;AAEA,SAAO;AAAA,IACN,MAAM,MAAM,aAAa;AAAA,MACxB,KAAK,YAAY;AAChB,cAAM,EAAE,aAAa,IAAI,MAAM;AAAA,UAC9B;AAAA,UACA;AAAA,QACD;AACA,cAAM,YAAY,kBAAkB,OAAO,OAAO;AAElD;AAAA,UACC,eACG,YACA;AAAA,YACA;AAAA,cACC,OACC;AAAA,cACD,OAAO;AAAA,gBACN,MAAM,OAAO,QAAQ,UAAU;AAAA,gBAC/B,sBAAsB;AAAA,kBACrB,GAAG,OAAO;AAAA,kBACV,MAAM;AAAA,kBACN,eAAe;AAAA,kBACf,aAAa;AAAA,gBACd,CAAC;AAAA,gBACD;AAAA,gBACA;AAAA,gBACA;AAAA,cACD;AAAA,cACA,SAAS;AAAA,YACV;AAAA,YACA,GAAG;AAAA,UACJ;AAAA,QACH;AAAA,MACD;AAAA,MACA,aAAa,OAAO,QAAQ;AAAA,IAC7B,CAAC;AAAA,IACD,SAAS,OAAO;AAAA,EACjB;AACD;","names":[]}
|
package/lib/next/base.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ declare const base: create.Base<{
|
|
|
26
26
|
profile: string;
|
|
27
27
|
}>, "many">>;
|
|
28
28
|
description: z.ZodString;
|
|
29
|
+
directory: z.ZodString;
|
|
29
30
|
documentation: z.ZodOptional<z.ZodString>;
|
|
30
31
|
email: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
31
32
|
github: z.ZodString;
|
|
@@ -56,7 +57,6 @@ declare const base: create.Base<{
|
|
|
56
57
|
}>>;
|
|
57
58
|
hideTemplatedBy: z.ZodOptional<z.ZodBoolean>;
|
|
58
59
|
keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
59
|
-
login: z.ZodOptional<z.ZodString>;
|
|
60
60
|
logo: z.ZodOptional<z.ZodObject<{
|
|
61
61
|
alt: z.ZodString;
|
|
62
62
|
src: z.ZodString;
|
|
@@ -91,7 +91,6 @@ declare const base: create.Base<{
|
|
|
91
91
|
devDependencies?: Record<string, string> | undefined;
|
|
92
92
|
scripts?: Record<string, string> | undefined;
|
|
93
93
|
}>>;
|
|
94
|
-
preserveGeneratedFrom: z.ZodOptional<z.ZodBoolean>;
|
|
95
94
|
repository: z.ZodString;
|
|
96
95
|
title: z.ZodString;
|
|
97
96
|
version: z.ZodOptional<z.ZodString>;
|
package/lib/next/base.js
CHANGED
|
@@ -4,6 +4,7 @@ import gitRemoteOriginUrl from "git-remote-origin-url";
|
|
|
4
4
|
import gitUrlParse from "git-url-parse";
|
|
5
5
|
import { inputFromFile } from "input-from-file";
|
|
6
6
|
import { inputFromFileJSON } from "input-from-file-json";
|
|
7
|
+
import { inputFromScript } from "input-from-script";
|
|
7
8
|
import lazyValue from "lazy-value";
|
|
8
9
|
import npmUser from "npm-user";
|
|
9
10
|
import { z } from "zod";
|
|
@@ -14,12 +15,13 @@ import { readFunding } from "../shared/options/createOptionDefaults/readFunding.
|
|
|
14
15
|
import { readGuide } from "../shared/options/createOptionDefaults/readGuide.js";
|
|
15
16
|
import { readPackageData } from "../shared/packages.js";
|
|
16
17
|
import { tryCatchLazyValueAsync } from "../shared/tryCatchLazyValueAsync.js";
|
|
18
|
+
import { readDocumentation } from "./readDocumentation.js";
|
|
17
19
|
import { swallowError } from "./utils/swallowError.js";
|
|
18
20
|
const base = createBase({
|
|
19
21
|
options: {
|
|
20
|
-
access: z.union([z.literal("public"), z.literal("restricted")]).optional(),
|
|
21
|
-
author: z.string().optional(),
|
|
22
|
-
bin: z.string().optional(),
|
|
22
|
+
access: z.union([z.literal("public"), z.literal("restricted")]).optional().describe("which `npm publish --access` to release npm packages with"),
|
|
23
|
+
author: z.string().optional().describe("username on npm to publish packages under"),
|
|
24
|
+
bin: z.string().optional().describe('value to set in `package.json`\'s `"bin"` property.'),
|
|
23
25
|
contributors: z.array(
|
|
24
26
|
z.object({
|
|
25
27
|
avatar_url: z.string(),
|
|
@@ -28,9 +30,10 @@ const base = createBase({
|
|
|
28
30
|
name: z.string(),
|
|
29
31
|
profile: z.string()
|
|
30
32
|
})
|
|
31
|
-
).optional(),
|
|
32
|
-
description: z.string(),
|
|
33
|
-
|
|
33
|
+
).optional().describe("AllContributors contributors to store in .all-contributorsrc"),
|
|
34
|
+
description: z.string().describe("sentence case description of the repository"),
|
|
35
|
+
directory: z.string(),
|
|
36
|
+
documentation: z.string().optional().describe("any additional docs to add to .github/DEVELOPMENT.md"),
|
|
34
37
|
email: z.union([
|
|
35
38
|
z.string(),
|
|
36
39
|
z.object({
|
|
@@ -39,33 +42,39 @@ const base = createBase({
|
|
|
39
42
|
})
|
|
40
43
|
]).transform(
|
|
41
44
|
(email) => typeof email === "string" ? { github: email, npm: email } : email
|
|
45
|
+
).describe(
|
|
46
|
+
"email address to be listed as the point of contact in docs and packages"
|
|
42
47
|
),
|
|
43
|
-
funding: z.string().optional(),
|
|
48
|
+
funding: z.string().optional().describe("GitHub organization or username to mention in `funding.yml`"),
|
|
44
49
|
guide: z.object({
|
|
45
50
|
href: z.string(),
|
|
46
51
|
title: z.string()
|
|
47
|
-
}).optional()
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
52
|
+
}).optional().describe(
|
|
53
|
+
"link to a contribution guide to place at the top of development docs"
|
|
54
|
+
),
|
|
55
|
+
hideTemplatedBy: z.boolean().optional().describe(
|
|
56
|
+
"whether to hide the 'created by ...' notice at the bottom of the README.md"
|
|
57
|
+
),
|
|
58
|
+
keywords: z.array(z.string()).optional().describe("any number of keywords to include in `package.json`"),
|
|
51
59
|
logo: z.object({
|
|
52
60
|
alt: z.string(),
|
|
53
61
|
src: z.string()
|
|
54
|
-
}).optional()
|
|
62
|
+
}).optional().describe(
|
|
63
|
+
"local image file in the repository to display near the top of the README.md"
|
|
64
|
+
),
|
|
55
65
|
node: z.object({
|
|
56
66
|
minimum: z.string(),
|
|
57
67
|
pinned: z.string().optional()
|
|
58
|
-
}).optional(),
|
|
59
|
-
owner: z.string(),
|
|
68
|
+
}).optional().describe("node.js engine version(s) to pin and require a minimum of"),
|
|
69
|
+
owner: z.string().describe("GitHub organization or user the repository is underneath"),
|
|
60
70
|
packageData: z.object({
|
|
61
71
|
dependencies: z.record(z.string(), z.string()).optional(),
|
|
62
72
|
devDependencies: z.record(z.string(), z.string()).optional(),
|
|
63
73
|
scripts: z.record(z.string(), z.string()).optional()
|
|
64
|
-
}).optional(),
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
version: z.string().optional()
|
|
74
|
+
}).optional().describe("additional properties to include in `package.json`"),
|
|
75
|
+
repository: z.string().describe("'Sentence case.' description of the repository"),
|
|
76
|
+
title: z.string().describe("'Title Case' title for the repository"),
|
|
77
|
+
version: z.string().optional().describe("package version to publish as and store in `package.json`")
|
|
69
78
|
},
|
|
70
79
|
produce({ options, take }) {
|
|
71
80
|
const allContributors = lazyValue(async () => {
|
|
@@ -74,18 +83,19 @@ const base = createBase({
|
|
|
74
83
|
});
|
|
75
84
|
return contributions.contributors;
|
|
76
85
|
});
|
|
77
|
-
const documentation = lazyValue(
|
|
78
|
-
async () => swallowError(
|
|
79
|
-
await take(inputFromFile, {
|
|
80
|
-
filePath: ".github/DEVELOPMENT.md"
|
|
81
|
-
})
|
|
82
|
-
)
|
|
83
|
-
);
|
|
86
|
+
const documentation = lazyValue(async () => readDocumentation(take));
|
|
84
87
|
const nvmrc = lazyValue(
|
|
85
88
|
async () => await take(inputFromFile, {
|
|
86
89
|
filePath: ".nvmrc"
|
|
87
90
|
})
|
|
88
91
|
);
|
|
92
|
+
const githubCliUser = lazyValue(async () => {
|
|
93
|
+
return swallowError(
|
|
94
|
+
await take(inputFromScript, {
|
|
95
|
+
command: "gh config get user -h github.com"
|
|
96
|
+
})
|
|
97
|
+
)?.stdout?.toString();
|
|
98
|
+
});
|
|
89
99
|
const gitDefaults = tryCatchLazyValueAsync(
|
|
90
100
|
async () => gitUrlParse(await gitRemoteOriginUrl())
|
|
91
101
|
);
|
|
@@ -119,7 +129,7 @@ const base = createBase({
|
|
|
119
129
|
guide: readGuide,
|
|
120
130
|
login: author,
|
|
121
131
|
node,
|
|
122
|
-
owner: async () => (await gitDefaults())?.organization ?? (await packageAuthor()).author,
|
|
132
|
+
owner: async () => (await gitDefaults())?.organization ?? (await packageAuthor()).author ?? await githubCliUser(),
|
|
123
133
|
packageData: async () => {
|
|
124
134
|
const original = await packageData();
|
|
125
135
|
return {
|