Skip to content

Commit

Permalink
feat: add author template strings
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbutt committed Feb 24, 2024
1 parent 7cdede3 commit 212083f
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion templates/c/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) <%- new Date().getFullYear() %> Norgate AV Services Limited
Copyright (c) <%- new Date().getFullYear() %> <%- author %>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion templates/c/all-contributorsrc.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": <%- JSON.stringify(id) %>,
"projectOwner": "",
"projectOwner": <%- JSON.stringify(author) %>,
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand Down
1 change: 1 addition & 0 deletions templates/c/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": <%- JSON.stringify(description) %>,
"version": "0.0.0",
"license": "MIT",
"author": <%- JSON.stringify(author) %>,
"repository": {
"type": "git",
"url": ""
Expand Down
2 changes: 1 addition & 1 deletion templates/html/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) <%- new Date().getFullYear() %> Norgate AV Services Limited
Copyright (c) <%- new Date().getFullYear() %> <%- author %>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion templates/html/all-contributorsrc.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": <%- JSON.stringify(id) %>,
"projectOwner": "",
"projectOwner": <%- JSON.stringify(author) %>,
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand Down
1 change: 1 addition & 0 deletions templates/html/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": <%- JSON.stringify(description) %>,
"version": "0.0.0",
"license": "MIT",
"author": <%- JSON.stringify(author) %>,
"main": "assets/js/app.js",
"type": "module",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion templates/javascript/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) <%- new Date().getFullYear() %> Norgate AV Services Limited
Copyright (c) <%- new Date().getFullYear() %> <%- author %>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion templates/javascript/all-contributorsrc.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": <%- JSON.stringify(id) %>,
"projectOwner": "",
"projectOwner": <%- JSON.stringify(author) %>,
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand Down
1 change: 1 addition & 0 deletions templates/javascript/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": <%- JSON.stringify(description) %>,
"version": "0.0.0",
"license": "MIT",
"author": <%- JSON.stringify(author) %>,
"main": "src/app.js",
"type": "module",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion templates/nodecli/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) <%- new Date().getFullYear() %> Norgate AV Services Limited
Copyright (c) <%- new Date().getFullYear() %> <%- author %>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion templates/nodecli/all-contributorsrc.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": <%- JSON.stringify(id) %>,
"projectOwner": "",
"projectOwner": <%- JSON.stringify(author) %>,
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand Down
1 change: 1 addition & 0 deletions templates/nodecli/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": <%- JSON.stringify(description) %>,
"version": "0.0.0",
"license": "MIT",
"author": <%- JSON.stringify(author) %>,
"main": "src/app.js",
"type": "module",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion templates/python/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) <%- new Date().getFullYear() %> Norgate AV Services Limited
Copyright (c) <%- new Date().getFullYear() %> <%- author %>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion templates/simpl/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) <%- new Date().getFullYear() %> Norgate AV Services Limited
Copyright (c) <%- new Date().getFullYear() %> <%- author %>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion templates/simpl/all-contributorsrc.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": <%- JSON.stringify(id) %>,
"projectOwner": "",
"projectOwner": <%- JSON.stringify(author) %>,
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand Down
1 change: 1 addition & 0 deletions templates/simpl/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": <%- JSON.stringify(description) %>,
"version": "0.0.0",
"license": "MIT",
"author": <%- JSON.stringify(author) %>,
"repository": {
"type": "git",
"url": ""
Expand Down

0 comments on commit 212083f

Please sign in to comment.