Skip to content

Commit 642a72a

Browse files
initialize
1 parent d061561 commit 642a72a

File tree

830 files changed

+2207
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

830 files changed

+2207
-72
lines changed

apps/dojo/.eslintignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

apps/dojo/.eslintrc.cjs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
module.exports = {
2+
root: true,
3+
extends: [
4+
'eslint:recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'plugin:svelte/recommended',
7+
'prettier'
8+
],
9+
parser: '@typescript-eslint/parser',
10+
plugins: ['@typescript-eslint'],
11+
parserOptions: {
12+
sourceType: 'module',
13+
ecmaVersion: 2020,
14+
extraFileExtensions: ['.svelte']
15+
},
16+
env: {
17+
browser: true,
18+
es2017: true,
19+
node: true
20+
},
21+
overrides: [
22+
{
23+
files: ['*.svelte'],
24+
parser: 'svelte-eslint-parser',
25+
parserOptions: {
26+
parser: '@typescript-eslint/parser'
27+
}
28+
}
29+
]
30+
};

apps/dojo/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
vite.config.js.timestamp-*
10+
vite.config.ts.timestamp-*

apps/dojo/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

apps/dojo/.prettierignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
10+
# Ignore files for PNPM, NPM and YARN
11+
pnpm-lock.yaml
12+
package-lock.json
13+
yarn.lock

apps/dojo/.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100,
6+
"plugins": ["prettier-plugin-svelte"],
7+
"pluginSearchDirs": ["."],
8+
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
9+
}

apps/dojo/.vscode/settings.json

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"prettier.documentSelectors": [
3+
"**/*.svelte"
4+
],
5+
"tailwindCSS.classAttributes": [
6+
"class",
7+
"accent",
8+
"active",
9+
"aspectRatio",
10+
"background",
11+
"badge",
12+
"bgBackdrop",
13+
"bgDark",
14+
"bgDrawer",
15+
"bgLight",
16+
"blur",
17+
"border",
18+
"button",
19+
"buttonAction",
20+
"buttonBack",
21+
"buttonClasses",
22+
"buttonComplete",
23+
"buttonDismiss",
24+
"buttonNeutral",
25+
"buttonNext",
26+
"buttonPositive",
27+
"buttonTextCancel",
28+
"buttonTextConfirm",
29+
"buttonTextFirst",
30+
"buttonTextLast",
31+
"buttonTextNext",
32+
"buttonTextPrevious",
33+
"buttonTextSubmit",
34+
"caretClosed",
35+
"caretOpen",
36+
"chips",
37+
"color",
38+
"controlSeparator",
39+
"controlVariant",
40+
"cursor",
41+
"display",
42+
"element",
43+
"fill",
44+
"fillDark",
45+
"fillLight",
46+
"flex",
47+
"gap",
48+
"gridColumns",
49+
"height",
50+
"hover",
51+
"inactive",
52+
"indent",
53+
"justify",
54+
"meter",
55+
"padding",
56+
"position",
57+
"regionAnchor",
58+
"regionBackdrop",
59+
"regionBody",
60+
"regionCaption",
61+
"regionCaret",
62+
"regionCell",
63+
"regionChildren",
64+
"regionChipList",
65+
"regionChipWrapper",
66+
"regionCone",
67+
"regionContent",
68+
"regionControl",
69+
"regionDefault",
70+
"regionDrawer",
71+
"regionFoot",
72+
"regionFootCell",
73+
"regionFooter",
74+
"regionHead",
75+
"regionHeadCell",
76+
"regionHeader",
77+
"regionIcon",
78+
"regionInput",
79+
"regionInterface",
80+
"regionInterfaceText",
81+
"regionLabel",
82+
"regionLead",
83+
"regionLegend",
84+
"regionList",
85+
"regionListItem",
86+
"regionNavigation",
87+
"regionPage",
88+
"regionPanel",
89+
"regionRowHeadline",
90+
"regionRowMain",
91+
"regionSummary",
92+
"regionSymbol",
93+
"regionTab",
94+
"regionTrail",
95+
"ring",
96+
"rounded",
97+
"select",
98+
"shadow",
99+
"slotDefault",
100+
"slotFooter",
101+
"slotHeader",
102+
"slotLead",
103+
"slotMessage",
104+
"slotMeta",
105+
"slotPageContent",
106+
"slotPageFooter",
107+
"slotPageHeader",
108+
"slotSidebarLeft",
109+
"slotSidebarRight",
110+
"slotTrail",
111+
"spacing",
112+
"text",
113+
"track",
114+
"width",
115+
"zIndex"
116+
]
117+
}

