Skip to content

Bump up Yorkie to v0.6.49#296

Merged
hackerwins merged 1 commit intomainfrom
v0.6.49
Feb 25, 2026
Merged

Bump up Yorkie to v0.6.49#296
hackerwins merged 1 commit intomainfrom
v0.6.49

Conversation

@raararaara
Copy link
Contributor

@raararaara raararaara commented Feb 25, 2026

What this PR does / why we need it?

Bump up Yorkie to v0.6.49

Any background context you want to provide?

What are the relevant tickets?

Fixes #

Checklist

  • Added relevant tests or not required
  • Didn't break anything

Summary by CodeRabbit

  • Chores
    • Updated Yorkie SDK dependency to version 0.6.49
    • Updated environment configuration variables to reflect Yorkie SDK version 0.6.49

@coderabbitai
Copy link

coderabbitai bot commented Feb 25, 2026

📝 Walkthrough

Walkthrough

Updates Yorkie JS SDK dependency to version 0.6.49 across environment variables and package configuration. Adds or exposes FILE_INFO metadata constants of type DirectoryInfo in multiple example projects, describing their directory structures and file contents.

Changes

Cohort / File(s) Summary
SDK Version Bump
.env, package.json
Updated Yorkie version references from 0.6.48 to 0.6.49 (NEXT_PUBLIC_YORKIE_VERSION, NEXT_PUBLIC_YORKIE_JS_VERSION, NEXT_PUBLIC_JS_SDK_URL, and @yorkie-js/sdk dependency).
New fileInfo Exports
examples/nextjs-presence/fileInfo.ts, examples/react-document-limit/fileInfo.ts, examples/react-flow/fileInfo.ts, examples/react-tldraw/fileInfo.ts, examples/react-todomvc/fileInfo.ts, examples/vanilla-codemirror6/fileInfo.ts, examples/vanilla-document-limit/fileInfo.ts, examples/vanilla-quill/fileInfo.ts
Added new exported FILE_INFO constants of type DirectoryInfo describing project directory structures.
New fileInfo Files
examples/react-presence/fileInfo.ts, examples/react-revision/fileInfo.ts
Created new fileInfo.ts modules exporting FILE_INFO constants with nested DirectoryInfo structures for example projects.
fileInfo Visibility Updates
examples/vanilla-prosemirror/fileInfo.ts, examples/vuejs-kanban/fileInfo.ts
Changed FILE_INFO declarations from non-exported to publicly exported constants.
fileInfo Formatting & Content
examples/nextjs-scheduler/fileInfo.ts, examples/nextjs-todolist/fileInfo.ts, examples/profile-stack/fileInfo.ts
Applied formatting adjustments and expanded directory tree content in FILE_INFO declarations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • hackerwins

Poem

🐰 Hop along to version new,
Yorkie nudges 0.6.49 through!
FileInfo blooms in each example fair,
Metadata mapped with rabbity care! ✨📋

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change of bumping Yorkie dependency from v0.6.48 to v0.6.49 across package.json and environment files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch v0.6.49

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (6)
examples/nextjs-scheduler/fileInfo.ts (1)

2-2: Same leading-indentation issue as flagged in examples/react-tldraw/fileInfo.ts.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/nextjs-scheduler/fileInfo.ts` at line 2, The exported constant
FILE_INFO has unintended leading indentation in its JSON/string value (same
problem as react-tldraw); update the definition of FILE_INFO in
examples/nextjs-scheduler/fileInfo.ts so the JSON object/string has no extra
leading spaces at the start (normalize/trim leading indentation), ensuring the
exported symbol FILE_INFO contains correctly-formatted JSON/serializable
structure that matches the project convention.
examples/vanilla-prosemirror/fileInfo.ts (1)

2-2: Same leading-indentation issue as flagged in examples/react-tldraw/fileInfo.ts.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/vanilla-prosemirror/fileInfo.ts` at line 2, The exported FILE_INFO
constant in examples/vanilla-prosemirror/fileInfo.ts has the same unwanted
leading indentation as flagged earlier; remove the extra leading spaces so the
file begins with the export at column zero (i.e., change the top of the file to
start with export const FILE_INFO: DirectoryInfo = { ... } with no preceding
spaces/newline), ensuring the symbol FILE_INFO (and its large JSON payload) is
left-aligned and consistent with other examples; update only the
indentation/whitespace — do not change the JSON content or the FILE_INFO
identifier.
examples/vanilla-quill/fileInfo.ts (1)

