Skip to content

Commit

Permalink
Move website to SvelteKit (jscraftcamp#1361)
Browse files Browse the repository at this point in the history
* chore: Introduce SvelteKit and remove all content

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Create a PageLayout component and a second route

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Add more pages and some styling

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Style main page, add footer

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Add and style team page

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Add social media logos, fix footer

Signed-off-by: Joern Bernhardt <[email protected]>

* fix: Correct styling

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Add sponsoring info, prettier

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Move components into more appropriate directories

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Mobile menu

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Remove chromatic

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Remove workflow file until registration

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Update netlify deployment to use build dir

Signed-off-by: Joern Bernhardt <[email protected]>

* fix: Use full height of page

Signed-off-by: Joern Bernhardt <[email protected]>

* fix: Style team

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Show date for registration

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Improve link styling

Signed-off-by: Joern Bernhardt <[email protected]>

* feat: Style Code of Conduct page

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Update dependencies, reintroduce registration tests

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Add failing test to check GitHub action

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Add working test to check GitHub action

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Remove warning of SvelteKit tsconfig

Signed-off-by: Joern Bernhardt <[email protected]>

* fix: Fix tests for tags and typescript

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Remove participants

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Update readme and pin dependencies

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Add renovate.json

Signed-off-by: Joern Bernhardt <[email protected]>

* chore: Remove playwright

Signed-off-by: Joern Bernhardt <[email protected]>

* fix: Correct test for files that do not belong in the participants dir

Signed-off-by: Joern Bernhardt <[email protected]>

---------

Signed-off-by: Joern Bernhardt <[email protected]>
  • Loading branch information
Narigo authored Mar 30, 2023
1 parent 399c856 commit db18f25
Show file tree
Hide file tree
Showing 235 changed files with 3,781 additions and 19,899 deletions.
27 changes: 0 additions & 27 deletions .editorconfig

This file was deleted.

13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
20 changes: 20 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['svelte3', '@typescript-eslint'],
ignorePatterns: ['*.cjs'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
'svelte3/typescript': () => require('typescript')
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020
},
env: {
browser: true,
es2017: true,
node: true
}
};
34 changes: 0 additions & 34 deletions .github/workflows/chromatic.yml

This file was deleted.

55 changes: 34 additions & 21 deletions .github/workflows/registration-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Check registrations"
name: 'Check registrations'
on:
pull_request:
branches: [main]
Expand All @@ -7,27 +7,40 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Prepare cache
uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Checkout
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Set Node.js version
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: node --version
- run: |
yarn --frozen-lockfile
yarn test
- name: Prepare package manager 📦
shell: bash
run: corepack enable

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies 📦
shell: bash
run: pnpm install

- name: Run checks for Svelte
shell: bash
run: |
pnpm run check
- name: Run tests
shell: bash
run: |
pnpm run test
47 changes: 8 additions & 39 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1,10 @@
.DS_Store
node_modules
dist
tmp
.idea

src/participants.json

*.iml

# new since gatsby:


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

# dotenv environment variables file
/build
/.svelte-kit
/package
.env

# gatsby files
.cache/
public

# Mac files
.DS_Store

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity

# Local Netlify folder
.netlify
storybook-static

build-storybook.log
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

tasks:
- init: yarn install
- init: pnpm install

image:
file: .gitpod.Dockerfile
Expand Down
14 changes: 0 additions & 14 deletions .graphqlconfig

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

13 changes: 13 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
12 changes: 7 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"endOfLine": "lf",
"semi": false,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5"
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
69 changes: 0 additions & 69 deletions .storybook/main.js

This file was deleted.

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

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

Loading

0 comments on commit db18f25

Please sign in to comment.