Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
API_HOST=https://api-mustachebash.local.mrstache.io
API_HOST=https://api-mustachebash.localhost
BRAINTREE_TOKEN=sandbox_qsrxjzth_ht835xhgsgwsz2hn
38 changes: 0 additions & 38 deletions .eslintrc.js

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
app_name: mustachebash-public
token: ${{ secrets.DIGITALOCEAN_PAT }}
images: '[
{
"name": "static-server",
"image":{
"registry_type": "GHCR",
"registry": "mustachebash",
"repository": "public",
"digest": "${{ steps.build.outputs.digest }}"
}
}
{
"name": "static-server",
"image":{
"registry_type": "GHCR",
"registry": "mustachebash",
"repository": "public",
"digest": "${{ steps.build.outputs.digest }}"
}
}
]'
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# WORKDIR /static

# Base
FROM node:23.6-alpine3.20 AS base
FROM node:24.12-alpine3.23 AS base
RUN mkdir -p /build
WORKDIR /build
COPY package.json package-lock.json ./
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
Standalone development environment for the static site files for https://mustachebash.com

## Getting Started

### Dev Environment setup:

In order to do any meaningful development, you'll need to get the API up and running as well. Refer to https://github.com/mustachebash/dev for directions. Do not clone this repo directly
36 changes: 16 additions & 20 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,33 @@ export default defineConfig({
site: 'https://mustachebash.com',
trailingSlash: 'never',

experimental: {
responsiveImages: true
},

server: {
host: true
host: true
},

build: {
assets: 'assets'
assets: 'assets'
},

env: {
schema: {
API_HOST: envField.string({context: 'client', access: 'public'}),
BRAINTREE_TOKEN: envField.string({context: 'client', access: 'public'})
}
schema: {
API_HOST: envField.string({ context: 'client', access: 'public' }),
BRAINTREE_TOKEN: envField.string({ context: 'client', access: 'public' })
}
},

vite: {
build: {
sourcemap: true,
rollupOptions: {
output: {
sourcemapBaseUrl: 'https://mustachebash.com/assets/'
}
}
},
server: {
allowedHosts: true
build: {
sourcemap: true,
rollupOptions: {
output: {
sourcemapBaseUrl: 'https://mustachebash.com/assets/'
}
}
},
server: {
allowedHosts: true
}
},

integrations: [react()]
Expand Down
21 changes: 21 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import js from '@eslint/js';
import eslintPluginAstro from 'eslint-plugin-astro';
import { defineConfig } from 'eslint/config';
import tseslint from 'typescript-eslint';

export default defineConfig([
// add more generic rule sets here, such as:
js.configs.recommended,
tseslint.configs.recommended,
...eslintPluginAstro.configs.recommended,
{
ignores: ['.astro/**']
},
{
rules: {
// override/add rules settings here, such as:
// "astro/no-set-html-directive": "error"
'@typescript-eslint/no-explicit-any': 'warn'
}
}
]);
Loading