You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2025/11/23 03:39:47 UTC

(cordova-electron) branch master updated: chore: update release audit workflow & license headers & added npmrc (#294)

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

dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-electron.git


The following commit(s) were added to refs/heads/master by this push:
     new e125265  chore: update release audit workflow & license headers & added npmrc (#294)
e125265 is described below

commit e1252657e33911a773488a4c4b58a3319e5bdd43
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Sun Nov 23 12:39:43 2025 +0900

    chore: update release audit workflow & license headers & added npmrc (#294)
---
 .asf.yaml                           |  4 ++--
 .eslintignore                       | 19 ++++++++++++++++++-
 .eslintrc.yml                       |  4 ++--
 .gitattributes                      | 17 +++++++++++++++++
 .github/workflows/release-audit.yml | 10 +++++-----
 .gitignore                          | 17 +++++++++++++++++
 .npmignore                          | 17 +++++++++++++++++
 .asf.yaml => .npmrc                 | 10 +++-------
 .ratignore                          | 23 ++++++++++++++++++++---
 9 files changed, 101 insertions(+), 20 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 29a6c7c..916b61c 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -5,9 +5,9 @@
 # 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
diff --git a/.eslintignore b/.eslintignore
index 58c7c41..02a21e0 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,2 +1,19 @@
+# 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.
+
 bin/templates/platform_www/cordova.js
-tests/spec/fixtures/test-app-with-electron-plugin/
\ No newline at end of file
+tests/spec/fixtures/test-app-with-electron-plugin/
diff --git a/.eslintrc.yml b/.eslintrc.yml
index 0133d6f..ae20000 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -5,9 +5,9 @@
 # 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
diff --git a/.gitattributes b/.gitattributes
index f63e59a..bf43cf8 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -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.
+
 * text eol=lf
 
 # source code
diff --git a/.github/workflows/release-audit.yml b/.github/workflows/release-audit.yml
index a72a7f4..52798d4 100644
--- a/.github/workflows/release-audit.yml
+++ b/.github/workflows/release-audit.yml
@@ -36,8 +36,8 @@ jobs:
       # Checkout project
       - uses: actions/checkout@v6
 
-      # Check license headers (v1.2.0)
-      - uses: erisu/apache-rat-action@3127a8c18f3bb10e91c60e835144085b31c5c463
+      # Check license headers (v2.0.0)
+      - uses: erisu/apache-rat-action@46fb01ce7d8f76bdcd7ab10e7af46e1ea95ca01c
 
       # Setup environment with node
       - uses: actions/setup-node@v6
@@ -46,10 +46,10 @@ jobs:
 
       # Install node packages
       - name: npm install packages
-        run: npm i
+        run: npm ci
 
-      # Check node package licenses (v2.0.0)
-      - uses: erisu/license-checker-action@1c222d0c2f5898a4c40b8bd6fd6888650bd6f68a
+      # Check node package licenses (v2.0.1)
+      - uses: erisu/license-checker-action@99cffa11264fe545fd0baa6c13bca5a00ae608f2
         with:
           license-config: 'licence_checker.yml'
           include-asf-category-a: true
diff --git a/.gitignore b/.gitignore
index 5546d15..9374bd0 100644
--- a/.gitignore
+++ b/.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.
+
 # System files
 .DS_Store
 
diff --git a/.npmignore b/.npmignore
index a8088a4..409f3c9 100644
--- a/.npmignore
+++ b/.npmignore
@@ -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.
+
 # Config related files
 .*
 
diff --git a/.asf.yaml b/.npmrc
similarity index 77%
copy from .asf.yaml
copy to .npmrc
index 29a6c7c..7cff323 100644
--- a/.asf.yaml
+++ b/.npmrc
@@ -5,9 +5,9 @@
 # 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
@@ -15,8 +15,4 @@
 # specific language governing permissions and limitations
 # under the License.
 
-notifications:
-  commits:              commits@cordova.apache.org
-  issues:               issues@cordova.apache.org
-  pullrequests_status:  issues@cordova.apache.org
-  pullrequests_comment: issues@cordova.apache.org
+registry=https://registry.npmjs.org
diff --git a/.ratignore b/.ratignore
index 297de45..dc327fc 100644
--- a/.ratignore
+++ b/.ratignore
@@ -1,3 +1,20 @@
-\.(.*)
-coverage
-node_modules
+# 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.
+
+.git/
+coverage/
+node_modules/


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org