Compare commits
No commits in common. "v0.0.2" and "main" have entirely different histories.
112
.eslintrc
112
.eslintrc
@ -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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Binary file not shown.
893
.yarn/releases/yarn-4.1.1.cjs
vendored
893
.yarn/releases/yarn-4.1.1.cjs
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +0,0 @@
|
||||
cacheFolder: ./offline_node_modules
|
||||
|
||||
enableGlobalCache: false
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.1.1.cjs
|
||||
28
CHANGELOG.md
28
CHANGELOG.md
@ -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)
|
||||
|
||||
|
||||
|
||||
@ -1 +0,0 @@
|
||||
module.exports = 'test-file-stub';
|
||||
@ -1,6 +1,5 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
'@babel/preset-typescript',
|
||||
'@babel/preset-env',
|
||||
['@babel/preset-react', {
|
||||
runtime: 'automatic',
|
||||
|
||||
14
configs/jest/jest-eslint.config.js
Normal file
14
configs/jest/jest-eslint.config.js
Normal 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',
|
||||
],
|
||||
};
|
||||
12
configs/jest/jest.config.js
Normal file
12
configs/jest/jest.config.js
Normal 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')],
|
||||
};
|
||||
@ -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',
|
||||
},
|
||||
};
|
||||
|
||||
BIN
offline_node_modules/@aashutoshrathi-word-wrap-1.2.6.tgz
generated
Normal file
BIN
offline_node_modules/@aashutoshrathi-word-wrap-1.2.6.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@adobe-css-tools-4.3.3.tgz
generated
Normal file
BIN
offline_node_modules/@adobe-css-tools-4.3.3.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@ampproject-remapping-2.3.0.tgz
generated
Normal file
BIN
offline_node_modules/@ampproject-remapping-2.3.0.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-code-frame-7.24.2.tgz
generated
Normal file
BIN
offline_node_modules/@babel-code-frame-7.24.2.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-compat-data-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-compat-data-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-core-7.24.0.tgz
generated
Normal file
BIN
offline_node_modules/@babel-core-7.24.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@babel-core-7.24.3.tgz
generated
Normal file
BIN
offline_node_modules/@babel-core-7.24.3.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-generator-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-generator-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-annotate-as-pure-7.22.5.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-annotate-as-pure-7.22.5.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-builder-binary-assignment-operator-visitor-7.22.15.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-builder-binary-assignment-operator-visitor-7.22.15.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-compilation-targets-7.23.6.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-compilation-targets-7.23.6.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-create-class-features-plugin-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-create-class-features-plugin-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-create-regexp-features-plugin-7.22.15.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-create-regexp-features-plugin-7.22.15.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-define-polyfill-provider-0.5.0.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-define-polyfill-provider-0.5.0.tgz
generated
Normal file
Binary file not shown.
BIN
offline_node_modules/@babel-helper-define-polyfill-provider-0.6.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-define-polyfill-provider-0.6.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-environment-visitor-7.22.20.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-environment-visitor-7.22.20.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-function-name-7.23.0.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-function-name-7.23.0.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-hoist-variables-7.22.5.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-hoist-variables-7.22.5.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-member-expression-to-functions-7.23.0.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-member-expression-to-functions-7.23.0.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-module-imports-7.24.3.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-module-imports-7.24.3.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-module-transforms-7.23.3.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-module-transforms-7.23.3.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-optimise-call-expression-7.22.5.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-optimise-call-expression-7.22.5.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-plugin-utils-7.24.0.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-plugin-utils-7.24.0.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-remap-async-to-generator-7.22.20.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-remap-async-to-generator-7.22.20.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-replace-supers-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-replace-supers-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-simple-access-7.22.5.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-simple-access-7.22.5.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-skip-transparent-expression-wrappers-7.22.5.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-skip-transparent-expression-wrappers-7.22.5.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-split-export-declaration-7.22.6.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-split-export-declaration-7.22.6.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-string-parser-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-string-parser-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-validator-identifier-7.22.20.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-validator-identifier-7.22.20.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-validator-option-7.23.5.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-validator-option-7.23.5.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helper-wrap-function-7.22.20.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helper-wrap-function-7.22.20.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-helpers-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-helpers-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-highlight-7.24.2.tgz
generated
Normal file
BIN
offline_node_modules/@babel-highlight-7.24.2.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-parser-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-parser-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-plugin-bugfix-v8-static-class-fields-redefine-readonly-7.24.1.tgz
generated
Normal file
BIN
offline_node_modules/@babel-plugin-bugfix-v8-static-class-fields-redefine-readonly-7.24.1.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-plugin-syntax-async-generators-7.8.4.tgz
generated
Normal file
BIN
offline_node_modules/@babel-plugin-syntax-async-generators-7.8.4.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-plugin-syntax-bigint-7.8.3.tgz
generated
Normal file
BIN
offline_node_modules/@babel-plugin-syntax-bigint-7.8.3.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-plugin-syntax-class-properties-7.12.13.tgz
generated
Normal file
BIN
offline_node_modules/@babel-plugin-syntax-class-properties-7.12.13.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-plugin-syntax-class-static-block-7.14.5.tgz
generated
Normal file
BIN
offline_node_modules/@babel-plugin-syntax-class-static-block-7.14.5.tgz
generated
Normal file
Binary file not shown.
Binary file not shown.
BIN
offline_node_modules/@babel-plugin-syntax-dynamic-import-7.8.3.tgz
generated
Normal file
BIN
offline_node_modules/@babel-plugin-syntax-dynamic-import-7.8.3.tgz
generated
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user