-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: convert project to ESM (#927)
* feat(hermes): add scalar to eventually replace swagger ui note: it throws a build error that we can hack around, but we should find a proper fix. also, the issue of only client id appearing is also present here * refactor(grpc-sdk): to esm * chore: update ts-proto to latest * refactor(module-tools): to esm * chore(testing-tools): update ts-proto * refactor(hermes): to esm * refactor(authentication): to esm refactor: change lodash in libraries and auth to lodash-es cannot progress further due to long.js import issues * refactor(authorization): convert to esm * refactor(chat): convert to esm * refactor(database): convert to esm * refactor(email): convert to esm * refactor(forms): convert to esm * refactor(functions): convert to esm * refactor(push-notifications): convert to esm * refactor(router): convert to esm * refactor(sms): convert to esm * refactor(storage): convert to esm * refactor(admin,commons,core): convert to esm * fix: missing __dirname in ESM refactor(grpc-sdk): replace redlock with current package fix(hermes): plugin and type issues after esm update * fix(chat): missing lodash-es * fix(authorization): missing __dirname in jobs * fix(authentication): circular dependency * [CodeFactor] Apply fixes * fix(authorization): remove any from job events * fix(authentication): remove any from oauth2 handler construction * fix(grpc-sdk): remove any cast of redis client * fix(email): type issues * fix(database): redundant import * refactor(email): apply codefactor recommendations * chore(forms): redundant code cleanup * fix(forms): form schema types * fix(forms): reply schema types * build: bump typescript from 5.2.2 to 5.3.3 * fix(authentication,admin): jsonwebtoken imports * chore(authentication,admin): drop crypto standalone pkg * chore(hermes,router,database): replace deepdash with deepdash-es * fix(authentication,router,sms): bcrypt esm imports * fix(authorization,email,functions): lodash->lodash-es leftovers, bump types, rm unusude devDeps --------- Co-authored-by: codefactor-io <[email protected]> Co-authored-by: Konstantinos Feretos <[email protected]>
- Loading branch information
1 parent
88294fe
commit f81c811
Showing
462 changed files
with
2,178 additions
and
1,745 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export * from './Error'; | ||
export * from './ConduitModule'; | ||
export * from './HealthCheck'; | ||
export * from './ConduitSchema'; | ||
export * from './ConduitAuthorizedResource'; | ||
export * from './Error.js'; | ||
export * from './ConduitModule.js'; | ||
export * from './HealthCheck.js'; | ||
export * from './ConduitSchema.js'; | ||
export * from './ConduitAuthorizedResource.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './PlatformTypesEnum'; | ||
export * from './PlatformTypesEnum.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './enums'; | ||
export * from './enums/index.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from './moduleName'; | ||
export * from './grpcSignedToken'; | ||
export * from './moduleName.js'; | ||
export * from './grpcSignedToken.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { ConduitReturn } from './Route'; | ||
import { ConduitReturn } from './Route.js'; | ||
|
||
/** | ||
* Supports: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
export * from './ConduitMiddleware'; | ||
export * from './ConduitRoute'; | ||
export * from './ProxyRoute'; | ||
export * from './Route'; | ||
export * from './Socket'; | ||
export * from './types'; | ||
export * from './Model'; | ||
export * from './GrpcCallback'; | ||
export * from './Indexable'; | ||
export * from './RawQuery'; | ||
export * from './UntypedArray'; | ||
export * from './Params'; | ||
export * from './ConduitRouteReturn'; | ||
export * from './ConduitSchemaExtension'; | ||
export * from './IConduitLogger'; | ||
export * from './IConduitMetrics'; | ||
export * from './ConduitMiddleware.js'; | ||
export * from './ConduitRoute.js'; | ||
export * from './ProxyRoute.js'; | ||
export * from './Route.js'; | ||
export * from './Socket.js'; | ||
export * from './types.js'; | ||
export * from './Model.js'; | ||
export * from './GrpcCallback.js'; | ||
export * from './Indexable.js'; | ||
export * from './RawQuery.js'; | ||
export * from './UntypedArray.js'; | ||
export * from './Params.js'; | ||
export * from './ConduitRouteReturn.js'; | ||
export * from './ConduitSchemaExtension.js'; | ||
export * from './IConduitLogger.js'; | ||
export * from './IConduitMetrics.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.