-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Contact Email
Type of Contribution
Code Enhancement
Product
SuiteCloud CLI
Contribution Description
Now that SPA support has been released, I believe it would be helpful to extend the suitecloud project:create -i
command with a new option for initializing SPA applications.
Similar to the existing prompt that asks whether to include packages for Jest and testing, we could add an additional step asking if the project is intended to be a Single Page Application. If selected, this option would automatically scaffold the project with the necessary packages, configuration, and default folder structure for an SPA built with SDF.
This would streamline the setup process for developers building SPA projects and encourage consistency across implementations.
Prerequisites
Yes, I have completed the prerequisites
Additional Information
There should be an extra step that should ask:
Is this an SPA project? (No, Yes)
If YES
Will this project use TypeScript? (Yes, No)
Add
gulpfile.mjs
package.json (add needed packages references)
tsconfig.json
tsconfig.test.json
prettier.config.js
build
eslint.config.mjs
README.md
The SERVERSIDESCRIPTING feature in the MANIFEST dependencies
SpaClient.js
SpaServer.js
Empty directories with .ignore
assets directory
components
page
app