@webflow/webflow-cli 2.2.0-next.0 → 2.2.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,20 @@
|
|
|
1
1
|
# @webflow/webflow-cli
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6e9514a: Add an opt-in `camelCaseVariantNames` option to the `devlink-export` section of `webflow.json`. When set to `true`, `webflow export` converts each Variant name into a camelCase React prop value, appending a numeric suffix when two names collide (for example, `Foo-Bar` and `Foo Bar` become `fooBar` and `fooBar2`). It defaults to `false`, so exports are unchanged unless you turn it on.
|
|
8
|
+
- c9ca686: Add `Astro7Builder` (Astro 7 + `@astrojs/cloudflare` v14) to the framework detection hierarchy, registered ahead of `Astro6Builder` so Astro 7+ projects are detected and built correctly by `webflow cloud deploy`.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 750d3ed: Add a shared resource-ID resolver helper that resolves siteId, appId, environmentId, and workspaceId in a strict priority order (explicit flag > env var > webflow.json manifest > prompt/error).
|
|
13
|
+
- 081b3bb: Auto-detect non-interactive environments in `isNoInput()`: prompts are now suppressed automatically when `CI=true` or no TTY is attached, so agents and CI pipelines no longer need to pass `--no-input`. Explicit `--no-input` and interactive terminal behavior are unchanged.
|
|
14
|
+
- 261744c: Remove the hardcoded limit of 5 D1 databases, KV namespaces, and R2 buckets when validating a Webflow Cloud wrangler config. Cloud storage is governed by the `feature-cloud-storage` entitlement, which grants storage regardless of plan and imposes no per-binding count. R2 bucket-name validation is unchanged.
|
|
15
|
+
- 0492fab: Gate the `cloud_apps:read` OAuth scope behind the `@next` (beta) build channel. Stable (`@latest`) builds no longer request `cloud_apps:read` during `webflow auth login`, preventing OAuth failures until the scope is approved on the production OAuth app. `cloud_apps:write` is unchanged and still requested in all builds.
|
|
16
|
+
- 3c484be: Update `@module-federation/enhanced` to 2.5.1 for code component bundling.
|
|
17
|
+
|
|
3
18
|
## 2.1.1
|
|
4
19
|
|
|
5
20
|
### 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
|
+
}
|