-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@set-app/cli): add github project generation
style(@set-app/cli): improve message error and task message test(@set-app/cli): add integration testing to cli fix(@set-app/react-redux): fix inconsistencies in react-redux project files test(@set-app/cli): add integration testing to the cli tool ci(@set-app): upgrade github actions with test-integration ci(@set-app): fix conditions on PR ci test(@set-app/cli): add logging over readme generated style(@set-app/cli): remove not used import test(@set-app/cli): remove author data for integration tests Readmes
- Loading branch information
Showing
36 changed files
with
1,844 additions
and
1,579 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules/ | ||
dist/ | ||
.parcel-cache/ | ||
.env | ||
.DS_Store | ||
coverage/ | ||
|
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 +1 @@ | ||
{} | ||
{} |
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,31 @@ | ||
<h1 align="center">Welcome to react-redux 👋</h1> | ||
<p> | ||
<a href="https://www.npmjs.com/package/react-redux" target="_blank"> | ||
<img alt="Version" src="https://img.shields.io/npm/v/react-redux.svg"> | ||
</a> | ||
<a href="#" target="_blank"> | ||
<img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /> | ||
</a> | ||
</p> | ||
|
||
> | ||
## Install | ||
|
||
```sh | ||
yarn install | ||
``` | ||
|
||
## Run tests | ||
|
||
```sh | ||
yarn run test | ||
``` | ||
|
||
## Show your support | ||
|
||
Give a ⭐️ if this project helped you! | ||
|
||
--- | ||
|
||
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_ |
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 |
---|---|---|
|
@@ -364,4 +364,3 @@ form .pet { | |
.mini .loader { | ||
font-size: 34px; | ||
} | ||
|
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 +1,12 @@ | ||
{"compilerOptions":{"target":"ES2022","jsx":"react-jsx","module":"ES2022","moduleResolution":"node","esModuleInterop":true,"forceConsistentCasingInFileNames":true,"strict":true,"skipLibCheck":true}} | ||
{ | ||
"compilerOptions": { | ||
"target": "ES2022", | ||
"jsx": "react-jsx", | ||
"module": "ES2022", | ||
"moduleResolution": "node", | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"strict": true, | ||
"skipLibCheck": true | ||
} | ||
} |
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 @@ | ||
node_modules | ||
.parcel-cache/ | ||
node_modules/ | ||
dist/ | ||
.parcel-cache/ | ||
.env | ||
.DS_Store | ||
coverage/ | ||
|
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<h1 align="center">Welcome to react 👋</h1> | ||
<p> | ||
<a href="https://www.npmjs.com/package/react" target="_blank"> | ||
<img alt="Version" src="https://img.shields.io/npm/v/react.svg"> | ||
</a> | ||
<a href="#" target="_blank"> | ||
<img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /> | ||
</a> | ||
</p> | ||
|
||
> | ||
## Install | ||
|
||
```sh | ||
yarn install | ||
``` | ||
|
||
## Run tests | ||
|
||
```sh | ||
yarn run test | ||
``` | ||
|
||
## Show your support | ||
|
||
Give a ⭐️ if this project helped you! | ||
|
||
--- | ||
|
||
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_ |
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 |
---|---|---|
|
@@ -364,4 +364,3 @@ form .pet { | |
.mini .loader { | ||
font-size: 34px; | ||
} | ||
|
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 +1,5 @@ | ||
EXAMPLE_REACT="../../examples/react" | ||
EXAMPLE_REACT="../../../examples/react" | ||
EXAMPLE_REACT-REDUX="../../../examples/react-redux" | ||
CI_TEST_REACT="../../../react" | ||
CI_TEST_REACT-REDUX="../../../react-redux" | ||
NODE_ENV="development" |
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,4 @@ | ||
EXAMPLE_REACT="examples/react" | ||
EXAMPLE_REACT-REDUX="examples/react-redux" | ||
CI_TEST_REACT="../../../react" | ||
CI_TEST_REACT-REDUX="../../../react-redux" |
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
37 changes: 37 additions & 0 deletions
37
packages/cli/src/__test__/integration/__snapshots__/cli.i-test.ts.snap
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,37 @@ | ||
// Vitest Snapshot v1 | ||
|
||
exports[`SetApp cli tool > when specify --help then show help and exit 1`] = ` | ||
"Usage: cli [options] <name> | ||
Create and setup node projects | ||
Arguments: | ||
name project name | ||
Options: | ||
-t, --type <value> Type of node project (choices: \\"react\\", \\"react-redux\\", | ||
\\"console\\", default: \\"react\\") | ||
--desc <value> Add a description to your new project | ||
--no-github Not generate github public repository | ||
-V, --version output the version number | ||
-h, --help display help for command | ||
" | ||
`; | ||
exports[`SetApp cli tool > when specify -h then show help and exit 1`] = ` | ||
"Usage: cli [options] <name> | ||
Create and setup node projects | ||
Arguments: | ||
name project name | ||
Options: | ||
-t, --type <value> Type of node project (choices: \\"react\\", \\"react-redux\\", | ||
\\"console\\", default: \\"react\\") | ||
--desc <value> Add a description to your new project | ||
--no-github Not generate github public repository | ||
-V, --version output the version number | ||
-h, --help display help for command | ||
" | ||
`; |
Oops, something went wrong.