feat: enhance project configuration with type checking and improved .gitignore entries
This commit is contained in:
+28
-5
@@ -1,20 +1,43 @@
|
||||
# OS & Editor
|
||||
.DS_Store
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
|
||||
# Dependencies
|
||||
node_modules
|
||||
.pnpm-store
|
||||
|
||||
# Turborepo & Cache
|
||||
.turbo
|
||||
.cache
|
||||
|
||||
# Environment Variables (Security)
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
*.local
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# Standard Web Build Outputs
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
.env
|
||||
.cache
|
||||
server/dist
|
||||
public/dist
|
||||
|
||||
# storybook
|
||||
# Storybook Build Outputs
|
||||
*storybook.log
|
||||
storybook-static
|
||||
|
||||
# Electron
|
||||
# Electron Build Outputs
|
||||
out/
|
||||
release/
|
||||
web-dist/
|
||||
@@ -11,7 +11,8 @@
|
||||
"package": "pnpm run build && electron-builder --config electron-builder.yml",
|
||||
"package:win": "pnpm run build && electron-builder --win --config electron-builder.yml",
|
||||
"package:mac": "pnpm run build && electron-builder --mac --config electron-builder.yml",
|
||||
"package:linux": "pnpm run build && electron-builder --linux --config electron-builder.yml"
|
||||
"package:linux": "pnpm run build && electron-builder --linux --config electron-builder.yml",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"electron-updater": "^6.3.9"
|
||||
@@ -26,4 +27,4 @@
|
||||
"tsx": "^4.19.0",
|
||||
"typescript": "5.5.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"program":{"fileNames":[],"fileInfos":[],"root":[],"options":{"composite":true}},"version":"5.5.4"}
|
||||
@@ -7,7 +7,8 @@
|
||||
"dev": "vite --clearScreen false",
|
||||
"build": "tsc && vite build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint \"src/**/*.ts\""
|
||||
"lint": "eslint \"src/**/*.ts\"",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@repo/ui": "workspace:*",
|
||||
@@ -27,4 +28,4 @@
|
||||
"typescript": "5.5.4",
|
||||
"vite": "^5.1.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,7 +9,8 @@
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint \"src/**/*.ts\"",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest --watch"
|
||||
"test:watch": "vitest --watch",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@repo/ui": "workspace:*",
|
||||
|
||||
+4
-1
@@ -19,7 +19,10 @@
|
||||
"package:linux": "pnpm run build:desktop && cd apps/desktop && pnpm run package:linux",
|
||||
"lint": "turbo run lint",
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
||||
"test": "turbo run test"
|
||||
"test": "turbo run test",
|
||||
"typecheck": "turbo run typecheck",
|
||||
"clean:workspaces": "rm -rf node_modules **/*/node_modules .turbo **/*/.turbo dist **/*/dist out **/*/out web-dist **/*/web-dist release **/*/release",
|
||||
"nuke": "pnpm run clean:workspaces && pnpm install && pnpm build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.2.5",
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"scripts": {
|
||||
"lint": "eslint \"**/*.ts\"",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest --watch"
|
||||
"test:watch": "vitest --watch",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"crypto-js": "^4.2.0",
|
||||
|
||||
@@ -84,7 +84,8 @@ describe('EncryptionUtils', () => {
|
||||
|
||||
it('should return an empty string if input is malformed (Graceful Fail)', () => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const consoleSpy = vi.spyOn(console, 'error').mockImplementation(() => {});
|
||||
// const consoleSpy = vi.spyOn(console, 'error').mockImplementation(() => {});
|
||||
vi.spyOn(console, 'error').mockImplementation(() => {});
|
||||
|
||||
const malformedData = 'invalid-base64-string-@@@';
|
||||
const result = service.decrypt(malformedData);
|
||||
|
||||
+2
-2
@@ -24,9 +24,9 @@
|
||||
"^lint"
|
||||
]
|
||||
},
|
||||
"check-types": {
|
||||
"typecheck": {
|
||||
"dependsOn": [
|
||||
"^check-types"
|
||||
"^typecheck"
|
||||
]
|
||||
},
|
||||
"dev": {
|
||||
|
||||
Reference in New Issue
Block a user