@webflow/webflow-cli 1.7.3 → 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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @webflow/webflow-cli
2
2
 
3
+ ## 1.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Adding all external deps
8
+
3
9
  ## 1.7.3
4
10
 
5
11
  ### Patch Changes
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.3",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"},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();
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",
3
+ "version": "1.7.4",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "webflow": "./dist/index.js"
@@ -19,7 +19,15 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "commander": "^10.0.0",
22
- "webpack-merge": "^6.0.1"
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"
23
31
  },
24
32
  "devDependencies": {
25
33
  "@types/node": "^18.16.0",