mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
## Description - Allow overriding default templates with custom external or internal ones. - Ensure exact dependencies, e.g., workspace:* instead of workspace:^, to address beta release issues. - Enable passing buildId, authToken, and origin via flags during sync. - Rename "host" to "origin" in the CLI. Most code is custom template. - [x] - Tested at SaaS ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `builder/env-check.js` if mandatory
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"scripts": {
|
|
"custom-template-script": "echo \"This is a custom template script\"",
|
|
"build": "remix build",
|
|
"dev": "remix dev",
|
|
"start": "remix-serve build",
|
|
"typecheck": "tsc",
|
|
"checks": "pnpm typecheck"
|
|
},
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"dependencies": {
|
|
"@remix-run/react": "^1.19.2",
|
|
"@remix-run/server-runtime": "^1.19.2",
|
|
"@remix-run/node": "^1.19.2",
|
|
"@webstudio-is/react-sdk": "workspace:*",
|
|
"@webstudio-is/sdk-components-react-radix": "workspace:*",
|
|
"@webstudio-is/sdk-components-react-remix": "workspace:*",
|
|
"@webstudio-is/sdk-components-react": "workspace:*",
|
|
"@webstudio-is/form-handlers": "workspace:*",
|
|
"@webstudio-is/image": "workspace:*",
|
|
"@webstudio-is/sdk": "workspace:*",
|
|
"isbot": "^3.6.8",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@remix-run/serve": "^1.19.2",
|
|
"@remix-run/dev": "^1.19.2",
|
|
"@types/react": "^18.2.20",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@webstudio-is/http-client": "workspace:*",
|
|
"eslint": "^8.48.0",
|
|
"typescript": "5.2.2",
|
|
"webstudio-cli": "workspace:*"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"name": "webstudio-custom-template",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "AGPL-3.0-or-later"
|
|
}
|