2-2: Same leading-indentation issue as flagged in examples/react-tldraw/fileInfo.ts.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/vanilla-quill/fileInfo.ts` at line 2, The FILE_INFO export contains
file content strings with unwanted leading indentation (same problem as the
react-tldraw example); locate the FILE_INFO constant and strip the common
leading whitespace from each file's "content" values (e.g., the long TypeScript
strings under children[].children[].content like main.ts, network.ts, utils.ts,
etc.) so source files have proper left-aligned code; ensure you only remove the
shared leading margin (not internal indentation) and keep the original line
breaks and relative indentation within each file.
examples/vanilla-document-limit/fileInfo.ts (1)

2-2: Same leading-indentation issue as flagged in examples/react-tldraw/fileInfo.ts.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/vanilla-document-limit/fileInfo.ts` at line 2, The FILE_INFO export
has extra leading indentation that breaks tooling/parsing; update the exported
constant FILE_INFO (type DirectoryInfo) so the declaration and its object
literal start at column 0 with no extra leading spaces, and ensure the contained
file/child entries inside that object are not prefixed by the same unwanted
indentation so the JSON-like structure matches other examples (fix the exported
FILE_INFO object literal formatting).
examples/nextjs-todolist/fileInfo.ts (1)

2-2: Same leading-indentation issue as flagged in examples/react-tldraw/fileInfo.ts.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/nextjs-todolist/fileInfo.ts` at line 2, The FILE_INFO constant
contains file "content" strings with extra/common leading indentation that
causes formatting/parse issues; update the FILE_INFO object (the exported
FILE_INFO) to strip the common leading indentation from all multi-line "content"
values (e.g., entries under children like the component files such as utils.ts,
button.tsx, TodoList.tsx) so each file's content starts at column 0 and
preserves intended internal indentation; locate and normalize the "content"
fields within FILE_INFO to remove the duplicated leading spaces.
examples/react-flow/fileInfo.ts (1)

2-2: Same leading-indentation issue as flagged in examples/react-tldraw/fileInfo.ts.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/react-flow/fileInfo.ts` at line 2, The file has extra leading
indentation before the generated export (the exported constant FILE_INFO)
causing inconsistent/incorrect leading spaces in the source snapshot; fix by
removing the leading indentation so the export line begins at column 0 and
ensure the JSON/objects assigned to FILE_INFO are emitted without extra leading
spaces (trim any common leading whitespace in the generated multi-line content
strings or regenerate the file snapshot without the extra prefix). Locate the
symbol FILE_INFO in the diff and update the generator/output so the top-level
"export const FILE_INFO" and the contained file content strings have no
unintended leading indentation.
🧹 Nitpick comments (2)
examples/react-tldraw/fileInfo.ts (1)

2-2: Spurious 8-space indentation on top-level export (applies to all fileInfo.ts files in this PR).

Line 2 begins with 8 leading spaces before export const FILE_INFO, which is a top-level module declaration and should have no indentation. The same issue is present in every fileInfo.ts file changed in this PR (examples/nextjs-todolist/fileInfo.ts, examples/nextjs-scheduler/fileInfo.ts, examples/react-flow/fileInfo.ts, examples/vanilla-quill/fileInfo.ts, examples/vanilla-prosemirror/fileInfo.ts, examples/vanilla-document-limit/fileInfo.ts).

Since these files are auto-generated by the fetch-examples script pulling from the yorkie-js-sdk repo, the fix belongs in the upstream generator rather than these files directly.

