Skip to content

Commit

Permalink
Merge pull request #1 from scitt-community/feat/refactor-preview
Browse files Browse the repository at this point in the history
Refactor preview
  • Loading branch information
OR13 authored Apr 15, 2024
2 parents 783fac2 + 1c25ff1 commit 8c2741b
Show file tree
Hide file tree
Showing 49 changed files with 5,472 additions and 31,433 deletions.
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
52 changes: 52 additions & 0 deletions .github/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# File: .github/workflows/publish.yml
name: publish-to-github-pages
on:
push:
branches:
- main

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Setup Node.js ⚙️ - Cache dependencies ⚡ - Install dependencies 🔧
uses: ./.github/workflows/setup-node

- name: Setup Pages ⚙️
uses: actions/configure-pages@v4
with:
static_site_generator: next

- name: Build with Next.js 🏗️
run: npx next build

- name: Upload artifact 📡
uses: actions/upload-pages-artifact@v3
with:
path: ./out

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
needs: build

steps:
- name: Publish to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4
29 changes: 0 additions & 29 deletions .github/workflows/ci.yml

This file was deleted.

21 changes: 17 additions & 4 deletions app/.gitignore → .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,33 @@
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[![CI](https://github.com/OR13/v.gluecose.org/actions/workflows/ci.yml/badge.svg)](https://github.com/OR13/v.gluecose.org/actions/workflows/ci.yml)
# EDN Preview

Based on the origin work in https://github.com/gluecose/cose-viewer
This static application is hosted in github pages, and performs no server side processing.

Sharing cbor and cose snippets in diagnostic notation is accomplished through compression, encoding and use of URI fragments.

## Inspired By

- https://github.com/gluecose/cose-viewer
70 changes: 0 additions & 70 deletions app/README.md

This file was deleted.

Loading

0 comments on commit 8c2741b

Please sign in to comment.