Skip to content

Commit

Permalink
deploy frontend mentor projects
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Nov 30, 2024
1 parent aa3cb96 commit 89dc101
Show file tree
Hide file tree
Showing 27 changed files with 95 additions and 20 deletions.
4 changes: 1 addition & 3 deletions bausaurus/example/bausaurus-doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@
"scripts": {
"dev": "bausaurus dev",
"build": "bausaurus build",
"preview": "bausaurus preview",
"deploy": "gh-pages -d dist"
"preview": "bausaurus preview"
},
"dependencies": {
"@grucloud/bau": "^0.94.0",
"@grucloud/bau-css": "^0.94.0",
"@grucloud/bau-ui": "^0.94.0",
"@grucloud/bausaurus-core": "^0.94.0",
"@grucloud/bausaurus-theme-classic": "^0.94.0",
"gh-pages": "5.0.0",
"rubico": "2.0.1"
},
"devDependencies": {
Expand Down
7 changes: 5 additions & 2 deletions examples/bento-grid/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-bentogrid",
"name": "frontendmentor-bento-grid",
"homepage": "https://grucloud.github.io/bau/frontendmentor/bento-grid/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"vite": "^5.2.11"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions examples/bento-grid/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/bento-grid/",
build: { outDir: "../../dist/frontendmentor/bento-grid" },
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/blog-preview-card/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-blog-preview-card",
"homepage": "https://grucloud.github.io/bau/frontendmentor/blog-preview-card/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/blog-preview-card/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/blog-preview-card/",
build: { outDir: "../../dist/frontendmentor/blog-preview-card" },
server: {
open: true,
},
Expand Down
11 changes: 7 additions & 4 deletions examples/calculator/package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
{
"name": "frontendmentor-calculator",
"homepage": "https://grucloud.github.io/bau/frontendmentor/calculator/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest"
"test": "vitest",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
"vite": "^5.2.11",
"vitest": "2.1.4"
},
"dependencies": {
"@grucloud/bau": "^0.94.0",
"@grucloud/bau-css": "^0.94.0",
"@grucloud/bau-ui": "^0.94.0",
"bignumber.js": "9.1.2",
"vitest": "2.1.4"
"bignumber.js": "9.1.2"
}
}
2 changes: 2 additions & 0 deletions examples/calculator/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/calculator/",
build: { outDir: "../../dist/frontendmentor/calculator" },
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/contact-form/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-contact-form",
"homepage": "https://grucloud.github.io/bau/frontendmentor/contact-form/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/contact-form/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/contact-form/",
build: { outDir: "../../dist/frontendmentor/contact-form" },
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/faq-accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-faq-accordion",
"homepage": "https://grucloud.github.io/bau/frontendmentor/faq-accordion/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/faq-accordion/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/faq-accordion/",
build: { outDir: "../../dist/frontendmentor/faq-accordion" },
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/interactive-rating-component/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-interactive-rating-component",
"homepage": "https://grucloud.github.io/bau/frontendmentor/interactive-rating-component/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/interactive-rating-component/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/interactive-rating-component/",
build: { outDir: "../../dist/frontendmentor/interactive-rating-component" },
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/ip-address-tracker/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-ip-address-tracker",
"homepage": "https://grucloud.github.io/bau/frontendmentor/ip-address-tracker/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"vite": "^5.2.11"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions examples/ip-address-tracker/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/ip-address-tracker/",
build: { outDir: "../../dist/frontendmentor/ip-address-tracker" },
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/mortgage-repayment-calculator/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-mortgage-repayment-calculator",
"homepage": "https://grucloud.github.io/bau/frontendmentor/mortgage-repayment-calculator/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
4 changes: 4 additions & 0 deletions examples/mortgage-repayment-calculator/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/mortgage-repayment-calculator/",
build: {
outDir: "../../dist/frontendmentor/mortgage-repayment-calculator",
},
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/product-list-cart/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-product-list-cart",
"homepage": "https://grucloud.github.io/bau/frontendmentor/product-list-cart/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
4 changes: 4 additions & 0 deletions examples/product-list-cart/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/product-list-cart/",
build: {
outDir: "../../dist/frontendmentor/product-list-cart",
},
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/product-preview-card/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-product-preview-card",
"homepage": "https://grucloud.github.io/bau/frontendmentor/product-preview-card/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
4 changes: 4 additions & 0 deletions examples/product-preview-card/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/product-preview-card/",
build: {
outDir: "../../dist/frontendmentor/product-preview-card",
},
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/recipePage/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-recipe-page",
"homepage": "https://grucloud.github.io/bau/frontendmentor/recipePage/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
4 changes: 4 additions & 0 deletions examples/recipePage/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/recipePage/",
build: {
outDir: "../../dist/frontendmentor/recipePage",
},
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/result-summary-component/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-result-summary-component",
"homepage": "https://grucloud.github.io/bau/frontendmentor/result-summary-component/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
4 changes: 4 additions & 0 deletions examples/result-summary-component/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { defineConfig } from "vite";

export default defineConfig(({ command, mode, ssrBuild }) => {
return {
base: "/bau/frontendmentor/result-summary-component/",
build: {
outDir: "../../dist/frontendmentor/result-summary-component",
},
server: {
open: true,
},
Expand Down
5 changes: 4 additions & 1 deletion examples/social-link-profile/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"name": "frontendmentor-social-link-profile",
"homepage": "https://grucloud.github.io/bau/frontendmentor/social-link-profile/",
"private": true,
"version": "0.94.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"deploy": "gh-pages -d ../../dist"
},
"devDependencies": {
"gh-pages": "6.1.1",
"typescript": "^5.0.2",
"vite": "^5.2.11"
},
Expand Down
Loading

0 comments on commit 89dc101

Please sign in to comment.