repo-temp
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](https://github.com/vuejs/core).
English | 简体中文
Features
- Monorepo
- TypeScript
- esbuild(dev)
- Rollup(build)
- Jest
- ESLint
- Prettier
- git hooks
- ...
Usage
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
dev
Run the local development environment :
$ npm run dev
build
Build the production version :
$ npm run build
release
Publish to NPM :
$ npm run release
release local test
Only print, do not execute commands :
$ npm run release -- --dry
Other
changelog
Change log syntax reference: conventional-changelog-cli
generate change log :
$ npm run changelog
npm package name
Specify the name of the release on NPM in package.json
.
{
"config": {
"npmName": "core"
}
}