stack/packages
Zai Shi ab8b88c747
Add THIS_LINE_PLATFORM macro (#537)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Add `THIS_LINE_PLATFORM` macro for inline platform-specific comments,
replacing `NEXT_LINE_PLATFORM` across the codebase.
> 
>   - **Macro Addition**:
> - Introduces `THIS_LINE_PLATFORM` macro to replace
`NEXT_LINE_PLATFORM` for inline platform-specific comments.
> - Applied in `stack-handler.tsx`, `link.tsx`, `cookie.ts`, and 10
other files.
>   - **Behavior**:
> - `THIS_LINE_PLATFORM` allows inline comments to specify
platform-specific code inclusion.
>     - Ensures platform-specific code clarity and separation.
>   - **Documentation**:
> - Updated documentation files to use `THIS_LINE_PLATFORM` for
platform-specific sections.
>   - **Scripts**:
> - Updated `processMacros` function in `utils.ts` to handle
`THIS_LINE_PLATFORM`.
>     - Adjusted `generate-docs.ts` to process new macro correctly.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for e3a283aa65. It will automatically
update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->
2025-03-13 02:35:17 +01:00
..
init-stack ref: use commander for arguments parsing (#531) 2025-03-12 22:17:19 +01:00
js chore: update package versions 2025-03-12 10:28:45 -07:00
react chore: update package versions 2025-03-12 10:28:45 -07:00
stack chore: update package versions 2025-03-12 10:28:45 -07:00
stack-emails chore: update package versions 2025-03-12 10:28:45 -07:00
stack-sc chore: update package versions 2025-03-12 10:28:45 -07:00
stack-shared add impersonate and error to user details page (#535) 2025-03-13 01:19:47 +00:00
stack-ui chore: update package versions 2025-03-12 10:28:45 -07:00
template Add THIS_LINE_PLATFORM macro (#537) 2025-03-13 02:35:17 +01:00