@webflow/webflow-cli 1.7.2 → 1.7.4
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 +12 -0
- package/dist/index.js +1 -1
- package/package.json +11 -2
- package/dist/cloud-scaffolds/astro/package.json.bak +0 -25
- package/dist/cloud-scaffolds/nextjs/package.json.bak +0 -33
- package/dist/extension-scaffolds/default/package.json.bak +0 -20
- package/dist/extension-scaffolds/react/package.json.bak +0 -39
- package/dist/extension-scaffolds/typescript-alt/package.json.bak +0 -20
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1078,7 +1078,7 @@ WEBFLOW_SITE_API_TOKEN=${p}`;await nye(f,h)}catch(f){console.error("Error creati
|
|
|
1078
1078
|
Get started with the following commands:`),console.log(` cd ${e}`),console.log(" npm install / yarn install / pnpm install"),console.log(` npm run dev
|
|
1079
1079
|
|
|
1080
1080
|
`),console.log("Run the following command to sync Webflow components when they update:"),console.log(` webflow devlink sync
|
|
1081
|
-
`),console.log("--- ")};var Bfr=e=>{let t=e.command("cloud").description("Create and manage Webflow Cloud projects");t.command("create").description("Create a new Webflow Cloud project").argument("<name>","Project name").option("-f, --framework <framework>","Framework to use","next").action(async(r,n)=>{let{framework:a}=n;if(!(await Ske()).find(d=>d===a)){console.error(`Framework ${a} not found`);return}await Nct(r,a,a)}),t.command("list").description("Get list of project templates that can be used for `init`").action(async()=>{let r=await Ske();console.log("Available project templates:"),r.length>0?r.forEach(n=>console.log(`- ${n}`)):console.log("No templates found.")}),t.command("init").description("Bootstrap a new Webflow Cloud project").action(async()=>{let r=await Ske(),n=await POe.prompt([{type:"input",name:"projectName",message:"What would you like to name your project?",validate:a=>a.trim()===""?"Project name cannot be empty":!0},{type:"list",name:"scaffoldName",message:"Which framework would you like to use?",choices:r,default:"nextjs"},{type:"input",name:"mountPath",message:"What path should your app be mounted at? (e.g., /app)",default:"/app",validate:a=>a.match(/^\/[^/].+$/)?!0:'Mount path must be "/" followed by one or more characters'}]);await Nct(n.projectName,n.mountPath,n.scaffoldName)})};var Mfr={name:"@webflow/webflow-cli",version:"1.7.
|
|
1081
|
+
`),console.log("--- ")};var Bfr=e=>{let t=e.command("cloud").description("Create and manage Webflow Cloud projects");t.command("create").description("Create a new Webflow Cloud project").argument("<name>","Project name").option("-f, --framework <framework>","Framework to use","next").action(async(r,n)=>{let{framework:a}=n;if(!(await Ske()).find(d=>d===a)){console.error(`Framework ${a} not found`);return}await Nct(r,a,a)}),t.command("list").description("Get list of project templates that can be used for `init`").action(async()=>{let r=await Ske();console.log("Available project templates:"),r.length>0?r.forEach(n=>console.log(`- ${n}`)):console.log("No templates found.")}),t.command("init").description("Bootstrap a new Webflow Cloud project").action(async()=>{let r=await Ske(),n=await POe.prompt([{type:"input",name:"projectName",message:"What would you like to name your project?",validate:a=>a.trim()===""?"Project name cannot be empty":!0},{type:"list",name:"scaffoldName",message:"Which framework would you like to use?",choices:r,default:"nextjs"},{type:"input",name:"mountPath",message:"What path should your app be mounted at? (e.g., /app)",default:"/app",validate:a=>a.match(/^\/[^/].+$/)?!0:'Mount path must be "/" followed by one or more characters'}]);await Nct(n.projectName,n.mountPath,n.scaffoldName)})};var Mfr={name:"@webflow/webflow-cli",version:"1.7.4",license:"MIT",bin:{webflow:"./dist/index.js"},scripts:{build:"rm -fr ./dist; tsup",dev:"tsup",lint:"eslint ."},files:["CHANGELOG.md","dist/**/*"],publishConfig:{access:"public"},dependencies:{commander:"^10.0.0","webpack-merge":"^6.0.1","mini-css-extract-plugin":"^2.9.2",webpack:"^5.99.7","css-loader":"^7.1.2","babel-loader":"^10.0.0","@babel/preset-env":"^7.26.9","@babel/preset-react":"^7.26.3","@babel/preset-typescript":"^7.27.0","@module-federation/enhanced":"^0.13.1"},devDependencies:{"@types/node":"^18.16.0","@webflow/cloud":"*","@webflow/oauth":"*","@webflow/code-libraries":"*","@webflow/devlink":"*","@webflow/extension":"*","@webflow/logger":"*","@webflow/version-manager":"*","eslint-config-custom":"*",tsconfig:"*",tsup:"^8.4.0",typescript:"^4.9.3"},engines:{node:">=18.16.0"}};var coe=new Rfr.Command,JLa=Mfr.version,YLa=new H4e("@webflow/webflow-cli");coe.name("webflow").description("Webflow CLI").version(JLa,"--version","output the current version").hook("postAction",()=>{let e=YLa.checkForUpdates();e&&Af.warn(e)});m5t(coe);lcr(coe);Bfr(coe);process.env.BUILD_ENV==="development"&&Afr(coe);coe.parse();
|
|
1082
1082
|
/*! Bundled license information:
|
|
1083
1083
|
|
|
1084
1084
|
mime-db/index.js:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webflow/webflow-cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"webflow": "./dist/index.js"
|
|
@@ -18,7 +18,16 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"commander": "^10.0.0"
|
|
21
|
+
"commander": "^10.0.0",
|
|
22
|
+
"webpack-merge": "^6.0.1",
|
|
23
|
+
"mini-css-extract-plugin": "^2.9.2",
|
|
24
|
+
"webpack": "^5.99.7",
|
|
25
|
+
"css-loader": "^7.1.2",
|
|
26
|
+
"babel-loader": "^10.0.0",
|
|
27
|
+
"@babel/preset-env": "^7.26.9",
|
|
28
|
+
"@babel/preset-react": "^7.26.3",
|
|
29
|
+
"@babel/preset-typescript": "^7.27.0",
|
|
30
|
+
"@module-federation/enhanced": "^0.13.1"
|
|
22
31
|
},
|
|
23
32
|
"devDependencies": {
|
|
24
33
|
"@types/node": "^18.16.0",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "astro",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "0.0.1",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "astro dev",
|
|
7
|
-
"build": "astro build",
|
|
8
|
-
"preview": "astro build && wrangler dev",
|
|
9
|
-
"astro": "astro",
|
|
10
|
-
"cf-typegen": "wrangler types"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@astrojs/cloudflare": "^12.5.0",
|
|
14
|
-
"@astrojs/react": "^4.2.5",
|
|
15
|
-
"@types/react": "^19.1.2",
|
|
16
|
-
"@types/react-dom": "^19.1.2",
|
|
17
|
-
"astro": "^5.7.0",
|
|
18
|
-
"react": "^19.1.0",
|
|
19
|
-
"react-dom": "^19.1.0"
|
|
20
|
-
},
|
|
21
|
-
"devDependencies": {
|
|
22
|
-
"@cloudflare/workers-types": "^4.20250415.0",
|
|
23
|
-
"wrangler": "^4.11.1"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "nextjs",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "next dev",
|
|
7
|
-
"build": "next build",
|
|
8
|
-
"start": "next start",
|
|
9
|
-
"lint": "next lint",
|
|
10
|
-
"deploy": "opennextjs-cloudflare build && opennextjs-cloudflare deploy",
|
|
11
|
-
"preview": "opennextjs-cloudflare build && opennextjs-cloudflare preview",
|
|
12
|
-
"cf-typegen": "wrangler types --env-interface CloudflareEnv cloudflare-env.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"next": "15.2.5",
|
|
16
|
-
"react": "^19.0.0",
|
|
17
|
-
"react-dom": "^19.0.0"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@cloudflare/workers-types": "^4.20250415.0",
|
|
21
|
-
"@eslint/eslintrc": "^3",
|
|
22
|
-
"@opennextjs/cloudflare": "~1.0.0-beta.0 || ^1.0.0",
|
|
23
|
-
"@tailwindcss/postcss": "^4",
|
|
24
|
-
"@types/node": "^20",
|
|
25
|
-
"@types/react": "^19",
|
|
26
|
-
"@types/react-dom": "^19",
|
|
27
|
-
"eslint": "^9",
|
|
28
|
-
"eslint-config-next": "15.2.5",
|
|
29
|
-
"tailwindcss": "^4",
|
|
30
|
-
"typescript": "^5",
|
|
31
|
-
"wrangler": "^4.11.1"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "wf-placeholder-name",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "npm install && tsc -p tsconfig.json && webflow extension bundle",
|
|
8
|
-
"dev": "npm install && concurrently -r \"webflow extension serve\" \"tsc -p tsconfig.json --watch --preserveWatchOutput\"",
|
|
9
|
-
"lint": "eslint . --ext .ts"
|
|
10
|
-
},
|
|
11
|
-
"devDependencies": {
|
|
12
|
-
"@webflow/designer-extension-typings": "^2.0.2",
|
|
13
|
-
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
14
|
-
"@typescript-eslint/parser": "^7.7.0",
|
|
15
|
-
"eslint": "^8.5.7",
|
|
16
|
-
"concurrently": "^8.2.2",
|
|
17
|
-
"typescript": "^5.4.5",
|
|
18
|
-
"eslint-plugin-promise": "^6.1.1"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "wf-placeholder-name",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"scripts": {
|
|
5
|
-
"dev": "npm install && concurrently \"webflow extension serve\" \"npm run watch-webpack\"",
|
|
6
|
-
"build": "npm run build-webpack && webflow extension bundle",
|
|
7
|
-
"watch-webpack": "webpack --config webpack.config.mjs --mode development --watch",
|
|
8
|
-
"build-webpack": "webpack --config webpack.config.mjs --mode production",
|
|
9
|
-
"lint": "eslint . --ext .ts,.tsx"
|
|
10
|
-
},
|
|
11
|
-
"devDependencies": {
|
|
12
|
-
"@webflow/designer-extension-typings": "^2.0.2",
|
|
13
|
-
"concurrently": "^8.2.2",
|
|
14
|
-
"eslint": "^8.5.7",
|
|
15
|
-
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
16
|
-
"@typescript-eslint/parser": "^7.7.0",
|
|
17
|
-
"typescript": "^5.4.5",
|
|
18
|
-
"react-dom": "^18.2.0",
|
|
19
|
-
"react": "^18.2.0",
|
|
20
|
-
"@types/react": "^18.2.79",
|
|
21
|
-
"@types/react-dom": "^18.2.25",
|
|
22
|
-
"@babel/preset-env": "^7.23.2",
|
|
23
|
-
"@babel/preset-react": "^7.22.15",
|
|
24
|
-
"babel-loader": "^9.1.3",
|
|
25
|
-
"ts-loader": "^9.5.1",
|
|
26
|
-
"webpack": "^5.89.0",
|
|
27
|
-
"webpack-cli": "^5.1.4",
|
|
28
|
-
"eslint-plugin-promise": "^6.1.1"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"react-dom": "^18.2.0"
|
|
32
|
-
},
|
|
33
|
-
"babel": {
|
|
34
|
-
"presets": [
|
|
35
|
-
"@babel/preset-env",
|
|
36
|
-
"@babel/preset-react"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "wf-placeholder-name",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "npm install && tsc -p tsconfig.json && webflow extension bundle",
|
|
8
|
-
"dev": "npm install && concurrently -r \"webflow extension serve\" \"tsc -p tsconfig.json --watch --preserveWatchOutput\"",
|
|
9
|
-
"lint": "eslint . --ext .ts"
|
|
10
|
-
},
|
|
11
|
-
"devDependencies": {
|
|
12
|
-
"@webflow/designer-extension-typings": "^2.0.2",
|
|
13
|
-
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
14
|
-
"@typescript-eslint/parser": "^7.7.0",
|
|
15
|
-
"eslint": "^8.5.7",
|
|
16
|
-
"concurrently": "^8.2.2",
|
|
17
|
-
"typescript": "^5.4.5",
|
|
18
|
-
"eslint-plugin-promise": "^6.1.1"
|
|
19
|
-
}
|
|
20
|
-
}
|