chore: update release audit workflow & license headers (#297)
diff --git a/.asf.yaml b/.asf.yaml
index a5c91ce..8bbdc16 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
@@ -15,6 +15,7 @@
# specific language governing permissions and limitations
# under the License.
+
github:
description: Apache Cordova JavaScript Bridge
homepage: https://cordova.apache.org/
diff --git a/.github/workflows/release-audit.yml b/.github/workflows/release-audit.yml
index 6d1c813..52798d4 100644
--- a/.github/workflows/release-audit.yml
+++ b/.github/workflows/release-audit.yml
@@ -34,22 +34,22 @@
runs-on: ubuntu-latest
steps:
# Checkout project
- - uses: actions/checkout@v4
+ - 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@v4
+ - uses: actions/setup-node@v6
with:
- node-version: 20
+ node-version: 24
# 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 a76a5ff..f3d4f31 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.
+
pkg/
tags
.DS_Store
diff --git a/.npmignore b/.npmignore
index 1ed9ebd..24df8bc 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.
+
.*
*.tgz
coverage
diff --git a/.npmrc b/.npmrc
new file mode 100644
index 0000000..7cff323
--- /dev/null
+++ b/.npmrc
@@ -0,0 +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.
+
+registry=https://registry.npmjs.org
diff --git a/.ratignore b/.ratignore
index 1075847..a298a05 100644
--- a/.ratignore
+++ b/.ratignore
@@ -1,4 +1,21 @@
-\.(.*)
-coverage
-fixtures
-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/
+fixtures/
+node_modules/