@webflow/webflow-cli 1.6.12 → 1.6.13

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.
@@ -1,6 +1,6 @@
1
1
  # Designer Extension Starter: TypeScript
2
2
 
3
- This is an example Webflow Designer extension written in TypeScript that inserts a text emoji into an element selected within the Designer. Check out our [documentation](https://docs.developers.webflow.com/v2.0.0/docs/create-a-designer-extensions) for in-depth information about Designer Extension features and API.
3
+ This is an example Webflow Designer extension written in TypeScript that inserts a text emoji into an element selected within the Designer. Check out our [documentation](https://developers.webflow.com/designer/reference/introduction) for in-depth information about Designer Extension features and API.
4
4
 
5
5
  ## Developing
6
6
 
@@ -9,7 +9,7 @@
9
9
  "lint": "eslint . --ext .ts"
10
10
  },
11
11
  "devDependencies": {
12
- "@webflow/designer-extension-typings": "^0.2.0-beta.8",
12
+ "@webflow/designer-extension-typings": "^2.0.2",
13
13
  "@typescript-eslint/eslint-plugin": "^7.7.0",
14
14
  "@typescript-eslint/parser": "^7.7.0",
15
15
  "eslint": "^8.5.7",
@@ -18,4 +18,3 @@
18
18
  "eslint-plugin-promise": "^6.1.1"
19
19
  }
20
20
  }
21
-
@@ -1,6 +1,6 @@
1
1
  # Designer Extension Starter: React
2
2
 
3
- Explore the [documentation](https://docs.developers.webflow.com/v2.0.0/docs/create-a-designer-extensions) for detailed information on Designer Extension features and API.
3
+ Explore the [documentation](https://developers.webflow.com/designer/reference/introduction) for detailed information on Designer Extension features and API.
4
4
 
5
5
  ## Local Development
6
6
 
@@ -9,7 +9,7 @@
9
9
  "lint": "eslint . --ext .ts,.tsx"
10
10
  },
11
11
  "devDependencies": {
12
- "@webflow/designer-extension-typings": "^0.2.0-beta.8",
12
+ "@webflow/designer-extension-typings": "^2.0.2",
13
13
  "concurrently": "^8.2.2",
14
14
  "eslint": "^8.5.7",
15
15
  "@typescript-eslint/eslint-plugin": "^7.7.0",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import ReactDOM from "react-dom";
2
+ import ReactDOM from "react-dom/client";
3
3
 
4
4
  const App: React.FC = () => {
5
5
  const addText = async () => {
@@ -23,4 +23,7 @@ const App: React.FC = () => {
23
23
  );
24
24
  };
25
25
 
26
- ReactDOM.render(<App />, document.getElementById("root"));
26
+ const root = ReactDOM.createRoot(
27
+ document.getElementById("root") as HTMLElement
28
+ );
29
+ root.render(<App />);
@@ -1,6 +1,6 @@
1
1
  # Designer Extension Starter: TypeScript (Alt)
2
2
 
3
- Explore the [documentation](https://docs.developers.webflow.com/v2.0.0/docs/create-a-designer-extensions) for in-depth information about Designer Extension features and API.
3
+ Explore the [documentation](https://developers.webflow.com/designer/reference/introduction) for in-depth information about Designer Extension features and API.
4
4
 
5
5
  ## Development
6
6
 
@@ -9,7 +9,7 @@
9
9
  "lint": "eslint . --ext .ts"
10
10
  },
11
11
  "devDependencies": {
12
- "@webflow/designer-extension-typings": "^0.2.0-beta.8",
12
+ "@webflow/designer-extension-typings": "^2.0.2",
13
13
  "@typescript-eslint/eslint-plugin": "^7.7.0",
14
14
  "@typescript-eslint/parser": "^7.7.0",
15
15
  "eslint": "^8.5.7",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webflow/webflow-cli",
3
- "version": "1.6.12",
3
+ "version": "1.6.13",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "bin": {
6
6
  "webflow": "./dist/index.js"