Skip to content

chore(website): update package.json and rename .mjs to .js #286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

lumirlumir
Copy link
Owner

This pull request includes several changes to the package.json files and the website/.vitepress/config.js file. The most important changes focus on improving the development workflow and ensuring the website configuration is up-to-date.

Improvements to development workflow:

  • package.json: Added new scripts dev and start to streamline the development process.
  • website/package.json: Added "type": "module" to ensure compatibility with ES module syntax.

Updates to website configuration:

@Copilot Copilot AI review requested due to automatic review settings March 20, 2025 11:14
Copy link

vercel bot commented Mar 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
npm-clang-format-node-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 20, 2025 11:14am

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the development workflow and website configuration.

  • Introduces new scripts in package.json files to streamline development.
  • Updates the website configuration to dynamically display the current year in the footer.
Files not reviewed (2)
  • package.json: Language not supported
  • website/package.json: Language not supported

@github-actions github-actions bot added 🏷️ scope: website Auto-generated label based on Conventional Commits specification for GitHub release notes 🏷️ type: chore Auto-generated label based on Conventional Commits specification for GitHub release notes labels Mar 20, 2025
Copy link

Labels have been automatically applied based on the Conventional Commits specification.🏷️

Copy link

codecov bot commented Mar 20, 2025

Bundle Report

