Skip to content

Commit 6c0b894

Browse files
Adjust internal build rollup to add proper @license annotation and SPDX License ID (#3723)
* Firestore Externs: @type -> @typedef * Add @OverRide to Recaptcha Verify method in Auth Externs * Add proper closure `@license` annotation to generated internal rollup boilerplate * Google LLC + SPDX License ID
1 parent 1df547b commit 6c0b894

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

packages/firebase/rollup-internal.config.js

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -25,19 +25,9 @@ import baseBuilds from './rollup-main.config.js';
2525
import license from 'rollup-plugin-license';
2626

2727
const firebaseLicense = license({
28-
banner: `Copyright ${new Date().getFullYear()} Google Inc.
29-
30-
Licensed under the Apache License, Version 2.0 (the "License");
31-
you may not use this file except in compliance with the License.
32-
You may obtain a copy of the License at
33-
34-
http://www.apache.org/licenses/LICENSE-2.0
35-
36-
Unless required by applicable law or agreed to in writing, software
37-
distributed under the License is distributed on an "AS IS" BASIS,
38-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39-
See the License for the specific language governing permissions and
40-
limitations under the License.`
28+
banner: `@license
29+
Copyright ${new Date().getFullYear()} Google LLC.
30+
SPDX-License-Identifier: Apache-2.0`
4131
});
4232

4333
const buildsWithLicense = baseBuilds.map(build => {

0 commit comments

Comments
 (0)