Compare commits

..

No commits in common. "v0.0.2" and "main" have entirely different histories.
v0.0.2 ... main

2917 changed files with 11068 additions and 19147 deletions

112
.eslintrc
View File

@ -1,93 +1,33 @@
{
"extends": "ksv741",
"reportUnusedDisableDirectives": true,
"settings": {
"import/resolver": "webpack"
"env": {
"jest": true
},
"rules": {
"import/order": [
"error", {
"pathGroups": [
{
"pattern": "apps/**",
"group": "internal",
"position": "after"
},
{
"pattern": "pages/**",
"group": "internal",
"position": "after"
},
{
"pattern": "widgets/**",
"group": "internal",
"position": "after"
},
{
"pattern": "features/**",
"group": "internal",
"position": "after"
},
{
"pattern": "entities/**",
"group": "internal",
"position": "after"
},
{
"pattern": "shared/**",
"group": "internal",
"position": "after"
}
],
"distinctGroup": true,
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"object",
"index",
"type"
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}],
"import/extensions": ["error", {
"import/extensions": [
"error", "ignorePackages", {
"mjs": "never",
"cjs": "never",
"js": "never",
"jsx": "never",
"tsx": "never",
"ts": "never"
}],
"import/no-extraneous-dependencies": ["error", {
"devDependencies": [
"test/**",
"tests/**",
"spec/**",
"**/__tests__/**",
"**/__mocks__/**",
"test.{[j|t]sx,[j|t]sx}",
"test-*.{[j|t]sx,[j|t]sx}",
"**/*{.,_}{test,spec}.{[j|t]sx,[j|t]sx}",
"**/jest.config.[j|t]",
"**/jest.setup.[j|t]",
"**/vue.config.[j|t]",
"**/webpack.config.[j|t]",
"**/webpack.config.*.[j|t]",
"**/rollup.config.[j|t]",
"**/rollup.config.*.[j|t]",
"**/gulpfile.[j|t]",
"**/gulpfile.*.[j|t]",
"**/Gruntfile{,.[j|t]}",
"**/protractor.conf.[j|t]",
"**/protractor.conf.*.[j|t]",
"**/karma.conf.[j|t]",
"**/.eslintrc.[j|t]"
],
"optionalDependencies": false
"jsx": "never"
}]
}
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".mjs", ".cjs", ".js", ".json", ".jsx"
]
}
},
"import/extensions": [
".mjs", ".cjs", ".js", ".json", ".jsx"
]
},
"overrides": [
{
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
"extends": ["./configs/jest/jest-eslint.config.js"]
}
]
}

View File

@ -12,7 +12,7 @@ cache:
install-dependencies:
stage: preparing
script:
- yarn install
- yarn install --offline
lint:
stage: checking
@ -26,20 +26,9 @@ lint:
test:
stage: checking
script:
- yarn run test:start
- yarn run test
only:
- branches
- merge_requests
- tags
typechecking:
stage: checking
script:
- yarn run typechecking
only:
- branches
- merge_requests
- tags
pages:
stage: deploy

1
.nvmrc
View File

@ -1 +0,0 @@
20.11.1

Binary file not shown.

File diff suppressed because one or more lines are too long

1
.yarnrc Normal file
View File

@ -0,0 +1 @@
yarn-offline-mirror "./offline_node_modules"

View File

@ -1,7 +0,0 @@
cacheFolder: ./offline_node_modules
enableGlobalCache: false
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.1.1.cjs

View File

