Some packages have inconsistent copyright years across files. For example, google-cloud-aiplatform has copyright_year "2020" (from src/index.ts) but test/run.ts has "2021". The restoreCopyrightYear function applies the same year to all generated files in src/ and test/, which changes handwritten files that were created in a different year.
We should normalize the copyright year within each package so all files use the same year. This eliminates diffs during migration and makes the single copyright_year field in librarian.yaml accurate for the entire package.
Some packages have inconsistent copyright years across files. For example, google-cloud-aiplatform has copyright_year "2020" (from src/index.ts) but test/run.ts has "2021". The restoreCopyrightYear function applies the same year to all generated files in src/ and test/, which changes handwritten files that were created in a different year.
We should normalize the copyright year within each package so all files use the same year. This eliminates diffs during migration and makes the single copyright_year field in librarian.yaml accurate for the entire package.