create-se-app v0.0.12
create-se-app
bin script to create a productive scaffold for a web client project
yarn create se-app
yarn create se-app <project name>
npm create se-app
npm create se-app <project name>
npx create-se-app
npx create-se-app <project name>
template
current template is based on vite + React + TypeScript, and provides various setups for a productive development and cooperation š§āš»š¬
āļø default .prettierrc
and .eslintrc
including module import/order
rules
āļø husky pre-commit hook
to automatically lint codes before commit
āļø @
absolute path configuration for ./src
directory
āļø @types
directory as tsconfig typeRoots
āļø other client-necessary modules such as reset.css
and react-router-dom
āļø default github Issue, PR templates and issue-label-manager-action
template
āāā .github
āāā .husky
āāā .eslintrc
āāā .prettierrc
ā
āāā index.html
āāā package.json
āāā public
āāā src
ā āāā App.tsx
ā āāā main.tsx
ā āāā @types
ā āāā apis
ā āāā assets
ā āāā components
ā āāā constants
ā āāā hooks
ā āāā pages
ā āāā routes
ā āāā styles
ā āāā utils
āāā tsconfig.json
āāā tsconfig.node.json
āāā tsconfig.path.json
āāā vite.config.ts
āØ You can create your own create- package by:
Fork / clone this repository
Replace the
template
directory with your project boilerplateRewrite
package.json
and npm publish it
Additional settings (manual and optional)
Modify
.<lint>rc
,ISSUE_TEMPLATE
,PULL_REQUEST_TEMPLATE
, andlabels.json
according to your team's preference.Both
tsconfig.path.json
andvite.config.ts
need to be configured when adding absolute path aliases.To utilize the
issue-label-manager-action
which automatically creates issue labels defined in.github/labels.json
:Better remove
.github/workflows/label-manager.yml
if you don't need it.Repository should have your github access token as
PERSONAL_TOKEN
env variable.- uses: lannonbr/issue-label-manager-action@4.0.0 env: GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
You can generate and manage these tokens at Developer settings.
And a dummy issue should be created to trigger the label creation
on: issues