Browse Source
Reviewed-on: https://gitea.anomalistdesign.com/trent_larson/crowd-funder-for-time-pwa/pulls/110pull/114/head
trentlarson
8 months ago
24 changed files with 11535 additions and 20309 deletions
@ -1,4 +1,4 @@ |
|||||
# Only the variables that start with VUE_APP_ are seen in the application process.env in Vue. |
# Only the variables that start with VITE_ are seen in the application process.env in Vue. |
||||
VUE_APP_BVC_MEETUPS_PROJECT_CLAIM_ID=https://endorser.ch/entity/01GXYPFF7FA03NXKPYY142PY4H |
VITE_BVC_MEETUPS_PROJECT_CLAIM_ID=https://endorser.ch/entity/01GXYPFF7FA03NXKPYY142PY4H |
||||
VUE_APP_DEFAULT_ENDORSER_API_SERVER=https://api.endorser.ch |
VITE_DEFAULT_ENDORSER_API_SERVER=https://api.endorser.ch |
||||
VUE_APP_DEFAULT_IMAGE_API_SERVER=https://image-api.timesafari.app |
VITE_DEFAULT_IMAGE_API_SERVER=https://image-api.timesafari.app |
||||
|
@ -1,4 +0,0 @@ |
|||||
module.exports = { |
|
||||
plugins: ["@babel/plugin-transform-private-methods"], |
|
||||
presets: ["@vue/cli-plugin-babel/preset"], |
|
||||
}; |
|
@ -0,0 +1,17 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang=""> |
||||
|
<head> |
||||
|
<meta charset="utf-8"> |
||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
||||
|
<link rel="icon" href="/favicon.ico"> |
||||
|
<title>TimeSafari</title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<noscript> |
||||
|
<strong>We're sorry but TimeSafari doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> |
||||
|
</noscript> |
||||
|
<div id="app"></div> |
||||
|
<script type="module" src="/src/main.ts"></script> |
||||
|
</body> |
||||
|
</html> |
File diff suppressed because it is too large
@ -1,17 +0,0 @@ |
|||||
<!DOCTYPE html> |
|
||||
<html lang=""> |
|
||||
<head> |
|
||||
<meta charset="utf-8"> |
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> |
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
|
||||
<title><%= htmlWebpackPlugin.options.title %></title> |
|
||||
</head> |
|
||||
<body> |
|
||||
<noscript> |
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> |
|
||||
</noscript> |
|
||||
<div id="app"></div> |
|
||||
<!-- built files will be auto injected --> |
|
||||
</body> |
|
||||
</html> |
|
@ -1,47 +1,35 @@ |
|||||
{ |
{ |
||||
"compilerOptions": { |
"compilerOptions": { |
||||
"allowJs": true, |
"target": "ES2020", // Latest ECMAScript features that are widely supported by modern browsers |
||||
"resolveJsonModule": true, |
"module": "ESNext", // Use ES modules |
||||
"target": "esnext", |
"strict": true, // Enable all strict type checking options |
||||
"module": "esnext", |
"jsx": "preserve", // Preserves JSX to be transformed by Babel or another transpiler |
||||
"strict": true, |
"moduleResolution": "node", // Use Node.js style module resolution |
||||
"strictPropertyInitialization": false, |
"experimentalDecorators": true, |
||||
"jsx": "preserve", |
"esModuleInterop": true, // Enables compatibility with CommonJS modules for default imports |
||||
"moduleResolution": "node", |
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export |
||||
"experimentalDecorators": true, |
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file |
||||
"skipLibCheck": true, |
"useDefineForClassFields": true, |
||||
"esModuleInterop": true, |
"sourceMap": true, |
||||
"allowSyntheticDefaultImports": true, |
"baseUrl": "./src", // Base directory to resolve non-relative module names |
||||
"forceConsistentCasingInFileNames": true, |
"paths": { |
||||
"useDefineForClassFields": true, |
"@/components/*": ["components/*"], |
||||
"sourceMap": true, |
"@/views/*": ["views/*"], |
||||
"baseUrl": "./src", |
"@/db/*": ["db/*"], |
||||
"types": [ |
"@/libs/*": ["libs/*"], |
||||
"webpack-env" |
"@/constants/*": ["constants/*"], |
||||
], |
"@/store/*": ["store/*"] |
||||
"paths": { |
}, |
||||
"@/components/*": ["components/*"], |
"lib": ["ES2020", "dom", "dom.iterable"], // Include typings for ES2020 and DOM APIs |
||||
"@/views/*": ["views/*"], |
|
||||
"@/db/*": ["db/*"], |
|
||||
"@/libs/*": ["libs/*"], |
|
||||
"@/constants/*": ["constants/*"], |
|
||||
"@/store/*": ["store/*"], |
|
||||
}, |
}, |
||||
"lib": [ |
"include": [ |
||||
"esnext", |
"src/**/*.ts", |
||||
"dom", |
"src/**/*.tsx", |
||||
"dom.iterable", |
"src/**/*.vue", |
||||
"scripthost" |
"tests/**/*.ts", |
||||
|
"tests/**/*.tsx" |
||||
|
], |
||||
|
"exclude": [ |
||||
|
"node_modules" |
||||
] |
] |
||||
}, |
|
||||
"include": [ |
|
||||
"src/**/*.ts", |
|
||||
"src/**/*.tsx", |
|
||||
"src/**/*.vue", |
|
||||
"tests/**/*.ts", |
|
||||
"tests/**/*.tsx" |
|
||||
], |
|
||||
"exclude": [ |
|
||||
"node_modules" |
|
||||
] |
|
||||
} |
} |
||||
|
@ -0,0 +1,18 @@ |
|||||
|
import { defineConfig } from "vite"; |
||||
|
import vue from "@vitejs/plugin-vue"; |
||||
|
import * as path from "path"; |
||||
|
|
||||
|
// https://vitejs.dev/config/
|
||||
|
export default defineConfig({ |
||||
|
server: { |
||||
|
port: 8080 |
||||
|
}, |
||||
|
plugins: [ vue() ], |
||||
|
resolve: { |
||||
|
alias: { |
||||
|
"@": path.resolve(__dirname, "./src"), |
||||
|
buffer: path.resolve(__dirname, 'node_modules', 'buffer'), |
||||
|
'dexie-export-import/dist/import': 'dexie-export-import/dist/import/index.js', |
||||
|
}, |
||||
|
}, |
||||
|
}); |
Loading…
Reference in new issue