Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Update copyright notice #40

Merged
merged 1 commit into from
Jan 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ This will trigger the github action and a new release will be published on `npm`

## License

Copyright (c) 2019 SAP SE or an SAP affiliate company.
Copyright (c) 2020 SAP SE or an SAP affiliate company.
All rights reserved.
This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the [LICENSE file](LICENSE).

Expand Down
2 changes: 1 addition & 1 deletion src/commands/add-approuter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import { Command, flags } from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/add-cds.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import { Command, flags } from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/add-cx-server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import { Command, flags } from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/generate-vdm.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import { Command } from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/help-page.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import { Command, flags } from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/init.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import { Command, flags } from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/commands/package.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import { Command, flags } from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

export { run } from '@oclif/command';
2 changes: 1 addition & 1 deletion src/utils/copy-list.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

export interface CopyDescriptor {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/generate-vdm-util.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import { flags } from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/git-ignore.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
import cli from 'cli-ux';
import * as fs from 'fs';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

export * from './copy-list';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/jest-config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import cli from 'cli-ux';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/manifest-yaml.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import Command from '@oclif/command';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/message-formatter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

// The boxen dependency creates this warning in ci: Opening `/dev/tty` failed (6): Device not configured
Expand Down
2 changes: 1 addition & 1 deletion src/utils/package-json.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
import cli from 'cli-ux';
import * as execa from 'execa';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/scaffold.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import cli from 'cli-ux';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/templates.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import cli from 'cli-ux';
Expand Down
2 changes: 1 addition & 1 deletion src/utils/usage-analytics.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import cli from 'cli-ux';
Expand Down
2 changes: 1 addition & 1 deletion test/add-approuter.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

const prompt = jest.fn().mockResolvedValue('mock-project');
Expand Down
2 changes: 1 addition & 1 deletion test/add-cds.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

const prompt = jest.fn().mockResolvedValue('mock-project');
Expand Down
2 changes: 1 addition & 1 deletion test/add-cx-server.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

const error = jest.fn();
Expand Down
2 changes: 1 addition & 1 deletion test/e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

describe('The whole enchilada', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/generate-vdm.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
import { GeneratorOptions as GeneratorOptionsSDK, generatorOptionsCli as generatorOptionsSDK } from '@sap/cloud-sdk-generator';
import * as fs from 'fs-extra';
Expand Down
2 changes: 1 addition & 1 deletion test/help-page.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

const url = jest.fn();
Expand Down
2 changes: 1 addition & 1 deletion test/init.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
const error = jest.fn();
const warn = jest.fn(message => console.log('MOCKED WARNING: ', message));
Expand Down
2 changes: 1 addition & 1 deletion test/package.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

describe('Package', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/test-output/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/

import * as path from 'path';
Expand Down
2 changes: 1 addition & 1 deletion test/test-utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
import * as fs from 'fs';
import * as path from 'path';
Expand Down
2 changes: 1 addition & 1 deletion test/utils/git-ignore.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
const log = jest.fn();
const warn = jest.fn(message => console.log('MOCKED WARNING: ', message));
Expand Down
2 changes: 1 addition & 1 deletion test/utils/jest-config.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
import * as fs from 'fs';
import * as path from 'path';
Expand Down
2 changes: 1 addition & 1 deletion test/utils/package-json.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
jest.mock('execa', () => jest.fn().mockResolvedValue('1.0.0'));

Expand Down
2 changes: 1 addition & 1 deletion test/utils/scaffold.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
const confirm = jest.fn().mockResolvedValue(true);
jest.mock('cli-ux', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/utils/templates.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
import * as fs from 'fs';
import * as path from 'path';
Expand Down
2 changes: 1 addition & 1 deletion test/utils/usage-analytics.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
const confirm = jest.fn().mockResolvedValue(false);

Expand Down
4 changes: 2 additions & 2 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"arrow-parens": [false, "as-needed"],
"file-header": [
true,
"Copyright \\(c\\) 2019 SAP SE or an SAP affiliate company. All rights reserved.",
"Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved."
"Copyright \\(c\\) 2020 SAP SE or an SAP affiliate company. All rights reserved.",
"Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved."
],
"interface-name": false,
"max-line-length": false,
Expand Down