Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ac873b6

Browse filesBrowse files
committed
update deps & remove pollyfils
1 parent 0de6337 commit ac873b6
Copy full SHA for ac873b6

File tree

Expand file treeCollapse file tree

10 files changed

+694
-830
lines changed
Filter options
Expand file treeCollapse file tree

10 files changed

+694
-830
lines changed

‎Dockerfile

Copy file name to clipboardExpand all lines: Dockerfile
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:14-alpine3.11 as builder
1+
FROM node:16-alpine as builder
22
RUN apk --no-cache --update --virtual build-dependencies add \
33
python \
44
make \

‎package.json

Copy file name to clipboardExpand all lines: package.json
+29-30Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,54 +22,53 @@
2222
"dependencies": {
2323
"@vuelidate/core": "^2.0.0",
2424
"@vuelidate/validators": "^2.0.0",
25-
"@vueuse/core": "^9.1.1",
26-
"axios": "^0.27.2",
27-
"bignumber.js": "^9.0.2",
28-
"dayjs": "^1.11.5",
29-
"jsona": "^1.9.6",
25+
"@vueuse/core": "^9.9.0",
26+
"axios": "^1.2.1",
27+
"bignumber.js": "^9.1.1",
28+
"dayjs": "^1.11.7",
29+
"jsona": "^1.11.0",
3030
"lodash-es": "^4.17.21",
31-
"loglevel": "^1.8.0",
31+
"loglevel": "^1.8.1",
3232
"mitt": "^3.0.0",
33-
"pinia": "^2.0.21",
34-
"postcss": "^8.4.16",
35-
"vue": "^3.2.38",
33+
"pinia": "^2.0.28",
34+
"postcss": "^8.4.20",
35+
"vue": "^3.2.45",
3636
"vue-i18n": "^9.2.2",
37-
"vue-router": "^4.1.5",
37+
"vue-router": "^4.1.6",
3838
"vue-toastification": "^2.0.0-rc.5"
3939
},
4040
"devDependencies": {
41-
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
4241
"@mapbox/stylelint-processor-arbitrary-tags": "^0.4.0",
4342
"@rushstack/eslint-patch": "^1.1.3",
4443
"@types/lodash-es": "^4.17.6",
45-
"@types/node": "^18.7.14",
44+
"@types/node": "^18.11.17",
4645
"@types/vuelidate": "^0.7.15",
47-
"@typescript-eslint/eslint-plugin": "^5.36.1",
48-
"@typescript-eslint/parser": "^5.36.1",
49-
"@vitejs/plugin-vue": "^3.0.3",
46+
"@typescript-eslint/eslint-plugin": "^5.47.0",
47+
"@typescript-eslint/parser": "^5.47.0",
48+
"@vitejs/plugin-vue": "^4.0.0",
5049
"@vue/eslint-config-prettier": "^7.0.0",
5150
"@vue/eslint-config-typescript": "^11.0.0",
52-
"@vue/test-utils": "^2.0.0-rc.18",
53-
"chalk": "^5.0.0",
51+
"@vue/test-utils": "^2.2.6",
52+
"chalk": "^5.2.0",
5453
"cross-env": "^7.0.3",
55-
"eslint": "8.22.0",
54+
"eslint": "^8.30.0",
5655
"eslint-plugin-prettier": "^4.0.0",
57-
"eslint-plugin-promise": "^6.0.1",
58-
"eslint-plugin-vue": "^9.4.0",
56+
"eslint-plugin-promise": "^6.1.1",
57+
"eslint-plugin-vue": "^9.8.0",
5958
"eslint-plugin-vue-i18n": "^0.3.0",
60-
"happy-dom": "^6.0.4",
61-
"prettier": "^2.5.1",
62-
"rollup-plugin-visualizer": "^5.8.0",
63-
"sass": "^1.54.6",
64-
"stylelint": "^14.11.0",
65-
"stylelint-config-standard-scss": "^5.0.0",
59+
"happy-dom": "^8.1.1",
60+
"prettier": "^2.8.1",
61+
"rollup-plugin-visualizer": "^5.8.3",
62+
"sass": "^1.57.1",
63+
"stylelint": "^14.16.0",
64+
"stylelint-config-standard-scss": "^6.1.0",
6665
"stylelint-declaration-strict-value": "^1.8.0",
6766
"stylelint-scss": "^4.1.0",
68-
"typescript": "^4.8.2",
69-
"vite": "^3.0.9",
70-
"vite-plugin-checker": "^0.5.0",
67+
"typescript": "^4.9.4",
68+
"vite": "^4.0.3",
69+
"vite-plugin-checker": "^0.5.3",
7170
"vite-plugin-svg-icons": "^2.0.1",
72-
"vitest": "^0.22.1",
71+
"vitest": "^0.26.2",
7372
"vue-eslint-parser": "^9.0.2",
7473
"yorkie": "^2.0.0"
7574
}

‎src/common/Loader.vue

Copy file name to clipboardExpand all lines: src/common/Loader.vue
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Spinner, Skeleton } from '@/common/loaders'
1515
1616
withDefaults(
1717
defineProps<{
18-
scheme: 'spinner' | 'skeleton'
18+
scheme?: 'spinner' | 'skeleton'
1919
}>(),
2020
{
2121
scheme: 'spinner',

‎src/enums/route-names.enum.ts

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export enum ROUTE_NAMES {
22
app = 'app',
33
uiKit = 'ui-kit',
4+
complexForm = 'complex-form',
45
}

‎src/pages/UiKitPage.vue

Copy file name to clipboardExpand all lines: src/pages/UiKitPage.vue
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,6 @@
544544
@click="isModalShown = true"
545545
/>
546546
<basic-modal
547-
class="ui-kit-page__modal-pane"
548547
v-model:is-shown="isModalShown"
549548
title="Modal Title"
550549
subtitle="Lorem ipsum dolor sit amet, consectetur adipisicing elit."

‎src/router/index.ts

Copy file name to clipboardExpand all lines: src/router/index.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const routes: Array<RouteRecordRaw> = [
2020
},
2121
{
2222
path: '/complex-form',
23-
name: ROUTE_NAMES.uiKit,
23+
name: ROUTE_NAMES.complexForm,
2424
component: () => import('@/forms/ComplexForm.vue'),
2525
},
2626
]

‎vite.config.ts

Copy file name to clipboardExpand all lines: vite.config.ts
-13Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import checker from 'vite-plugin-checker'
22
import vue from '@vitejs/plugin-vue'
33
import { defineConfig, loadEnv } from 'vite'
44
import { visualizer } from 'rollup-plugin-visualizer'
5-
import NodeGlobalsPolyfillPlugin from '@esbuild-plugins/node-globals-polyfill'
65
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
76

87
import fs from 'fs'
@@ -69,17 +68,5 @@ export default defineConfig(({ command, mode }) => {
6968
'@static': `${root}/../static`,
7069
},
7170
},
72-
optimizeDeps: {
73-
esbuildOptions: {
74-
define: {
75-
global: 'globalThis',
76-
},
77-
plugins: [
78-
NodeGlobalsPolyfillPlugin({
79-
buffer: true,
80-
}),
81-
],
82-
},
83-
},
8471
}
8572
})

‎vitest.config.ts

Copy file name to clipboardExpand all lines: vitest.config.ts
+3-18Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
/// <reference types="vitest" />
2-
/// <reference types="vite/client" />
3-
41
import checker from 'vite-plugin-checker'
52
import vue from '@vitejs/plugin-vue'
63
import { defineConfig, loadEnv } from 'vite'
74
import { visualizer } from 'rollup-plugin-visualizer'
8-
import NodeGlobalsPolyfillPlugin from '@esbuild-plugins/node-globals-polyfill'
95
import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
106

11-
import * as fs from 'fs'
12-
import * as path from 'path'
7+
import fs from 'fs'
8+
import path from 'path'
139
import { configDefaults } from 'vitest/config'
1410

1511
const appDirectory = fs.realpathSync(process.cwd())
@@ -23,6 +19,7 @@ export default defineConfig(({ command, mode }) => {
2319
const isProduction = env.VITE_APP_ENVIRONMENT === 'production'
2420
const isDevelopment = env.VITE_APP_ENVIRONMENT === 'development'
2521
const isAnalyze = env.VITE_APP_ENVIRONMENT === 'analyze'
22+
const buildVersion = env.VITE_APP_BUILD_VERSION
2623

2724
return {
2825
server: {
@@ -72,18 +69,6 @@ export default defineConfig(({ command, mode }) => {
7269
'@static': `${root}/../static`,
7370
},
7471
},
75-
optimizeDeps: {
76-
esbuildOptions: {
77-
define: {
78-
global: 'globalThis',
79-
},
80-
plugins: [
81-
NodeGlobalsPolyfillPlugin({
82-
buffer: true,
83-
}),
84-
],
85-
},
86-
},
8772
test: {
8873
globals: true,
8974
environment: 'happy-dom',

‎werf.yaml

Copy file name to clipboardExpand all lines: werf.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ configVersion: 1
22
project: "web-client"
33
---
44
image: builder # Название собираемого образа.
5-
from: registry.gitlab.com/tokend/devops/docker-containers:front14-a7d73669fd1fa97a461226c292357bc33d478070 # Базовый образ.
5+
from: registry.gitlab.com/tokend/devops/docker-containers:front16-914ecbd7e2465bc9570bf60322f3951eee7989c9 # Базовый образ.
66
git: # Секция с директивами для добавления исходных файлов из git-репозитория.
77
- add: / # Исходный путь в репозитории.
88
to: /app # Путь назначения в образе.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.