-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[js] Create public UI package. Upgrade to Typescript 5. Towards LIG-3…
…608. Closes (#328) * [js] Create public UI package. Upgrade to Typescript 5. Towards LIG-3608. Closes LIG-3610. (#7461) - Move all files in `ui` to src folder to match other workspaces and make `tsc` and `build` possible. - [Remove](https://github.com/lightsparkdev/webdev/pull/7461/files?w=1#diff-7ce14fdcf191969261acfde125e198e54c7c9f10742c8f604ee2d73444820f54L10-R10) transpile of ui code from apps that use it. It's built and type checked independently now. - See `ui` [tsup config](https://github.com/lightsparkdev/webdev/pull/7461/files?w=1#diff-9bc1f7ad2a6d21f54c60a86f8ddd2757226bc3eb2956e5eaf47b5fa42fb0540e) for changes needed to build and resolve properly for our `bundler` apps. - Upgrade to Typescript 5, allowing us to use `bundler` moduleResolution in tsconfig. This makes imports like @lightsparkdev/ui/components much easier by supporting the ["exports" property in package.json](https://github.com/lightsparkdev/webdev/pull/7461/files?w=1#diff-d0a0477ce652623b1bd81063e16fab8fede6df5d0c48b92d469a941d0cf94135R10-R24). - Fonts are now loaded from `ui` package - Simplify / fix lint configuration. We now just have base.json, react-lib.json, and react-app.json. Rules are consolidated and properly scoped per file type. - Motivation for these changes came from lint config problems exposed by ui package changes and new errors that appeared there. - New lint rule enforcing comment length with autofix available (not available in prettier) GitOrigin-RevId: 4184002f1136b2c84c10d444be405b8a6db2659e * Create rare-ladybugs-allow.md * CI update lock file for PR --------- Co-authored-by: Corey Martin <coreyn.martin@gmail.com> Co-authored-by: Lightspark Eng <engineering@lightspark.com>
- Loading branch information
1 parent
9cafa2d
commit 43dc882
Showing
387 changed files
with
3,246 additions
and
1,658 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
"@lightsparkdev/ls-react-native-crypto": patch | ||
"@lightsparkdev/lightspark-cli": patch | ||
"@lightsparkdev/lightspark-sdk": patch | ||
"@lightsparkdev/react-native": patch | ||
"@lightsparkdev/react-wallet": patch | ||
"@lightsparkdev/wallet-cli": patch | ||
"@lightsparkdev/wallet-sdk": patch | ||
"@lightsparkdev/oauth": patch | ||
"@lightsparkdev/core": patch | ||
"@lightsparkdev/ui": patch | ||
--- | ||
|
||
Upgrade to Typescript 5, lint config changes |
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
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
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,8 +1,8 @@ | ||
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved | ||
|
||
export * from "./crypto.js"; | ||
export * from "./KeyOrAlias.js"; | ||
export { default as LightsparkSigningException } from "./LightsparkSigningException.js"; | ||
export { default as NodeKeyCache } from "./NodeKeyCache.js"; | ||
export * from "./SigningKey.js"; | ||
export * from "./crypto.js"; | ||
export * from "./types.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,13 +1,13 @@ | ||
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved | ||
|
||
export * from "./auth/index.js"; | ||
export * from "./constants/index.js"; | ||
export * from "./crypto/index.js"; | ||
export { default as LightsparkException } from "./LightsparkException.js"; | ||
export { Logger } from "./Logger.js"; | ||
export * from "./requester/index.js"; | ||
export { | ||
apiDomainForEnvironment, | ||
default as ServerEnvironment, | ||
apiDomainForEnvironment, | ||
} from "./ServerEnvironment.js"; | ||
export * from "./auth/index.js"; | ||
export * from "./constants/index.js"; | ||
export * from "./crypto/index.js"; | ||
export * from "./requester/index.js"; | ||
export * from "./utils/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
Oops, something went wrong.