refactor: introduce monorepo and lerna (#78)

This commit is contained in:
Vojtech Simetka 2022-12-15 15:19:42 +01:00 committed by GitHub
parent 2aa2c2d81b
commit fa7db927d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
58 changed files with 21787 additions and 5062 deletions

11
.gitignore vendored
View File

@ -1,10 +1 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
node_modules/

5
lerna.json Normal file
View File

@ -0,0 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "0.0.0"
}

21723
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,38 +1,10 @@
{
"name": "theoutlet",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"test": "playwright test",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write . && eslint . --fix"
},
"devDependencies": {
"@fontsource/source-code-pro": "^4.5.12",
"@fontsource/source-sans-pro": "^4.5.11",
"@fontsource/source-serif-pro": "^4.5.9",
"@playwright/test": "1.28.1",
"@sveltejs/adapter-static": "^1.0.0-next.48",
"@sveltejs/kit": "next",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^2.8.1",
"prettier-plugin-svelte": "^2.9.0",
"sass": "^1.56.2",
"svelte": "^3.54.0",
"svelte-check": "^2.10.2",
"svelte-preprocess": "^5.0.0",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"vite": "^3.2.5"
},
"type": "module"
"name": "root",
"private": true,
"workspaces": [
"packages/*"
],
"devDependencies": {
"lerna": "^6.1.0"
}
}

10
packages/ui/.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*

5018
packages/ui/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

38
packages/ui/package.json Normal file
View File

@ -0,0 +1,38 @@
{
"name": "theoutlet",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"test": "playwright test",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write . && eslint . --fix"
},
"devDependencies": {
"@fontsource/source-code-pro": "^4.5.12",
"@fontsource/source-sans-pro": "^4.5.11",
"@fontsource/source-serif-pro": "^4.5.9",
"@playwright/test": "1.28.1",
"@sveltejs/adapter-static": "^1.0.0",
"@sveltejs/kit": "^1.0.0-next.578",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte3": "^4.0.0",
"prettier": "^2.8.1",
"prettier-plugin-svelte": "^2.9.0",
"sass": "^1.56.2",
"svelte": "^3.55.0",
"svelte-check": "^2.10.2",
"svelte-preprocess": "^5.0.0",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"vite": "^4.0.1"
},
"type": "module"
}

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB