Skip to content

Commit bbc317f

Browse files
Merge pull request #7 from bhargavakula01/restructure
project layout added
2 parents 3b361dd + e263975 commit bbc317f

Some content is hidden

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

44 files changed

+4055
-9
lines changed

Cargo.lock

Lines changed: 3675 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[package]
2-
name = "oscps"
3-
version = "0.1.0"
4-
edition = "2021"
1+
[workspace]
52

6-
[dependencies]
3+
members = [
4+
"oscps-lib",
5+
"oscps-gui/src-tauri",
6+
]

oscps-gui/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
node_modules
2+
3+
# Output
4+
.output
5+
.vercel
6+
/.svelte-kit
7+
/build
8+
9+
# OS
10+
.DS_Store
11+
Thumbs.db
12+
13+
# Env
14+
.env
15+
.env.*
16+
!.env.example
17+
!.env.test
18+
19+
# Vite
20+
vite.config.js.timestamp-*
21+
vite.config.ts.timestamp-*

oscps-gui/.npmrc

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

oscps-gui/.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Package Managers
2+
package-lock.json
3+
pnpm-lock.yaml
4+
yarn.lock

oscps-gui/.prettierrc

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

oscps-gui/README.md

Lines changed: 38 additions & 0 deletions

oscps-gui/bun.lockb

102 KB
Binary file not shown.

oscps-gui/eslint.config.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import js from '@eslint/js';
2+
import ts from 'typescript-eslint';
3+
import svelte from 'eslint-plugin-svelte';
4+
import prettier from 'eslint-config-prettier';
5+
import globals from 'globals';
6+
7+
/** @type {import('eslint').Linter.FlatConfig[]} */
8+
export default [
9+
js.configs.recommended,
10+
...ts.configs.recommended,
11+
...svelte.configs['flat/recommended'],
12+
prettier,
13+
...svelte.configs['flat/prettier'],
14+
{
15+
languageOptions: {
16+
globals: {
17+
...globals.browser,
18+
...globals.node
19+
}
20+
}
21+
},
22+
{
23+
files: ['**/*.svelte'],
24+
languageOptions: {
25+
parserOptions: {
26+
parser: ts.parser
27+
}
28+
}
29+
},
30+
{
31+
ignores: ['build/', '.svelte-kit/', 'dist/']
32+
}
33+
];

oscps-gui/package.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "oscps-gui",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"dev": "vite dev",
7+
"build": "vite build",
8+
"preview": "vite preview",
9+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
10+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
11+
"lint": "prettier --check . && eslint .",
12+
"format": "prettier --write ."
13+
},
14+
"devDependencies": {
15+
"@sveltejs/adapter-auto": "^3.0.0",
16+
"@sveltejs/adapter-static": "^3.0.2",
17+
"@sveltejs/kit": "^2.0.0",
18+
"@sveltejs/vite-plugin-svelte": "^3.0.0",
19+
"@tauri-apps/cli": "^1.5.14",
20+
"@types/eslint": "^8.56.7",
21+
"eslint": "^9.0.0",
22+
"eslint-config-prettier": "^9.1.0",
23+
"eslint-plugin-svelte": "^2.36.0",
24+
"globals": "^15.0.0",
25+
"prettier": "^3.1.1",
26+
"prettier-plugin-svelte": "^3.1.2",
27+
"svelte": "^4.2.7",
28+
"svelte-check": "^3.6.0",
29+
"tslib": "^2.4.1",
30+
"typescript": "^5.0.0",
31+
"typescript-eslint": "^8.0.0-alpha.20",
32+
"vite": "^5.0.3"
33+
},
34+
"type": "module",
35+
"dependencies": {
36+
"@tauri-apps/api": "^1.5.6"
37+
}
38+
}

0 commit comments

Comments
 (0)