This is an automated email from the ASF dual-hosted git repository.
robin0716 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-plugins.git
The following commit(s) were added to refs/heads/main by this push:
new 34a3b58 chore: add Apache License header to global.d.ts, info.yaml,
and vite.config.ts
34a3b58 is described below
commit 34a3b5811bdbe74d34fcf83e3b5c5ae9d7cfc3b5
Author: robin <[email protected]>
AuthorDate: Thu Dec 25 12:32:04 2025 +0800
chore: add Apache License header to global.d.ts, info.yaml, and
vite.config.ts
---
editor-stacks/global.d.ts | 18 ++++++++++++++++++
editor-stacks/info.yaml | 17 +++++++++++++++++
editor-stacks/vite.config.ts | 19 +++++++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/editor-stacks/global.d.ts b/editor-stacks/global.d.ts
index 4f8dea6..e3770b4 100644
--- a/editor-stacks/global.d.ts
+++ b/editor-stacks/global.d.ts
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
declare module '*.css?raw' {
const content: string;
export default content;
diff --git a/editor-stacks/info.yaml b/editor-stacks/info.yaml
index d9044ac..b8dd7f8 100644
--- a/editor-stacks/info.yaml
+++ b/editor-stacks/info.yaml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
slug_name: editor_stacks
type: editor_replacement
registrationMode: singleton
diff --git a/editor-stacks/vite.config.ts b/editor-stacks/vite.config.ts
index 2f00b15..baeb8cc 100644
--- a/editor-stacks/vite.config.ts
+++ b/editor-stacks/vite.config.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import cssInjectedByJsPlugin from "vite-plugin-css-injected-by-js";