Skip to content

Commit 627809f

Browse files
committed
refactoring and rewrite for usage withing postdoc
1 parent cd3ee00 commit 627809f

21 files changed

+383
-5257
lines changed

.github/workflows/create-release.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

CHANGES.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# CHANGES Document for @postdoc/ejs
2+
3+
Original Library: ejs
4+
New Library License: MIT License
5+
6+
Summary of Changes:
7+
This document outlines the changes made to `ejs` as it has been adapted and released under the MIT License in the creation of the `@postdoc/ejs` library.
8+
9+
The following list details the significant modifications:
10+
11+
1. Refactoring to ES6 Syntax: the codebase has been updated to use the latest ES6 syntax for better performance, readability, and compatibility with modern JavaScript standards.
12+
2. Addition of `include` functionality: a new function, `include`, has been introduced. This function allows for the loading of external template files, enhancing the library’s capability to handle more complex and dynamic content.
13+
3. Removal of unneeded files: several files that were deemed unnecessary for the functioning and scope of `@postdoc/ejs` have been removed. This step was taken to streamline the library, focusing on its core functionality and reducing its overall size.
14+
15+
Acknowledgment:
16+
This library, `@postdoc/ejs`, is an adaptation of `ejs`, which is licensed under the Apache License, Version 2.0. The original license and its requirements have been respected and adhered to in the development of `@postdoc/ejs`.
17+
18+
The new library is only useful in the context of the main Postdoc library. The changes made are listed above and have been executed with the intention of improving and tailoring the library to the specific use-case within Postdoc.

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Pine View Software AS
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)