Add the following additional NPM scripts to the templates to improve dev workflow: - [x] local validation `"validate": "pptb-validate"` - [x] debug build `"dev-watch": "vite build --mode development --watch"` - [x] update `vite.config.ts` to support sourcemap switch `sourcemap: configEnv.mode === "development"` - [x] npm version increment `"version-stable": "npm version patch --no-git-tag-version"` - [x] package new version `"publish-package": "npm run build && npm run version-stable && npm publish --access public"` - [x] Update template readme to reflect above changes All the above should be completed for the following templates: - [x] react - [x] reactant - [x] reactfluent - [x] reactmui - [x] svelte - [x] vue Additional tasks: - [x] Update html template to use vite and with all of the above options - [x] Create issue to update docs regards debugging
Add the following additional NPM scripts to the templates to improve dev workflow:
"validate": "pptb-validate""dev-watch": "vite build --mode development --watch"vite.config.tsto support sourcemap switchsourcemap: configEnv.mode === "development""version-stable": "npm version patch --no-git-tag-version""publish-package": "npm run build && npm run version-stable && npm publish --access public"All the above should be completed for the following templates:
Additional tasks: