From 0014a4696b00f04608ffcab75ddec449e593eadb Mon Sep 17 00:00:00 2001 From: Charles Zhao Date: Tue, 14 Jun 2022 16:57:08 +0800 Subject: [PATCH] chore: remove only-allow pnpm from all sub-packages --- packages/connector-alipay-native/package.json | 121 +++++++++-------- packages/connector-alipay/package.json | 123 +++++++++--------- packages/connector-aliyun-dm/package.json | 103 ++++++++------- packages/connector-aliyun-sms/package.json | 105 ++++++++------- packages/connector-apple/package.json | 109 ++++++++-------- packages/connector-facebook/package.json | 109 ++++++++-------- packages/connector-github/package.json | 111 ++++++++-------- packages/connector-google/package.json | 109 ++++++++-------- packages/connector-sendgrid-mail/package.json | 103 ++++++++------- packages/connector-twilio-sms/package.json | 103 ++++++++------- packages/connector-types/package.json | 1 - packages/connector-wechat-native/package.json | 109 ++++++++-------- packages/connector-wechat/package.json | 109 ++++++++-------- packages/console/package.json | 1 - packages/core/package.json | 1 - packages/demo-app/package.json | 1 - packages/phrases/package.json | 1 - packages/schemas/package.json | 1 - packages/shared/package.json | 1 - packages/ui/package.json | 1 - 20 files changed, 651 insertions(+), 671 deletions(-) diff --git a/packages/connector-alipay-native/package.json b/packages/connector-alipay-native/package.json index 012b8eb56..f467d4995 100644 --- a/packages/connector-alipay-native/package.json +++ b/packages/connector-alipay-native/package.json @@ -1,63 +1,62 @@ { - "name": "@logto/connector-alipay-native", - "version": "0.1.0", - "description": "Alipay Native implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "dayjs": "^1.10.5", - "got": "^11.8.2", - "iconv-lite": "0.6.3", - "snakecase-keys": "^5.1.0", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@shopify/jest-koa-mocks": "^3.0.8", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/lodash.pick": "^4.4.6", - "@types/node": "^16.3.1", - "@types/supertest": "^2.0.11", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "jest-matcher-specific-error": "^1.0.0", - "lint-staged": "^13.0.0", - "nock": "^13.2.2", - "prettier": "^2.3.2", - "supertest": "^6.2.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-alipay-native", + "version": "0.1.0", + "description": "Alipay Native implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "dayjs": "^1.10.5", + "got": "^11.8.2", + "iconv-lite": "0.6.3", + "snakecase-keys": "^5.1.0", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@shopify/jest-koa-mocks": "^3.0.8", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/lodash.pick": "^4.4.6", + "@types/node": "^16.3.1", + "@types/supertest": "^2.0.11", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "jest-matcher-specific-error": "^1.0.0", + "lint-staged": "^13.0.0", + "nock": "^13.2.2", + "prettier": "^2.3.2", + "supertest": "^6.2.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-alipay/package.json b/packages/connector-alipay/package.json index 7ca6cdf8b..bdc963236 100644 --- a/packages/connector-alipay/package.json +++ b/packages/connector-alipay/package.json @@ -1,64 +1,63 @@ { - "name": "@logto/connector-alipay", - "version": "0.1.0", - "description": "Alipay implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "private": false, - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "dayjs": "^1.10.5", - "got": "^11.8.2", - "iconv-lite": "0.6.3", - "snakecase-keys": "^5.1.0", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@shopify/jest-koa-mocks": "^4.0.0", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/lodash.pick": "^4.4.6", - "@types/node": "^16.3.1", - "@types/supertest": "^2.0.11", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "jest-matcher-specific-error": "^1.0.0", - "lint-staged": "^13.0.0", - "nock": "^13.2.2", - "prettier": "^2.3.2", - "supertest": "^6.2.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-alipay", + "version": "0.1.0", + "description": "Alipay implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "private": false, + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "dayjs": "^1.10.5", + "got": "^11.8.2", + "iconv-lite": "0.6.3", + "snakecase-keys": "^5.1.0", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@shopify/jest-koa-mocks": "^4.0.0", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/lodash.pick": "^4.4.6", + "@types/node": "^16.3.1", + "@types/supertest": "^2.0.11", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "jest-matcher-specific-error": "^1.0.0", + "lint-staged": "^13.0.0", + "nock": "^13.2.2", + "prettier": "^2.3.2", + "supertest": "^6.2.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-aliyun-dm/package.json b/packages/connector-aliyun-dm/package.json index 486605501..91a6a18fd 100644 --- a/packages/connector-aliyun-dm/package.json +++ b/packages/connector-aliyun-dm/package.json @@ -1,54 +1,53 @@ { - "name": "@logto/connector-aliyun-dm", - "version": "0.1.0", - "description": "Aliyun DM connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "got": "^11.8.2", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "lint-staged": "^13.0.0", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-aliyun-dm", + "version": "0.1.0", + "description": "Aliyun DM connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "got": "^11.8.2", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "lint-staged": "^13.0.0", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-aliyun-sms/package.json b/packages/connector-aliyun-sms/package.json index 76252e2d6..34bfa4ad1 100644 --- a/packages/connector-aliyun-sms/package.json +++ b/packages/connector-aliyun-sms/package.json @@ -1,55 +1,54 @@ { - "name": "@logto/connector-aliyun-sms", - "version": "0.1.0", - "description": "Aliyun SMS connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@logto/schemas": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "got": "^11.8.2", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "lint-staged": "^13.0.0", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-aliyun-sms", + "version": "0.1.0", + "description": "Aliyun SMS connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@logto/schemas": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "got": "^11.8.2", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "lint-staged": "^13.0.0", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-apple/package.json b/packages/connector-apple/package.json index 93ca4cfc4..fc973e41d 100644 --- a/packages/connector-apple/package.json +++ b/packages/connector-apple/package.json @@ -1,57 +1,56 @@ { - "name": "@logto/connector-apple", - "version": "0.1.0", - "description": "Apple web connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@logto/schemas": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "got": "^11.8.2", - "jose": "^4.3.8", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "lint-staged": "^13.0.0", - "nock": "^13.2.2", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-apple", + "version": "0.1.0", + "description": "Apple web connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@logto/schemas": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "got": "^11.8.2", + "jose": "^4.3.8", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "lint-staged": "^13.0.0", + "nock": "^13.2.2", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-facebook/package.json b/packages/connector-facebook/package.json index 05f090ef6..79404e994 100644 --- a/packages/connector-facebook/package.json +++ b/packages/connector-facebook/package.json @@ -1,57 +1,56 @@ { - "name": "@logto/connector-facebook", - "version": "0.1.0", - "description": "Facebook web connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@logto/schemas": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "got": "^11.8.2", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "jest-matcher-specific-error": "^1.0.0", - "lint-staged": "^13.0.0", - "nock": "^13.2.2", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-facebook", + "version": "0.1.0", + "description": "Facebook web connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@logto/schemas": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "got": "^11.8.2", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "jest-matcher-specific-error": "^1.0.0", + "lint-staged": "^13.0.0", + "nock": "^13.2.2", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-github/package.json b/packages/connector-github/package.json index 4959167ff..1ad771cdd 100644 --- a/packages/connector-github/package.json +++ b/packages/connector-github/package.json @@ -1,58 +1,57 @@ { - "name": "@logto/connector-github", - "version": "0.1.0", - "description": "Github web connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@logto/schemas": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "got": "^11.8.2", - "query-string": "^7.0.1", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "jest-matcher-specific-error": "^1.0.0", - "lint-staged": "^13.0.0", - "nock": "^13.2.2", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-github", + "version": "0.1.0", + "description": "Github web connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@logto/schemas": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "got": "^11.8.2", + "query-string": "^7.0.1", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "jest-matcher-specific-error": "^1.0.0", + "lint-staged": "^13.0.0", + "nock": "^13.2.2", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-google/package.json b/packages/connector-google/package.json index b6fbcf340..dc5b6dcc5 100644 --- a/packages/connector-google/package.json +++ b/packages/connector-google/package.json @@ -1,57 +1,56 @@ { - "name": "@logto/connector-google", - "version": "0.1.0", - "description": "Google web connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@logto/schemas": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "got": "^11.8.2", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "jest-matcher-specific-error": "^1.0.0", - "lint-staged": "^13.0.0", - "nock": "^13.2.2", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-google", + "version": "0.1.0", + "description": "Google web connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@logto/schemas": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "got": "^11.8.2", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "jest-matcher-specific-error": "^1.0.0", + "lint-staged": "^13.0.0", + "nock": "^13.2.2", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-sendgrid-mail/package.json b/packages/connector-sendgrid-mail/package.json index 2a0b5f9ce..b377b52d5 100644 --- a/packages/connector-sendgrid-mail/package.json +++ b/packages/connector-sendgrid-mail/package.json @@ -1,54 +1,53 @@ { - "name": "@logto/connector-sendgrid-email", - "version": "0.1.0", - "description": "SendGrid Email Service connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@logto/shared": "^0.1.0", - "@silverhand/essentials": "^1.1.6", - "@silverhand/jest-config": "^0.14.0", - "got": "^11.8.2", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "lint-staged": "^13.0.0", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-sendgrid-email", + "version": "0.1.0", + "description": "SendGrid Email Service connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@logto/shared": "^0.1.0", + "@silverhand/essentials": "^1.1.6", + "@silverhand/jest-config": "^0.14.0", + "got": "^11.8.2", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "lint-staged": "^13.0.0", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-twilio-sms/package.json b/packages/connector-twilio-sms/package.json index 872666e6d..2e504d826 100644 --- a/packages/connector-twilio-sms/package.json +++ b/packages/connector-twilio-sms/package.json @@ -1,54 +1,53 @@ { - "name": "@logto/connector-twilio-sms", - "version": "0.1.0", - "description": "Twilio SMS connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@logto/shared": "^0.1.0", - "@silverhand/essentials": "^1.1.6", - "@silverhand/jest-config": "^0.14.0", - "got": "^11.8.2", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "lint-staged": "^13.0.0", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-twilio-sms", + "version": "0.1.0", + "description": "Twilio SMS connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@logto/shared": "^0.1.0", + "@silverhand/essentials": "^1.1.6", + "@silverhand/jest-config": "^0.14.0", + "got": "^11.8.2", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "lint-staged": "^13.0.0", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-types/package.json b/packages/connector-types/package.json index 29338ca59..f815701ad 100644 --- a/packages/connector-types/package.json +++ b/packages/connector-types/package.json @@ -8,7 +8,6 @@ "lib" ], "scripts": { - "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "build": "rm -rf lib/ && tsc --p tsconfig.build.json", "lint": "eslint --ext .ts src", diff --git a/packages/connector-wechat-native/package.json b/packages/connector-wechat-native/package.json index 4bd7c9bab..7c8740ad2 100644 --- a/packages/connector-wechat-native/package.json +++ b/packages/connector-wechat-native/package.json @@ -1,57 +1,56 @@ { - "name": "@logto/connector-wechat-native", - "version": "0.1.0", - "description": "WeChat native connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@logto/schemas": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "got": "^11.8.2", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "jest-matcher-specific-error": "^1.0.0", - "lint-staged": "^13.0.0", - "nock": "^13.2.2", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-wechat-native", + "version": "0.1.0", + "description": "WeChat native connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@logto/schemas": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "got": "^11.8.2", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "jest-matcher-specific-error": "^1.0.0", + "lint-staged": "^13.0.0", + "nock": "^13.2.2", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/connector-wechat/package.json b/packages/connector-wechat/package.json index bfd32c841..fc04dbfce 100644 --- a/packages/connector-wechat/package.json +++ b/packages/connector-wechat/package.json @@ -1,57 +1,56 @@ { - "name": "@logto/connector-wechat", - "version": "0.1.0", - "description": "Wechat Web connector implementation.", - "main": "./lib/index.js", - "exports": "./lib/index.js", - "author": "Silverhand Inc. ", - "license": "MPL-2.0", - "files": [ - "lib", - "docs", - "logo.svg" - ], - "scripts": { - "preinstall": "npx only-allow pnpm", - "precommit": "lint-staged", - "build": "rm -rf lib/ && tsc -p tsconfig.build.json", - "lint": "eslint --ext .ts src", - "lint:report": "pnpm lint --format json --output-file report.json", - "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", - "test": "jest", - "test:coverage": "jest --coverage --silent", - "prepack": "pnpm build" - }, - "dependencies": { - "@logto/connector-types": "^0.1.0", - "@silverhand/jest-config": "^0.14.0", - "@logto/shared": "^0.1.0", - "@logto/schemas": "^0.1.0", - "@silverhand/essentials": "^1.1.0", - "got": "^11.8.2", - "zod": "^3.14.3" - }, - "devDependencies": { - "@jest/types": "^27.5.1", - "@silverhand/eslint-config": "^0.14.0", - "@silverhand/ts-config": "^0.14.0", - "@types/jest": "^27.4.1", - "@types/node": "^16.3.1", - "eslint": "^8.10.0", - "jest": "^27.5.1", - "jest-matcher-specific-error": "^1.0.0", - "lint-staged": "^13.0.0", - "nock": "^13.2.2", - "prettier": "^2.3.2", - "ts-jest": "^27.1.1", - "tsc-watch": "^5.0.0", - "typescript": "^4.6.2" - }, - "engines": { - "node": "^16.0.0" - }, - "eslintConfig": { - "extends": "@silverhand" - }, - "prettier": "@silverhand/eslint-config/.prettierrc" + "name": "@logto/connector-wechat", + "version": "0.1.0", + "description": "Wechat Web connector implementation.", + "main": "./lib/index.js", + "exports": "./lib/index.js", + "author": "Silverhand Inc. ", + "license": "MPL-2.0", + "files": [ + "lib", + "docs", + "logo.svg" + ], + "scripts": { + "precommit": "lint-staged", + "build": "rm -rf lib/ && tsc -p tsconfig.build.json", + "lint": "eslint --ext .ts src", + "lint:report": "pnpm lint --format json --output-file report.json", + "dev": "rm -rf lib/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./lib/index.js\"", + "test": "jest", + "test:coverage": "jest --coverage --silent", + "prepack": "pnpm build" + }, + "dependencies": { + "@logto/connector-types": "^0.1.0", + "@silverhand/jest-config": "^0.14.0", + "@logto/shared": "^0.1.0", + "@logto/schemas": "^0.1.0", + "@silverhand/essentials": "^1.1.0", + "got": "^11.8.2", + "zod": "^3.14.3" + }, + "devDependencies": { + "@jest/types": "^27.5.1", + "@silverhand/eslint-config": "^0.14.0", + "@silverhand/ts-config": "^0.14.0", + "@types/jest": "^27.4.1", + "@types/node": "^16.3.1", + "eslint": "^8.10.0", + "jest": "^27.5.1", + "jest-matcher-specific-error": "^1.0.0", + "lint-staged": "^13.0.0", + "nock": "^13.2.2", + "prettier": "^2.3.2", + "ts-jest": "^27.1.1", + "tsc-watch": "^5.0.0", + "typescript": "^4.6.2" + }, + "engines": { + "node": "^16.0.0" + }, + "eslintConfig": { + "extends": "@silverhand" + }, + "prettier": "@silverhand/eslint-config/.prettierrc" } diff --git a/packages/console/package.json b/packages/console/package.json index 6c2862ca0..781cefa22 100644 --- a/packages/console/package.json +++ b/packages/console/package.json @@ -6,7 +6,6 @@ "homepage": "https://github.com/logto-io/logto#readme", "license": "MPL-2.0", "scripts": { - "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "start": "parcel src/index.html", "dev": "cross-env PORT=5002 parcel src/index.html --public-url /console --no-cache --hmr-port 6002", diff --git a/packages/core/package.json b/packages/core/package.json index 41cbb6ab4..bbbf8183f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -7,7 +7,6 @@ "license": "MPL-2.0", "private": true, "scripts": { - "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "copyfiles": "copyfiles -u 1 src/**/*.md build", "build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm run copyfiles", diff --git a/packages/demo-app/package.json b/packages/demo-app/package.json index e14c59363..f2e08fb33 100644 --- a/packages/demo-app/package.json +++ b/packages/demo-app/package.json @@ -5,7 +5,6 @@ "author": "Silverhand Inc. ", "license": "MPL-2.0", "scripts": { - "preinstall": "npx only-allow pnpm", "test": "echo \"Error: no test specified\" && exit 1", "precommit": "lint-staged", "start": "parcel src/index.html", diff --git a/packages/phrases/package.json b/packages/phrases/package.json index 77a6c7e07..d835fc450 100644 --- a/packages/phrases/package.json +++ b/packages/phrases/package.json @@ -15,7 +15,6 @@ "url": "git+https://github.com/logto-io/logto.git" }, "scripts": { - "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "build": "rm -rf lib/ && tsc", "lint": "eslint --ext .ts src", diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 884a3154f..9314d7d6c 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -10,7 +10,6 @@ ], "private": true, "scripts": { - "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "generate": "rm -rf src/db-entries && ts-node src/gen/index.ts && eslint \"src/db-entries/**\" --fix", "build": "pnpm generate && rm -rf lib/ && tsc --p tsconfig.build.json", diff --git a/packages/shared/package.json b/packages/shared/package.json index 6aab8273e..492eaf701 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -11,7 +11,6 @@ ], "private": true, "scripts": { - "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "build": "rm -rf lib/ && tsc --p tsconfig.build.json", "lint": "eslint --ext .ts src", diff --git a/packages/ui/package.json b/packages/ui/package.json index f40b3a622..dbaed6245 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -4,7 +4,6 @@ "license": "MPL-2.0", "private": true, "scripts": { - "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "start": "parcel src/index.html", "dev": "cross-env PORT=5001 parcel src/index.html --no-cache --hmr-port 6001",