@ta-interaktiv/create-project
v3.1.0
Published
Create a new project based on the TA Interaktiv React Base.
Readme
Create Project
Scaffolds a new micro frontend based on the Micro Frontend Template.
The script clones the template, removes its Git history, creates a private repository under the DND-IT organisation, adds the AWS deployment secrets and pushes the first commit.
Requirements
- Bun
- The GitHub CLI (
gh), logged in to your DND-IT account - The AWS CLI, with access to the
Interaktiv-s3-accessSSO profile
Usage
Navigate to the directory you want to create the project in, e.g.:
cd ~/SitesThen run
bun create @ta-interaktiv/projectThe script downloads its newest version, logs you into AWS SSO and asks you for the slug of the project (a short name, like oscars or mietpreis-karte). The current year is prepended to the slug, so oscars becomes interaktiv-2026-oscars.
Once the project has been created, install the dependencies and start the dev server:
bun install
bun run startBranches
A new project starts out with a single production branch, which is also the
default branch of the repository. Pushing to it deploys to
https://interaktiv-mf.tagesanzeiger.ch/<year>/<slug>/main.jsIf you need a dev deployment as well, create a main branch yourself. Pushing
to it deploys to
https://dev-interaktiv-mf.tagesanzeiger.ch/<year>/<slug>/main.jsOptions
| Argument | Effect |
| ----------- | --------------------------------------------------------------------- |
| --no-repo | Skips the creation of a git repository, both locally and on GitHub.com |
