This is an automated email from the ASF dual-hosted git repository.

jimin pushed a commit to branch 2.4.0
in repository https://gitbox.apache.org/repos/asf/incubator-seata.git


The following commit(s) were added to refs/heads/2.4.0 by this push:
     new 2b8e039786 optimize: fix some js resource missing license header 
(#7387)
2b8e039786 is described below

commit 2b8e0397863afd6bb88ce16f89776d28b3e206bc
Author: jsbxyyx <[email protected]>
AuthorDate: Fri May 30 10:17:03 2025 +0800

    optimize: fix some js resource missing license header (#7387)
---
 .../main/resources/static/console-fe/.editorconfig |  17 +++++++++++++++++
 .../main/resources/static/console-fe/.eslintignore |  19 ++++++++++++++++++-
 .../resources/static/console-fe/.prettierignore    |  19 ++++++++++++++++++-
 .../src/main/resources/static/console-fe/README.md |  17 +++++++++++++++++
 .../static/console-fe/public/img/favicon.ico       | Bin 4286 -> 165662 bytes
 .../resources/static/console-fe/test/.editorconfig |  17 +++++++++++++++++
 .../resources/static/console-fe/test/.gitignore    |  17 +++++++++++++++++
 .../resources/static/console-fe/test/README.md     |  21 +++++++++++++++++++--
 .../static/console-fe/test/commons/commons.md      |  19 ++++++++++++++++++-
 .../main/resources/static/console-fe/test/hosts    |  16 ++++++++++++++++
 .../test/sample/configurationManagement.spec.js    |  17 +++++++++++++++++
 .../console-fe/test/uploadfiles/uploadfiles.md     |  17 +++++++++++++++++
 .../seata-saga-statemachine-designer/.eslintignore |  17 +++++++++++++++++
 saga/seata-saga-statemachine-designer/.gitignore   |  17 +++++++++++++++++
 saga/seata-saga-statemachine-designer/README-zh.md |  17 +++++++++++++++++
 saga/seata-saga-statemachine-designer/README.md    |  17 +++++++++++++++++
 .../public/robots.txt                              |  17 +++++++++++++++++
 .../webpack.config.js                              |  17 +++++++++++++++++
 18 files changed, 293 insertions(+), 5 deletions(-)

diff --git a/console/src/main/resources/static/console-fe/.editorconfig 
b/console/src/main/resources/static/console-fe/.editorconfig
index 3331d70496..4344860a79 100644
--- a/console/src/main/resources/static/console-fe/.editorconfig
+++ b/console/src/main/resources/static/console-fe/.editorconfig
@@ -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.
+#
+
 # http://editorconfig.org
 root = true
 
diff --git a/console/src/main/resources/static/console-fe/.eslintignore 
b/console/src/main/resources/static/console-fe/.eslintignore
index 2a606840ed..71099b9355 100644
--- a/console/src/main/resources/static/console-fe/.eslintignore
+++ b/console/src/main/resources/static/console-fe/.eslintignore
@@ -1,6 +1,23 @@
+#
+# 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.
+#
+
 *.svg
 *.ejs
 .DS_Store
 build
 node_modules
-public
\ No newline at end of file
+public
diff --git a/console/src/main/resources/static/console-fe/.prettierignore 
b/console/src/main/resources/static/console-fe/.prettierignore
index 2a606840ed..71099b9355 100644
--- a/console/src/main/resources/static/console-fe/.prettierignore
+++ b/console/src/main/resources/static/console-fe/.prettierignore
@@ -1,6 +1,23 @@
+#
+# 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.
+#
+
 *.svg
 *.ejs
 .DS_Store
 build
 node_modules
-public
\ No newline at end of file
+public
diff --git a/console/src/main/resources/static/console-fe/README.md 
b/console/src/main/resources/static/console-fe/README.md
index 80e00703da..d32dd5f82f 100644
--- a/console/src/main/resources/static/console-fe/README.md
+++ b/console/src/main/resources/static/console-fe/README.md
@@ -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.
+-->
+
 # 开始项目
 ## cnpm 安装(可忽略)
 ```sh
diff --git 
a/console/src/main/resources/static/console-fe/public/img/favicon.ico 
b/console/src/main/resources/static/console-fe/public/img/favicon.ico
index 0439e0caea..998544e767 100644
Binary files 
a/console/src/main/resources/static/console-fe/public/img/favicon.ico and 
b/console/src/main/resources/static/console-fe/public/img/favicon.ico differ
diff --git a/console/src/main/resources/static/console-fe/test/.editorconfig 
b/console/src/main/resources/static/console-fe/test/.editorconfig
index 5a13b97d00..e3823f117c 100644
--- a/console/src/main/resources/static/console-fe/test/.editorconfig
+++ b/console/src/main/resources/static/console-fe/test/.editorconfig
@@ -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.
+#
+
 # EditorConfig helps developers define and maintain consistent
 # coding styles between different editors and IDEs
 # editorconfig.org
diff --git a/console/src/main/resources/static/console-fe/test/.gitignore 
b/console/src/main/resources/static/console-fe/test/.gitignore
index 704c683c51..f143cd99f0 100644
--- a/console/src/main/resources/static/console-fe/test/.gitignore
+++ b/console/src/main/resources/static/console-fe/test/.gitignore
@@ -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.
+#
+
 .DS_Store
 .idea
 node_modules
diff --git a/console/src/main/resources/static/console-fe/test/README.md 
b/console/src/main/resources/static/console-fe/test/README.md
index db1efe2c75..0cc24ba75d 100644
--- a/console/src/main/resources/static/console-fe/test/README.md
+++ b/console/src/main/resources/static/console-fe/test/README.md
@@ -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.
+-->
+
 ## 使用说明
 
 ### 安装依赖
@@ -30,11 +47,11 @@ npm run singletest sample/xxx.spec.js
 ```
 
 #### 并发测试
-```sh 
+```sh
 npm run paralleltest
 ```
 
 ### 查看报告
 ```sh
 open reports/index.html
-```
\ No newline at end of file
+```
diff --git 
a/console/src/main/resources/static/console-fe/test/commons/commons.md 
b/console/src/main/resources/static/console-fe/test/commons/commons.md
index 730f82ee0f..37cfa6cbd8 100644
--- a/console/src/main/resources/static/console-fe/test/commons/commons.md
+++ b/console/src/main/resources/static/console-fe/test/commons/commons.md
@@ -1 +1,18 @@
-Please save common test case here.
\ No newline at end of file
+<!--
+    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.
+-->
+
+Please save common test case here.
diff --git a/console/src/main/resources/static/console-fe/test/hosts 
b/console/src/main/resources/static/console-fe/test/hosts
index e69de29bb2..b1312a0905 100644
--- a/console/src/main/resources/static/console-fe/test/hosts
+++ b/console/src/main/resources/static/console-fe/test/hosts
@@ -0,0 +1,16 @@
+#
+# 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.
+#
diff --git 
a/console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js
 
b/console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js
index 7dd228c0b3..b5a9a4e092 100644
--- 
a/console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js
+++ 
b/console/src/main/resources/static/console-fe/test/sample/configurationManagement.spec.js
@@ -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.
+ */
+
 const fs = require('fs');
 const path = require('path');
 const chai = require('chai');
diff --git 
a/console/src/main/resources/static/console-fe/test/uploadfiles/uploadfiles.md 
b/console/src/main/resources/static/console-fe/test/uploadfiles/uploadfiles.md
index b9f2a65c2a..222d58cefe 100644
--- 
a/console/src/main/resources/static/console-fe/test/uploadfiles/uploadfiles.md
+++ 
b/console/src/main/resources/static/console-fe/test/uploadfiles/uploadfiles.md
@@ -1 +1,18 @@
+<!--
+    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.
+-->
+
 Please save upload files here.
diff --git a/saga/seata-saga-statemachine-designer/.eslintignore 
b/saga/seata-saga-statemachine-designer/.eslintignore
index 3dda1c9d00..6854c1471a 100644
--- a/saga/seata-saga-statemachine-designer/.eslintignore
+++ b/saga/seata-saga-statemachine-designer/.eslintignore
@@ -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.
+#
+
 es
 cjs
 dist
diff --git a/saga/seata-saga-statemachine-designer/.gitignore 
b/saga/seata-saga-statemachine-designer/.gitignore
index 60fc8df7a1..0e4dae9202 100644
--- a/saga/seata-saga-statemachine-designer/.gitignore
+++ b/saga/seata-saga-statemachine-designer/.gitignore
@@ -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.
+#
+
 /.idea/
 /.vscode/
 
diff --git a/saga/seata-saga-statemachine-designer/README-zh.md 
b/saga/seata-saga-statemachine-designer/README-zh.md
index 27466c3e01..8d614bc24b 100644
--- a/saga/seata-saga-statemachine-designer/README-zh.md
+++ b/saga/seata-saga-statemachine-designer/README-zh.md
@@ -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.
+-->
+
 # Seata Saga state machine designer
 
 由于旧版 Saga 状态机设计器的基座框架 ggeditor 不再维护,且 ggeditor 
暴露出来的漏洞较多,影响了项目整体安全性。所以我们采取重构状态机设计器的做法,并使用新框架 diagram-js 为基座构建新的设计器。本文档涵盖 
diagram-js 框架使用指南、设计器实现思路、代码结构等方面,旨在提供一个文档方便社区协作。
diff --git a/saga/seata-saga-statemachine-designer/README.md 
b/saga/seata-saga-statemachine-designer/README.md
index d79cc0101a..c73a8e46f6 100644
--- a/saga/seata-saga-statemachine-designer/README.md
+++ b/saga/seata-saga-statemachine-designer/README.md
@@ -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.
+-->
+
 # Seata Saga State Machine Designer
 
 Due to the discontinuation of maintenance for the old version of the Saga 
State Machine Designer's underlying framework, ggeditor, and the numerous 
vulnerabilities exposed by ggeditor, which affected the overall security of the 
project, we have chosen to refactor the State Machine Designer. We are using a 
new framework, diagram-js, as the foundation for building the new designer. 
This document covers aspects such as the usage guide for the diagram-js 
framework, the implementation approac [...]
diff --git a/saga/seata-saga-statemachine-designer/public/robots.txt 
b/saga/seata-saga-statemachine-designer/public/robots.txt
index e9e57dc4d4..ba92de9b38 100644
--- a/saga/seata-saga-statemachine-designer/public/robots.txt
+++ b/saga/seata-saga-statemachine-designer/public/robots.txt
@@ -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.
+#
+
 # https://www.robotstxt.org/robotstxt.html
 User-agent: *
 Disallow:
diff --git a/saga/seata-saga-statemachine-designer/webpack.config.js 
b/saga/seata-saga-statemachine-designer/webpack.config.js
index 04369f9497..f03f89a4c5 100644
--- a/saga/seata-saga-statemachine-designer/webpack.config.js
+++ b/saga/seata-saga-statemachine-designer/webpack.config.js
@@ -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.
+ */
+
 const CopyPlugin = require('copy-webpack-plugin');
 const MiniCssExtractPlugin = require('mini-css-extract-plugin');
 const HtmlWebpackPlugin = require('html-webpack-plugin');


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to