Skip to content

Modern standard front-end open source repository template / 现代标准的前端开源仓库模板

License

Notifications You must be signed in to change notification settings

ningbonb/repo-temp

Repository files navigation

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.

license

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"
  }
}

About

Modern standard front-end open source repository template / 现代标准的前端开源仓库模板

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages