-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 0653363
Showing
38 changed files
with
19,967 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
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, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
.output | ||
vite.config.js.timestamp-* | ||
vite.config.ts.timestamp-* | ||
.netlify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM gitpod/workspace-full:latest | ||
|
||
RUN bash -c 'VERSION="18.13.0" \ | ||
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \ | ||
&& nvm use $VERSION && nvm alias default $VERSION' | ||
|
||
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
ports: | ||
- port: 3000 | ||
onOpen: open-preview | ||
visibility: public | ||
name: Website | ||
description: Preview of Website | ||
|
||
# List the start up tasks. You can start them in parallel in multiple terminals. See https://www.gitpod.io/docs/configure/workspaces/tasks/ | ||
tasks: | ||
- name: Installing Dependencies | ||
init: npm install | ||
- name: Start Dev Server | ||
command: npm run dev | ||
|
||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a check to pull requests (defaults to true) | ||
addCheck: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false) | ||
addComment: false | ||
# add a "Review in Gitpod" button to the pull request's description (defaults to false) | ||
addBadge: true | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: false | ||
|
||
vscode: | ||
extensions: | ||
- svelte.svelte-vscode | ||
- bradlc.vscode-tailwindcss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx svelte-check --fail-on-hints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
engine-strict=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2023 Gitpod | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# CDE Universe Website | ||
|
||
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/gitpod-io/CDE-Universe) | ||
|
||
> This repository contains the website will be hosted on [cdeuniverse.com](https://cdeuniverse.com/) | ||
Contributing is as easy as starting a new workspace: | ||
|
||
[![Open in Gitpod](https://www.gitpod.io/svg/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-io/CDE-Universe) | ||
|
||
--- | ||
|
||
<picture> | ||
<source media="(prefers-color-scheme: dark)" srcset="https://www.gitpod.io/images/media-kit/logo-dark-theme.png"> | ||
<source media="(prefers-color-scheme: light)" srcset="https://www.gitpod.io/images/media-kit/logo-light-theme.png"> | ||
<img alt="Gitpod Logo" src="https://www.gitpod.io/images/media-kit/logo-light-theme.png"> | ||
</picture> | ||
|
||
Owned by [Gitpod](https://www.gitpod.io/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
[build] | ||
command = "npm run build" | ||
publish = "build/" | ||
|
||
[functions] | ||
directory = "src/functions" | ||
node_bundler = "esbuild" | ||
|
||
[[headers]] | ||
for = "/*" | ||
[headers.values] | ||
X-Frame-Options = "DENY" | ||
X-XSS-Protection = "1; mode=block" | ||
# | ||
# X-Content-Type-Options controls whether browsers attempt to detect | ||
# the content type, rather than relyihng on the Content-Type header. | ||
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options | ||
X-Content-Type-Options = "nosniff" | ||
# | ||
# Strict-Transport-Security to require HTTPS connections in supported | ||
# browsers. These settings are required to be eligible for inclusion | ||
# in the HSTS Preload list; see: https://hstspreload.org/ | ||
Strict-Transport-Security = """ | ||
max-age=31536000; \ | ||
includeSubDomains; \ | ||
preload \ | ||
""" | ||
# | ||
# Referrer-Policy controls the Referer header in requests. | ||
# | ||
# same-origin allows analytics tools to understand user journeys. | ||
Referrer-Policy = "same-origin" | ||
# | ||
# Content-Security-Policy controls what resources can be loaded on the page. | ||
Content-Security-Policy = "frame-ancestors 'self' *.gitpod.io *.staging.gitpod-dev.com" | ||
# | ||
# Permissions-Policy controls the features that the site can request. | ||
# | ||
# https://developer.chrome.com/en/docs/privacy-sandbox/permissions-policy/ | ||
# https://github.com/w3c/webappsec-permissions-policy/blob/main/features.md | ||
Permissions-Policy = """\ | ||
accelerometer=(), \ | ||
ambient-light-sensor=(), \ | ||
autoplay=(), \ | ||
battery=(), \ | ||
camera=(), \ | ||
cross-origin-isolated=(), \ | ||
display-capture=(), \ | ||
document-domain=(), \ | ||
encrypted-media=(), \ | ||
execution-while-not-rendered=(), \ | ||
execution-while-out-of-viewport=(), \ | ||
fullscreen=(), \ | ||
geolocation=(), \ | ||
gyroscope=(), \ | ||
hid=(), \ | ||
idle-detection=(), \ | ||
magnetometer=(), \ | ||
microphone=(), \ | ||
midi=(), \ | ||
navigation-override=(), \ | ||
payment=(), \ | ||
picture-in-picture=(), \ | ||
publickey-credentials-get=(), \ | ||
screen-wake-lock=(), \ | ||
serial=(), \ | ||
sync-xhr=(), \ | ||
usb=(), \ | ||
web-share=(), \ | ||
xr-spatial-tracking=() \ | ||
""" |
Oops, something went wrong.