From 56cebf6cc5d724eae176cad5b81d36cf7e60715c Mon Sep 17 00:00:00 2001 From: Viktor Luft Date: Mon, 23 Sep 2024 23:00:06 +0200 Subject: [PATCH 1/2] component-type-helpers: Remove side effects --- packages/component-type-helpers/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/component-type-helpers/package.json b/packages/component-type-helpers/package.json index d535f38860..6e12b47cf1 100644 --- a/packages/component-type-helpers/package.json +++ b/packages/component-type-helpers/package.json @@ -6,6 +6,7 @@ "**/*.js", "**/*.d.ts" ], + "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git", From 16ca1fd78fdac002e698bcb0e2c4ed766c5bddf3 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Wed, 23 Oct 2024 15:15:10 +0800 Subject: [PATCH 2/2] Fill sideEffects flags --- packages/component-meta/package.json | 1 + packages/language-core/package.json | 1 + packages/language-plugin-pug/package.json | 1 + packages/language-server/package.json | 1 + packages/language-service/package.json | 1 + packages/tsc/package.json | 1 + packages/typescript-plugin/package.json | 1 + 7 files changed, 7 insertions(+) diff --git a/packages/component-meta/package.json b/packages/component-meta/package.json index c8b8c86654..56b3bc84af 100644 --- a/packages/component-meta/package.json +++ b/packages/component-meta/package.json @@ -6,6 +6,7 @@ "**/*.js", "**/*.d.ts" ], + "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git", diff --git a/packages/language-core/package.json b/packages/language-core/package.json index 3a5e53bbb3..a31f2a82d7 100644 --- a/packages/language-core/package.json +++ b/packages/language-core/package.json @@ -6,6 +6,7 @@ "**/*.js", "**/*.d.ts" ], + "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git", diff --git a/packages/language-plugin-pug/package.json b/packages/language-plugin-pug/package.json index cbdbfe93a9..73605432cb 100644 --- a/packages/language-plugin-pug/package.json +++ b/packages/language-plugin-pug/package.json @@ -6,6 +6,7 @@ "**/*.js", "**/*.d.ts" ], + "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git", diff --git a/packages/language-server/package.json b/packages/language-server/package.json index cef2293f01..0b2453e039 100644 --- a/packages/language-server/package.json +++ b/packages/language-server/package.json @@ -9,6 +9,7 @@ "bin": { "vue-language-server": "./bin/vue-language-server.js" }, + "sideEffects": true, "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git", diff --git a/packages/language-service/package.json b/packages/language-service/package.json index cb0d3f62e2..7906fe5889 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -7,6 +7,7 @@ "**/*.js", "**/*.d.ts" ], + "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git", diff --git a/packages/tsc/package.json b/packages/tsc/package.json index b000370ba2..a0a682a645 100644 --- a/packages/tsc/package.json +++ b/packages/tsc/package.json @@ -7,6 +7,7 @@ "**/*.js", "**/*.d.ts" ], + "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git", diff --git a/packages/typescript-plugin/package.json b/packages/typescript-plugin/package.json index 691e1dfde7..4d0b4f7bb3 100644 --- a/packages/typescript-plugin/package.json +++ b/packages/typescript-plugin/package.json @@ -6,6 +6,7 @@ "**/*.js", "**/*.d.ts" ], + "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git",