Skip to content

Commit

Permalink
build: upgrade dependencies (#1201)
Browse files Browse the repository at this point in the history
* build: upgrade dependencies

* test: update snaps
  • Loading branch information
danranVm committed Oct 18, 2022
1 parent 9857098 commit f13e1ce
Show file tree
Hide file tree
Showing 12 changed files with 75 additions and 76 deletions.
99 changes: 50 additions & 49 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,93 +49,94 @@
}
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.4",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-angular": "^17.0.3",
"@juggle/resize-observer": "^3.3.1",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-angular": "^17.1.0",
"@juggle/resize-observer": "^3.4.0",
"@ls-lint/ls-lint": "^1.11.2",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/pluginutils": "^4.2.1",
"@types/bluebird": "^3.5.36",
"@types/figlet": "^1.5.4",
"@rollup/plugin-alias": "^4.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-replace": "^5.0.0",
"@rollup/pluginutils": "^5.0.1",
"@types/bluebird": "^3.5.37",
"@types/figlet": "^1.5.5",
"@types/fs-extra": "^9.0.13",
"@types/gulp": "^4.0.9",
"@types/inquirer": "^8.2.1",
"@types/inquirer": "^8.2.4",
"@types/less": "^3.0.3",
"@types/lodash-es": "^4.17.6",
"@types/marked": "^4.0.3",
"@types/node": "^17.0.45",
"@types/marked": "^4.0.7",
"@types/node": "^18.11.0",
"@types/prismjs": "^1.26.0",
"@types/svgo": "^2.6.3",
"@types/svgo": "^2.6.4",
"@types/yaml-front-matter": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"@vitejs/plugin-vue": "^3.1.0",
"@vitejs/plugin-vue-jsx": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"@vitejs/plugin-vue": "^3.1.2",
"@vitejs/plugin-vue-jsx": "^2.0.1",
"@vitest/coverage-c8": "^0.24.3",
"@vue/babel-plugin-jsx": "^1.1.1",
"@vue/compiler-dom": "^3.2.39",
"@vue/compiler-sfc": "^3.2.39",
"@vue/compiler-dom": "^3.2.41",
"@vue/compiler-sfc": "^3.2.41",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"@vue/reactivity": "^3.2.39",
"@vue/runtime-core": "^3.2.39",
"@vue/runtime-dom": "^3.2.39",
"@vue/shared": "^3.2.39",
"@vue/test-utils": "2.0.2",
"@vue/eslint-config-typescript": "^11.0.2",
"@vue/reactivity": "^3.2.41",
"@vue/runtime-core": "^3.2.41",
"@vue/runtime-dom": "^3.2.41",
"@vue/shared": "^3.2.41",
"@vue/test-utils": "2.1.0",
"c8": "^7.12.0",
"chalk": "^4.1.2",
"codecov": "^3.8.3",
"cz-git": "^1.3.10",
"esbuild": "^0.15.0",
"eslint": "^8.21.0",
"cz-git": "^1.3.11",
"esbuild": "^0.15.11",
"eslint": "^8.25.0",
"eslint-import-resolver-custom-alias": "^1.3.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.3.0",
"fast-glob": "^3.2.11",
"eslint-plugin-vue": "^9.6.0",
"fast-glob": "^3.2.12",
"figlet": "^1.5.2",
"fs-extra": "^10.1.0",
"gulp": "^4.0.2",
"husky": "^8.0.1",
"inquirer": "^8.2.2",
"jsdom": "^20.0.0",
"lerna": "^5.4.0",
"inquirer": "^8.2.4",
"jsdom": "^20.0.1",
"lerna": "^5.6.2",
"less": "^4.1.3",
"less-plugin-clean-css": "^1.5.1",
"less-plugin-npm-import": "^2.1.0",
"lint-staged": "^13.0.3",
"lodash-es": "^4.17.21",
"markdownlint-cli": "^0.32.0",
"marked": "^4.0.18",
"markdownlint-cli": "^0.32.2",
"marked": "^4.1.1",
"npm-run-all": "^4.1.5",
"ora": "^5.4.1",
"parse5": "^7.0.0",
"postcss": "^8.4.16",
"parse5": "^7.1.1",
"postcss": "^8.4.18",
"postcss-less": "^6.0.0",
"prettier": "^2.7.1",
"prismjs": "^1.28.0",
"prismjs": "^1.29.0",
"remark": "^13.0.0",
"resolve-bin": "^1.0.1",
"rollup": "^2.77.2",
"rollup-plugin-typescript2": "^0.32.0",
"stylelint": "^14.9.1",
"rollup": "^3.2.2",
"rollup-plugin-typescript2": "^0.32.1",
"stylelint": "^14.14.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^26.0.0",
"stylelint-config-standard": "^28.0.0",
"svgo": "^2.8.0",
"ts-node": "^10.9.1",
"ts-toolbelt": "^9.6.0",
"tslib": "^2.4.0",
"typescript": "^4.7.4",
"unplugin-vue-components": "^0.22.4",
"vite": "3.1.3",
"vitest": "^0.21.1",
"vue": "^3.2.39",
"typescript": "^4.8.4",
"unplugin-vue-components": "^0.22.8",
"vite": "^3.1.8",
"vitest": "^0.24.3",
"vue": "^3.2.41",
"yaml-front-matter": "^4.1.1"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cdk/forms/src/messages/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */

