-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add opt-in usage of
create
as underlying files engine (#1670)
## PR Checklist - [x] Addresses an existing open issue: fixes #1181 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Adds an intentionally undocumented option for a `CTA_CREATE_ENGINE` environment variable. It switches the file creation engine from the current (now, legacy!) system to the [`create` engine](https://github.com/JoshuaKGoldberg/create): ```shell CTA_CREATE_ENGINE=true node ./bin/index.js ... ``` Next up after this will be to wholly remove the current/legacy files, then move onto commands and network requests, then options parsing altogether. Those will be followup PRs. 💝
- Loading branch information
1 parent
79412ab
commit e6e1575
Showing
77 changed files
with
3,716 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@latest/schema.json", | ||
"entry": ["src/index.ts!", "script/*e2e.js"], | ||
"entry": ["script/*e2e.js", "src/index.ts!", "src/**/*.test.*"], | ||
"ignoreExportsUsedInFile": { "interface": true, "type": true }, | ||
"project": ["src/**/*.ts!", "script/**/*.js"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
export * from "./greet.js"; | ||
|
||
// If you're using create-typescript-app as a template, ignore these. | ||
// They're plumbing for the create engine. :) | ||
export * from "./next/blocks/index.js"; | ||
export { default } from "./next/template.js"; | ||
|
||
export * from "./types.js"; |
Oops, something went wrong.