-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scripts): update component generator for new arch
- Loading branch information
Showing
22 changed files
with
21 additions
and
144 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
2 changes: 0 additions & 2 deletions
2
scripts/component-generator/templates/component/react/.gitignore
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
scripts/component-generator/templates/component/react/.npmignore
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
scripts/component-generator/templates/component/react/CHANGELOG.md
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
scripts/component-generator/templates/component/react/package.json.hbs
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
scripts/component-generator/templates/component/react/tsconfig.cjs.json
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
scripts/component-generator/templates/component/react/tsconfig.json
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
scripts/component-generator/templates/component/src/globals.ts
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,7 +1,7 @@ | ||
/** | ||
* Declare here all all the external ODS component that you need to run the current component | ||
* Import here all the external ODS component that you need to run the current component | ||
* when running dev server (yarn start) or e2e tests | ||
* | ||
* ex: | ||
* import '@ovhcloud/ods-component-text'; | ||
*/ | ||
* import '../../text/src'; | ||
*/ |
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,5 +1,5 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"extends": "../../tsconfig.json", | ||
"include": [ | ||
"src" | ||
] | ||
|
2 changes: 1 addition & 1 deletion
2
scripts/component-generator/templates/component/tsconfig.prod.json
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,5 +1,5 @@ | ||
{ | ||
"extends": "../tsconfig.prod.json", | ||
"extends": "../../tsconfig.prod.json", | ||
"include": [ | ||
"src" | ||
] | ||
|
2 changes: 1 addition & 1 deletion
2
scripts/component-generator/templates/component/tsconfig.test.json
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,5 +1,5 @@ | ||
{ | ||
"extends": "../tsconfig.test.json", | ||
"extends": "../../tsconfig.test.json", | ||
"include": [ | ||
"src" | ||
] | ||
|
2 changes: 0 additions & 2 deletions
2
scripts/component-generator/templates/component/vue/.gitignore
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
scripts/component-generator/templates/component/vue/.npmignore
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
scripts/component-generator/templates/component/vue/CHANGELOG.md
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
scripts/component-generator/templates/component/vue/package.json.hbs
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
scripts/component-generator/templates/component/vue/tsconfig.cjs.json
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
scripts/component-generator/templates/component/vue/tsconfig.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
scripts/component-generator/templates/storybook/1_specifications.stories.mdx.hbs
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
2 changes: 1 addition & 1 deletion
2
scripts/component-generator/templates/storybook/2_usage.stories.mdx.hbs
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
4 changes: 2 additions & 2 deletions
4
scripts/component-generator/templates/storybook/3_demo.stories.ts.hbs
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