Skip to content

Commit 0051b84

Browse files
authored
Cleanup spdx identifier (#630)
* cleanup spdx identifier * Update dates to 2022 on Licenses * remove commented license and update date on landing page
1 parent ab654f4 commit 0051b84

File tree

20 files changed

+7
-34
lines changed

20 files changed

+7
-34
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
Substrate Connect Copyright (C) 2020-2021 Parity Technologies Ltd
655+
Substrate Connect Copyright (C) 2020-2022 Parity Technologies Ltd
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.

packages/connect/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
Substrate Connect Copyright (C) 2020-2021 Parity Technologies Ltd
655+
Substrate Connect Copyright (C) 2020-2022 Parity Technologies Ltd
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// Copyright 2018-2021 @paritytech/substrate-connect authors & contributors
2-
// This software may be modified and distributed under the terms
3-
// of the Apache-2.0 license. See the LICENSE file for details.
4-
51
import { ExtensionProvider } from "./ExtensionProvider.js"
62

73
export { ExtensionProvider }
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// Copyright 2018-2021 @paritytech/substrate-connect authors & contributors
2-
// This software may be modified and distributed under the terms
3-
// of the Apache-2.0 license. See the LICENSE file for details.
4-
51
import { SmoldotProvider } from "./SmoldotProvider.js"
62

73
export { SmoldotProvider }

packages/smoldot-test-utils/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
Substrate Connect Copyright (C) 2020-2021 Parity Technologies Ltd
655+
Substrate Connect Copyright (C) 2020-2022 Parity Technologies Ltd
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.

projects/burnr/src/hooks/api/useApi.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
2-
31
import { useContext } from "react"
42
import { ApiPromise } from "@polkadot/api"
53

projects/burnr/src/hooks/api/useApiCreate.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
21
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
32
/* eslint-disable @typescript-eslint/no-unsafe-call */
43
/* eslint-disable @typescript-eslint/no-unsafe-member-access */

projects/burnr/src/hooks/api/useDidUpdateEffect.ts

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// Copyright 2018-2021 @paritytech/substrate-connect authors & contributors
2-
// This software may be modified and distributed under the terms
3-
// of the Apache-2.0 license. See the LICENSE file for details.
4-
51
import { DependencyList, EffectCallback, useEffect, useRef } from "react"
62

73
/**

projects/burnr/src/hooks/api/useIsMountedRef.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
2-
31
import { useEffect, useRef } from "react"
42

53
export type MountedRef = React.MutableRefObject<boolean>

projects/burnr/src/hooks/index.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
2-
31
/**
42
* API hooks
53
*/

projects/burnr/src/hooks/useBalance.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
2-
31
import BN from "bn.js"
42
import { useEffect, useState } from "react"
53
import { formatBalance, logger } from "@polkadot/util"

projects/burnr/src/hooks/useUserInfo.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
21
import BN from "bn.js"
32
import { useEffect, useState } from "react"
43
import { logger } from "@polkadot/util"

projects/burnr/src/hooks/useUsers.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
21
import { useEffect, useState } from "react"
32
import { logger } from "@polkadot/util"
43
import useApi from "./api/useApi"

projects/burnr/src/utils/contexts.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
2-
31
import {
42
LocalStorageAccountCtx,
53
AdminCtx,

projects/burnr/src/utils/types.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: Apache-2
21
import { Balance, Index, RefCount } from "@polkadot/types/interfaces"
32
import { u32 } from "@polkadot/types"
43
import { Codec } from "@polkadot/types/types"

projects/extension/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
Substrate Connect Copyright (C) 2020-2021 Parity Technologies Ltd
655+
Substrate Connect Copyright (C) 2020-2022 Parity Technologies Ltd
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.

projects/extension/src/hooks/useTabs.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable @typescript-eslint/no-unsafe-call */
2-
// SPDX-License-Identifier: Apache-2
32
import { useState, useEffect } from "react"
43
import { NetworkCtx } from "../types"
54

projects/landing-page/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
Substrate Connect Copyright (C) 2020-2021 Parity Technologies Ltd
655+
Substrate Connect Copyright (C) 2020-2022 Parity Technologies Ltd
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.

projects/landing-page/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ const App: React.FunctionComponent = () => {
322322
{/* TODO: Playground */}
323323
<Box>
324324
<FooterLink href="https://parity.io/">
325-
© 2021 Parity Technologies
325+
© {new Date().getFullYear()} Parity Technologies
326326
</FooterLink>
327327
<FooterLink href="https://substrate.dev/terms">
328328
Terms & conditions

projects/parachain-demo/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
Substrate Connect Copyright (C) 2020-2021 Parity Technologies Ltd
655+
Substrate Connect Copyright (C) 2020-2022 Parity Technologies Ltd
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.

0 commit comments

Comments
 (0)