Skip to content

Commit

Permalink
build: remove copyright notice in js/ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
tada5hi committed Sep 20, 2023
1 parent b8f5826 commit bc553ff
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 119 deletions.
7 changes: 0 additions & 7 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

module.exports = {
extends: ['@tada5hi/commitlint-config'],
};
7 changes: 0 additions & 7 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022-2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import resolve from '@rollup/plugin-node-resolve';
import { transform } from "@swc/core";
import pkg from './package.json' assert {type: 'json'};
Expand Down
7 changes: 0 additions & 7 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2023.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

export enum PriorityName {
LEFT = 'left',
RIGHT = 'right',
Expand Down
7 changes: 0 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

export * from './constants';
export * from './module';
export * from './utils';
Expand Down
7 changes: 0 additions & 7 deletions src/module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { PriorityName } from './constants';
import type {
Merger, MergerContext,
Expand Down
7 changes: 0 additions & 7 deletions src/presets.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2023.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { createMerger } from './module';
import type { MergerResult } from './type';

Expand Down
7 changes: 0 additions & 7 deletions src/type.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import type { PriorityName } from './constants';

type UnionToIntersection<U> =
Expand Down
7 changes: 0 additions & 7 deletions src/utils/array.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { isEqual } from './check';

export function distinctArray<T = any>(arr: T[]) : T[] {
Expand Down
7 changes: 0 additions & 7 deletions src/utils/check.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

export function isObject(item: unknown) : item is Record<string, any> {
return (
!!item &&
Expand Down
7 changes: 0 additions & 7 deletions src/utils/clone.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2023.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { isObject } from './check';

/* istanbul ignore next */
Expand Down
7 changes: 0 additions & 7 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

export * from './array';
export * from './check';
export * from './clone';
Expand Down
7 changes: 0 additions & 7 deletions src/utils/object.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2021.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

// eslint-disable-next-line @typescript-eslint/ban-types
export function hasOwnProperty<X extends {}, Y extends PropertyKey>(obj: X, prop: Y): obj is X & Record<Y, unknown> {
return Object.prototype.hasOwnProperty.call(obj, prop);
Expand Down
7 changes: 0 additions & 7 deletions src/utils/options.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { PriorityName } from '../constants';
import type { Options, OptionsInput } from '../type';

Expand Down
7 changes: 0 additions & 7 deletions test/unit/module.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { createMerger, merge } from '../../src';

class MyCircularClass {
Expand Down
7 changes: 0 additions & 7 deletions test/unit/presets.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2023.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { assign } from '../../src';

describe('src/presets', () => {
Expand Down
7 changes: 0 additions & 7 deletions test/unit/utils/array.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2023.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { distinctArray } from '../../../src';

describe('src/utils/array', () => {
Expand Down
7 changes: 0 additions & 7 deletions test/unit/utils/clone.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
/*
* Copyright (c) 2023.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/

import { polyfillClone } from '../../../src';

describe('src/utils/clone', () => {
Expand Down

0 comments on commit bc553ff

Please sign in to comment.