mincho-js / mincho

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

Chore: Update package.json for publish #60 #64

Closed black7375 closed 1 month ago

black7375 commented 1 month ago

Description

Update package.json to use the published package instead of the patch.

However, it does not uninstall the patch itself. This is to avoid errors caused by the Vanilla Extract type.

Related Issue

Summary by CodeRabbit

Additional context

Checklist

changeset-bot[bot] commented 1 month ago

โš ๏ธ No Changeset found

Latest commit: 327c1698584498326a64c5fd36629cf589caca14

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

coderabbitai[bot] commented 1 month ago

Walkthrough

The recent changes across various package.json files significantly enhance the metadata and organization of the @mincho-js packages. Key updates include the addition of descriptions, repository links, keywords for better discoverability, and the implementation of side effects properties. Moreover, many files now explicitly include README.md in their distributions, ensuring documentation accompanies the packages. Type imports have also been streamlined to improve clarity and maintainability.

Changes

File(s) Change Summary
package.json (root) Removed duplicate csstype entry; updated pretify-deep-diff version.
packages/css-additional-types/package.json Added description, sideEffects, license, repository, keywords, bugs, homepage; modified files and scripts; removed dependencies.
packages/css/package.json Added description, sideEffects, license, repository, keywords, bugs, homepage; updated typings and types paths; modified files and added publish script.
packages/debug-log/package.json Added description, sideEffects, and repository details; included README.md in files.
packages/transform-to-vanilla/package.json Added description, sideEffects, license, repository, keywords, bugs, homepage; modified files and publish script; updated types path.
packages/transform-to-vanilla/src/transform-object/index.ts Changed type import from csstype to @mincho-js/csstype; added type assertions.
packages/transform-to-vanilla/src/transform-object/rule-context.ts Added type assertions in createPathSetter and processNestedResult functions.
packages/transform-to-vanilla/src/types/fontface-rule.ts Updated type imports from csstype to @mincho-js/csstype; export remains unchanged.
packages/transform-to-vanilla/src/types/style-rule.ts Updated type imports from csstype to @mincho-js/csstype.

Sequence Diagram(s)

sequenceDiagram
    participant A as User
    participant B as @mincho-js/css
    participant C as @mincho-js/css-additional-types
    participant D as @mincho-js/debug-log
    participant E as @mincho-js/transform-to-vanilla

    A->>B: Import CSS package
    B->>E: Transform styles
    E->>D: Log transformation
    D-->>A: Output debug information

Poem

๐Ÿ‡ In the garden of code, changes bloom bright,
With new paths and scripts, oh what a delight!
A sprinkle of types, a dash of flair,
Each package now sings with a sweet, vibrant air.
So hop along, friends, letโ€™s cheer and play,
For our codeโ€™s fresh and ready, hip-hip-hooray! ๐ŸŽ‰


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 1 month ago

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

Checking if we can fast forward main (fc963d59079a89400e9bca938c3bd16bbbc606a6) to publish/css (327c1698584498326a64c5fd36629cf589caca14).

Target branch (main):

commit fc963d59079a89400e9bca938c3bd16bbbc606a6 (HEAD -> main, origin/main, origin/HEAD)
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Aug 5 01:45:26 2024 +0000

    Chore(deps-dev): Bump the dev-dependencies group across 1 directory with 10 updates

    Bumps the dev-dependencies group with 10 updates in the / directory:

    | Package | From | To |
    | --- | --- | --- |
    | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `2.0.3` | `2.0.5` |
    | [eslint](https://github.com/eslint/eslint) | `9.7.0` | `9.8.0` |
    | [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint) | `8.56.10` | `9.6.0` |
    | [turbo](https://github.com/vercel/turbo) | `2.0.9` | `2.0.11` |
    | [typescript](https://github.com/Microsoft/TypeScript) | `5.5.3` | `5.5.4` |
    | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.4` | `5.3.5` |
    | [vite-node](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vite-node) | `2.0.3` | `2.0.5` |
    | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.0.3` | `2.0.5` |
    | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.7.0` | `9.8.0` |
    | [globals](https://github.com/sindresorhus/globals) | `15.8.0` | `15.9.0` |

    Updates `@vitest/coverage-v8` from 2.0.3 to 2.0.5
    - [Release notes](https://github.com/vitest-dev/vitest/releases)
    - [Commits](https://github.com/vitest-dev/vitest/commits/v2.0.5/packages/coverage-v8)

    Updates `eslint` from 9.7.0 to 9.8.0
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/eslint/eslint/compare/v9.7.0...v9.8.0)

    Updates `@types/eslint` from 8.56.10 to 9.6.0
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint)

    Updates `turbo` from 2.0.9 to 2.0.11
    - [Release notes](https://github.com/vercel/turbo/releases)
    - [Changelog](https://github.com/vercel/turbo/blob/main/release.md)
    - [Commits](https://github.com/vercel/turbo/compare/v2.0.9...v2.0.11)

    Updates `typescript` from 5.5.3 to 5.5.4
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
    - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4)

    Updates `vite` from 5.3.4 to 5.3.5
    - [Release notes](https://github.com/vitejs/vite/releases)
    - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
    - [Commits](https://github.com/vitejs/vite/commits/v5.3.5/packages/vite)

    Updates `vite-node` from 2.0.3 to 2.0.5
    - [Release notes](https://github.com/vitest-dev/vitest/releases)
    - [Commits](https://github.com/vitest-dev/vitest/commits/v2.0.5/packages/vite-node)

    Updates `vitest` from 2.0.3 to 2.0.5
    - [Release notes](https://github.com/vitest-dev/vitest/releases)
    - [Commits](https://github.com/vitest-dev/vitest/commits/v2.0.5/packages/vitest)

    Updates `@eslint/js` from 9.7.0 to 9.8.0
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/eslint/eslint/commits/v9.8.0/packages/js)

    Updates `globals` from 15.8.0 to 15.9.0
    - [Release notes](https://github.com/sindresorhus/globals/releases)
    - [Commits](https://github.com/sindresorhus/globals/compare/v15.8.0...v15.9.0)

    ---
    updated-dependencies:
    - dependency-name: "@vitest/coverage-v8"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dev-dependencies
    - dependency-name: "@types/eslint"
      dependency-type: direct:development
      update-type: version-update:semver-major
      dependency-group: dev-dependencies
    - dependency-name: turbo
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: typescript
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: vite
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: vite-node
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: vitest
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: "@eslint/js"
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dev-dependencies
    - dependency-name: globals
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dev-dependencies
    ...

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

Pull request (publish/css):

commit 327c1698584498326a64c5fd36629cf589caca14 (pull_request/publish/css)
Author: alstjr7375 <alstjr7375@daum.net>
Date:   Mon Aug 12 18:54:54 2024 +0900

    Chore: Replace patched csstype to @mincho-js/csstype #60

    Update csstype package like @mincho-js/csstype
    To avoid type errors, I kept the patch itself.

It is possible to fast forward main (fc963d59079a89400e9bca938c3bd16bbbc606a6) to publish/css (327c1698584498326a64c5fd36629cf589caca14). If you have write access to the target repository, you can add a comment with /fast-forward to fast forward main to publish/css.

black7375 commented 1 month ago

/fast-forward

github-actions[bot] commented 1 month ago

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

Trying to fast forward main (fc963d59079a89400e9bca938c3bd16bbbc606a6) to publish/css (327c1698584498326a64c5fd36629cf589caca14).

Target branch (main):

commit fc963d59079a89400e9bca938c3bd16bbbc606a6 (HEAD -> main, origin/main, origin/HEAD)
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Mon Aug 5 01:45:26 2024 +0000

    Chore(deps-dev): Bump the dev-dependencies group across 1 directory with 10 updates

    Bumps the dev-dependencies group with 10 updates in the / directory:

    | Package | From | To |
    | --- | --- | --- |
    | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `2.0.3` | `2.0.5` |
    | [eslint](https://github.com/eslint/eslint) | `9.7.0` | `9.8.0` |
    | [@types/eslint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/eslint) | `8.56.10` | `9.6.0` |
    | [turbo](https://github.com/vercel/turbo) | `2.0.9` | `2.0.11` |
    | [typescript](https://github.com/Microsoft/TypeScript) | `5.5.3` | `5.5.4` |
    | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `5.3.4` | `5.3.5` |
    | [vite-node](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vite-node) | `2.0.3` | `2.0.5` |
    | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.0.3` | `2.0.5` |
    | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.7.0` | `9.8.0` |
    | [globals](https://github.com/sindresorhus/globals) | `15.8.0` | `15.9.0` |

    Updates `@vitest/coverage-v8` from 2.0.3 to 2.0.5
    - [Release notes](https://github.com/vitest-dev/vitest/releases)
    - [Commits](https://github.com/vitest-dev/vitest/commits/v2.0.5/packages/coverage-v8)

    Updates `eslint` from 9.7.0 to 9.8.0
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/eslint/eslint/compare/v9.7.0...v9.8.0)

    Updates `@types/eslint` from 8.56.10 to 9.6.0
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/eslint)

    Updates `turbo` from 2.0.9 to 2.0.11
    - [Release notes](https://github.com/vercel/turbo/releases)
    - [Changelog](https://github.com/vercel/turbo/blob/main/release.md)
    - [Commits](https://github.com/vercel/turbo/compare/v2.0.9...v2.0.11)

    Updates `typescript` from 5.5.3 to 5.5.4
    - [Release notes](https://github.com/Microsoft/TypeScript/releases)
    - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
    - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4)

    Updates `vite` from 5.3.4 to 5.3.5
    - [Release notes](https://github.com/vitejs/vite/releases)
    - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
    - [Commits](https://github.com/vitejs/vite/commits/v5.3.5/packages/vite)

    Updates `vite-node` from 2.0.3 to 2.0.5
    - [Release notes](https://github.com/vitest-dev/vitest/releases)
    - [Commits](https://github.com/vitest-dev/vitest/commits/v2.0.5/packages/vite-node)

    Updates `vitest` from 2.0.3 to 2.0.5
    - [Release notes](https://github.com/vitest-dev/vitest/releases)
    - [Commits](https://github.com/vitest-dev/vitest/commits/v2.0.5/packages/vitest)

    Updates `@eslint/js` from 9.7.0 to 9.8.0
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/eslint/eslint/commits/v9.8.0/packages/js)

    Updates `globals` from 15.8.0 to 15.9.0
    - [Release notes](https://github.com/sindresorhus/globals/releases)
    - [Commits](https://github.com/sindresorhus/globals/compare/v15.8.0...v15.9.0)

    ---
    updated-dependencies:
    - dependency-name: "@vitest/coverage-v8"
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: eslint
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dev-dependencies
    - dependency-name: "@types/eslint"
      dependency-type: direct:development
      update-type: version-update:semver-major
      dependency-group: dev-dependencies
    - dependency-name: turbo
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: typescript
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: vite
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: vite-node
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: vitest
      dependency-type: direct:development
      update-type: version-update:semver-patch
      dependency-group: dev-dependencies
    - dependency-name: "@eslint/js"
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dev-dependencies
    - dependency-name: globals
      dependency-type: direct:development
      update-type: version-update:semver-minor
      dependency-group: dev-dependencies
    ...

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

Pull request (publish/css):

commit 327c1698584498326a64c5fd36629cf589caca14 (pull_request/publish/css)
Author: alstjr7375 <alstjr7375@daum.net>
Date:   Mon Aug 12 18:54:54 2024 +0900

    Chore: Replace patched csstype to @mincho-js/csstype #60

    Update csstype package like @mincho-js/csstype
    To avoid type errors, I kept the patch itself.

Fast forwarding main (fc963d59079a89400e9bca938c3bd16bbbc606a6) to publish/css (327c1698584498326a64c5fd36629cf589caca14).

$ git push origin 327c1698584498326a64c5fd36629cf589caca14:main
To https://github.com/mincho-js/mincho.git
   fc963d5..327c169  327c1698584498326a64c5fd36629cf589caca14 -> main