Skip to content

refactor: update major #377

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
merged 19 commits into from
Jun 9, 2023
Merged

refactor: update major #377

merged 19 commits into from
Jun 9, 2023

Conversation

dargmuesli
Copy link
Contributor

@dargmuesli dargmuesli commented May 31, 2023

  • update dependencies with major version updates available, migrating glob
  • migrate vuepress to vitepress

@dargmuesli dargmuesli marked this pull request as draft May 31, 2023 04:46
@dargmuesli dargmuesli changed the title chore: update major chore: migrate to esm May 31, 2023
@dargmuesli dargmuesli changed the title chore: migrate to esm refactor: migrate to esm May 31, 2023
@dargmuesli dargmuesli changed the title refactor: migrate to esm refactor: update major May 31, 2023
@dargmuesli dargmuesli marked this pull request as ready for review May 31, 2023 21:57
@dargmuesli
Copy link
Contributor Author

@ota-meshi I think this PR is pretty much ready. But I do not understand why the documentation build fails on Netlify. Maybe you can help me: https://app.netlify.com/sites/heuristic-haibt-5d042e/deploys/6477c19ee446090008dc8d65#L155 🙏

@ota-meshi
Copy link
Member

Thank you for great work!
I'll try to find out what the problem is when I have time 👀

@ota-meshi
Copy link
Member

Hmm. My local build seems to succeed. The version of Node is probably not the cause of the failure either. Maybe it's because of cache.
@kazupon Could you please clear cache and re-run?

@ota-meshi ota-meshi added the Type: Maintenance Repository Maintenance label Jun 8, 2023
@kazupon
Copy link
Member

kazupon commented Jun 8, 2023

Hmm, I've re-run netlify build, but I met the build error
https://app.netlify.com/sites/heuristic-haibt-5d042e/deploys/6481e162abb2ee00b44181d2

11:11:26 PM: tip Apply theme @vuepress/theme-default ...
11:11:26 PM: tip Apply plugin container (i.e. "vuepress-plugin-container") ...
11:11:26 PM: tip Apply plugin @vuepress/last-updated (i.e. "@vuepress/plugin-last-updated") ...
11:11:26 PM: tip Apply plugin @vuepress/register-components (i.e. "@vuepress/plugin-register-components") ...
11:11:26 PM: tip Apply plugin @vuepress/active-header-links (i.e. "@vuepress/plugin-active-header-links") ...
11:11:26 PM: tip Apply plugin @vuepress/search (i.e. "@vuepress/plugin-search") ...
11:11:26 PM: tip Apply plugin @vuepress/nprogress (i.e. "@vuepress/plugin-nprogress") ...
11:11:27 PM: Error: Cannot find module 'esquery/dist/esquery'
11:11:27 PM: Require stack:
11:11:27 PM: - /opt/build/repo/docs/.vuepress/config.js
11:11:27 PM: - /opt/build/repo/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vuepress/core/lib/node/loadConfig.js
11:11:27 PM: - /opt/build/repo/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vuepress/core/lib/node/App.js
11:11:27 PM: - /opt/build/repo/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vuepress/core/lib/index.js
11:11:27 PM: - /opt/build/repo/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/vuepress/lib/registerCoreCommands.js
11:11:27 PM: - /opt/build/repo/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/vuepress/cli.js
11:11:27 PM:     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1070:15)
11:11:27 PM:     at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/opt/build/repo/node_modules/.pnpm/@[email protected]/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
11:11:27 PM:     at Function.resolve (node:internal/modules/helpers:127:19)
11:11:27 PM:     at configureWebpack (/opt/build/repo/docs/.vuepress/config.js:33:29)
11:11:27 PM:     at exports.applyUserWebpackConfig (/opt/build/repo/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vuepress/core/lib/node/util/index.js:38:17)
11:11:27 PM:     at Build.prepareWebpackConfig (/opt/build/repo/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vuepress/core/lib/node/build/index.js:133:27)
11:11:27 PM:     at Build.process (/opt/build/repo/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vuepress/core/lib/node/build/index.js:43:10)
11:11:27 PM:     at async App.build (/opt/build/repo/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@vuepress/core/lib/node/App.js:498:5)

I seem that that error is occured by vuepress deps

@dargmuesli
Copy link
Contributor Author

.. I think I fixed the build? 😅 Reviews welcome! ❤️

docs/rules.md Outdated
@@ -0,0 +1,40 @@
# Available Rules
Copy link
Member

Choose a reason for hiding this comment

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

I think the url for this file has changed.
I think we should probably change it to docs/rules/index.md.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed! 🙌

<!--prettier-ignore-->
| Rule ID | Description | |
|:--------|:------------|:---|
| [@intlify/vue-i18n/<wbr>no-deprecated-i18n-component](./rules/no-deprecated-i18n-component.html) | disallow using deprecated `<i18n>` components (in Vue I18n 9.0.0+) | :black_nib: |
Copy link
Member

Choose a reason for hiding this comment

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

I think we probably need to change the path as well.

Suggested change
| [@intlify/vue-i18n/<wbr>no-deprecated-i18n-component](./rules/no-deprecated-i18n-component.html) | disallow using deprecated `<i18n>` components (in Vue I18n 9.0.0+) | :black_nib: |
| [@intlify/vue-i18n/<wbr>no-deprecated-i18n-component](./no-deprecated-i18n-component.html) | disallow using deprecated `<i18n>` components (in Vue I18n 9.0.0+) | :black_nib: |

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done :)

Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

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

Thank you!

@ota-meshi ota-meshi merged commit 73edd91 into intlify:master Jun 9, 2023
@dargmuesli dargmuesli deleted the chore/major branch June 10, 2023 16:03
ota-meshi added a commit that referenced this pull request Oct 2, 2023
* chore(deps): Make import-fresh a proper dependency

This is not a devDependency, because it's used in regular code in lib/utils/collect-keys.ts. This seems like an oversight in #377.

* Create ten-insects-deny.md

---------

Co-authored-by: Yosuke Ota <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Repository Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants