-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JSDocs to generated projects (#1334)
* Ensure i18n templates don't use imported types directly * Move declaration of I18nLocale type to ambient file * Add tests for i18n replacers * Fix routes flag in init * Fix markets flag in init * Support d.ts for JS in i18n replacers * Add new init option to preserve d.ts in JS * Remove option for JSDocs and do it by default * Compile TS types to JSDocs * Annotate default exported object properties * Add JSDocs for i18n extractor * Refactor: split code in files and add license notice * Use JSDoc style comment * Cleanup * Changesets * Update default jsconfig * Update changeset * Update ts-morph version * Update package.jsons * Update test snapshots * NPM dedup to fix tests * Fix Node type * Update test timeout
- Loading branch information
Showing
29 changed files
with
6,256 additions
and
3,965 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@shopify/cli-hydrogen': minor | ||
'@shopify/create-hydrogen': minor | ||
--- | ||
|
||
Generated JavaScript projects now use Codegen and JSDoc to enhance editor autocompletion. |
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
Oops, something went wrong.