As per coding guidelines, Prettier is configured with 2-space indentation; top-level declarations should carry no leading whitespace.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/react-tldraw/fileInfo.ts` at line 2, The top-level export in
fileInfo.ts is indented (leading 8 spaces) — remove the leading whitespace so
the module-level declaration starts at column 0 (e.g., change "export const
FILE_INFO" to have no leading spaces) in every generated examples/*/fileInfo.ts
(reference symbol: export const FILE_INFO); fix the upstream fetch-examples
generator that produces these files so it emits top-level declarations with no
indentation and run Prettier (2-space config) on generated output to enforce
formatting before committing.
examples/profile-stack/fileInfo.ts (1)

2-2: Spurious leading whitespace on the export line.

Line 2 has 8 spaces of indentation before export const FILE_INFO, but this is a top-level export. This appears consistently across all fileInfo.ts files in this PR, so it's likely a generation artifact. Consider trimming it in the generator if feasible.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@examples/profile-stack/fileInfo.ts` at line 2, The FILE_INFO top-level export
in fileInfo.ts is indented with spurious leading spaces; remove the leading
whitespace so the "export const FILE_INFO" line (and any other top-level
exported declarations in this file) starts at column 0, and update the
generator/template that produces fileInfo.ts to emit top-level exports without
indentation to prevent this recurring artifact.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@examples/react-document-limit/fileInfo.ts`:
- Line 2: The FILE_INFO export is a minified single-line object that breaks the
repo TS formatting rules; update the export named FILE_INFO (typed as
DirectoryInfo) in fileInfo.ts to be pretty-printed with Prettier-style
formatting: 2-space indentation, wrapped lines, single quotes, trailing commas
where valid, and 120-char line length, preserving the existing type annotation
and object structure (isFile, name, path, children, etc.) so the value is
identical but formatted across multiple lines.

---

Duplicate comments:
In `@examples/nextjs-scheduler/fileInfo.ts`:
- Line 2: The exported constant FILE_INFO has unintended leading indentation in
its JSON/string value (same problem as react-tldraw); update the definition of
FILE_INFO in examples/nextjs-scheduler/fileInfo.ts so the JSON object/string has
no extra leading spaces at the start (normalize/trim leading indentation),
ensuring the exported symbol FILE_INFO contains correctly-formatted
JSON/serializable structure that matches the project convention.

In `@examples/nextjs-todolist/fileInfo.ts`:
- Line 2: The FILE_INFO constant contains file "content" strings with
extra/common leading indentation that causes formatting/parse issues; update the
FILE_INFO object (the exported FILE_INFO) to strip the common leading
indentation from all multi-line "content" values (e.g., entries under children
like the component files such as utils.ts, button.tsx, TodoList.tsx) so each
file's content starts at column 0 and preserves intended internal indentation;
locate and normalize the "content" fields within FILE_INFO to remove the
duplicated leading spaces.

In `@examples/react-flow/fileInfo.ts`:
- Line 2: The file has extra leading indentation before the generated export
(the exported constant FILE_INFO) causing inconsistent/incorrect leading spaces
in the source snapshot; fix by removing the leading indentation so the export
line begins at column 0 and ensure the JSON/objects assigned to FILE_INFO are
emitted without extra leading spaces (trim any common leading whitespace in the
generated multi-line content strings or regenerate the file snapshot without the
extra prefix). Locate the symbol FILE_INFO in the diff and update the
generator/output so the top-level "export const FILE_INFO" and the contained
file content strings have no unintended leading indentation.

In `@examples/vanilla-document-limit/fileInfo.ts`:
- Line 2: The FILE_INFO export has extra leading indentation that breaks
tooling/parsing; update the exported constant FILE_INFO (type DirectoryInfo) so
the declaration and its object literal start at column 0 with no extra leading
spaces, and ensure the contained file/child entries inside that object are not
prefixed by the same unwanted indentation so the JSON-like structure matches
other examples (fix the exported FILE_INFO object literal formatting).

In `@examples/vanilla-prosemirror/fileInfo.ts`:
- Line 2: The exported FILE_INFO constant in
examples/vanilla-prosemirror/fileInfo.ts has the same unwanted leading
indentation as flagged earlier; remove the extra leading spaces so the file
begins with the export at column zero (i.e., change the top of the file to start
with export const FILE_INFO: DirectoryInfo = { ... } with no preceding
spaces/newline), ensuring the symbol FILE_INFO (and its large JSON payload) is
left-aligned and consistent with other examples; update only the
indentation/whitespace — do not change the JSON content or the FILE_INFO
identifier.

In `@examples/vanilla-quill/fileInfo.ts`:
- Line 2: The FILE_INFO export contains file content strings with unwanted
leading indentation (same problem as the react-tldraw example); locate the
FILE_INFO constant and strip the common leading whitespace from each file's
"content" values (e.g., the long TypeScript strings under
children[].children[].content like main.ts, network.ts, utils.ts, etc.) so
source files have proper left-aligned code; ensure you only remove the shared
leading margin (not internal indentation) and keep the original line breaks and
relative indentation within each file.

---

Nitpick comments:
In `@examples/profile-stack/fileInfo.ts`:
- Line 2: The FILE_INFO top-level export in fileInfo.ts is indented with
spurious leading spaces; remove the leading whitespace so the "export const
FILE_INFO" line (and any other top-level exported declarations in this file)
starts at column 0, and update the generator/template that produces fileInfo.ts
to emit top-level exports without indentation to prevent this recurring
artifact.

In `@examples/react-tldraw/fileInfo.ts`:
- Line 2: The top-level export in fileInfo.ts is indented (leading 8 spaces) —
remove the leading whitespace so the module-level declaration starts at column 0
(e.g., change "export const FILE_INFO" to have no leading spaces) in every
generated examples/*/fileInfo.ts (reference symbol: export const FILE_INFO); fix
the upstream fetch-examples generator that produces these files so it emits
top-level declarations with no indentation and run Prettier (2-space config) on
generated output to enforce formatting before committing.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 084a21d and 94d8478.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (18)
  • .env
  • examples/nextjs-presence/fileInfo.ts
  • examples/nextjs-scheduler/fileInfo.ts
  • examples/nextjs-todolist/fileInfo.ts
  • examples/profile-stack/fileInfo.ts
  • examples/react-document-limit/fileInfo.ts
  • examples/react-flow/fileInfo.ts
  • examples/react-presence/fileInfo.ts
  • examples/react-revision/fileInfo.ts
  • examples/react-tldraw/fileInfo.ts
  • examples/react-todomvc/fileInfo.ts
  • examples/simultaneous-cursors/fileInfo.ts
  • examples/vanilla-codemirror6/fileInfo.ts
  • examples/vanilla-document-limit/fileInfo.ts
  • examples/vanilla-prosemirror/fileInfo.ts
  • examples/vanilla-quill/fileInfo.ts
  • examples/vuejs-kanban/fileInfo.ts
  • package.json

Copy link
Member

@hackerwins hackerwins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution.

@hackerwins hackerwins merged commit df53571 into main Feb 25, 2026
2 checks passed
@hackerwins hackerwins deleted the v0.6.49 branch February 25, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants