mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-24 08:17:57 -04:00
Refactor folder structure to prevent having src output dir (#541)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Vault } from './types/webapi/Vault';
|
||||
import EncryptionUtility from './utils/EncryptionUtility';
|
||||
import SqliteClient from './utils/SqliteClient';
|
||||
import { WebApiService } from './utils/WebApiService';
|
||||
import { PasswordGenerator } from './generators/Password/PasswordGenerator';
|
||||
import { Vault } from './src/types/webapi/Vault';
|
||||
import EncryptionUtility from './src/utils/EncryptionUtility';
|
||||
import SqliteClient from './src/utils/SqliteClient';
|
||||
import { WebApiService } from './src/utils/WebApiService';
|
||||
import { PasswordGenerator } from './src/generators/Password/PasswordGenerator';
|
||||
|
||||
let vaultState: {
|
||||
derivedKey: string | null;
|
||||
@@ -1,7 +1,7 @@
|
||||
import { FormDetector } from './utils/form-detector/FormDetector';
|
||||
import { Credential } from './types/Credential';
|
||||
import { IdentityGeneratorEn } from './generators/Identity/implementations/IdentityGeneratorEn';
|
||||
import { PasswordGenerator } from './generators/Password/PasswordGenerator';
|
||||
import { FormDetector } from './src/utils/form-detector/FormDetector';
|
||||
import { Credential } from './src/types/Credential';
|
||||
import { IdentityGeneratorEn } from './src/generators/Identity/implementations/IdentityGeneratorEn';
|
||||
import { PasswordGenerator } from './src/generators/Password/PasswordGenerator';
|
||||
|
||||
type CredentialResponse = {
|
||||
status: 'OK' | 'LOCKED';
|
||||
@@ -19,7 +19,7 @@
|
||||
"512": "assets/icons/icon-512.png"
|
||||
},
|
||||
"background": {
|
||||
"service_worker": "src/background.ts",
|
||||
"service_worker": "background.ts",
|
||||
"type": "module"
|
||||
},
|
||||
"permissions": [
|
||||
@@ -31,7 +31,7 @@
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["<all_urls>"],
|
||||
"js": ["src/contentScript.ts"],
|
||||
"js": ["contentScript.ts"],
|
||||
"css": ["src/styles/contentScript.css"]
|
||||
}
|
||||
],
|
||||
@@ -1,7 +1,7 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
export default {
|
||||
content: [
|
||||
"./src/contentScript.ts",
|
||||
"./contentScript.ts",
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
|
||||
@@ -11,7 +11,7 @@ export default defineConfig({
|
||||
react(),
|
||||
dictionaryLoader(),
|
||||
webExtension({
|
||||
manifest: 'src/manifest.json',
|
||||
manifest: 'manifest.json',
|
||||
}),
|
||||
viteStaticCopy({
|
||||
targets: [
|
||||
@@ -25,7 +25,7 @@ export default defineConfig({
|
||||
},
|
||||
{
|
||||
src: 'node_modules/sql.js/dist/sql-wasm.wasm',
|
||||
dest: 'src/src'
|
||||
dest: 'src'
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user