@webflow/webflow-cli 1.7.0 → 1.7.2
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/cloud-scaffolds/astro/gitignore +28 -0
- package/dist/cloud-scaffolds/astro/package.json.bak +25 -0
- package/dist/cloud-scaffolds/nextjs/gitignore +44 -0
- package/dist/cloud-scaffolds/nextjs/package.json.bak +33 -0
- package/dist/cloud-scaffolds/nextjs/src/app/layout.tsx +7 -3
- package/dist/cloud-scaffolds/nextjs/src/app/page.tsx +1 -1
- package/dist/cloud-scaffolds/nextjs/webflow.json +1 -1
- package/dist/extension-scaffolds/default/package.json.bak +20 -0
- package/dist/extension-scaffolds/react/package.json.bak +39 -0
- package/dist/extension-scaffolds/typescript-alt/package.json.bak +20 -0
- package/dist/index.js +770 -749
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @webflow/webflow-cli
|
|
2
2
|
|
|
3
|
+
## 1.7.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Improved error messages and Cloud scaffolds
|
|
8
|
+
|
|
9
|
+
## 1.7.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Ensure `.gitignore` files are persisted when using scaffold projects for Webflow Cloud
|
|
14
|
+
|
|
3
15
|
## 1.7.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# build output
|
|
2
|
+
dist/
|
|
3
|
+
|
|
4
|
+
# generated types
|
|
5
|
+
.astro/
|
|
6
|
+
|
|
7
|
+
# dependencies
|
|
8
|
+
node_modules/
|
|
9
|
+
|
|
10
|
+
# logs
|
|
11
|
+
npm-debug.log*
|
|
12
|
+
yarn-debug.log*
|
|
13
|
+
yarn-error.log*
|
|
14
|
+
pnpm-debug.log*
|
|
15
|
+
|
|
16
|
+
# environment variables
|
|
17
|
+
.env
|
|
18
|
+
.env.production
|
|
19
|
+
|
|
20
|
+
# macOS-specific files
|
|
21
|
+
.DS_Store
|
|
22
|
+
|
|
23
|
+
# jetbrains setting folder
|
|
24
|
+
.idea/
|
|
25
|
+
|
|
26
|
+
# wrangler files
|
|
27
|
+
.wrangler
|
|
28
|
+
.dev.vars*
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
2
|
+
|
|
3
|
+
# dependencies
|
|
4
|
+
/node_modules
|
|
5
|
+
/.pnp
|
|
6
|
+
.pnp.js
|
|
7
|
+
.yarn/install-state.gz
|
|
8
|
+
|
|
9
|
+
# testing
|
|
10
|
+
/coverage
|
|
11
|
+
|
|
12
|
+
# next.js
|
|
13
|
+
/.next/
|
|
14
|
+
/out/
|
|
15
|
+
|
|
16
|
+
# production
|
|
17
|
+
/build
|
|
18
|
+
|
|
19
|
+
# misc
|
|
20
|
+
.DS_Store
|
|
21
|
+
*.pem
|
|
22
|
+
|
|
23
|
+
# debug
|
|
24
|
+
npm-debug.log*
|
|
25
|
+
yarn-debug.log*
|
|
26
|
+
yarn-error.log*
|
|
27
|
+
|
|
28
|
+
# local env files
|
|
29
|
+
.env
|
|
30
|
+
.env*.local
|
|
31
|
+
|
|
32
|
+
# vercel
|
|
33
|
+
.vercel
|
|
34
|
+
|
|
35
|
+
# typescript
|
|
36
|
+
*.tsbuildinfo
|
|
37
|
+
next-env.d.ts
|
|
38
|
+
|
|
39
|
+
# OpenNext
|
|
40
|
+
/.open-next
|
|
41
|
+
|
|
42
|
+
# wrangler files
|
|
43
|
+
.wrangler
|
|
44
|
+
.dev.vars*
|
|
@@ -0,0 +1,33 @@
|
|
|
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,8 +1,8 @@
|
|
|
1
1
|
import type { Metadata } from "next";
|
|
2
2
|
import { Geist, Geist_Mono, Inter } from "next/font/google";
|
|
3
3
|
import "./globals.css";
|
|
4
|
-
import "
|
|
5
|
-
import { DevLinkProvider } from "
|
|
4
|
+
import "@/devlink/global.css";
|
|
5
|
+
import { DevLinkProvider } from "@/devlink/DevLinkProvider";
|
|
6
6
|
|
|
7
7
|
const inter = Inter({
|
|
8
8
|
subsets: ["latin"],
|
|
@@ -34,7 +34,11 @@ export default function RootLayout({
|
|
|
34
34
|
<body
|
|
35
35
|
className={`${geistSans.variable} ${geistMono.variable} ${inter.variable} antialiased`}
|
|
36
36
|
>
|
|
37
|
-
<DevLinkProvider>
|
|
37
|
+
<DevLinkProvider>
|
|
38
|
+
{/* Add here any Navbar or Header you want to be present on all pages */}
|
|
39
|
+
{children}
|
|
40
|
+
{/* Add here any Footer you want to be present on all pages */}
|
|
41
|
+
</DevLinkProvider>
|
|
38
42
|
</body>
|
|
39
43
|
</html>
|
|
40
44
|
);
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
}
|