From 48bd57c94e2c56202003d735aa1db5fe5f3a38d7 Mon Sep 17 00:00:00 2001
From: Charles Zhao <charleszhao@silverhand.io>
Date: Thu, 31 Mar 2022 13:55:54 +0800
Subject: [PATCH] chore: bump version of configs

---
 packages/console/package.json               |  8 +--
 packages/core/package.json                  |  4 +-
 packages/core/src/include.d/koa-router.d.ts |  2 +
 packages/core/src/routes/connector.test.ts  |  2 +
 packages/core/src/routes/session.test.ts    |  2 +
 packages/core/src/routes/session.ts         |  2 +
 packages/core/src/utils/mock.ts             |  2 +
 packages/phrases/package.json               |  4 +-
 packages/phrases/src/locales/en.ts          |  4 +-
 packages/phrases/src/locales/zh-cn.ts       |  4 +-
 packages/schemas/package.json               |  4 +-
 packages/ui/package.json                    |  8 +--
 pnpm-lock.yaml                              | 76 ++++++++++-----------
 13 files changed, 68 insertions(+), 54 deletions(-)

diff --git a/packages/console/package.json b/packages/console/package.json
index 56726e018..8d834f525 100644
--- a/packages/console/package.json
+++ b/packages/console/package.json
@@ -44,10 +44,10 @@
   "devDependencies": {
     "@parcel/core": "^2.3.2",
     "@parcel/transformer-sass": "^2.3.2",
-    "@silverhand/eslint-config": "^0.9.4",
-    "@silverhand/eslint-config-react": "^0.9.5",
-    "@silverhand/ts-config": "^0.9.4",
-    "@silverhand/ts-config-react": "^0.9.5",
+    "@silverhand/eslint-config": "^0.10.2",
+    "@silverhand/eslint-config-react": "^0.10.3",
+    "@silverhand/ts-config": "^0.10.2",
+    "@silverhand/ts-config-react": "^0.10.3",
     "@types/lodash.kebabcase": "^4.1.6",
     "@types/react": "^17.0.14",
     "@types/react-dom": "^17.0.9",
diff --git a/packages/core/package.json b/packages/core/package.json
index 5fe0b0f97..0d816359e 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -48,8 +48,8 @@
   },
   "devDependencies": {
     "@shopify/jest-koa-mocks": "^3.0.8",
-    "@silverhand/eslint-config": "^0.9.4",
-    "@silverhand/ts-config": "^0.9.4",
+    "@silverhand/eslint-config": "^0.10.2",
+    "@silverhand/ts-config": "^0.10.2",
     "@types/jest": "^27.0.1",
     "@types/koa": "^2.13.3",
     "@types/koa-logger": "^3.1.1",
diff --git a/packages/core/src/include.d/koa-router.d.ts b/packages/core/src/include.d/koa-router.d.ts
index 289533d60..2a9af763f 100644
--- a/packages/core/src/include.d/koa-router.d.ts
+++ b/packages/core/src/include.d/koa-router.d.ts
@@ -1,3 +1,4 @@
+/* eslint-disable max-lines */
 /* eslint-disable unicorn/prevent-abbreviations */
 // Modified from `@types/koa-router`
 // Added more precise middleware chain typings
@@ -724,3 +725,4 @@ declare module 'koa-router' {
   export = Router;
 }
 /* eslint-enable unicorn/prevent-abbreviations */
+/* eslint-enable max-lines */
diff --git a/packages/core/src/routes/connector.test.ts b/packages/core/src/routes/connector.test.ts
index bcbef5dc5..1a3b9ecb6 100644
--- a/packages/core/src/routes/connector.test.ts
+++ b/packages/core/src/routes/connector.test.ts
@@ -1,3 +1,4 @@
+/* eslint-disable max-lines */
 import { Connector, ConnectorType } from '@logto/schemas';
 
 import {
@@ -561,3 +562,4 @@ describe('connector route', () => {
     });
   });
 });
+/* eslint-enable max-lines */
diff --git a/packages/core/src/routes/session.test.ts b/packages/core/src/routes/session.test.ts
index b0cfc7fd0..29e4b0ae3 100644
--- a/packages/core/src/routes/session.test.ts
+++ b/packages/core/src/routes/session.test.ts
@@ -1,3 +1,4 @@
+/* eslint-disable max-lines */
 import { Provider } from 'oidc-provider';
 
 import { ConnectorType } from '@/connectors/types';
