Skip to content

Commit

Permalink
Migrate to Vite and complete refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Oct 8, 2024
1 parent fe0851b commit 92a8afa
Show file tree
Hide file tree
Showing 83 changed files with 3,604 additions and 16,888 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_TITLE=Onyxia Datalab
REACT_APP_DESCRIPTION=A cutting-edge solution for all your data needs
VITE_TITLE=Onyxia Datalab
VITE_DESCRIPTION=Data science environment for k8s
38 changes: 38 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4.0.3
- uses: bahmutov/npm-install@v1.10.2
- run: yarn build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist

github_pages:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- uses: actions/setup-node@v4.0.3
- run: git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${{github.repository}}.git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npx -y -p gh-pages@3.1.0 gh-pages -d dist -u "github-actions-bot <actions@github.com>"
20 changes: 0 additions & 20 deletions .github/workflows/deploy.yaml

This file was deleted.

72 changes: 25 additions & 47 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,47 +1,25 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

.vscode

.DS_Store

/dist

/build_keycloak
/build
/.yarn_home
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
*.tsbuildinfo
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
7 changes: 0 additions & 7 deletions .prettierignore

This file was deleted.

11 changes: 0 additions & 11 deletions .prettierrc.json

This file was deleted.

34 changes: 0 additions & 34 deletions .storybook/main.js

This file was deleted.

28 changes: 0 additions & 28 deletions .storybook/manager-head.html

This file was deleted.

28 changes: 0 additions & 28 deletions .storybook/preview-head.html

This file was deleted.

64 changes: 0 additions & 64 deletions .storybook/preview.js

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 92a8afa

Please sign in to comment.