Skip to content
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

[HOLD] workflow: move private packages to separate directory #11520

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

yyx990803
Copy link
Member

Also addes a vite-debug package for debugging Vite plugin specific issues.

This changes the root directory of both sfc-playground and template-explorer. Since vercel / netlify cannot conditionally specify root dir based on branch, we will have to wait until we move minor to main after 3.5 release before merging this.

@yyx990803 yyx990803 changed the title [HOLD] workflow: separate private packages to separate directory [HOLD] workflow: move private packages to separate directory Aug 6, 2024
@yyx990803 yyx990803 marked this pull request as draft August 6, 2024 06:42
Copy link

github-actions bot commented Aug 6, 2024

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 97.6 kB (+7.46 kB) 37.1 kB (+2.52 kB) 33.3 kB (+2.21 kB)
vue.global.prod.js 155 kB (+8.43 kB) 56.8 kB (+2.8 kB) 50.6 kB (+2.51 kB)

Usages

Name Size Gzip Brotli
createApp 53.9 kB (+4.23 kB) 20.9 kB (+1.4 kB) 19 kB (+1.24 kB)
createSSRApp 57.8 kB (+4.61 kB) 22.5 kB (+1.54 kB) 20.5 kB (+1.36 kB)
defineCustomElement 57.4 kB (+5.54 kB) 22 kB (+1.82 kB) 20.1 kB (+1.65 kB)
overall 67.4 kB (+4.28 kB) 25.9 kB (+1.41 kB) 23.6 kB (+1.34 kB)

@@ -30,12 +30,13 @@
"include": [
"packages/global.d.ts",
"packages/*/src",
"packages-private/*/src",
Copy link
Member

Choose a reason for hiding this comment

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

It’s a good idea to create a separate tsconfig for packages-private instead of using the one in the root directory. This way, we’ll have more control over setting the target to esnext.

Copy link
Member

Choose a reason for hiding this comment

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

image

@yyx990803 yyx990803 changed the base branch from minor to main August 11, 2024 23:38
@yyx990803 yyx990803 force-pushed the separate-private-packages branch from ed8754c to da49894 Compare August 11, 2024 23:57
@yyx990803 yyx990803 marked this pull request as ready for review August 11, 2024 23:58
Copy link

netlify bot commented Aug 11, 2024

Deploy Preview for vue-sfc-playground failed.

Name Link
🔨 Latest commit da49894
🔍 Latest deploy log https://app.netlify.com/sites/vue-sfc-playground/deploys/66b95006c250bd00080799b0

Copy link

netlify bot commented Aug 11, 2024

Deploy Preview for vue-next-template-explorer failed.

Name Link
🔨 Latest commit da49894
🔍 Latest deploy log https://app.netlify.com/sites/vue-next-template-explorer/deploys/66b95006f357a90008785e80

@yyx990803 yyx990803 merged commit 6a5b209 into main Aug 12, 2024
7 of 12 checks passed
@yyx990803 yyx990803 deleted the separate-private-packages branch August 12, 2024 00:02
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