Changes will decrease total bundle size by 622.34kB (-50.77%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
website-esm 603.37kB -622.34kB (-50.77%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: website-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
app.js (New) 206.66kB 206.66kB 100.0% 🚀
@localSearchIndexroot.*.js (New) 93.08kB 93.08kB 100.0% 🚀
docs_get-started_introduction.*.js (New) 38.39kB 38.39kB 100.0% 🚀
docs_get-started_cli.*.js (New) 26.97kB 26.97kB 100.0% 🚀
docs_get-started_configuration.*.js (New) 26.85kB 26.85kB 100.0% 🚀
docs_get-started_installation.*.js (New) 25.59kB 25.59kB 100.0% 🚀
docs_apis_clang-format-node.*.js (New) 18.98kB 18.98kB 100.0% 🚀
VPLocalSearchBox.*.js (New) 18.87kB 18.87kB 100.0% 🚀
docs_apis_clang-format-git.*.js (New) 18.86kB 18.86kB 100.0% 🚀
docs_apis_clang-format-git-python.*.js (New) 15.31kB 15.31kB 100.0% 🚀
docs_get-started_index.*.js (New) 11.74kB 11.74kB 100.0% 🚀
docs_further-reading_difference-between-exit-0-and-true.*.js (New) 10.82kB 10.82kB 100.0% 🚀
docs_get-started_supported.*.js (New) 9.69kB 9.69kB 100.0% 🚀
index.*.js (New) 8.86kB 8.86kB 100.0% 🚀
docs_community_contributing.*.js (New) 8.85kB 8.85kB 100.0% 🚀
docs_community_code-of-conduct.*.js (New) 8.84kB 8.84kB 100.0% 🚀
docs_further-reading_build-process.*.js (New) 7.83kB 7.83kB 100.0% 🚀
docs_get-started_use-with-husky-and-lint-staged.*.js (New) 7.4kB 7.4kB 100.0% 🚀
docs_community_security.*.js (New) 6.1kB 6.1kB 100.0% 🚀
docs_get-started_migration-from-angular-clang-format.*.js (New) 5.47kB 5.47kB 100.0% 🚀
docs_blog_v1.*.0.md.js (New) 5.41kB 5.41kB 100.0% 🚀
docs_further-reading_about-os-platform-and-os-arch-in-nodejs.*.js (New) 4.12kB 4.12kB 100.0% 🚀
docs_get-started_why-we-started-this-project.*.js (New) 3.94kB 3.94kB 100.0% 🚀
docs_get-started_ignore-files.*.js (New) 3.55kB 3.55kB 100.0% 🚀
docs_further-reading_guides-on-llvm-clang-format.*.js (New) 2.61kB 2.61kB 100.0% 🚀
docs_get-started_q-and-a.*.js (New) 2.56kB 2.56kB 100.0% 🚀
docs_community_versioning.*.js (New) 2.28kB 2.28kB 100.0% 🚀
docs_community_license.*.js (New) 2.12kB 2.12kB 100.0% 🚀
docs_community_change-log.*.js (New) 1.42kB 1.42kB 100.0% 🚀
plugin-vue_export-helper.*.js (New) 191 bytes 191 bytes 100.0% 🚀
package.json (New) 37 bytes 37 bytes 100.0% 🚀
assets/inter-italic-latin-ext.*.woff2 (Deleted) -120.84kB 0 bytes -100.0% 🗑️
assets/inter-roman-latin-ext.*.woff2 (Deleted) -110.16kB 0 bytes -100.0% 🗑️
assets/chunks/framework.DlaMfP64.js (Deleted) -106.95kB 0 bytes -100.0% 🗑️
assets/chunks/@localSearchIndexroot.BD0CKLWP.js (Deleted) -93.04kB 0 bytes -100.0% 🗑️
assets/inter-italic-latin.*.woff2 (Deleted) -74.78kB 0 bytes -100.0% 🗑️
assets/inter-roman-latin.*.woff2 (Deleted) -67.79kB 0 bytes -100.0% 🗑️
assets/chunks/VPLocalSearchBox.D2nU_fBT.js (Deleted) -61.66kB 0 bytes -100.0% 🗑️
assets/chunks/theme.DgD1PxvS.js (Deleted) -53.55kB 0 bytes -100.0% 🗑️
assets/inter-italic-cyrillic-ext.*.woff2 (Deleted) -43.11kB 0 bytes -100.0% 🗑️
assets/inter-roman-cyrillic-ext.*.woff2 (Deleted) -40.49kB 0 bytes -100.0% 🗑️
assets/inter-italic-greek.*.woff2 (Deleted) -32.56kB 0 bytes -100.0% 🗑️
assets/inter-italic-cyrillic.*.woff2 (Deleted) -31.3kB 0 bytes -100.0% 🗑️
assets/docs_get-started_introduction.md.CD1w5h3D.js (Deleted) -30.69kB 0 bytes -100.0% 🗑️
assets/inter-roman-greek.*.woff2 (Deleted) -29.92kB 0 bytes -100.0% 🗑️
assets/inter-roman-cyrillic.*.woff2 (Deleted) -29.16kB 0 bytes -100.0% 🗑️
assets/docs_get-started_configuration.md.CIcQA62P.js (Deleted) -22.97kB 0 bytes -100.0% 🗑️
assets/docs_get-started_cli.md.ciD0POE8.js (Deleted) -22.09kB 0 bytes -100.0% 🗑️
assets/docs_get-started_installation.md.BW4UifKA.js (Deleted) -20.26kB 0 bytes -100.0% 🗑️
assets/inter-italic-greek-ext.*.woff2 (Deleted) -17.4kB 0 bytes -100.0% 🗑️
assets/inter-roman-greek-ext.*.woff2 (Deleted) -16.27kB 0 bytes -100.0% 🗑️
assets/docs_apis_clang-format-node.md.lsT92_-J.js (Deleted) -15.86kB 0 bytes -100.0% 🗑️
assets/docs_apis_clang-format-git.md.CfCdLErS.js (Deleted) -15.71kB 0 bytes -100.0% 🗑️
assets/inter-italic-vietnamese.*.woff2 (Deleted) -14.88kB 0 bytes -100.0% 🗑️
assets/inter-roman-vietnamese.*.woff2 (Deleted) -14.07kB 0 bytes -100.0% 🗑️
assets/docs_apis_clang-format-git-python.md.98gdRG99.js (Deleted) -12.34kB 0 bytes -100.0% 🗑️
assets/docs_get-started_index.md.Dmjrl6aX.js (Deleted) -11.2kB 0 bytes -100.0% 🗑️
assets/docs_further-reading_difference-between-exit-0-and-true.md.Bxb_9g4R.js (Deleted) -9.75kB 0 bytes -100.0% 🗑️
assets/docs_get-started_supported.md.CSFCNNVR.js (Deleted) -9.14kB 0 bytes -100.0% 🗑️
assets/index.md.Bpldj72G.js (Deleted) -8.3kB 0 bytes -100.0% 🗑️
assets/index.md.Bpldj72G.lean.js (Deleted) -8.3kB 0 bytes -100.0% 🗑️
assets/docs_community_code-of-conduct.md.CWDTzFvw.js (Deleted) -8.28kB 0 bytes -100.0% 🗑️
assets/docs_community_contributing.md.CQgoPZVu.js (Deleted) -7.25kB 0 bytes -100.0% 🗑️
assets/docs_get-started_use-with-husky-and-lint-staged.md.Cc5nwZj3.js (Deleted) -5.9kB 0 bytes -100.0% 🗑️
assets/docs_further-reading_build-process.md.Bd7_On0j.js (Deleted) -5.83kB 0 bytes -100.0% 🗑️
assets/docs_community_security.md.CfJxpVku.js (Deleted) -5.34kB 0 bytes -100.0% 🗑️
assets/docs_blog_v1.2.0.md.CM1rdH6v.js (Deleted) -4.88kB 0 bytes -100.0% 🗑️
assets/docs_get-started_migration-from-angular-clang-format.md.DY4BkAVB.js (Deleted) -4.5kB 0 bytes -100.0% 🗑️
assets/docs_further-reading_about-os-platform-and-os-arch-in-nodejs.md.2Z05HywC.js (Deleted) -3.49kB 0 bytes -100.0% 🗑️
assets/docs_get-started_why-we-started-this-project.md.XBHzJtdC.js (Deleted) -3.34kB 0 bytes -100.0% 🗑️
assets/docs_get-started_ignore-files.md.CG0WcnRZ.js (Deleted) -2.99kB 0 bytes -100.0% 🗑️
assets/docs_get-started_q-and-a.md.BtQVlmGC.js (Deleted) -2.02kB 0 bytes -100.0% 🗑️
assets/docs_further-reading_guides-on-llvm-clang-format.md.BfEOwjo_.js (Deleted) -2.01kB 0 bytes -100.0% 🗑️
assets/docs_community_versioning.md.DJVdBmXO.js (Deleted) -1.73kB 0 bytes -100.0% 🗑️
assets/docs_community_license.md.aMNjg_ht.js (Deleted) -1.6kB 0 bytes -100.0% 🗑️
assets/docs_community_license.md.aMNjg_ht.lean.js (Deleted) -1.6kB 0 bytes -100.0% 🗑️
assets/docs_get-started_use-with-husky-and-lint-staged.md.Cc5nwZj3.lean.js (Deleted) -1.49kB 0 bytes -100.0% 🗑️
assets/app.BMHrsFDD.js (Deleted) -1.35kB 0 bytes -100.0% 🗑️
assets/docs_further-reading_difference-between-exit-0-and-true.md.Bxb_9g4R.lean.js (Deleted) -1.16kB 0 bytes -100.0% 🗑️
assets/docs_get-started_migration-from-angular-clang-format.md.DY4BkAVB.lean.js (Deleted) -978 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_why-we-started-this-project.md.XBHzJtdC.lean.js (Deleted) -978 bytes 0 bytes -100.0% 🗑️
assets/docs_community_change-log.md.CWxZjHWA.js (Deleted) -906 bytes 0 bytes -100.0% 🗑️
assets/docs_community_change-log.md.CWxZjHWA.lean.js (Deleted) -906 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_index.md.Dmjrl6aX.lean.js (Deleted) -841 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_installation.md.BW4UifKA.lean.js (Deleted) -840 bytes 0 bytes -100.0% 🗑️
assets/docs_further-reading_about-os-platform-and-os-arch-in-nodejs.md.2Z05HywC.lean.js (Deleted) -826 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_supported.md.CSFCNNVR.lean.js (Deleted) -810 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_introduction.md.CD1w5h3D.lean.js (Deleted) -779 bytes 0 bytes -100.0% 🗑️
assets/docs_community_versioning.md.DJVdBmXO.lean.js (Deleted) -765 bytes 0 bytes -100.0% 🗑️
assets/docs_blog_v1.2.0.md.CM1rdH6v.lean.js (Deleted) -756 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_ignore-files.md.CG0WcnRZ.lean.js (Deleted) -737 bytes 0 bytes -100.0% 🗑️
assets/docs_further-reading_guides-on-llvm-clang-format.md.BfEOwjo_.lean.js (Deleted) -729 bytes 0 bytes -100.0% 🗑️
assets/docs_further-reading_build-process.md.Bd7_On0j.lean.js (Deleted) -721 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_configuration.md.CIcQA62P.lean.js (Deleted) -690 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_cli.md.ciD0POE8.lean.js (Deleted) -674 bytes 0 bytes -100.0% 🗑️
assets/docs_get-started_q-and-a.md.BtQVlmGC.lean.js (Deleted) -559 bytes 0 bytes -100.0% 🗑️
assets/docs_community_code-of-conduct.md.CWDTzFvw.lean.js (Deleted) -501 bytes 0 bytes -100.0% 🗑️
assets/docs_apis_clang-format-git-python.md.98gdRG99.lean.js (Deleted) -497 bytes 0 bytes -100.0% 🗑️
assets/docs_apis_clang-format-node.md.lsT92_-J.lean.js (Deleted) -473 bytes 0 bytes -100.0% 🗑️
assets/docs_apis_clang-format-git.md.CfCdLErS.lean.js (Deleted) -469 bytes 0 bytes -100.0% 🗑️
assets/docs_community_contributing.md.CQgoPZVu.lean.js (Deleted) -468 bytes 0 bytes -100.0% 🗑️
assets/docs_community_security.md.CfJxpVku.lean.js (Deleted) -452 bytes 0 bytes -100.0% 🗑️

Copy link

codecov bot commented Mar 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a671a0d) to head (837735c).

@@            Coverage Diff            @@
##              main      #286   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          439       439           
=========================================
  Hits           439       439           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a671a0d...837735c. Read the comment docs.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lumirlumir lumirlumir merged commit 410ed11 into main Mar 20, 2025
41 checks passed
@lumirlumir lumirlumir deleted the chore-website-update-package-json-and-rename-mjs-to-js branch March 20, 2025 11:17
lumirlumir added a commit that referenced this pull request Apr 2, 2025
…ch`) (#297)

## Release Information: `v1.3.3`

New release of `lumirlumir/npm-clang-format-node` has arrived! 🎉

This PR bumps the package versions from `v1.3.2` to `v1.3.3` (`patch`).

See
[Actions](https://github.com/lumirlumir/npm-clang-format-node/actions/runs/14215733817)
for more details.

| Info        | Value                      |
| ----------- | -------------------------- |
| Repository  | `lumirlumir/npm-clang-format-node` |
| SEMVER      | `patch`     |
| Pre ID      | `canary`      |
| Short SHA   | ed550b4       |
| Old Version | `v1.3.2`  |
| New Version | `v1.3.3`  |

<!-- Release notes generated using configuration in .github/release.yml
at main -->

## What's Changed
### 🧰 Chores
* chore(sync-server): update `lint-staged.config.js` by @lumirlumir in
#259
* chore(sync-server): update `.editorconfig` `max_line_length` to
`100000` by @lumirlumir in
#260
* chore(website): add Codecov Vite plugin and update related configs for
bundle analyzing by @lumirlumir in
#266
* chore(website): conditionally enable bundle analysis in Codecov Vite
plugin by @lumirlumir in
#267
* chore(sync-server): update `.markdownlint.json` by @lumirlumir in
#272
* chore(sync-server): update ESLint config and lint-staged to support
markdown linting by @lumirlumir in
#275
* chore(sync-server): update `FUNDING.yml` by @lumirlumir in
#285
* chore(website): update `package.json` and rename `.mjs` to `.js` by
@lumirlumir in
#286
* chore(sync-server): update root level configuration files and fix
typos by @lumirlumir in
#293
* chore(*): update `tsconfig.json` by @lumirlumir in
#296
### 🔄 Continuous Integrations
* ci(sync-server): add permissions to read contents in `lint.yml` and
`test.yml` workflows by @lumirlumir in
#256
* ci(sync-server): add permissions to `pull-request.yml` and
`sync-client.yml` by @lumirlumir in
#257
* ci(*): add read permissions to `test-cross-platform.yml` by
@lumirlumir in
#258
* ci(*): update `llvm-build-bump-pr.yml` to add `permissions` and
disable `fail-fast` strategy by @lumirlumir in
#264
* ci(*): update `llvm-build-bump-pr.yml` to enhance permissions and add
build provenance attestations by @lumirlumir in
#265
* ci(*): create `release.yml` by @lumirlumir in
#281
### 📝 Documentation
* docs(*): delete maintainability badge from `README.md` by @lumirlumir
in #287
### ⬆️ Dependency Updates
* chore(deps-dev): bump typescript from 5.7.3 to 5.8.2 by @dependabot in
#252
* chore(deps-dev): bump prettier from 3.5.2 to 3.5.3 by @dependabot in
#253
* chore(deps-dev): bump @types/node from 22.13.5 to 22.13.8 by
@dependabot in
#251
* chore(deps-dev): bump lerna from 8.2.0 to 8.2.1 by @dependabot in
#254
* chore(deps-dev): bump @types/node from 22.13.8 to 22.13.9 by
@dependabot in
#255
* chore(deps-dev): bump @types/node from 22.13.9 to 22.13.10 by
@dependabot in
#261
* chore(deps-dev): bump eslint from 9.21.0 to 9.22.0 by @dependabot in
#262
* chore(deps): bump axios from 1.7.7 to 1.8.2 in the npm_and_yarn group
across 1 directory by @dependabot in
#263
* chore(deps-dev): bump @babel/core from 7.26.9 to 7.26.10 in the babel
group across 1 directory by @dependabot in
#268
* chore(deps-dev): bump textlint from 14.4.2 to 14.5.0 by @dependabot in
#270
* chore(deps-dev): bump vitepress-plugin-group-icons from 1.3.6 to 1.3.7
by @dependabot in
#269
* chore(deps-dev): bump eslint-config-bananass from 0.0.5 to 0.0.6 in
the bananass group across 1 directory by @dependabot in
#273
* chore(deps-dev): bump lint-staged from 15.4.3 to 15.5.0 by @dependabot
in #274
* chore(deps): bump shx from 0.3.4 to 0.4.0 by @dependabot in
#276
* chore(deps-dev): bump vitepress-plugin-group-icons from 1.3.7 to 1.3.8
by @dependabot in
#282
* chore(deps-dev): bump textlint-rule-allowed-uris from 1.0.8 to 1.0.9
by @dependabot in
#283
* chore(deps-dev): bump eslint from 9.22.0 to 9.23.0 by @dependabot in
#289
* chore(deps-dev): bump @types/node from 22.13.10 to 22.13.11 by
@dependabot in
#288
* chore(deps-dev): bump @babel/cli from 7.26.4 to 7.27.0 in the babel
group across 1 directory by @dependabot in
#291
* chore(deps-dev): bump @types/node from 22.13.11 to 22.13.13 by
@dependabot in
#290
* chore(deps-dev): bump @types/node from 22.13.13 to 22.13.14 by
@dependabot in
#292
* chore(deps-dev): bump textlint from 14.5.0 to 14.6.0 by @dependabot in
#294
* chore(deps-dev): bump @types/node from 22.13.14 to 22.13.17 by
@dependabot in
#295


**Full Changelog**:
v1.3.2...v1.3.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ scope: website Auto-generated label based on Conventional Commits specification for GitHub release notes 🏷️ type: chore Auto-generated label based on Conventional Commits specification for GitHub release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy