@webflow/webflow-cli 1.6.9 → 1.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @webflow/webflow-cli
2
2
 
3
+ ## 1.6.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updating Designer Extension templates and adding ESLint configs
8
+
9
+ ## 1.6.10
10
+
11
+ ### Patch Changes
12
+
13
+ - Updating extension package to support feature flags
14
+ - Accept an optional `port` for `webflow extension serve`
15
+
3
16
  ## 1.6.9
4
17
 
5
18
  ### Patch Changes
package/README.md CHANGED
@@ -16,9 +16,11 @@ npm i @webflow/webflow-cli -g
16
16
  - [Devlink](#devlink)
17
17
 
18
18
  ## Webflow Designer Extensions and APIs
19
+
19
20
  [Designer Extensions](https://docs.developers.webflow.com/v2.0.0/docs/apps-overview) are single-page web Apps that run inside of of the Webflow Designer, and manipulate elements on the canvas through [Webflow's Designer APIs.](https://docs.developers.webflow.com/v2.0.0/reference/introduction-1). You can use the Webflow CLI to develop and package your Designer Extensions.
20
21
 
21
22
  ### Creating an Extension
23
+
22
24
  To create a new extension, use the `webflow extension init` command:
23
25
 
24
26
  ```shell
@@ -34,8 +36,13 @@ Navigate to the newly created folder for your extension. You can serve your exte
34
36
  ```shell
35
37
  npm run dev
36
38
  ```
39
+
37
40
  This will run the `webflow extension serve` and command, allowing you test your App locally.
38
41
 
42
+ #### Options
43
+
44
+ - `port` - Serve your extension at a specific port on localhost: `webflow extension serve 1234`
45
+
39
46
  ### Building and Bundling your Extension
40
47
 
41
48
  If you're using the scaffolding built out from the `webflow extension init` command, you can create a build of your extension, an bundle it for publishing using the` npm run build` command: