Skip to content

Commit

Permalink
update-header TS/TSX support (#1025)
Browse files Browse the repository at this point in the history
add: tx/tsx SUPPORTED_FILE_TYPES, templates
  • Loading branch information
salimnassim authored Jul 31, 2024
1 parent 2a4254f commit e2870ba
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pontos/updateheader/templates/AGPL-3.0-or-later/template.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* SPDX-FileCopyrightText: <year> <company>
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
4 changes: 4 additions & 0 deletions pontos/updateheader/templates/AGPL-3.0-or-later/template.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* SPDX-FileCopyrightText: <year> <company>
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
4 changes: 4 additions & 0 deletions pontos/updateheader/templates/GPL-2.0-or-later/template.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* SPDX-FileCopyrightText: <year> <company>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
4 changes: 4 additions & 0 deletions pontos/updateheader/templates/GPL-2.0-or-later/template.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* SPDX-FileCopyrightText: <year> <company>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
4 changes: 4 additions & 0 deletions pontos/updateheader/templates/GPL-3.0-or-later/template.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* SPDX-FileCopyrightText: <year> <company>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
4 changes: 4 additions & 0 deletions pontos/updateheader/templates/GPL-3.0-or-later/template.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* SPDX-FileCopyrightText: <year> <company>
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
2 changes: 2 additions & 0 deletions pontos/updateheader/updateheader.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
".po",
".py",
".sh",
".ts",
".tsx",
".txt",
".xml",
".xsl",
Expand Down

0 comments on commit e2870ba

Please sign in to comment.