0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/connectors
renovate[bot] 77cec73429
fix(deps): update dependency jose to v5 (#4761)
* fix(deps): update dependency jose to v5

* chore(deps): rebase lockfile update

rebase lockfile update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: simeng-li <simeng@silverhand.io>
2023-10-27 16:52:32 +08:00
..
connector-alipay-native refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-alipay-web refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-aliyun-dm refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-aliyun-sms refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-apple fix(deps): update dependency jose to v5 (#4761) 2023-10-27 16:52:32 +08:00
connector-aws-ses refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-azuread fix(cli): translate command (#4459) 2023-09-13 08:12:43 +00:00
connector-discord refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-facebook fix(cli): translate command (#4459) 2023-09-13 08:12:43 +00:00
connector-feishu-web refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-github refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-google fix(cli): translate command (#4459) 2023-09-13 08:12:43 +00:00
connector-kakao fix(cli): translate command (#4459) 2023-09-13 08:12:43 +00:00
connector-logto-email refactor: eliminate connector-kit dependency on logto/cloud (#4622) 2023-10-10 13:55:21 +08:00
connector-logto-sms refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-logto-social-demo refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-mailgun release: version packages (#4270) 2023-08-30 16:16:55 +08:00
connector-mock-email refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-mock-email-alternative refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-mock-sms refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-mock-social chore: specify versions for workspace protocol (#3707) 2023-04-17 10:10:14 +00:00
connector-naver refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-oauth2 refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-oidc fix(deps): update dependency jose to v5 (#4761) 2023-10-27 16:52:32 +08:00
connector-saml fix(connector,console): fix SAML error recording and connector config form interaction (#4446) 2023-09-07 19:01:40 +08:00
connector-sendgrid-email chore: use sentence case 2023-10-25 14:01:49 +08:00
connector-smsaero refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-smtp chore: use sentence case 2023-10-25 14:01:49 +08:00
connector-tencent-sms refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-twilio-sms refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-wechat-native refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
connector-wechat-web refactor: validate config generic (#4286) 2023-08-03 05:28:23 +00:00
templates chore(deps): update dependency lint-staged to v15 (#4661) 2023-10-26 09:55:47 +08:00
.gitignore refactor: leverage pnpmfile for dependency installation 2023-04-01 20:53:44 +08:00
README.md refactor: leverage pnpmfile for dependency installation 2023-04-01 20:53:44 +08:00

Logto connectors directory

Template syncing

Since all connectors have a same pattern for package.json, here we leverage several techniques to avoid annoying copy-pastes:

When pnpm i

  • The "pnpm:devPreinstall" script in the project root executes templates/sync-preset.js that:
    • Check every connectors's package.json to see if there's any unexpected keys
    • Sync templates/package.json by REPLACING every template key (except dependency keys) in the current package.json with the value from the template package.json
    • Copies all config files to every connector directory
  • The hook in .pnpmfile.cjs of the project root merges dependency fields for every connector
    • Also we can update arbitrary fields in this hook, we still need to keep non-dependency fields in the connector's package.json since the hook only takes affect during pnpm i.

Caution Workspace dependencies should be defined in connector's package.json (not template) in order to let PNPM correctly resolves the workspace dependency tree;

Add a new custom field

Head to templates/sync-preset.js and update allowedCustomKeys.