apps/dojo/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# create-svelte
2+
3+
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
4+
5+
## Creating a project
6+
7+
If you're seeing this, you've probably already done this step. Congrats!
8+
9+
```bash
10+
# create a new project in the current directory
11+
npm create svelte@latest
12+
13+
# create a new project in my-app
14+
npm create svelte@latest my-app
15+
```
16+
17+
## Developing
18+
19+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20+
21+
```bash
22+
npm run dev
23+
24+
# or start the server and open the app in a new browser tab
25+
npm run dev -- --open
26+
```
27+
28+
## Building
29+
30+
To create a production version of your app:
31+
32+
```bash
33+
npm run build
34+
```
35+
36+
You can preview the production build with `npm run preview`.
37+
38+
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.

apps/dojo/package.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"name": "dojo",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"dev": "vite dev",
7+
"build": "vite build",
8+
"preview": "vite preview",
9+
"test": "npm run test:integration && npm run test:unit",
10+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
11+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
12+
"lint": "prettier --plugin-search-dir . --check . && eslint .",
13+
"format": "prettier --plugin-search-dir . --write .",
14+
"test:integration": "playwright test",
15+
"test:unit": "vitest"
16+
},
17+
"devDependencies": {
18+
"@playwright/test": "^1.28.1",
19+
"@skeletonlabs/skeleton": "2.3.0",
20+
"@skeletonlabs/tw-plugin": "0.2.2",
21+
"@sveltejs/adapter-auto": "^2.0.0",
22+
"@sveltejs/kit": "^1.20.4",
23+
"@tailwindcss/forms": "0.5.6",
24+
"@tailwindcss/typography": "0.5.10",
25+
"@types/node": "20.8.5",
26+
"@typescript-eslint/eslint-plugin": "^6.0.0",
27+
"@typescript-eslint/parser": "^6.0.0",
28+
"autoprefixer": "10.4.16",
29+
"eslint": "^8.28.0",
30+
"eslint-config-prettier": "^8.5.0",
31+
"eslint-plugin-svelte": "^2.30.0",
32+
"postcss": "8.4.31",
33+
"prettier": "^2.8.0",
34+
"prettier-plugin-svelte": "^2.10.1",
35+
"svelte": "^4.0.5",
36+
"svelte-check": "^3.4.3",
37+
"tailwindcss": "3.3.3",
38+
"tslib": "^2.4.1",
39+
"typescript": "^5.0.0",
40+
"vite": "^4.4.2",
41+
"vite-plugin-tailwind-purgecss": "0.1.3",
42+
"vitest": "^0.32.2"
43+
},
44+
"type": "module",
45+
"dependencies": {
46+
"@floating-ui/dom": "1.5.3",
47+
"pixi.js": "8.0.0-beta.5"
48+
}
49+
}

apps/dojo/playwright.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import type { PlaywrightTestConfig } from '@playwright/test';
2+
3+
const config: PlaywrightTestConfig = {
4+
webServer: {
5+
command: 'npm run build && npm run preview',
6+
port: 4173
7+
},
8+
testDir: 'tests',
9+
testMatch: /(.+\.)?(test|spec)\.[jt]s/
10+
};
11+
12+
export default config;

0 commit comments

Comments
 (0)