Skip to content

Commit e35dc69

Browse files
committed
ci: use npm instead of pnpm
Also update dependencies and update some descriptions of the docs.
1 parent e0a57ec commit e35dc69

File tree

4 files changed

+1935
-1431
lines changed

4 files changed

+1935
-1431
lines changed

.github/workflows/deploy.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ jobs:
1313
uses: actions/checkout@v4
1414
- name: Setup
1515
uses: actions/setup-node@v3
16-
- uses: actions/checkout@v4
17-
- uses: pnpm/action-setup@v2
18-
with:
19-
version: 8
20-
run_install: |
21-
- recursive: true
22-
args: [--frozen-lockfile, --strict-peer-dependencies]
23-
- args: [--global, prettier, typescript]
16+
# - uses: actions/checkout@v4
17+
# - uses: pnpm/action-setup@v2
18+
# with:
19+
# version: 8
20+
# run_install: |
21+
# - recursive: true
22+
# args: [--frozen-lockfile, --strict-peer-dependencies]
23+
# - args: [--global, prettier, typescript]
2424

2525
- name: Build
2626
run: |
2727
git submodule init
2828
git submodule update
29-
pnpm install
30-
pnpm build
29+
npm install
30+
npm build
3131
3232
- name: Upload production-ready build files
3333
uses: actions/upload-artifact@v3

config.materialize.js

+22-11
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ export const config = {
44
id: "index",
55
url: "index.html",
66
name: "Documentation",
7-
description:
8-
"Materialize is a modern responsive CSS framework based on Material Design by Google.",
7+
description: "Materialize is a modern responsive CSS framework based on Material Design by Google.",
98
},
109
{
1110
id: "about",
@@ -17,18 +16,31 @@ export const config = {
1716
id: "gettingstarted",
1817
url: "getting-started.html",
1918
name: "Getting started",
20-
description:
21-
"Learn how to easily start using Materialize and integrate it into your project.",
19+
description: "Learn how to easily start using Materialize and integrate it into your project.",
20+
},
21+
{
22+
id: "color",
23+
url: "color.html",
24+
name: "Color",
25+
description: "Materialize offers a lot of colors which can be used in your next project.",
26+
},
27+
{
28+
id: "grid",
29+
url: "grid.html",
30+
name: "Grid",
31+
description: "Use Materializes powerful grid system which uses CSS Grid to make formatting your web project easier and more comfortable.",
32+
},
33+
{
34+
id: "helpers",
35+
url: "helpers.html",
36+
name: "Helpers",
37+
description: "Get an overview of all helper classes for visibility and common css properties.",
2238
},
23-
{ id: "color", url: "color.html", name: "Color" },
24-
{ id: "grid", url: "grid.html", name: "Grid" },
25-
{ id: "helpers", url: "helpers.html", name: "Helpers" },
2639
{
2740
id: "mediacss",
2841
url: "media-css.html",
2942
name: "Media Styles",
30-
description:
31-
"Responsive images and videos ready to be seen on many devices.",
43+
description: "Responsive images and videos ready to be seen on many devices.",
3244
},
3345
{ id: "pulse", url: "pulse.html", name: "Pulse" },
3446
{ id: "sass", url: "sass.html", name: "Sass" },
@@ -66,8 +78,7 @@ export const config = {
6678
id: "media",
6779
url: "media.html",
6880
name: "Media",
69-
description:
70-
"Use Box and Slider to present your media content in a cool way.",
81+
description: "Use Box and Slider to present your media content in a cool way.",
7182
},
7283
{ id: "modals", url: "modals.html", name: "Modals" },
7384
{ id: "parallax", url: "parallax.html", name: "Parallax" },

package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111
"dependencies": {
1212
"@material/material-color-utilities": "^0.2.7",
1313
"@materializecss/materialize": "workspace:*",
14-
"glob": "^10.3.3",
15-
"highlight.js": "^11.9.0",
16-
"material-icons": "^1.13.8",
14+
"glob": "^10.4.5",
15+
"highlight.js": "^11.10.0",
16+
"material-icons": "^1.13.12",
1717
"vite-plugin-handlebars": "^1.6.0"
1818
},
1919
"devDependencies": {
20-
"sass": "^1.35.2",
21-
"typescript": "^5.0.2",
22-
"vite": "^4.4.5"
23-
}
20+
"sass": "^1.80.1",
21+
"typescript": "^5.6.3",
22+
"vite": "^4.5.5"
23+
},
24+
"packageManager": "pnpm@9.12.2+sha512.22721b3a11f81661ae1ec68ce1a7b879425a1ca5b991c975b074ac220b187ce56c708fe5db69f4c962c989452eee76c82877f4ee80f474cebd61ee13461b6228"
2425
}

0 commit comments

Comments
 (0)