Skip to content

Commit

Permalink
Merge pull request #26 from tidev/cla
Browse files Browse the repository at this point in the history
Add CLA signing and verification
  • Loading branch information
cb1kenobi authored Mar 5, 2024
2 parents 01023cb + d1af940 commit 4238608
Show file tree
Hide file tree
Showing 96 changed files with 6,254 additions and 1,524 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "next/core-web-vitals"
"extends": "next/core-web-vitals",
"rules": {
"react/no-unescaped-entities": "off"
}
}
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
steps:
- name: Cloning repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Docker meta
id: meta
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage
Expand Down Expand Up @@ -31,4 +32,11 @@ yarn-error.log*
# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

public/pdf.worker.mjs
public/styles
certs
/cla
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM node:20-alpine
WORKDIR /app
COPY . /app

RUN corepack enable && \
RUN apk add --no-cache openjdk8 && \
corepack enable && \
pnpm install --frozen-lockfile && \
pnpm run build

Expand Down
1 change: 0 additions & 1 deletion Procfile

This file was deleted.

10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Dev

sudo apt-get install openjdk-8-jdk
pnpm i
pnpm run dev

Expand All @@ -16,3 +17,12 @@ One time:
Then to release:

git push dokku main

## CLA

This site contains the Contributor License Agreement (CLA) form. The PDF is
signed using the tidev.io SSL cert issued by GoDaddy. Adobe Acrobat includes
hundreds of trusted certificates and GoDaddy isn't one of them. In order to
verify the signed CLA's signature, you need to manually add the GoDaddy
certificate bundle to Acrobat. It can be downloaded from
https://certs.godaddy.com/repository/gd_bundle-g2.crt.
49 changes: 0 additions & 49 deletions components/footer.tsx

This file was deleted.

57 changes: 0 additions & 57 deletions components/header.tsx

This file was deleted.

6 changes: 0 additions & 6 deletions next.config.js

This file was deleted.

14 changes: 14 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import mdx from '@next/mdx';

const withMDX = mdx();

/** @type {import('next').NextConfig} */
const nextConfig = withMDX({
env: {
SITE_URL: 'https://tidev.io/'
},
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx']
});

export default nextConfig;

70 changes: 43 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,57 @@
{
"name": "tidev.io",
"version": "2.0.0",
"version": "3.0.0",
"private": true,
"scripts": {
"build": "npm run build:css && next build",
"build:css": "tailwindcss -m -i styles/site.css -o app/styles/site.css",
"dev": "concurrently \"npm run dev:css\" \"next dev\"",
"dev:css": "tailwindcss -w -i styles/site.css -o public/styles/site.css",
"start": "next start",
"lint": "next lint"
"build": "pnpm copy-pdf-files && next build",
"copy-pdf-files": "node scripts/copy-pdf-files",
"dev": "pnpm copy-pdf-files && next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"globby": "^13.1.2",
"gray-matter": "^4.0.3",
"markdown-it": "^13.0.1",
"next": "12.2.0",
"next-seo": "^5.4.0",
"querystring": "^0.2.1",
"@mdx-js/loader": "3.0.1",
"@mdx-js/react": "3.0.1",
"@next/mdx": "14.1.2",
"@types/mdx": "2.0.11",
"fs-extra": "11.2.0",
"globby": "14.0.1",
"gray-matter": "4.0.3",
"markdown-it": "14.0.0",
"next": "14.1.2",
"next-auth": "4.24.6",
"open-pdf-sign": "0.1.7",
"pdf-lib": "1.17.1",
"pdfjs-dist": "4.0.379",
"querystring": "0.2.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"uuid": "^8.3.2"
"react-signature-canvas": "1.0.6",
"rss": "1.2.2",
"uuid": "9.0.1",
"which": "4.0.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.2",
"@types/markdown-it": "^12.2.3",
"@types/node": "^18.0.0",
"@types/react": "^18.0.14",
"@types/uuid": "^8.3.4",
"autoprefixer": "^10.4.7",
"concurrently": "^7.2.2",
"eslint": "8.18.0",
"eslint-config-next": "12.2.0",
"postcss": "^8.4.14",
"tailwindcss": "^3.1.4",
"typescript": "^4.7.4"
"@tailwindcss/typography": "0.5.10",
"@types/fs-extra": "11.0.4",
"@types/lodash": "4.14.202",
"@types/markdown-it": "13.0.7",
"@types/node": "20.11.24",
"@types/react": "18.2.62",
"@types/react-dom": "18.2.19",
"@types/react-pdf": "6.2.0",
"@types/react-signature-canvas": "1.0.5",
"@types/rss": "0.0.32",
"@types/uuid": "9.0.8",
"@types/which": "3.0.3",
"autoprefixer": "10.4.18",
"eslint": "8.57.0",
"eslint-config-next": "14.1.2",
"postcss": "8.4.35",
"tailwindcss": "3.4.1",
"typescript": "5.3.3"
},
"engines": {
"node": ">=16"
"node": ">=20"
}
}
38 changes: 0 additions & 38 deletions pages/[slug].tsx

This file was deleted.

33 changes: 0 additions & 33 deletions pages/_app.tsx

This file was deleted.

Loading

0 comments on commit 4238608

Please sign in to comment.