Files
webstudio/apps/cli/package.json
T
Jaya Krishna Namburu 6777d1a551 Sync project data to the local config file using cli's sync command (#2033)
Ref https://github.com/webstudio-is/webstudio-builder/issues/1825

## Description

PR adds the `sync` command to the `cli`. This can run in two modes.

```sh
webstudio sync <projectId>
```

which will create a new project folder and loads the build data into
`<project>/webstudio.json` file.

```sh
webstudio sync
```

This mode is to sync the existing project with the latest build data.

## Code Review

- [x] 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

- [x] made a self-review
- [x] added inline comments where things may be not obvious (the "why",
not "what")
2023-08-08 10:43:50 +02:00

28 lines
642 B
JSON

{
"name": "@webstudio-is/cli",
"version": "0.83.0",
"description": "Webstudio CLI",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"bin": {
"webstudio": "./bin.js"
},
"scripts": {
"dev": "build-package --watch",
"build": "build-package"
},
"license": "MIT",
"dependencies": {
"@webstudio-is/http-client": "workspace:^",
"env-paths": "^3.0.0",
"ora": "^7.0.1",
"strip-indent": "^4.0.0"
},
"devDependencies": {
"@types/node": "^18.13.0",
"@webstudio-is/scripts": "workspace:^",
"@webstudio-is/tsconfig": "workspace:^"
}
}