@ -1,32 +1,4 @@
# MoneyControll App CHANGELOG
### 0.0.2 (2024-04-29)
### 🛠️ Bug Fixes
* fix spec files eslint ([1818a27](https://gitlab.com/money-control2/web/frontend/commit/1818a279b5b79239c98d43b5689b63365be263dd))
### 🚀 New Features
* add calendar page ([950fbee](https://gitlab.com/money-control2/web/frontend/commit/950fbee317e45a1d9d3aca50e71869e5fdbc9cd5))
* add calendar widget ([078e2c9](https://gitlab.com/money-control2/web/frontend/commit/078e2c987fcdb3093416b9fb06d83de7dfcd88c5))
* add customization calendar widget ([c950bc6](https://gitlab.com/money-control2/web/frontend/commit/c950bc675799d7f11d1b067eb38cae14d5236a3e))
* add DatePicker ([422bef6](https://gitlab.com/money-control2/web/frontend/commit/422bef601f9203de8180e63a4ef556906828e2f8))
* add helpers ([29c1bce](https://gitlab.com/money-control2/web/frontend/commit/29c1bce814866bb6f3ee408dd04d932be025a367))
* add highlight props ([46e1cd5](https://gitlab.com/money-control2/web/frontend/commit/46e1cd5d4aa2433f3e09add7382ed2bdd8453d1d))
* add jest user events ([c51c36c](https://gitlab.com/money-control2/web/frontend/commit/c51c36c0417ce0f49e8bf159d72c1714f86a6775))
* add typescript [#9](https://gitlab.com/money-control2/web/frontend/issues/9) ([a603f31](https://gitlab.com/money-control2/web/frontend/commit/a603f31c1a4f2f12842a647bcd6f34bbe0274708))
* **app:** add base scripts [#1](https://gitlab.com/money-control2/web/frontend/issues/1) ([3977ac2](https://gitlab.com/money-control2/web/frontend/commit/3977ac2adc25e008b9db0e64f58893e70176f5ff))
* **app:** add eslint [#3](https://gitlab.com/money-control2/web/frontend/issues/3) ([c29db6f](https://gitlab.com/money-control2/web/frontend/commit/c29db6ffd178e8cb2abf4db2572c750f5853005f))
* **app:** add eslint for jest files [#3](https://gitlab.com/money-control2/web/frontend/issues/3) ([f50c60b](https://gitlab.com/money-control2/web/frontend/commit/f50c60b6814eba28b4458de446e8fc7d8a0645b0))
* **app:** add git hooks control [#4](https://gitlab.com/money-control2/web/frontend/issues/4) ([9f8eaf4](https://gitlab.com/money-control2/web/frontend/commit/9f8eaf424e0b03eaab30362e62ad30de910eeaba))
* **app:** add jest testing [#2](https://gitlab.com/money-control2/web/frontend/issues/2) ([4697997](https://gitlab.com/money-control2/web/frontend/commit/4697997c1fcee67d10389a395b79de01ef205114))
* **app:** add standard-version [#5](https://gitlab.com/money-control2/web/frontend/issues/5) ([fe57ae4](https://gitlab.com/money-control2/web/frontend/commit/fe57ae4a5e4c986923d3851e1742965e4570839c))
* **hoc:** add withProvider HOC ([bb28d93](https://gitlab.com/money-control2/web/frontend/commit/bb28d93016d67457822b31b97ee69b733161da0d))
* **shared:** add constants and utils ([afde44b](https://gitlab.com/money-control2/web/frontend/commit/afde44beade36a28c0e57dde7d6cac14c74fa4ff))
* update project to typescript [#9](https://gitlab.com/money-control2/web/frontend/issues/9) ([8c5e4a0](https://gitlab.com/money-control2/web/frontend/commit/8c5e4a08bf2599a0a4c41ededec63fe2f725f8dd))
### 0.0.1 (2024-03-28)

View File

@ -1 +0,0 @@
module.exports = 'test-file-stub';

View File

@ -1,6 +1,5 @@
module.exports = {
presets: [
'@babel/preset-typescript',
'@babel/preset-env',
['@babel/preset-react', {
runtime: 'automatic',

View File

@ -0,0 +1,14 @@
module.exports = {
plugins: [
'jest',
'jest-dom',
'jest-formatting',
'testing-library',
],
extends: [
'plugin:jest/recommended',
'plugin:jest-dom/recommended',
'plugin:jest-formatting/recommended',
'plugin:testing-library/react',
],
};

View File

@ -0,0 +1,12 @@
const path = require('path');
module.exports = {
testEnvironment: 'jsdom',
rootDir: '../../',
transform: {
'\\.jsx?$': ['babel-jest', {
configFile: path.resolve(__dirname, 'babel-jest.config.js'),
}],
},
setupFilesAfterEnv: [path.resolve(__dirname, 'setupTests.js')],
};

View File

@ -1,15 +1,9 @@
module.exports = {
testEnvironment: 'jsdom',
transform: {
'\\.[j|t]sx?$': ['babel-jest', {
'\\.jsx?$': ['babel-jest', {
configFile: './configs/jest/babel-jest.config.js',
}],
},
setupFilesAfterEnv: ['./configs/jest/setupTests.js'],
modulePaths: ['src'],
moduleNameMapper: {
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'./configs/jest/__mocks__/fileMock.js',
'\\.(css|less|scss)$': 'identity-obj-proxy',
},
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More