From 3d33296741d7958f3b50ee6909bce19eb83d1d98 Mon Sep 17 00:00:00 2001
From: tamaina <tamaina@hotmail.co.jp>
Date: Mon, 30 May 2022 05:53:36 +0000
Subject: [PATCH 1/3] chore: remove packages/sw/webpack.config.js

---
 packages/sw/webpack.config.js | 71 -----------------------------------
 1 file changed, 71 deletions(-)
 delete mode 100644 packages/sw/webpack.config.js

diff --git a/packages/sw/webpack.config.js b/packages/sw/webpack.config.js
deleted file mode 100644
index a4bcf96dd..000000000
--- a/packages/sw/webpack.config.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * webpack configuration
- */
-
-const fs = require('fs');
-const webpack = require('webpack');
-
-class WebpackOnBuildPlugin {
-	constructor(callback) {
-		this.callback = callback;
-	}
-
-	apply(compiler) {
-		compiler.hooks.done.tap('WebpackOnBuildPlugin', this.callback);
-	}
-}
-
-const isProduction = process.env.NODE_ENV === 'production';
-
-const locales = require('../../locales');
-const meta = require('../../package.json');
-
-module.exports = {
-	target: 'webworker',
-	entry: {
-		['sw-lib']: './src/lib.ts'
-	},
-	module: {
-		rules: [{
-			test: /\.ts$/,
-			exclude: /node_modules/,
-			use: [{
-				loader: 'ts-loader',
-				options: {
-					happyPackMode: true,
-					transpileOnly: true,
-					configFile: __dirname + '/tsconfig.json',
-				}
-			}]
-		}]
-	},
-	plugins: [
-		new webpack.ProgressPlugin({}),
-		new webpack.DefinePlugin({
-			_VERSION_: JSON.stringify(meta.version),
-			_LANGS_: JSON.stringify(Object.entries(locales).map(([k, v]) => [k, v._lang_])),
-			_ENV_: JSON.stringify(process.env.NODE_ENV),
-			_DEV_: process.env.NODE_ENV !== 'production',
-			_PERF_PREFIX_: JSON.stringify('Misskey:'),
-		}),
-	],
-	output: {
-		path: __dirname + '/../../built/_sw_dist_',
-		filename: `[name].js`,
-		publicPath: `/`,
-		pathinfo: false,
-	},
-	resolve: {
-		extensions: [
-			'.js', '.ts', '.json'
-		],
-		alias: {
-			'@': __dirname + '/src/',
-		}
-	},
-	resolveLoader: {
-		modules: ['node_modules']
-	},
-	devtool: false, //'source-map',
-	mode: isProduction ? 'production' : 'development'
-};

From d1a90695a2491141f000d110d64f4b01b89c24d9 Mon Sep 17 00:00:00 2001
From: tamaina <tamaina@hotmail.co.jp>
Date: Mon, 30 May 2022 12:09:22 +0000
Subject: [PATCH 2/3] chore: fix import tinycolor

---
 packages/client/src/pages/settings/drive.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/client/src/pages/settings/drive.vue b/packages/client/src/pages/settings/drive.vue
index f235ace7c..09a2537ed 100644
--- a/packages/client/src/pages/settings/drive.vue
+++ b/packages/client/src/pages/settings/drive.vue
@@ -35,7 +35,7 @@
 
 <script lang="ts" setup>
 import { computed, defineExpose, ref } from 'vue';
-import * as tinycolor from 'tinycolor2';
+import tinycolor from 'tinycolor2';
 import FormLink from '@/components/form/link.vue';
 import FormSwitch from '@/components/form/switch.vue';
 import FormSection from '@/components/form/section.vue';

From 7261baa7dc8ae7f584ef846efb2999c9dcb8711c Mon Sep 17 00:00:00 2001
From: Andreas Nedbal <github-bf215181b5140522137b3d4f6b73544a@desu.email>
Date: Tue, 31 May 2022 04:38:52 +0200
Subject: [PATCH 3/3] chore(meta): label Pull Requests containing tests (#8768)

---
 .github/labeler.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/labeler.yml b/.github/labeler.yml
index dff393557..98f1d2e38 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -4,5 +4,9 @@
 '🖥️Client':
 - packages/client/**/*
 
+'🧪Test':
+- cypress/**/*
+- packages/backend/test/**/*
+
 '‼️ wrong locales':
 - any: ['locales/*.yml', '!locales/ja-JP.yml']