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
17 changes: 17 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# Dependencies and build output — rebuilt inside the image
**/node_modules
**/dist
.next
storybook-static
public/pagefind

# Never ship into the build context
.git
.github
.env
.env.*

# Local noise
.DS_Store
**/.DS_Store
*.log
.vscode
.idea
4 changes: 3 additions & 1 deletion .github/workflows/app_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: oven-sh/setup-bun@v2

- name: Install Dependencies
run: bun ci
run: bun install --frozen-lockfile

- name: Run Linter
run: bun run lint
Expand Down Expand Up @@ -75,6 +75,8 @@ jobs:
push: true
tags: |
${{ vars.DOCKER_REGISTRY }}/design-system/app:prod
build-args: |
NEXT_PUBLIC_TAG=${{ steps.version.outputs.VERSION }}
cache-from: type=gha
cache-to: type=gha,mode=max

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lib_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: oven-sh/setup-bun@v2

- name: Install Dependencies
run: bun ci
run: bun install --frozen-lockfile

- name: Run Linter
run: bun run lint
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
https://registry.npmjs.org/|${{ secrets.NPMJS_TOKEN }}

- name: Install Dependencies
run: bun ci
run: bun install --frozen-lockfile

- name: Build Package
run: bun run build:lib
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
jobs:
Quality_Checks:
runs-on: ubuntu-24.04
env:
BUN_VERSION: "1.1.13"
steps:
- name: Checkout Code
uses: actions/checkout@v5
Expand All @@ -22,13 +20,13 @@ jobs:
uses: oven-sh/setup-bun@v2

- name: Install Dependencies
run: bun ci
run: bun install --frozen-lockfile

- name: Run Linter
run: bun run lint

- name: Run Type Check
run: bun run typecheck:lib && bun run typecheck:showcase
run: bun run type:check

- name: Run Formatting Check
run: bun run format:check
4 changes: 2 additions & 2 deletions .github/workflows/storybook_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: oven-sh/setup-bun@v2

- name: Install Dependencies
run: bun ci
run: bun install --frozen-lockfile

- name: Run Linter
run: bun run lint
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
push: true
tags: |
${{ vars.DOCKER_REGISTRY }}/design-system/storybook:prod
cache-from: type:gha
cache-from: type=gha
cache-to: type=gha,mode=max

Deploy:
Expand Down
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ dist-ssr
design-system-*.tgz

# Build output
*.js
*.js.map
!*.config.js
!*.config.ts
# Scoped to the emit directories: a bare `*.js` also swallows any new
# plain-JS source file, which is silent and very confusing to debug.
dist/
types/
.next/
Expand Down
25 changes: 0 additions & 25 deletions .npmignore

This file was deleted.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## v0.1.9

- Exported previously missing primitives (chart, command, context-menu, pagination, popover, resizable) from the component library
- Removed the deprecated Panel component
- Added animation utilities and an `elter_setup.css` export for the eLTER theme
- Refined the EOSC color palette
- Fixed feedback form auto-close/progress timing bug
- Fixed minor styling issues in Button, Alert, Avatar, Checkbox, Switch, Sidebar and Content components

## v0.1.8

- Added new color palette for eLTER design system
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ export function Example() {

- `@e-infra/design-system` - Components, utilities, and hooks
- `@e-infra/design-system/setup.css` - Library CSS entry for Tailwind v4 setup
- `@e-infra/design-system/eosc_setup.css` - EOSC branding theme
- `@e-infra/design-system/elter_setup.css` - eLTER branding theme
- `@e-infra/design-system/custom_setup.css` - 3-color custom theme generator

## Documentation

Expand Down
20 changes: 3 additions & 17 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"tsx": true,
"tailwind": {
"config": "",
"css": "src/globals.css",
"css": "src/app/globals.css",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
Expand Down
2 changes: 1 addition & 1 deletion deployment/containers/prod/Dockerfile.app.bun
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1.3.9 AS base
FROM oven/bun:1.3.11 AS base

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion deployment/containers/prod/Dockerfile.storybook.bun
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1.3.9 AS builder
FROM oven/bun:1.3.11 AS builder

WORKDIR /app

Expand Down
28 changes: 24 additions & 4 deletions deployment/manifests/app-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,30 @@ spec:
ports:
- name: probe-port
containerPort: 80
startupProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 5
failureThreshold: 24
readinessProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 3
resources:
limits:
memory: "6Gi"
cpu: "2"
memory: "1Gi"
cpu: "1"
requests:
memory: "3Gi"
cpu: "2"
memory: "256Mi"
cpu: "100m"
28 changes: 24 additions & 4 deletions deployment/manifests/dev-app-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,30 @@ spec:
ports:
- name: probe-port
containerPort: 80
startupProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 5
failureThreshold: 24
readinessProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 3
resources:
limits:
memory: "6Gi"
cpu: "2"
memory: "1Gi"
cpu: "1"
requests:
memory: "3Gi"
cpu: "2"
memory: "256Mi"
cpu: "100m"
20 changes: 20 additions & 0 deletions deployment/manifests/storybook-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,26 @@ spec:
ports:
- name: probe-port
containerPort: 8080
startupProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 5
failureThreshold: 24
readinessProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /
port: probe-port
periodSeconds: 20
timeoutSeconds: 3
failureThreshold: 3
resources:
limits:
memory: "1Gi"
Expand Down
Loading
Loading