Compare commits
1
Commits
main
..
63e67c976f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63e67c976f |
No files matched your search
@@ -25,16 +25,16 @@ jobs:
|
|||||||
apk add --no-cache nodejs npm git
|
apk add --no-cache nodejs npm git
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v4
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
||||||
- name: Log in to Container Registry
|
- name: Log in to Container Registry
|
||||||
if: gitea.event_name != 'pull_request'
|
if: gitea.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
registry: gitea.chaosdev.gay
|
registry: gitea.chaosdev.gay
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract metadata (tags, labels)
|
- name: Extract metadata (tags, labels)
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v6
|
||||||
with:
|
with:
|
||||||
images: gitea.chaosdev.gay/${{ gitea.repository_owner }}/${{ env.IMAGE_NAME }}
|
images: gitea.chaosdev.gay/${{ gitea.repository_owner }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
@@ -54,7 +54,7 @@ jobs:
|
|||||||
type=raw,value=latest,enable={{is_default_branch}}
|
type=raw,value=latest,enable={{is_default_branch}}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
|
|||||||
@@ -23,17 +23,17 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v4
|
||||||
|
|
||||||
- name: Log in to Container Registry
|
- name: Log in to Container Registry
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
registry: ${{ vars.REGISTRY || 'ghcr.io' }}
|
registry: ${{ vars.REGISTRY || 'ghcr.io' }}
|
||||||
username: ${{ vars.REGISTRY_USERNAME || github.actor }}
|
username: ${{ vars.REGISTRY_USERNAME || github.actor }}
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Extract metadata (tags, labels)
|
- name: Extract metadata (tags, labels)
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v6
|
||||||
with:
|
with:
|
||||||
images: ${{ vars.REGISTRY || 'ghcr.io' }}/${{ vars.IMAGE_OWNER || github.repository_owner }}/${{ env.IMAGE_NAME }}
|
images: ${{ vars.REGISTRY || 'ghcr.io' }}/${{ vars.IMAGE_OWNER || github.repository_owner }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
type=raw,value=latest,enable={{is_default_branch}}
|
type=raw,value=latest,enable={{is_default_branch}}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
25.8.2
|
26.13.0
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
FROM ghcr.io/jdx/mise:2026.10.19 AS mise
|
FROM ghcr.io/jdx/mise:2026.10.19 AS mise
|
||||||
|
|
||||||
FROM docker.io/library/node:25 AS frontend-builder
|
FROM docker.io/library/node:26 AS frontend-builder
|
||||||
LABEL authors="lucasoskorep"
|
LABEL authors="lucasoskorep"
|
||||||
|
|
||||||
WORKDIR /build/mta-sign-ui
|
WORKDIR /build/mta-sign-ui
|
||||||
|
|||||||
Vendored
-1
@@ -1,7 +1,6 @@
|
|||||||
/// <reference types="next" />
|
/// <reference types="next" />
|
||||||
/// <reference types="next/image-types/global" />
|
/// <reference types="next/image-types/global" />
|
||||||
import "./.next/types/routes.d.ts";
|
import "./.next/types/routes.d.ts";
|
||||||
import "./.next/types/root-params.d.ts";
|
|
||||||
|
|
||||||
// NOTE: This file should not be edited
|
// NOTE: This file should not be edited
|
||||||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||||
+17
-17
@@ -14,27 +14,27 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@heroicons/react": "^2.2.0",
|
"@heroicons/react": "^2.2.0",
|
||||||
"autoprefixer": "^10.6.2",
|
"autoprefixer": "^10.4.20",
|
||||||
"axios": "^1.21.1",
|
"axios": "^1.7.9",
|
||||||
"bootstrap": "^5.3.9",
|
"bootstrap": "^5.3.8",
|
||||||
"next": "^16.4.6",
|
"next": "^16.1.2",
|
||||||
"openapi-typescript-fetch": "^2.2.1",
|
"openapi-typescript-fetch": "^2.0.0",
|
||||||
"postcss": "^8.5.32",
|
"postcss": "^8.5.1",
|
||||||
"react": "^19.3.1",
|
"react": "^19.0.0",
|
||||||
"react-dom": "^19.3.1",
|
"react-dom": "^19.0.0",
|
||||||
"tailwindcss": "^3.4.17"
|
"tailwindcss": "^3.4.17"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@testing-library/react": "^16.3.3",
|
"@testing-library/react": "^16.1.0",
|
||||||
"@types/node": "^25.0.0",
|
"@types/node": "^26.0.0",
|
||||||
"@types/react": "^19.3.0",
|
"@types/react": "^19.0.7",
|
||||||
"@types/react-dom": "^19.3.0",
|
"@types/react-dom": "^19.0.3",
|
||||||
"@vitejs/plugin-react": "^6.3.0",
|
"@vitejs/plugin-react": "^6.0.0",
|
||||||
"chokidar-cli": "^3.0.0",
|
"chokidar-cli": "^3.0.0",
|
||||||
"eslint": "^10.14.0",
|
"eslint": "^10.0.0",
|
||||||
"eslint-config-next": "^16.4.6",
|
"eslint-config-next": "^16.1.2",
|
||||||
"jsdom": "^31.0.0",
|
"jsdom": "^31.0.0",
|
||||||
"typescript": "^5.7.3",
|
"typescript": "^7.0.0",
|
||||||
"vitest": "^5.1.0"
|
"vitest": "^5.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+776
-768
File diff suppressed because it is too large.
Load diff
@@ -2,5 +2,3 @@ allowBuilds:
|
|||||||
esbuild: true
|
esbuild: true
|
||||||
sharp: true
|
sharp: true
|
||||||
unrs-resolver: true
|
unrs-resolver: true
|
||||||
minimumReleaseAgeExclude:
|
|
||||||
- bootstrap@5.3.9
|
|
||||||
@@ -9,7 +9,6 @@ describe('Config Types', () => {
|
|||||||
|
|
||||||
it('StationConfig has correct shape', () => {
|
it('StationConfig has correct shape', () => {
|
||||||
const config: StationConfig = {
|
const config: StationConfig = {
|
||||||
id: 'times-sq',
|
|
||||||
stationId: '127',
|
stationId: '127',
|
||||||
stationName: 'Times Sq-42 St',
|
stationName: 'Times Sq-42 St',
|
||||||
showNorth: true,
|
showNorth: true,
|
||||||
@@ -29,7 +28,6 @@ describe('Config Types', () => {
|
|||||||
version: CONFIG_VERSION,
|
version: CONFIG_VERSION,
|
||||||
stations: [
|
stations: [
|
||||||
{
|
{
|
||||||
id: 'times-sq',
|
|
||||||
stationId: '127',
|
stationId: '127',
|
||||||
stationName: 'Times Sq-42 St',
|
stationName: 'Times Sq-42 St',
|
||||||
showNorth: true,
|
showNorth: true,
|
||||||
@@ -49,7 +47,6 @@ describe('Config Types', () => {
|
|||||||
version: CONFIG_VERSION,
|
version: CONFIG_VERSION,
|
||||||
stations: [
|
stations: [
|
||||||
{
|
{
|
||||||
id: 'times-sq',
|
|
||||||
stationId: '127',
|
stationId: '127',
|
||||||
stationName: 'Times Sq-42 St',
|
stationName: 'Times Sq-42 St',
|
||||||
showNorth: true,
|
showNorth: true,
|
||||||
@@ -57,7 +54,6 @@ describe('Config Types', () => {
|
|||||||
selectedLines: ['1', '2', '3'],
|
selectedLines: ['1', '2', '3'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'port-authority',
|
|
||||||
stationId: 'A27',
|
stationId: 'A27',
|
||||||
stationName: '42 St-Port Authority',
|
stationName: '42 St-Port Authority',
|
||||||
showNorth: false,
|
showNorth: false,
|
||||||
|
|||||||
Reference in new issue
Block a user