@@ -861,3 +862,4 @@ describe('sessionRoutes', () => {
     );
   });
 });
+/* eslint-enable max-lines */
diff --git a/packages/core/src/routes/session.ts b/packages/core/src/routes/session.ts
index bead1ed94..b41888e6d 100644
--- a/packages/core/src/routes/session.ts
+++ b/packages/core/src/routes/session.ts
@@ -1,3 +1,4 @@
+/* eslint-disable max-lines */
 import path from 'path';
 
 import { LogtoErrorCode } from '@logto/phrases';
@@ -512,3 +513,4 @@ export default function sessionRoutes<T extends AnonymousRouter>(router: T, prov
     return next();
   });
 }
+/* eslint-enable max-lines */
diff --git a/packages/core/src/utils/mock.ts b/packages/core/src/utils/mock.ts
index 91e861274..320cbf578 100644
--- a/packages/core/src/utils/mock.ts
+++ b/packages/core/src/utils/mock.ts
@@ -1,3 +1,4 @@
+/* eslint-disable max-lines */
 import {
   User,
   userInfoSelectFields,
@@ -369,3 +370,4 @@ export const mockUserLog: UserLog = {
   payload: {},
   createdAt: 10,
 };
+/* eslint-enable max-lines */
diff --git a/packages/phrases/package.json b/packages/phrases/package.json
index 04faea2dc..88160d364 100644
--- a/packages/phrases/package.json
+++ b/packages/phrases/package.json
@@ -28,8 +28,8 @@
     "@silverhand/essentials": "^1.1.4"
   },
   "devDependencies": {
-    "@silverhand/eslint-config": "^0.9.4",
-    "@silverhand/ts-config": "^0.9.4",
+    "@silverhand/eslint-config": "^0.10.2",
+    "@silverhand/ts-config": "^0.10.2",
     "eslint": "^8.10.0",
     "lint-staged": "^11.1.1",
     "prettier": "^2.3.2",
diff --git a/packages/phrases/src/locales/en.ts b/packages/phrases/src/locales/en.ts
index 75a610d81..fb89ab7d8 100644
--- a/packages/phrases/src/locales/en.ts
+++ b/packages/phrases/src/locales/en.ts
@@ -1,3 +1,4 @@
+/* eslint-disable max-lines */
 const translation = {
   general: {
     placeholder: 'Placeholder',
@@ -113,7 +114,7 @@ const translation = {
       advanced_settings: 'Advanced Settings',
       application_name: 'Application Name',
       description: 'Description',
-      authorization_endpoint: 'Authorization Endpiont',
+      authorization_endpoint: 'Authorization Endpoint',
       redirect_uri: 'Redirect URI',
       post_sign_out_redirect_uri: 'Post Sign Out Redirect URI',
       add_another: 'Add another',
@@ -360,3 +361,4 @@ const en = Object.freeze({
 });
 
 export default en;
+/* eslint-enable max-lines */
diff --git a/packages/phrases/src/locales/zh-cn.ts b/packages/phrases/src/locales/zh-cn.ts
index 94b19a29d..8da91ea26 100644
--- a/packages/phrases/src/locales/zh-cn.ts
+++ b/packages/phrases/src/locales/zh-cn.ts
@@ -1,3 +1,4 @@
+/* eslint-disable max-lines */
 import en from './en';
 
 const translation = {
@@ -113,7 +114,7 @@ const translation = {
       advanced_settings: 'Advanced Settings',
       application_name: 'Application Name',
       description: 'Description',
-      authorization_endpoint: 'Authorization Endpiont',
+      authorization_endpoint: 'Authorization Endpoint',
       redirect_uri: 'Redirect URI',
       post_sign_out_redirect_uri: 'Post Sign Out Redirect URI',
       add_another: 'Add another',
@@ -358,3 +359,4 @@ const zhCN: typeof en = Object.freeze({
 });
 
 export default zhCN;
+/* eslint-enable max-lines */
diff --git a/packages/schemas/package.json b/packages/schemas/package.json
index 2b43eb291..be13656e6 100644
--- a/packages/schemas/package.json
+++ b/packages/schemas/package.json
@@ -21,9 +21,9 @@
     "node": ">=14.15.0"
   },
   "devDependencies": {
-    "@silverhand/eslint-config": "^0.9.4",
+    "@silverhand/eslint-config": "^0.10.2",
     "@silverhand/essentials": "^1.1.0",
-    "@silverhand/ts-config": "^0.9.4",
+    "@silverhand/ts-config": "^0.10.2",
     "@types/lodash.uniq": "^4.5.6",
     "@types/node": "14",
     "@types/pluralize": "^0.0.29",
diff --git a/packages/ui/package.json b/packages/ui/package.json
index f226bd673..182e39c09 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -33,10 +33,10 @@
     "@jest/types": "^27.5.1",
     "@parcel/core": "^2.3.2",
     "@parcel/transformer-sass": "^2.3.2",
-    "@silverhand/eslint-config": "^0.9.4",
-    "@silverhand/eslint-config-react": "^0.9.5",
-    "@silverhand/ts-config": "^0.9.4",
-    "@silverhand/ts-config-react": "^0.9.5",
+    "@silverhand/eslint-config": "^0.10.2",
+    "@silverhand/eslint-config-react": "^0.10.3",
+    "@silverhand/ts-config": "^0.10.2",
+    "@silverhand/ts-config-react": "^0.10.3",
     "@testing-library/react": "^12.0.0",
     "@types/jest": "^27.4.0",
     "@types/react": "^17.0.14",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5e4da0e99..6ff5f13ca 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -26,11 +26,11 @@ importers:
       '@monaco-editor/react': ^4.3.1
       '@parcel/core': ^2.3.2
       '@parcel/transformer-sass': ^2.3.2
-      '@silverhand/eslint-config': ^0.9.4
-      '@silverhand/eslint-config-react': ^0.9.5
+      '@silverhand/eslint-config': ^0.10.2
+      '@silverhand/eslint-config-react': ^0.10.3
       '@silverhand/essentials': ^1.1.6
-      '@silverhand/ts-config': ^0.9.4
-      '@silverhand/ts-config-react': ^0.9.5
+      '@silverhand/ts-config': ^0.10.2
+      '@silverhand/ts-config-react': ^0.10.3
       '@types/lodash.kebabcase': ^4.1.6
       '@types/react': ^17.0.14
       '@types/react-dom': ^17.0.9
@@ -90,10 +90,10 @@ importers:
     devDependencies:
       '@parcel/core': 2.3.2
       '@parcel/transformer-sass': 2.3.2_@parcel+core@2.3.2
-      '@silverhand/eslint-config': 0.9.4_3a533fa6cc3da0cf8525ef55d41c4384
-      '@silverhand/eslint-config-react': 0.9.5_75f27ebc3d08f23e7ca8c3f63c7fa502
-      '@silverhand/ts-config': 0.9.4_typescript@4.6.2
-      '@silverhand/ts-config-react': 0.9.5_typescript@4.6.2
+      '@silverhand/eslint-config': 0.10.2_3a533fa6cc3da0cf8525ef55d41c4384
+      '@silverhand/eslint-config-react': 0.10.3_75f27ebc3d08f23e7ca8c3f63c7fa502
+      '@silverhand/ts-config': 0.10.2_typescript@4.6.2
+      '@silverhand/ts-config-react': 0.10.3_typescript@4.6.2
       '@types/lodash.kebabcase': 4.1.6
       '@types/react': 17.0.37
       '@types/react-dom': 17.0.11
@@ -114,9 +114,9 @@ importers:
       '@logto/phrases': ^0.1.0
       '@logto/schemas': ^0.1.0
       '@shopify/jest-koa-mocks': ^3.0.8
-      '@silverhand/eslint-config': ^0.9.4
+      '@silverhand/eslint-config': ^0.10.2
       '@silverhand/essentials': ^1.1.0
-      '@silverhand/ts-config': ^0.9.4
+      '@silverhand/ts-config': ^0.10.2
       '@types/jest': ^27.0.1
       '@types/koa': ^2.13.3
       '@types/koa-logger': ^3.1.1
@@ -191,8 +191,8 @@ importers:
       zod: 3.14.3
     devDependencies:
       '@shopify/jest-koa-mocks': 3.0.8
-      '@silverhand/eslint-config': 0.9.4_3a533fa6cc3da0cf8525ef55d41c4384
-      '@silverhand/ts-config': 0.9.4_typescript@4.6.2
+      '@silverhand/eslint-config': 0.10.2_3a533fa6cc3da0cf8525ef55d41c4384
+      '@silverhand/ts-config': 0.10.2_typescript@4.6.2
       '@types/jest': 27.0.3
       '@types/koa': 2.13.4
       '@types/koa-logger': 3.1.2
@@ -218,9 +218,9 @@ importers:
 
   packages/phrases:
     specifiers:
-      '@silverhand/eslint-config': ^0.9.4
+      '@silverhand/eslint-config': ^0.10.2
       '@silverhand/essentials': ^1.1.4
-      '@silverhand/ts-config': ^0.9.4
+      '@silverhand/ts-config': ^0.10.2
       eslint: ^8.10.0
       lint-staged: ^11.1.1
       prettier: ^2.3.2
@@ -228,8 +228,8 @@ importers:
     dependencies:
       '@silverhand/essentials': 1.1.4
     devDependencies:
-      '@silverhand/eslint-config': 0.9.4_3a533fa6cc3da0cf8525ef55d41c4384
-      '@silverhand/ts-config': 0.9.4_typescript@4.6.2
+      '@silverhand/eslint-config': 0.10.2_3a533fa6cc3da0cf8525ef55d41c4384
+      '@silverhand/ts-config': 0.10.2_typescript@4.6.2
       eslint: 8.10.0
       lint-staged: 11.2.6
       prettier: 2.5.1
@@ -238,9 +238,9 @@ importers:
   packages/schemas:
     specifiers:
       '@logto/phrases': ^0.1.0
-      '@silverhand/eslint-config': ^0.9.4
+      '@silverhand/eslint-config': ^0.10.2
       '@silverhand/essentials': ^1.1.0
-      '@silverhand/ts-config': ^0.9.4
+      '@silverhand/ts-config': ^0.10.2
       '@types/lodash.uniq': ^4.5.6
       '@types/node': '14'
       '@types/pluralize': ^0.0.29
@@ -257,9 +257,9 @@ importers:
       '@logto/phrases': link:../phrases
       zod: 3.14.3
     devDependencies:
-      '@silverhand/eslint-config': 0.9.4_3a533fa6cc3da0cf8525ef55d41c4384
+      '@silverhand/eslint-config': 0.10.2_3a533fa6cc3da0cf8525ef55d41c4384
       '@silverhand/essentials': 1.1.2
-      '@silverhand/ts-config': 0.9.4_typescript@4.6.2
+      '@silverhand/ts-config': 0.10.2_typescript@4.6.2
       '@types/lodash.uniq': 4.5.6
       '@types/node': 14.18.0
       '@types/pluralize': 0.0.29
@@ -279,10 +279,10 @@ importers:
       '@logto/schemas': ^0.1.0
       '@parcel/core': ^2.3.2
       '@parcel/transformer-sass': ^2.3.2
-      '@silverhand/eslint-config': ^0.9.4
-      '@silverhand/eslint-config-react': ^0.9.5
-      '@silverhand/ts-config': ^0.9.4
-      '@silverhand/ts-config-react': ^0.9.5
+      '@silverhand/eslint-config': ^0.10.2
+      '@silverhand/eslint-config-react': ^0.10.3
+      '@silverhand/ts-config': ^0.10.2
+      '@silverhand/ts-config-react': ^0.10.3
       '@testing-library/react': ^12.0.0
       '@types/jest': ^27.4.0
       '@types/react': ^17.0.14
@@ -330,10 +330,10 @@ importers:
       '@jest/types': 27.5.1
       '@parcel/core': 2.3.2
       '@parcel/transformer-sass': 2.3.2_@parcel+core@2.3.2
-      '@silverhand/eslint-config': 0.9.4_3a533fa6cc3da0cf8525ef55d41c4384
-      '@silverhand/eslint-config-react': 0.9.5_75f27ebc3d08f23e7ca8c3f63c7fa502
-      '@silverhand/ts-config': 0.9.4_typescript@4.6.2
-      '@silverhand/ts-config-react': 0.9.5_typescript@4.6.2
+      '@silverhand/eslint-config': 0.10.2_3a533fa6cc3da0cf8525ef55d41c4384
+      '@silverhand/eslint-config-react': 0.10.3_75f27ebc3d08f23e7ca8c3f63c7fa502
+      '@silverhand/ts-config': 0.10.2_typescript@4.6.2
+      '@silverhand/ts-config-react': 0.10.3_typescript@4.6.2
       '@testing-library/react': 12.1.2_react-dom@17.0.2+react@17.0.2
       '@types/jest': 27.4.0
       '@types/react': 17.0.37
@@ -3149,12 +3149,12 @@ packages:
       - supports-color
     dev: true
 
-  /@silverhand/eslint-config-react/0.9.5_75f27ebc3d08f23e7ca8c3f63c7fa502:
-    resolution: {integrity: sha512-3teJha0YxzPWHn3wBSuuUA2UDUGyX9RtyhfWgddRg1rKLUO429Go7SFQ20oRVeJRPFfwJSJI8/0pD8iMjCs62A==}
+  /@silverhand/eslint-config-react/0.10.3_75f27ebc3d08f23e7ca8c3f63c7fa502:
+    resolution: {integrity: sha512-qFDRYhYTDUgEgAxaSexgiImDosXPWB//9Pfz7pwFDIpjha9PzcsSgQnCS8/o4aTrvgK8rougZcvrJLvqLoxmKA==}
     peerDependencies:
       stylelint: '>=13.13.1'
     dependencies:
-      '@silverhand/eslint-config': 0.9.4_3a533fa6cc3da0cf8525ef55d41c4384
+      '@silverhand/eslint-config': 0.10.2_3a533fa6cc3da0cf8525ef55d41c4384
       eslint-config-xo-react: 0.25.0_e4a0611724b3ba59fbf3ee8e61d9dcd0
       eslint-plugin-react: 7.29.3_eslint@8.10.0
       eslint-plugin-react-hooks: 4.3.0_eslint@8.10.0
@@ -3167,8 +3167,8 @@ packages:
       - typescript
     dev: true
 
-  /@silverhand/eslint-config/0.9.4_3a533fa6cc3da0cf8525ef55d41c4384:
-    resolution: {integrity: sha512-TlMi206oWQLIFr1Tq2pk8swuEehIlCJiXeNPZcSpRfruXV9zbJNeK9vwMGTTmyO0J3zo3AcKXZEnIftbBu2yNw==}
+  /@silverhand/eslint-config/0.10.2_3a533fa6cc3da0cf8525ef55d41c4384:
+    resolution: {integrity: sha512-MT2nj7NMA2T9sWFEDPq4JP6dWrrNWWfmcD/oHbmH3LAZAZtfJQWtzPtd/yy5EDO6qn7Oo+TZqsvk/v95ah79EA==}
     engines: {node: '>=14.15.0'}
     peerDependencies:
       eslint: ^8.1.0
@@ -3234,18 +3234,18 @@ packages:
       lodash.pick: 4.4.0
     dev: false
 
-  /@silverhand/ts-config-react/0.9.5_typescript@4.6.2:
-    resolution: {integrity: sha512-KYMBwVypUVwxDcE+OCwNSEG/k3N7gGFsLZ+i/JCtPVqPBK25VQg0uATc/YwMxKjY6VkXrIr5uHer4b3tMM5ZSQ==}
+  /@silverhand/ts-config-react/0.10.3_typescript@4.6.2:
+    resolution: {integrity: sha512-xGOwcw1HTixfP3PSSdJT3leGnlUV0dLna9xp58bDDLul7UCnIn+PNp1VNJxUZ/HvtKbV4ZSYdGsGE6Xqmwn7Ag==}
     engines: {node: '>=14.15.0'}
     peerDependencies:
       typescript: ^4.3.5
     dependencies:
-      '@silverhand/ts-config': 0.9.4_typescript@4.6.2
+      '@silverhand/ts-config': 0.10.2_typescript@4.6.2
       typescript: 4.6.2
     dev: true
 
-  /@silverhand/ts-config/0.9.4_typescript@4.6.2:
-    resolution: {integrity: sha512-EJOqlBYy6BV8cOIq6Owv9OaPB79nqtKe6En61SgcfwveL1MM0CbaJNjsYXVZvpriEkCDfXQ1+QMw6Vb9iQaM7Q==}
+  /@silverhand/ts-config/0.10.2_typescript@4.6.2:
+    resolution: {integrity: sha512-ihkZhwpChO5mDEggsA6gYcwNaCS/HXtisXYR8l4yFVpX2vydGyTjo3Rxo8ZzgqXTKFy2F4N8EnnLEiudFsXE0Q==}
     engines: {node: '>=14.15.0'}
     peerDependencies:
       typescript: ^4.3.5