import type { AbstractControl } from '../controls'
import type { AbstractControl } from '../models/abstractControl'
import type { ValidateError } from '../types'

const defaultName = 'This field'
Expand Down
2 changes: 1 addition & 1 deletion packages/cdk/forms/src/messages/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */

import type { AbstractControl } from '../controls'
import type { AbstractControl } from '../models/abstractControl'
import type { ValidateError } from '../types'

const defaultName = '此项'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Vitest Snapshot v1

exports[`Mask > render work 1`] = `
"<transition-stub>
"<transition-stub name=\\"ix-fade\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<div class=\\"ix-mask\\"></div>
</transition-stub>"
`;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Vitest Snapshot v1

exports[`Alert > render work 1`] = `
"<transition-stub>
"<transition-stub name=\\"ix-alert\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<div class=\\"ix-alert ix-alert-info\\"><span class=\\"ix-alert-icon\\"><i class=\\"ix-icon ix-icon-bulb\\" role=\\"img\\" aria-label=\\"bulb\\"></i></span>
<div class=\\"ix-alert-content\\">
<div class=\\"ix-alert-title\\"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`Collapse > panel work > header work 1`] = `
</div>
<!---->
</div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<div class=\\"ix-collapse-panel-content\\" style=\\"display: none;\\">
<div class=\\"ix-collapse-panel-content-box\\">
<!---->
Expand All @@ -32,7 +32,7 @@ exports[`Collapse > panel work > header work 2`] = `
</div>
<!---->
</div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<div class=\\"ix-collapse-panel-content\\" style=\\"display: none;\\">
<div class=\\"ix-collapse-panel-content-box\\">
<!---->
Expand All @@ -54,7 +54,7 @@ exports[`Collapse > render work 1`] = `
</div>
<!---->
</div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<div class=\\"ix-collapse-panel-content\\" style=\\"display: none;\\">
<div class=\\"ix-collapse-panel-content-box\\">
<!---->
Expand All @@ -71,7 +71,7 @@ exports[`Collapse > render work 1`] = `
</div>
<!---->
</div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<div class=\\"ix-collapse-panel-content\\">
<div class=\\"ix-collapse-panel-content-box\\">
<!---->
Expand All @@ -88,7 +88,7 @@ exports[`Collapse > render work 1`] = `
</div>
<!---->
</div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<div class=\\"ix-collapse-panel-content\\" style=\\"display: none;\\">
<div class=\\"ix-collapse-panel-content-box\\">
<!---->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`Form > basic work > render work 1`] = `
<!---->
</div>
<div class=\\"ix-form-item-message\\">
<transition-stub>
<transition-stub name=\\"ix-fade-down\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<!---->
</transition-stub>
</div>
Expand All @@ -28,7 +28,7 @@ exports[`Form > basic work > render work 1`] = `
<!---->
</div>
<div class=\\"ix-form-item-message\\">
<transition-stub>
<transition-stub name=\\"ix-fade-down\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<!---->
</transition-stub>
</div>
Expand All @@ -47,7 +47,7 @@ exports[`Form > basic work > render work 1`] = `
<!---->
</div>
<div class=\\"ix-form-item-message\\">
<transition-stub>
<transition-stub name=\\"ix-fade-down\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<!---->
</transition-stub>
</div>
Expand All @@ -61,7 +61,7 @@ exports[`Form > basic work > render work 1`] = `
<!---->
</div>
<div class=\\"ix-form-item-message\\">
<transition-stub>
<transition-stub name=\\"ix-fade-down\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<!---->
</transition-stub>
</div>
Expand All @@ -81,7 +81,7 @@ exports[`Form > item work > render work 1`] = `
<!---->
</div>
<div class=\\"ix-form-item-message\\">
<transition-stub>
<transition-stub name=\\"ix-fade-down\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<!---->
</transition-stub>
</div>
Expand All @@ -100,7 +100,7 @@ exports[`Form > wrapper work > render work 1`] = `
<!---->
</div>
<div class=\\"ix-form-item-message\\">
<transition-stub>
<transition-stub name=\\"ix-fade-down\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<!---->
</transition-stub>
</div>
Expand All @@ -116,7 +116,7 @@ exports[`Form > wrapper work > render work 1`] = `
<!---->
</div>
<div class=\\"ix-form-item-message\\">
<transition-stub>
<transition-stub name=\\"ix-fade-down\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<!---->
</transition-stub>
</div>
Expand All @@ -135,7 +135,7 @@ exports[`Form > wrapper work > render work 1`] = `
<!---->
</div>
<div class=\\"ix-form-item-message\\">
<transition-stub>
<transition-stub name=\\"ix-fade-down\\" appear=\\"false\\" persisted=\\"false\\" css=\\"true\\">
<!---->
</transition-stub>
</div>
Expand Down
3 changes: 0 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
"style": "./default.css",
"unpkg": "./index.full.js",
"jsdelivr": "./index.full.js",
"bin": {
"idux": "bin.js"
},
"scripts": {},
"dependencies": {
"@idux/cdk": "^1.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Vitest Snapshot v1

exports[`Popover > header props work 1`] = `"<transition-stub><div class=\\"ix-overlay ix-popover\\" style=\\"z-index: 2022; position: absolute; left: 0px; top: 0px;\\"><div class=\\"ix-popover-wrapper ix-popover-with-header\\"><div class=\\"ix-header ix-header-sm\\"><div class=\\"ix-header-content\\"><span class=\\"ix-header-prefix\\"><i class=\\"ix-icon ix-icon-up\\" role=\\"img\\" aria-label=\\"up\\"></i></span><!----><span class=\\"ix-header-title\\">Title</span><span class=\\"ix-header-sub-title\\">subTitle</span><span class=\\"ix-header-suffix\\"><i class=\\"ix-icon ix-icon-down\\" role=\\"img\\" aria-label=\\"down\\"></i></span></div><!----></div></div><div class=\\"ix-overlay-arrow\\"></div></div></transition-stub>"`;
exports[`Popover > header props work 1`] = `"<transition-stub name=\\"ix-fade\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\"><div class=\\"ix-overlay ix-popover\\" style=\\"z-index: 2022; position: absolute; left: 0px; top: 0px;\\"><div class=\\"ix-popover-wrapper ix-popover-with-header\\"><div class=\\"ix-header ix-header-sm\\"><div class=\\"ix-header-content\\"><span class=\\"ix-header-prefix\\"><i class=\\"ix-icon ix-icon-up\\" role=\\"img\\" aria-label=\\"up\\"></i></span><!----><span class=\\"ix-header-title\\">Title</span><span class=\\"ix-header-sub-title\\">subTitle</span><span class=\\"ix-header-suffix\\"><i class=\\"ix-icon ix-icon-down\\" role=\\"img\\" aria-label=\\"down\\"></i></span></div><!----></div></div><div class=\\"ix-overlay-arrow\\"></div></div></transition-stub>"`;
exports[`Popover > render work 1`] = `
"<div id=\\"trigger\\">trigger</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/components/timeline/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type TimelineItemPlacement = 'start' | 'end'

export const timelineProps = {
pending: {
type: [String, Boolean],
type: [String, Boolean] as PropType<string | boolean>,
default: false,
},
pendingDot: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ exports[`ProLayout > render work 1`] = `
<ul class=\\"ix-menu ix-menu-light ix-menu-inline\\">
<li class=\\"ix-menu-sub ix-menu-sub-expanded ix-menu-sub-selected ix-menu-sub-inline\\" aria-expanded=\\"true\\" aria-haspopup=\\"false\\" role=\\"menuitem\\">
<div class=\\"ix-menu-sub-label\\" style=\\"padding-left: 24px;\\"><i class=\\"ix-icon ix-icon-setting\\" role=\\"img\\" aria-label=\\"setting\\"></i><span>Sub Menu 1</span><span class=\\"ix-menu-sub-label-suffix\\"><i class=\\"ix-icon ix-icon-right\\" style=\\"transform: rotate(-90deg);\\" role=\\"img\\" aria-label=\\"right\\"></i></span></div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<ul class=\\"ix-menu-inline\\">
<li class=\\"ix-menu-item ix-menu-item-disabled\\" style=\\"padding-left: 48px;\\" aria-label=\\"Item 4\\" aria-selected=\\"false\\" role=\\"menuitem\\"><i class=\\"ix-icon ix-icon-setting\\" role=\\"img\\" aria-label=\\"setting\\"></i><span>Item 4</span></li>
<li class=\\"ix-menu-item ix-menu-item-selected\\" style=\\"padding-left: 48px;\\" aria-label=\\"Item 5\\" aria-selected=\\"true\\" role=\\"menuitem\\"><i class=\\"ix-icon ix-icon-setting\\" role=\\"img\\" aria-label=\\"setting\\"></i><span>Item 5</span></li>
<li class=\\"ix-menu-divider\\"></li>
<li class=\\"ix-menu-sub ix-menu-sub-inline\\" aria-expanded=\\"false\\" aria-haspopup=\\"false\\" role=\\"menuitem\\">
<div class=\\"ix-menu-sub-label\\" style=\\"padding-left: 48px;\\"><i class=\\"ix-icon ix-icon-setting\\" role=\\"img\\" aria-label=\\"setting\\"></i><span>Menu Sub 2</span><span class=\\"ix-menu-sub-label-suffix\\"><i class=\\"ix-icon ix-icon-right\\" style=\\"transform: rotate(90deg);\\" role=\\"img\\" aria-label=\\"right\\"></i></span></div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<ul class=\\"ix-menu-inline\\" style=\\"display: none;\\">
<li class=\\"ix-menu-item\\" style=\\"padding-left: 72px;\\" aria-label=\\"Item 6\\" aria-selected=\\"false\\" role=\\"menuitem\\">
<!----><span>Item 6</span>
Expand All @@ -35,7 +35,7 @@ exports[`ProLayout > render work 1`] = `
</li>
<li class=\\"ix-menu-sub ix-menu-sub-inline\\" aria-expanded=\\"false\\" aria-haspopup=\\"false\\" role=\\"menuitem\\">
<div class=\\"ix-menu-sub-label\\" style=\\"padding-left: 48px;\\"><i class=\\"ix-icon ix-icon-setting\\" role=\\"img\\" aria-label=\\"setting\\"></i><span>Menu Sub 3</span><span class=\\"ix-menu-sub-label-suffix\\"><i class=\\"ix-icon ix-icon-right\\" style=\\"transform: rotate(90deg);\\" role=\\"img\\" aria-label=\\"right\\"></i></span></div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<ul class=\\"ix-menu-inline\\" style=\\"display: none;\\">
<li class=\\"ix-menu-item\\" style=\\"padding-left: 72px;\\" aria-label=\\"Item 8\\" aria-selected=\\"false\\" role=\\"menuitem\\">
<!----><span>Item 8</span>
Expand All @@ -51,7 +51,7 @@ exports[`ProLayout > render work 1`] = `
</li>
<li class=\\"ix-menu-sub ix-menu-sub-inline\\" aria-expanded=\\"false\\" aria-haspopup=\\"false\\" role=\\"menuitem\\">
<div class=\\"ix-menu-sub-label\\" style=\\"padding-left: 24px;\\"><i class=\\"ix-icon ix-icon-github\\" role=\\"img\\" aria-label=\\"github\\"></i><span>Menu Sub 4</span><span class=\\"ix-menu-sub-label-suffix\\"><i class=\\"ix-icon ix-icon-right\\" style=\\"transform: rotate(90deg);\\" role=\\"img\\" aria-label=\\"right\\"></i></span></div>
<transition-stub>
<transition-stub name=\\"ix-collapse-transition\\" appear=\\"true\\" persisted=\\"false\\" css=\\"true\\">
<ul class=\\"ix-menu-inline\\" style=\\"display: none;\\">
<li class=\\"ix-menu-item\\" style=\\"padding-left: 48px;\\" aria-label=\\"Item 10\\" aria-selected=\\"false\\" role=\\"menuitem\\">
<!----><span>Item 10</span>
Expand Down
3 changes: 2 additions & 1 deletion scripts/gulp/build/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@ export const getRollupDeclarationOptions = (options: Options): RollupOptions =>
vuePlugin(),
vueJsxPlugin({ enableObjectSlots: false }),
typescript({
abortOnError: false,
useTsconfigDeclarationDir: true,
tsconfigOverride: {
emitDeclarationOnly: true,
include: ['packages/**/*', 'typings/*'],
exclude: ['packages/site/*', 'packages/**/__tests__/*', 'packages/**/demo/*'],
},
abortOnError: false,
}),
] as Plugin[]

Expand Down

0 comments on commit f13e1ce

Please sign in to comment.