From ae7bb05b7d43bc90918994ef21e4c59701cd3fe2 Mon Sep 17 00:00:00 2001 From: datavisorwenjiejiang Date: Sun, 21 Jan 2024 23:28:26 +0800 Subject: [PATCH] Add ASF header --- webui/.eslintrc.json | 19 +++++++++++++++++++ webui/next.config.mjs | 19 +++++++++++++++++++ webui/postcss.config.js | 19 +++++++++++++++++++ webui/src/app/globals.css | 19 +++++++++++++++++++ webui/src/app/layout.tsx | 19 +++++++++++++++++++ webui/src/app/page.tsx | 19 +++++++++++++++++++ webui/tailwind.config.ts | 19 +++++++++++++++++++ webui/tsconfig.json | 21 ++++++++++++++++++++- 8 files changed, 153 insertions(+), 1 deletion(-) diff --git a/webui/.eslintrc.json b/webui/.eslintrc.json index 4b2aefe8..11f49f7f 100644 --- a/webui/.eslintrc.json +++ b/webui/.eslintrc.json @@ -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. + */ + { "extends": "next/core-web-vitals", "rules": { diff --git a/webui/next.config.mjs b/webui/next.config.mjs index 4678774e..d3b5b416 100644 --- a/webui/next.config.mjs +++ b/webui/next.config.mjs @@ -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. + */ + /** @type {import('next').NextConfig} */ const nextConfig = {}; diff --git a/webui/postcss.config.js b/webui/postcss.config.js index 67cdf1a5..2def2553 100644 --- a/webui/postcss.config.js +++ b/webui/postcss.config.js @@ -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. + */ + module.exports = { plugins: { tailwindcss: {}, diff --git a/webui/src/app/globals.css b/webui/src/app/globals.css index 35574d30..bd5c251f 100644 --- a/webui/src/app/globals.css +++ b/webui/src/app/globals.css @@ -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. + */ + @tailwind base; @tailwind components; @tailwind utilities; diff --git a/webui/src/app/layout.tsx b/webui/src/app/layout.tsx index 45a28495..ec5e29da 100644 --- a/webui/src/app/layout.tsx +++ b/webui/src/app/layout.tsx @@ -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 type { Metadata } from "next"; import { Inter } from "next/font/google"; import "./globals.css"; diff --git a/webui/src/app/page.tsx b/webui/src/app/page.tsx index 0aef66c5..23a1068c 100644 --- a/webui/src/app/page.tsx +++ b/webui/src/app/page.tsx @@ -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 { Button } from "@mui/material"; import Image from "next/image"; diff --git a/webui/tailwind.config.ts b/webui/tailwind.config.ts index 1451e305..0305e162 100644 --- a/webui/tailwind.config.ts +++ b/webui/tailwind.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 type { Config } from "tailwindcss"; const config: Config = { diff --git a/webui/tsconfig.json b/webui/tsconfig.json index 68bce00b..0fd515fb 100644 --- a/webui/tsconfig.json +++ b/webui/tsconfig.json @@ -1,4 +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. + */ + + { "compilerOptions": { "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true,