Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 4c1295c

Browse files
authored
feat: upgrade to static cms v3 (#27)
1 parent 46aee3c commit 4c1295c

File tree

3 files changed

+335
-300
lines changed

3 files changed

+335
-300
lines changed

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@
1919
"build": "cross-env NODE_ENV=production eleventy && cross-env NODE_ENV=production tailwindcss -i src/static/css/tailwind.css -o _site/static/css/style.css"
2020
},
2121
"dependencies": {
22-
"autoprefixer": "10.4.14",
23-
"postcss": "8.4.21"
22+
"autoprefixer": "^10.4.14",
23+
"postcss": "^8.4.21"
2424
},
2525
"devDependencies": {
26-
"@11ty/eleventy": "2.0.0",
27-
"@11ty/eleventy-plugin-syntaxhighlight": "4.2.0",
28-
"@tailwindcss/typography": "^0.5.9",
26+
"@11ty/eleventy": "^2.0.1",
27+
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
28+
"@tailwindcss/typography": "^0.5.10",
2929
"alpinejs": "^3.11.1",
3030
"cross-env": "7.0.3",
31-
"cssnano": "5.1.15",
32-
"html-minifier": "4.0.0",
33-
"js-yaml": "4.1.0",
34-
"luxon": "3.3.0",
35-
"npm-run-all": "4.1.5",
36-
"postcss-cli": "10.1.0",
37-
"prismjs": "1.29.0",
38-
"tailwindcss": "3.2.7"
31+
"cssnano": "^5.1.15",
32+
"html-minifier": "^4.0.0",
33+
"js-yaml": "^4.1.0",
34+
"luxon": "^3.3.0",
35+
"npm-run-all": "^4.1.5",
36+
"postcss-cli": "^10.1.0",
37+
"prismjs": "^1.29.0",
38+
"tailwindcss": "^3.2.7"
3939
}
4040
}

src/admin/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Content Manager</title>
7-
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0/dist/main.css" />
7+
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^3.0.0/dist/main.css" />
88
</head>
99
<body>
1010
<!-- Include the script that builds the page and powers StaticJs CMS -->
11-
<script src="https://unpkg.com/@staticcms/app@^2.0.0/dist/static-cms-app.js"></script>
11+
<script src="https://unpkg.com/@staticcms/app@^3.0.0/dist/static-cms-app.js"></script>
1212

1313
<!-- Netlify Identity Widget -->
1414
<script

0 commit comments

Comments
 (0)