From e2989b6dab5a1493c327cdf8cccebfc27e7cea98 Mon Sep 17 00:00:00 2001 From: "Daniel W. Hieber" Date: Wed, 25 Oct 2023 19:08:30 -0500 Subject: [PATCH] DOCS: Remove existing license --- LICENSE | 21 --------------------- LICENSE.test.js | 19 ------------------- package.json | 2 +- 3 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 LICENSE delete mode 100644 LICENSE.test.js diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d8e6bad..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Digital Linguistics - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/LICENSE.test.js b/LICENSE.test.js deleted file mode 100644 index d8c1285..0000000 --- a/LICENSE.test.js +++ /dev/null @@ -1,19 +0,0 @@ -describe(`license`, function() { - - it(`has the correct year`, function() { - - cy.readFile(`LICENSE`) - .then(license => { - - const yearRegExp = /(?\d{4})/u - const { licenseYear } = yearRegExp.exec(license).groups - const currentYear = String(new Date().getFullYear()) - - expect(licenseYear).to.eql(currentYear) - - }) - - - }) - -}) diff --git a/package.json b/package.json index d8d47ca..e401f62 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ ], "homepage": "https://github.com/digitallinguistics/scription2html#readme", "bugs": "https://github.com/digitallinguistics/scription2html/issues", - "license": "ISC", + "license": "MIT", "author": { "name": "Daniel W. Hieber", "url": "https://danielhieber.info"