You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2021/02/24 09:52:55 UTC

[myfaces-tobago] 02/03: build(npm): fix production mode resources and source maps switch to eslint rollup is creating the tobago.js from typescript source directly

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

bommel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit ca318697dbc32964415ca3354fd2c66152e04cea
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Tue Feb 23 14:30:41 2021 +0100

    build(npm): fix production mode resources and source maps
    switch to eslint
    rollup is creating the tobago.js from typescript source directly
---
 pom.xml                                             |  1 +
 tobago-example/pom.xml                              |  6 ------
 tobago-theme/tobago-theme-standard/npm/.eslintrc.js | 17 +++++++++++++++++
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3b455de..5b65b0c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -984,6 +984,7 @@
               <exclude>npm/node_modules/**/*</exclude>
               <exclude>npm/dist/**/*</exclude>
 
+              <exclude>**/.eslintignore</exclude>
             </excludes>
           </configuration>
         </plugin>
diff --git a/tobago-example/pom.xml b/tobago-example/pom.xml
index 37f7995..03680c3 100644
--- a/tobago-example/pom.xml
+++ b/tobago-example/pom.xml
@@ -419,12 +419,6 @@
           <artifactId>jakarta.enterprise.cdi-api</artifactId>
           <scope>compile</scope>
         </dependency>
-        <!-- this enables the development mode -->
-        <!--dependency>
-          <groupId>org.apache.myfaces.tobago</groupId>
-          <artifactId>tobago-config-dev</artifactId>
-          <version>${tobago.version}</version>
-        </dependency-->
       </dependencies>
     </profile>
 
diff --git a/tobago-theme/tobago-theme-standard/npm/.eslintrc.js b/tobago-theme/tobago-theme-standard/npm/.eslintrc.js
index c7c4b81..dcdc5ac 100644
--- a/tobago-theme/tobago-theme-standard/npm/.eslintrc.js
+++ b/tobago-theme/tobago-theme-standard/npm/.eslintrc.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.
+ */
+
 module.exports = {
   parser: '@typescript-eslint/parser',
   plugins: ['@typescript-eslint'],