For more information on the communities code of conduct read the guide.
Please fork repository from main
branch and pull request changes back into the main
branch.
This repo is setup with three pnpm workspaces.
The root workspace is setup with the following options via a .nmprc
file.
#include ".npmrc"
The following will install dependencies for all workspaces including the root.
pnpm install
The root workspace is setup to build/pack the actual package.
pnpm build
The compiled javascript module and typescript type definitions are built into the dist
folder at the root of the repo.
The dev-app
folder contains the workspace for an app that consumes the package directly from the lib
folder for local development and testing.
pnpm run dev-app:dev
- VS Code
- Extensions
- Node v18.*
- pnpm v8.*
- NPM dependencies
- Vue v3.3.8+
- Vite v5.*
- Typescript v5.*
- Husky
- Prettier
- Formats and spell checks in husky pre-commit hook
- Vuepress 2
- TypeDoc
- CSS
Installs all dependencies via pnpm i
and then runs the build
script for each workspace including the root workspace.
Runs the dev
script in both the vuepress
and dev-app
workspace. The development app will bind to https://localhost:5173
and the vuepress site will bind to https://localhost:8080
.
Spellchecks the entire repo minus a few excluded files and folders configured in cspell.json
.
Runs prettier formatter against the entire repo using the configuration in .prettierrc
.