Skip to content

Commit

Permalink
feat: moved app into src
Browse files Browse the repository at this point in the history
  • Loading branch information
misikoff authored and devCrossNet committed Nov 14, 2020
1 parent 5a9e86a commit 35043f5
Show file tree
Hide file tree
Showing 183 changed files with 19 additions and 84 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
tsConfig: 'tsconfig.test.json',
},
},
rootDir: '.',
rootDir: 'src',
setupFiles: ['<rootDir>/test/jestsetup.ts'],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/$1',
Expand Down
8 changes: 3 additions & 5 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
"@/*": ["./*"],
"~~/*": ["./*"],
"@@/*": ["./*"]
}
"@/*": ["src/*"],
"~/*": ["src/*"],
},
},
"exclude": ["node_modules", ".nuxt", "dist"]
}
3 changes: 2 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Configuration } from '@nuxt/types';

const config: Configuration = {
mode: 'universal',
srcDir: 'src',
/*
** Headers of the page
*/
Expand Down Expand Up @@ -73,7 +74,7 @@ const config: Configuration = {
],
defaultLocale: 'en',
lazy: true,
langDir: './i18n/',
langDir: '../i18n/',
},
/*
** Build configuration
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 8 additions & 1 deletion store/state.ts → src/store/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ export interface IAppState {
export default (): IAppState => {
return {
locale: '',
config: null,
config: {
api: {
baseUrl: '',
},
features: {
disableParticles: false,
},
},
defaultMessages: {},
redirectTo: '',
cookieConsentVersion: '',
Expand Down
1 change: 0 additions & 1 deletion src/vue-shim.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
declare module '*.vue' {
import Vue from 'vue';

export default Vue;
}
9 changes: 0 additions & 9 deletions static/browserconfig.xml

This file was deleted.

Binary file removed static/favicon.ico
Binary file not shown.
Binary file removed static/icon-128x128.png
Binary file not shown.
Binary file removed static/icon-144x144.png
Binary file not shown.
Binary file removed static/icon-152x152.png
Binary file not shown.
Binary file removed static/icon-192x192.png
Binary file not shown.
Binary file removed static/icon-384x384.png
Binary file not shown.
Binary file removed static/icon-512x512.png
Binary file not shown.
Binary file removed static/icon-72x72.png
Binary file not shown.
Binary file removed static/icon-96x96.png
Binary file not shown.
Binary file removed static/logo.png
Binary file not shown.
53 changes: 0 additions & 53 deletions static/manifest.json

This file was deleted.

5 changes: 0 additions & 5 deletions static/robots.txt

This file was deleted.

Empty file removed static/sitemap.xml
Empty file.
8 changes: 5 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,25 @@
"baseUrl": ".",
"paths": {
"~/*": [
"./*"
"src/*"
],
"@/*": [
"./*"
"src/*"
]
},
"rootDirs": ["src"],
"types": [
"@types/node",
"@nuxt/types",
"@types/animejs",
"nuxt-i18n"
]
},
"include": ["./src/**/*", "./src/**/*.vue"],
"exclude": [
"node_modules",
".nuxt",
"dist"
],
"files": ["vue-shim.d.ts"]
"files": ["src/vue-shim.d.ts"]
}
5 changes: 0 additions & 5 deletions vue-shim.d.ts

This file was deleted.

0 comments on commit 35043f5

Please sign in to comment.