mincho-js / mincho

Natural CSS in TypeScript
MIT License
40 stars 0 forks source link

Debug environment #34

Closed black7375 closed 3 months ago

black7375 commented 3 months ago

Description

Configure a convenient debugging environment #33

Summary by CodeRabbit

github-actions[bot] commented 3 months ago

Triggered from https://github.com/mincho-js/mincho/pull/34 by @​black7375.

Checking if we can fast forward main (9b79c35d58008bbd0dc7c06139db54edc3e1cc49) to debugging (b42a54d0159ccff2543de0eb9740b4b07bac852d).

Target branch (main):

commit 9b79c35d58008bbd0dc7c06139db54edc3e1cc49 (HEAD -> main, origin/main, origin/HEAD)
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 15 09:31:11 2024 +0000

    Chore(deps): Bump the npm_and_yarn group with 2 updates

    Bumps the npm_and_yarn group with 2 updates: [braces](https://github.com/micromatch/braces) and [tar](https://github.com/isaacs/node-tar).

    Updates `braces` from 3.0.2 to 3.0.3
    - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

    Updates `tar` from 6.2.0 to 6.2.1
    - [Release notes](https://github.com/isaacs/node-tar/releases)
    - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1)

    ---
    updated-dependencies:
    - dependency-name: braces
      dependency-type: indirect
      dependency-group: npm_and_yarn
    - dependency-name: tar
      dependency-type: indirect
      dependency-group: npm_and_yarn
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

Pull request (debugging):

commit b42a54d0159ccff2543de0eb9740b4b07bac852d (pull_request/debugging)
Author: alstjr7375 <alstjr7375@daum.net>
Date:   Wed Jul 17 15:52:17 2024 +0900

    Chore: Console debug package #33

Can't fast forward main (9b79c35d58008bbd0dc7c06139db54edc3e1cc49) to debugging (b42a54d0159ccff2543de0eb9740b4b07bac852d). main (9b79c35d58008bbd0dc7c06139db54edc3e1cc49) is not a direct ancestor of debugging (b42a54d0159ccff2543de0eb9740b4b07bac852d). Branches appear to have diverged at 1f8794aa20d9a3f5e1dee1465ccb6372483dc59e:

* b42a54d0159ccff2543de0eb9740b4b07bac852d Chore: Console debug package #33
* 796ed7f0fc78b251346fe3f2a1113c933d56e7c3 Chore: Launching debugging mode improves performance and applies to all packages #33
* 19c2168d56e071ae2186a150bb8fb4f6b38b435d Chore: Debugger setup for VS Code #33
| * 9b79c35d58008bbd0dc7c06139db54edc3e1cc49 Chore(deps): Bump the npm_and_yarn group with 2 updates
|/  
* 1f8794aa20d9a3f5e1dee1465ccb6372483dc59e Chore: Action - Activate fast-forward merge

commit 1f8794aa20d9a3f5e1dee1465ccb6372483dc59e
Author: alstjr7375 <alstjr7375@daum.net>
Date:   Mon Jul 15 18:14:15 2024 +0900

    Chore: Action - Activate fast-forward merge

    See https://github.com/marketplace/actions/fast-forward-merge

Rebase locally, and then force push to debugging.

coderabbitai[bot] commented 3 months ago

Walkthrough

This update primarily introduces several new utilities and configurations across multiple packages. Key changes include the addition of @mincho/debug-log for enhanced logging capabilities, and several updates to .vscode configurations to improve the developer experience with debugging and TypeScript settings. The debug-log package in particular sees significant additions, including new utility functions for debugging and detailed configuration files for ESLint, TypeScript, and Vite.

Changes

File/Path Change Summary
package.json Added new resolution for "pretify-deep-diff@npm:^1.0.0" and @mincho/debug-log to the devDependencies.
packages/css-additional-types/.vscode/extensions.json
packages/css/.vscode/extensions.json
packages/transform-to-vanilla/.vscode/extensions.json
Added recommended extensions: "augustocdias.tasks-shell-input" and "vitest.explorer".
packages/css-additional-types/.vscode/launch.json
packages/css/.vscode/launch.json
packages/debug-log/.vscode/launch.json
packages/transform-to-vanilla/.vscode/launch.json
Added debugging configurations for running and debugging tests with Vitest, including remote debugger setup and shell input extensions for Git root.
packages/css-additional-types/.vscode/settings.json
packages/css/.vscode/settings.json
packages/transform-to-vanilla/.vscode/settings.json
Added TypeScript settings for workspace SDK usage and specified the TypeScript SDK path.
packages/css/package.json
packages/transform-to-vanilla/package.json
Added @mincho/debug-log to devDependencies.
packages/debug-log/.editorconfig Introduced .editorconfig for consistent coding styles across various file types.
packages/debug-log/.vscode/extensions.json Configured recommended and unwanted VS Code extensions for the workspace.
packages/debug-log/README.md Documented utility functions for simplified console debugging in JavaScript, including usage examples.
packages/debug-log/eslint.config.js Introduced ESLint configuration extending from "eslint-config-custom/typescript".
packages/debug-log/package.json Initial setup with settings for dependencies, scripts, and configurations for TypeScript, ESLint, Prettier, and Vite.
packages/debug-log/src/index.ts Added new logging and JSON utility functions with test cases using vitest.
packages/debug-log/tsconfig.json Configured TypeScript compilation settings, including file inclusion and exclusion for the project.
packages/debug-log/tsconfig.node.json Customized TypeScript settings for Node.js environment, extending base tsconfig.json.
packages/debug-log/vite.config.ts Introduced Vite configuration returning a function based on ConfigEnv.

Poem

In the code, a rabbit hops so bright,
Debugging logs, making right,
With VS Code configs, we dance and play,
TypeScript paths now lead the way.
Extensions bloom, like flowers in June,
Our code's a symphony, a perfect tune.
🌿🔧✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
github-actions[bot] commented 3 months ago

Triggered from https://github.com/mincho-js/mincho/pull/34 by @​black7375.

Checking if we can fast forward main (9b79c35d58008bbd0dc7c06139db54edc3e1cc49) to debugging (cc6e3c6cfcee19f7d654b0389ac1e0076fbcfd22).

Target branch (main):

commit 9b79c35d58008bbd0dc7c06139db54edc3e1cc49 (HEAD -> main, origin/main, origin/HEAD)
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 15 09:31:11 2024 +0000

    Chore(deps): Bump the npm_and_yarn group with 2 updates

    Bumps the npm_and_yarn group with 2 updates: [braces](https://github.com/micromatch/braces) and [tar](https://github.com/isaacs/node-tar).

    Updates `braces` from 3.0.2 to 3.0.3
    - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

    Updates `tar` from 6.2.0 to 6.2.1
    - [Release notes](https://github.com/isaacs/node-tar/releases)
    - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1)

    ---
    updated-dependencies:
    - dependency-name: braces
      dependency-type: indirect
      dependency-group: npm_and_yarn
    - dependency-name: tar
      dependency-type: indirect
      dependency-group: npm_and_yarn
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

Pull request (debugging):

commit cc6e3c6cfcee19f7d654b0389ac1e0076fbcfd22 (pull_request/debugging)
Author: alstjr7375 <alstjr7375@daum.net>
Date:   Wed Jul 17 15:52:17 2024 +0900

    Chore: Console debug package #33

It is possible to fast forward main (9b79c35d58008bbd0dc7c06139db54edc3e1cc49) to debugging (cc6e3c6cfcee19f7d654b0389ac1e0076fbcfd22). If you have write access to the target repository, you can add a comment with /fast-forward to fast forward main to debugging.

black7375 commented 3 months ago

/fast-forward

github-actions[bot] commented 3 months ago

Triggered from https://github.com/mincho-js/mincho/pull/34#issuecomment-2233299921 by @​black7375.

Trying to fast forward main (9b79c35d58008bbd0dc7c06139db54edc3e1cc49) to debugging (cc6e3c6cfcee19f7d654b0389ac1e0076fbcfd22).

Target branch (main):

commit 9b79c35d58008bbd0dc7c06139db54edc3e1cc49 (HEAD -> main, origin/main, origin/HEAD)
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Jul 15 09:31:11 2024 +0000

    Chore(deps): Bump the npm_and_yarn group with 2 updates

    Bumps the npm_and_yarn group with 2 updates: [braces](https://github.com/micromatch/braces) and [tar](https://github.com/isaacs/node-tar).

    Updates `braces` from 3.0.2 to 3.0.3
    - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

    Updates `tar` from 6.2.0 to 6.2.1
    - [Release notes](https://github.com/isaacs/node-tar/releases)
    - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1)

    ---
    updated-dependencies:
    - dependency-name: braces
      dependency-type: indirect
      dependency-group: npm_and_yarn
    - dependency-name: tar
      dependency-type: indirect
      dependency-group: npm_and_yarn
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

Pull request (debugging):

commit cc6e3c6cfcee19f7d654b0389ac1e0076fbcfd22 (pull_request/debugging)
Author: alstjr7375 <alstjr7375@daum.net>
Date:   Wed Jul 17 15:52:17 2024 +0900

    Chore: Console debug package #33

Fast forwarding main (9b79c35d58008bbd0dc7c06139db54edc3e1cc49) to debugging (cc6e3c6cfcee19f7d654b0389ac1e0076fbcfd22).

$ git push origin cc6e3c6cfcee19f7d654b0389ac1e0076fbcfd22:main
To https://github.com/mincho-js/mincho.git
   9b79c35..cc6e3c6  cc6e3c6cfcee19f7d654b0389ac1e0076fbcfd22 -> main