Skip to content

Add top-level package.json during template construction #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sgreenbury opened this issue Jul 29, 2024 · 0 comments
Open

Add top-level package.json during template construction #32

sgreenbury opened this issue Jul 29, 2024 · 0 comments

Comments

@sgreenbury
Copy link
Contributor

sgreenbury commented Jul 29, 2024

Following discussion with @griff-rees: currently a package.json is created in the web app path upon running the template. Similarly a pyproject.toml and Cargo.toml are generated for Python and Rust backends respectively.

It may additionally or instead be advantageous to create a top-level package.json in the repo root to capture the script functionality. Adding further documentation to the README.md upon creating the template is also an option. E.g.:

cd web
pnpm i
pnpm rust
pnpm build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant