From 05d4839deadd35b105438528ecfdbacee4f8b74f Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 16 Apr 2020 07:45:48 +0200 Subject: [PATCH] license config, copyright notices --- .eslintrc.js | 4 ++-- .liconfig.json | 8 ++++++++ index.js | 7 +++++++ jenkins.js | 4 ++-- lib/.eslintrc.js | 4 ++-- lib/Snippet.ts | 7 +++++++ lib/asset.d.ts | 7 +++++++ lib/enquirer.d.ts | 7 +++++++ lib/index.ts | 7 +++++++ lib/snippets/copyright/copyright_generator.ts | 7 +++++++ lib/snippets/copyright/copyright_options.ts | 7 +++++++ lib/snippets/copyright/file_mapper.ts | 7 +++++++ lib/snippets/copyright/index.ts | 7 +++++++ lib/snippets/db/dot_parser.js | 4 ++-- lib/snippets/db/index.js | 4 ++-- lib/snippets/jenkins/index.js | 4 ++-- lib/snippets/jenkins/template/node/jenkins.js | 4 ++-- lib/snippets/node/index.js | 4 ++-- lib/snippets/node/template/.eslintrc.js | 4 ++-- lib/snippets/node/template/index.js | 4 ++-- 20 files changed, 91 insertions(+), 20 deletions(-) create mode 100644 .liconfig.json diff --git a/.eslintrc.js b/.eslintrc.js index fcf6269..725443f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ module.exports = { diff --git a/.liconfig.json b/.liconfig.json new file mode 100644 index 0000000..b4f5bfc --- /dev/null +++ b/.liconfig.json @@ -0,0 +1,8 @@ +{ + "has_license": true, + "license": "BSD-3-Clause", + "author": "Timo Hocker", + "company": "SapphireCode", + "email": "timo@scode.ovh", + "software": "Snippeteer" +} \ No newline at end of file diff --git a/index.js b/index.js index 48ce4fa..f7d4553 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,12 @@ #!/usr/bin/env node +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + 'use strict'; // @ts-ignore diff --git a/jenkins.js b/jenkins.js index 00a7c53..b733d92 100644 --- a/jenkins.js +++ b/jenkins.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ /* eslint-disable no-process-exit */ diff --git a/lib/.eslintrc.js b/lib/.eslintrc.js index 6995c93..39a2067 100644 --- a/lib/.eslintrc.js +++ b/lib/.eslintrc.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ module.exports = { diff --git a/lib/Snippet.ts b/lib/Snippet.ts index 7ab5810..8137188 100644 --- a/lib/Snippet.ts +++ b/lib/Snippet.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + export interface Snippet { start(cwd: string): Promise; } diff --git a/lib/asset.d.ts b/lib/asset.d.ts index a3f3b80..df3ef2d 100644 --- a/lib/asset.d.ts +++ b/lib/asset.d.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + declare module '*.asset' { const content: any; export default content; diff --git a/lib/enquirer.d.ts b/lib/enquirer.d.ts index 7d722fd..7a46283 100644 --- a/lib/enquirer.d.ts +++ b/lib/enquirer.d.ts @@ -1 +1,8 @@ +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + declare module 'enquirer'; diff --git a/lib/index.ts b/lib/index.ts index ff18dd9..5857b9d 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + import path from 'path'; import fs from 'fs-extra'; import { AutoComplete } from 'enquirer'; diff --git a/lib/snippets/copyright/copyright_generator.ts b/lib/snippets/copyright/copyright_generator.ts index 87a1318..e0af717 100644 --- a/lib/snippets/copyright/copyright_generator.ts +++ b/lib/snippets/copyright/copyright_generator.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + import { CopyrightOptions } from './copyright_options'; export class CopyrightGenerator { diff --git a/lib/snippets/copyright/copyright_options.ts b/lib/snippets/copyright/copyright_options.ts index 0d11089..4a50cec 100644 --- a/lib/snippets/copyright/copyright_options.ts +++ b/lib/snippets/copyright/copyright_options.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + export class CopyrightOptions { public has_license = false; public license = ''; diff --git a/lib/snippets/copyright/file_mapper.ts b/lib/snippets/copyright/file_mapper.ts index aa8c737..e300831 100644 --- a/lib/snippets/copyright/file_mapper.ts +++ b/lib/snippets/copyright/file_mapper.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + /* eslint-disable no-await-in-loop */ import path from 'path'; import fs from 'fs-extra'; diff --git a/lib/snippets/copyright/index.ts b/lib/snippets/copyright/index.ts index 8c08ca7..d41a92d 100644 --- a/lib/snippets/copyright/index.ts +++ b/lib/snippets/copyright/index.ts @@ -1,3 +1,10 @@ +/* + * Copyright (C) SapphireCode - All Rights Reserved + * This file is part of Snippeteer which is released under BSD-3-Clause. + * See file 'LICENSE' for full license details. + * Created by Timo Hocker , April 2020 + */ + /* eslint-disable no-await-in-loop */ import path from 'path'; import fs from 'fs-extra'; diff --git a/lib/snippets/db/dot_parser.js b/lib/snippets/db/dot_parser.js index 913fbfd..ca8c71b 100644 --- a/lib/snippets/db/dot_parser.js +++ b/lib/snippets/db/dot_parser.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ /* eslint-disable no-magic-numbers */ diff --git a/lib/snippets/db/index.js b/lib/snippets/db/index.js index 03c59eb..a9ba56d 100644 --- a/lib/snippets/db/index.js +++ b/lib/snippets/db/index.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ /* eslint-disable no-magic-numbers */ diff --git a/lib/snippets/jenkins/index.js b/lib/snippets/jenkins/index.js index b9d3f43..c0cf03b 100644 --- a/lib/snippets/jenkins/index.js +++ b/lib/snippets/jenkins/index.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ /* eslint-disable no-sync */ diff --git a/lib/snippets/jenkins/template/node/jenkins.js b/lib/snippets/jenkins/template/node/jenkins.js index 00a7c53..b733d92 100644 --- a/lib/snippets/jenkins/template/node/jenkins.js +++ b/lib/snippets/jenkins/template/node/jenkins.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ /* eslint-disable no-process-exit */ diff --git a/lib/snippets/node/index.js b/lib/snippets/node/index.js index 98e3080..44fa2cf 100644 --- a/lib/snippets/node/index.js +++ b/lib/snippets/node/index.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ /* eslint-disable no-sync */ diff --git a/lib/snippets/node/template/.eslintrc.js b/lib/snippets/node/template/.eslintrc.js index fcf6269..725443f 100644 --- a/lib/snippets/node/template/.eslintrc.js +++ b/lib/snippets/node/template/.eslintrc.js @@ -1,8 +1,8 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */ module.exports = { diff --git a/lib/snippets/node/template/index.js b/lib/snippets/node/template/index.js index 39a04d5..f8f7cdf 100644 --- a/lib/snippets/node/template/index.js +++ b/lib/snippets/node/template/index.js @@ -1,7 +1,7 @@ /* - * Copyright (C) Sapphirecode - All Rights Reserved + * Copyright (C) SapphireCode - All Rights Reserved * This file is part of Snippeteer which is released under BSD-3-Clause. * See file 'LICENSE' for full license details. - * Created by Timo Hocker , March 2020 + * Created by Timo Hocker , April 2020 */