@vode-app/create-spa (0.1.0-pre.35)
Installation
@vode-app:registry=npm install @vode-app/create-spa@0.1.0-pre.35"@vode-app/create-spa": "0.1.0-pre.35"About this package
Introduction
This template scaffolds a ...
Table of Contents
Quick Start
# placeholder:
# <TEMPLATE_PACKAGE_NAME: @vode-app/create-spa
# <TEMPLATE_NAME: @vode-app/spa
# print the latest version
npm info "@vode-app/create-spa" version
# create/update a package from the template in the current directory
npm create --no-install --no-git "@vode-app/spa@latest" .
# set metadata in package.json
npm update
Documentation
The following sections explain the configurations and conventions baked into the generated package. Useful when adapting it to fit specific needs.
<DOCUMENTATION>
nginx as a Static File Server
# placeholder:
# <VODE_APP_PATH: <VODE_APP_PATH>
# <VODE_APP_SPA_PATH: <VODE_APP_SPA_PATH>
server {
# ...
location <VODE_APP_PATH><VODE_APP_SPA_PATH> {
root /var/www/html/vode-app-example-client-static;
rewrite ^ /index.html break;
gzip off;
sub_filter '<base href="" />' '<base href="<VODE_APP_PATH>/" />';
sub_filter_once on;
add_header Cache-Control "no-store";
}
location <VODE_APP_PATH> {
root /var/www/html/vode-app-example-client-static;
rewrite ^<VODE_APP_PATH>/(.*)$ /$1 break;
try_files $uri =404;
add_header Cache-Control "no-store";
}
# ...
}
DevOps
npm install
npm update
npm run clean
npm run build
npm run tests
npx tsx dist/cli.bundle.js -- example/
Change Management
- Create a new branch for the change.
- Make the changes and commit.
- Bump the version in
package.json. - Add an entry for the new version in
CHANGELOG.md. - Pull-request the branch.
- Ensure package artifacts are current.
- Publish.
Publish
~/.npmrc or .npmrc:
@vode-app:registry=https://git.chimps.quest/api/packages/vode-app/npm/
//git.chimps.quest/api/packages/vode-app/npm/:_authToken=${VODE_APP_REGISTRY_AUTH_TOKEN}
~/.bunfig.toml or bunfig.toml:
[install.scopes]
"vode-app" = { url = "https://git.chimps.quest/api/packages/vode-app/npm/", token = "$VODE_APP_REGISTRY_AUTH_TOKEN" }
# git.chimps.quest/api/packages/vode-app/npm/
export VODE_APP_REGISTRY_AUTH_TOKEN=<AUTH_TOKEN>
# or
$env:VODE_APP_REGISTRY_AUTH_TOKEN = "<AUTH_TOKEN>"
npm publish
Dependencies
Development dependencies
| ID | Version |
|---|---|
| @types/node | latest |
| esbuild | latest |
| tsx | latest |
| typescript | ^6.0.3 |
Keywords
typescript
template
spa
Details
Assets (1)
Versions (29)
View all
create-spa-0.1.0-pre.35.tgz
37 KiB
0.1.0-pre.51
2026-07-05
0.1.0-pre.50
2026-07-05
0.1.0-pre.49
2026-07-05
0.1.0-pre.48
2026-07-05
0.1.0-pre.46
2026-07-01