@webflow/webflow-cli 2.0.0-next.0 → 2.0.0

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,30 @@
1
1
  # @webflow/webflow-cli
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - b0c1916: Raise the supported Node.js baseline to 22.13.0 for the CLI and repository tooling, and update CI coverage to Node 22, 24, and 25.
8
+
9
+ ### Minor Changes
10
+
11
+ - 07650b5: - `cloud init --framework astro` now scaffolds **Astro 6** projects, sourced from the new `v2` branches on the existing [`Webflow-Examples/hello-world-astro`](https://github.com/Webflow-Examples/hello-world-astro/tree/v2) and [`hello-world-astro-devlink`](https://github.com/Webflow-Examples/hello-world-astro-devlink/tree/v2) repos. No version picker — users starting fresh always get the latest supported version. The Astro 5 scaffolds (`v1` branches on the same repos) remain frozen so older CLI installs continue to scaffold Astro 5.
12
+ - `WEBFLOW_SITE_ID` env var is now uniformly **read-only**: the CLI uses it for the current command but never auto-persists it into `webflow.json`. To persist a site ID, run `webflow cloud init` or pass `--site-id` explicitly.
13
+ - `webflow cloud init` prompts "New domain vs Existing site" in interactive mode (skipped only when `--new` is passed explicitly), and defaults to `New` in no-input mode (v1.x used to default to `Existing` here).
14
+ - `webflow cloud create` now emits a deprecation warning for every install and will be removed in a future major release. Use `webflow cloud init` instead.
15
+ - Deploy preflight always shows the "Pass --site-id explicitly or unset to see the deploy mode picker" hint when falling back to `WEBFLOW_SITE_ID`, and the no-identity error always lists both `--site-id` and `--workspace-id`.
16
+ - c4fee62: Use `@webflow/react/server` as the server renderer for Code Components.
17
+
18
+ ### Patch Changes
19
+
20
+ - b72178a: Refresh `webflow cloud` copy: command descriptions, option help, prompts, and error messages now consistently use "app" instead of "project" in favor of clearer language. No flag, command, or manifest field names changed — this is a copy-only update.
21
+ - 2fd0d33: Migrate extension scaffolds to ESLint 9 with flat config (`eslint.config.mjs`), `typescript-eslint` v8, and updated lint scripts.
22
+ - d91f805: Polish CLI formatting across commands
23
+ - 953172d: Show deprecation warnings when using `webflow library share`, `webflow library bundle`, or `webflow library log`, including `[Deprecated]` hints in help text. Prefer `webflow devlink import`, `webflow devlink bundle`, and `webflow log`; the `library` command group will be removed in the next major release.
24
+ - 8728f7c: Add deprecation note to "webflow devlink sync" command in help.
25
+ - Updated dependencies [14c2ebc]
26
+ - @webflow/data-types@2.0.0
27
+
3
28
  ## 1.23.0
4
29
 
5
30
  ### Patch Changes
@@ -0,0 +1,25 @@
1
+ {
2
+ "extends": [
3
+ "eslint:recommended",
4
+ "plugin:@typescript-eslint/eslint-recommended",
5
+ "plugin:@typescript-eslint/recommended"
6
+ ],
7
+ "parser": "@typescript-eslint/parser",
8
+ "parserOptions": {
9
+ "project": "./tsconfig.json"
10
+ },
11
+ "plugins": ["@typescript-eslint", "promise"],
12
+ "rules": {
13
+ "@typescript-eslint/explicit-function-return-type": "off",
14
+ "@typescript-eslint/no-explicit-any": "off",
15
+ "@typescript-eslint/no-floating-promises": "error",
16
+ "@typescript-eslint/no-misused-promises": [
17
+ "error",
18
+ { "checksVoidReturn": false }
19
+ ],
20
+ "@typescript-eslint/no-unused-vars": "error",
21
+ "no-async-promise-executor": "error",
22
+ "require-await": "error",
23
+ "promise/catch-or-return": "error"
24
+ }
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "extends": [
3
+ "eslint:recommended",
4
+ "plugin:@typescript-eslint/eslint-recommended",
5
+ "plugin:@typescript-eslint/recommended"
6
+ ],
7
+ "parser": "@typescript-eslint/parser",
8
+ "parserOptions": {
9
+ "project": "./tsconfig.json"
10
+ },
11
+ "plugins": ["@typescript-eslint", "promise"],
12
+ "rules": {
13
+ "@typescript-eslint/explicit-function-return-type": "off",
14
+ "@typescript-eslint/no-explicit-any": "off",
15
+ "@typescript-eslint/no-floating-promises": "error",
16
+ "@typescript-eslint/no-misused-promises": [
17
+ "error",
18
+ { "checksVoidReturn": false }
19
+ ],
20
+ "@typescript-eslint/no-unused-vars": "error",
21
+ "no-async-promise-executor": "error",
22
+ "require-await": "error",
23
+ "promise/catch-or-return": "error"
24
+ }
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "extends": [
3
+ "eslint:recommended",
4
+ "plugin:@typescript-eslint/eslint-recommended",
5
+ "plugin:@typescript-eslint/recommended"
6
+ ],
7
+ "parser": "@typescript-eslint/parser",
8
+ "parserOptions": {
9
+ "project": "./tsconfig.json"
10
+ },
11
+ "plugins": ["@typescript-eslint", "promise"],
12
+ "rules": {
13
+ "@typescript-eslint/explicit-function-return-type": "off",
14
+ "@typescript-eslint/no-explicit-any": "off",
15
+ "@typescript-eslint/no-floating-promises": "error",
16
+ "@typescript-eslint/no-misused-promises": [
17
+ "error",
18
+ { "checksVoidReturn": false }
19
+ ],
20
+ "@typescript-eslint/no-unused-vars": "error",
21
+ "no-async-promise-executor": "error",
22
+ "require-await": "error",
23
+ "promise/catch-or-return": "error"
24
+ }
25
+ }