-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
16 changed files
with
5,588 additions
and
0 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,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
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 @@ | ||
* text=auto eol=lf |
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,2 @@ | ||
dist/ | ||
node_modules/ |
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,2 @@ | ||
nodejs 18.14.0 | ||
pnpm 7.27.0-0 |
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,28 @@ | ||
# Expresso TS - CLI (Test) | ||
|
||
This is a CLI for the Expresso TS framework. | ||
|
||
## Installation | ||
|
||
```bash | ||
npm install -g @expressots/cli # Eventually | ||
``` | ||
|
||
## Local usage | ||
|
||
```bash | ||
npm install | ||
npm run start | ||
``` | ||
|
||
### Help message | ||
|
||
```bash | ||
npm run start --help | ||
``` | ||
|
||
### Create a new project | ||
|
||
```bash | ||
npm run start new project | ||
``` |
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,58 @@ | ||
{ | ||
"name": "cli", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"bin": "dist/cli.js", | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"scripts": { | ||
"build": "tsc && chmod +x dist/cli.js", | ||
"start": "npm run build && dist/cli.js", | ||
"pretest": "npm run build", | ||
"test": "xo && ava" | ||
}, | ||
"files": [ | ||
"dist/cli.js" | ||
], | ||
"dependencies": { | ||
"ink": "^3.2.0", | ||
"ink-big-text": "^1.2.0", | ||
"ink-form": "^1.0.2", | ||
"ink-gradient": "^2.0.0", | ||
"react": "^17.0.2", | ||
"yargs": "^17.6.2" | ||
}, | ||
"ava": { | ||
"typescript": { | ||
"extensions": [ | ||
"tsx" | ||
], | ||
"rewritePaths": { | ||
"source/": "dist/" | ||
} | ||
} | ||
}, | ||
"xo": { | ||
"extends": "xo-react", | ||
"rules": { | ||
"react/prop-types": "off" | ||
} | ||
}, | ||
"devDependencies": { | ||
"@ava/typescript": "^3.0.1", | ||
"@sindresorhus/tsconfig": "^3.0.1", | ||
"@types/ink-big-text": "^1.2.1", | ||
"@types/ink-gradient": "^2.0.1", | ||
"@types/react": "^18.0.27", | ||
"@types/yargs": "^17.0.22", | ||
"ava": "^5.1.1", | ||
"chalk": "^4.1.2", | ||
"eslint-config-xo-react": "^0.27.0", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"ink-testing-library": "^2.1.0", | ||
"typescript": "^4.9.5", | ||
"xo": "^0.39.1" | ||
} | ||
} |
Oops, something went wrong.