Skip to content

Commit 2b694c1

Browse files
committed
updated to use SPDX-License-Identifier: Apache-2.0
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
1 parent c5297e8 commit 2b694c1

File tree

158 files changed

+159
-2217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+159
-2217
lines changed

eslint.config.mjs

+2-19
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import globals from 'globals';
185
import eslintJs from '@eslint/js';
@@ -54,11 +41,7 @@ export default [
5441
'error',
5542
{
5643
source: 'string',
57-
variables: {
58-
year: '2025',
59-
},
60-
content:
61-
'Copyright (C) {year} Hedera Hashgraph, LLC\n\nLicensed under the Apache License, Version 2.0 (the ""License"");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an ""AS IS"" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n',
44+
content: 'SPDX-License-Identifier: Apache-2.0',
6245
},
6346
],
6447
'prettier/prettier': 'error',

examples/create-topic.js

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {
185
Wallet,

examples/sdk-network-connection/solo-network-connection.js

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {AccountBalanceQuery, AccountId, Client, Logger, LogLevel, PrivateKey} from '@hashgraph/sdk';
185

resources/post-build-script.js

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
'use strict';
185
import fs from 'node:fs';

solo.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
#!/usr/bin/env node
22
/**
3-
* Copyright (C) 2025 Hedera Hashgraph, LLC
4-
*
5-
* Licensed under the Apache License, Version 2.0 (the ""License"");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an ""AS IS"" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
16-
*
3+
* SPDX-License-Identifier: Apache-2.0
174
*/
185
import * as fnm from './src/index.js';
196

src/commands/account.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import chalk from 'chalk';
185
import {BaseCommand} from './base.js';

src/commands/base.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174

185
import paths from 'path';

src/commands/cluster/configs.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174

185
import type {NodeAlias} from '../../types/aliases.js';

src/commands/cluster/flags.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174

185
import {Flags as flags} from '../flags.js';

src/commands/cluster/handlers.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import type {BaseCommand, CommandHandlers} from '../base.js';
185
import type {ClusterCommandTasks} from './tasks.js';

src/commands/cluster/index.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174

185
import * as ContextFlags from './flags.js';

src/commands/cluster/tasks.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {Task} from '../../core/task.js';
185
import {Flags as flags} from '../flags.js';

src/commands/deployment.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {Listr} from 'listr2';
185
import {SoloError} from '../core/errors.js';

src/commands/explorer.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {ListrEnquirerPromptAdapter} from '@listr2/prompt-adapter-enquirer';
185
import {Listr} from 'listr2';

src/commands/flags.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import * as constants from '../core/constants.js';
185
import * as version from '../../version.js';

src/commands/index.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {ClusterCommand} from './cluster/index.js';
185
import {InitCommand} from './init.js';

src/commands/init.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {Listr} from 'listr2';
185
import path from 'path';

src/commands/mirror_node.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {ListrEnquirerPromptAdapter} from '@listr2/prompt-adapter-enquirer';
185
import {Listr} from 'listr2';

src/commands/network.ts

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
11
/**
2-
* Copyright (C) 2025 Hedera Hashgraph, LLC
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the ""License"");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an ""AS IS"" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*
2+
* SPDX-License-Identifier: Apache-2.0
163
*/
174
import {ListrEnquirerPromptAdapter} from '@listr2/prompt-adapter-enquirer';
185
import chalk from 'chalk';

0 commit comments

Comments
 (0)