This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 15 files changed +50
-39
lines changed Expand file tree Collapse file tree 15 files changed +50
-39
lines changed Original file line number Diff line number Diff line change 11{
2- "presets" : [
3- [" next/babel" ]
4- ],
2+ "presets" : [[" next/babel" ]],
53 "env" : {
6- "development" : {
7- "plugins" : [" inline-dotenv" ]
4+ "development" : {
5+ "plugins" : [" inline-dotenv" ]
86 },
97 "production" : {
108 "presets" : [
11- [" next/babel" , {
12- "preset-env" : {
13- "targets" : {
14- "ie" : " 11"
15- },
16- "debug" : false
9+ [
10+ " next/babel" ,
11+ {
12+ "preset-env" : {
13+ "targets" : {
14+ "ie" : " 11"
15+ },
16+ "debug" : false
17+ }
1718 }
18- } ]
19+ ]
1920 ]
2021 },
2122 "test" : {
4748 }
4849 ],
4950 " ramda" ,
50- [" module-resolver" , {
51- "root" : [" ./" ],
52- "alias" : {
53- "@containers" :" ./containers" ,
54- "@components" :" ./components" ,
55- "@hooks" :" ./components/Hooks" ,
56- "@config" :" ./config" ,
57- "@stores" :" ./stores" ,
58- "@model" :" ./stores/SharedModel" ,
59- "@utils" :" ./utils" ,
60- "@schemas" :" ./containers/schemas" ,
61- "@Img" : " ./components/Img" ,
62- "@SvgIcons" : " ./components/SvgIcons"
51+ [
52+ " module-resolver" ,
53+ {
54+ "root" : [" ./" ],
55+ "alias" : {
56+ "@containers" : " ./containers" ,
57+ "@components" : " ./components" ,
58+ "@services" : " ./services" ,
59+ "@hooks" : " ./components/Hooks" ,
60+ "@config" : " ./config" ,
61+ "@stores" : " ./stores" ,
62+ "@model" : " ./stores/SharedModel" ,
63+ "@utils" : " ./utils" ,
64+ "@schemas" : " ./containers/schemas" ,
65+ "@Img" : " ./components/Img" ,
66+ "@SvgIcons" : " ./components/SvgIcons"
67+ }
6368 }
64- } ]
69+ ]
6570 ]
6671}
Original file line number Diff line number Diff line change @@ -12,3 +12,4 @@ yarn-error.log
1212schema.graphql
1313cypress //integration /examples
1414cypress /videos /
15+ .vscode /
Original file line number Diff line number Diff line change 2323 "clean" : " shjs ./utils/scripts/clean.js" ,
2424 "gen" : " plop --plopfile ./utils/scripts/generators/index.js" ,
2525 "analyze" : " cross-env ANALYZE=true next build" ,
26- "lint" : " eslint --fix pages/**/*.js components/**/*.js containers/**/*.js stores/**/*.js utils/**/*.js" ,
26+ "lint" : " eslint ./ pages/**/*.js ./ components/**/*.js ./ containers/**/*.js ./ stores/**/*.js ./ utils/**/*.js ./services /**/*.js" ,
2727 "lint:staged" : " git diff --cached --name-only --diff-filter=ACRM | grep \" .js$\" | xargs eslint" ,
2828 "test" : " cross-env NODE_ENV=test jest --config .jest.config.js" ,
2929 "test:dev" : " cross-env NODE_ENV=test jest --config .jest.config.js" ,
Original file line number Diff line number Diff line change 11import React from 'react'
22import { Provider } from 'mobx-react'
33
4+ import AnalysisService from '@services/Analysis'
45import ThemeWrapper from '@containers/ThemeWrapper'
5- import AnalysisService from '@components/AnalysisService'
66import ErrorPage from '@components/ErrorPage'
77
88import initRootStore from '@stores/init'
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import React from 'react'
55import { Provider } from 'mobx-react'
66import R from 'ramda'
77
8+ import AnalysisService from '@services/Analysis'
9+
810import GlobalLayout from '@containers/GlobalLayout'
911import ThemeWrapper from '@containers/ThemeWrapper'
1012import MultiLanguage from '@containers/MultiLanguage'
@@ -18,7 +20,7 @@ import CommunitiesContent from '@containers/CommunitiesContent'
1820import Footer from '@containers/Footer'
1921
2022import { P } from '@schemas'
21- import AnalysisService from '@components/AnalysisService'
23+
2224import {
2325 getJwtToken ,
2426 makeGQClient ,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import NextSeo from 'next-seo'
66import { PAGE_SIZE , SITE_URL } from '@config'
77import initRootStore from '@stores/init'
88
9+ import AnalysisService from '@services/Analysis'
910import GlobalLayout from '@containers/GlobalLayout'
1011import ThemeWrapper from '@containers/ThemeWrapper'
1112import MultiLanguage from '@containers/MultiLanguage'
@@ -18,8 +19,6 @@ import CommunityBanner from '@containers/CommunityBanner'
1819import CommunityContent from '@containers/CommunityContent'
1920import Footer from '@containers/Footer'
2021import ErrorBox from '@containers/ErrorBox'
21-
22- import AnalysisService from '@components/AnalysisService'
2322import ErrorPage from '@components/ErrorPage'
2423
2524import {
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import NextSeo from 'next-seo'
66import { PAGE_SIZE , SITE_URL } from '@config'
77import initRootStore from '@stores/init'
88
9+ import AnalysisService from '@services/Analysis'
10+
911import GlobalLayout from '@containers/GlobalLayout'
1012import ThemeWrapper from '@containers/ThemeWrapper'
1113import MultiLanguage from '@containers/MultiLanguage'
@@ -19,7 +21,6 @@ import CommunityContent from '@containers/CommunityContent'
1921import Footer from '@containers/Footer'
2022import ErrorBox from '@containers/ErrorBox'
2123
22- import AnalysisService from '@components/AnalysisService'
2324import ErrorPage from '@components/ErrorPage'
2425
2526import {
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ import React from 'react'
22import { Provider } from 'mobx-react'
33import R from 'ramda'
44
5+ import AnalysisService from '@services/Analysis'
6+
57import GlobalLayout from '@containers/GlobalLayout'
68import ThemeWrapper from '@containers/ThemeWrapper'
79import MultiLanguage from '@containers/MultiLanguage'
@@ -15,7 +17,6 @@ import Content from '@containers/Content'
1517import Footer from '@containers/Footer'
1618import ErrorBox from '@containers/ErrorBox'
1719
18- import AnalysisService from '@components/AnalysisService'
1920import ErrorPage from '@components/ErrorPage'
2021import initRootStore from '@stores/init'
2122// import { AnalysisService, ErrorPage } from '@components'
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { BlogJsonLd } from 'next-seo'
55
66import { PAGE_SIZE , SITE_URL } from '@config'
77
8+ import AnalysisService from '@services/Analysis'
9+
810import GlobalLayout from '@containers/GlobalLayout'
911import ThemeWrapper from '@containers/ThemeWrapper'
1012import MultiLanguage from '@containers/MultiLanguage'
@@ -18,7 +20,6 @@ import Footer from '@containers/Footer'
1820import ErrorBox from '@containers/ErrorBox'
1921
2022import { P } from '@schemas'
21- import AnalysisService from '@components/AnalysisService'
2223import ErrorPage from '@components/ErrorPage'
2324
2425// import { AnalysisService, ErrorPage } from '@components'
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Provider } from 'mobx-react'
33
44import ThemeWrapper from '@containers/ThemeWrapper'
55
6- import AnalysisService from '@components/AnalysisService '
6+ import AnalysisService from '@services/Analysis '
77import OauthHinter from '@components/OauthHinter'
88
99import initRootStore from '@stores/init'
You can’t perform that action at this time.
0 commit comments