This project provides a simple front-end open source template that can be used to quickly build a modern open source warehouse. It includes commonly used front-end development tools and technologies, such as TypeScript, Eslint, git hooks, etc., enabling developers to quickly get started and customize. Adapted from Vue3.
English | 简体中文
- Monorepo
- TypeScript
- esbuild(dev)
- Rollup(build)
- Jest
- ESLint
- Prettier
- git hooks
- ...
Install yarn
, npm publish
depends on the behavior of yarn
:
$ npm install --global yarn
The default package manager is pnpm
:
$ npm install --global pnpm
Install using the CLI :
$ npx repo-temp init
Run the local development environment :
$ npm run dev
Build the production version :
$ npm run build
Publish to NPM :
$ npm run release
Only print, do not execute commands :
$ npm run release -- --dry
Change log syntax reference: conventional-changelog-cli
generate change log :
$ npm run changelog
Specify the name of the release on NPM in package.json
.
{
"config": {
"npmName": "core"
}
}