From 8116d21970f72f3d968b66710fad0ebdc1dcdd1b Mon Sep 17 00:00:00 2001 From: Lukas Klingsbo Date: Fri, 29 Mar 2024 15:31:51 +0100 Subject: [PATCH] chore: Remove unnecessary licence headers (#686) --- .../lib/conventional_commit.dart | 17 ----------------- .../test/conventional_commit_test.dart | 17 ----------------- packages/melos/lib/src/command_runner.dart | 17 ----------------- .../melos/lib/src/command_runner/analyze.dart | 17 ----------------- .../melos/lib/src/command_runner/bootstrap.dart | 17 ----------------- .../melos/lib/src/command_runner/clean.dart | 17 ----------------- packages/melos/lib/src/command_runner/exec.dart | 17 ----------------- .../melos/lib/src/command_runner/format.dart | 17 ----------------- packages/melos/lib/src/command_runner/list.dart | 17 ----------------- .../melos/lib/src/command_runner/publish.dart | 17 ----------------- packages/melos/lib/src/command_runner/run.dart | 17 ----------------- .../melos/lib/src/command_runner/script.dart | 17 ----------------- .../melos/lib/src/command_runner/version.dart | 17 ----------------- .../lib/src/common/aggregate_changelog.dart | 17 ----------------- packages/melos/lib/src/common/changelog.dart | 17 ----------------- packages/melos/lib/src/common/git.dart | 17 ----------------- packages/melos/lib/src/common/git_commit.dart | 17 ----------------- .../melos/lib/src/common/git_repository.dart | 17 ----------------- packages/melos/lib/src/common/glob.dart | 17 ----------------- .../melos/lib/src/common/intellij_project.dart | 17 ----------------- .../lib/src/common/pending_package_update.dart | 17 ----------------- packages/melos/lib/src/common/platform.dart | 16 ---------------- .../lib/src/common/pub_dependency_list.dart | 17 ----------------- packages/melos/lib/src/common/utils.dart | 17 ----------------- packages/melos/lib/src/common/versioning.dart | 17 ----------------- packages/melos/lib/src/global_options.dart | 17 ----------------- packages/melos/lib/src/package.dart | 17 ----------------- packages/melos/lib/src/scripts.dart | 17 ----------------- packages/melos/lib/src/workspace.dart | 17 ----------------- packages/melos/lib/src/workspace_configs.dart | 17 ----------------- packages/melos/test/changelog_test.dart | 17 ----------------- packages/melos/test/git_repository_test.dart | 17 ----------------- packages/melos/test/git_test.dart | 17 ----------------- packages/melos/test/matchers.dart | 16 ---------------- packages/melos/test/mock_fs.dart | 16 ---------------- packages/melos/test/mock_workspace_fs.dart | 16 ---------------- packages/melos/test/workspace_config_test.dart | 16 ---------------- packages/melos/test/workspace_test.dart | 16 ---------------- 38 files changed, 640 deletions(-) diff --git a/packages/conventional_commit/lib/conventional_commit.dart b/packages/conventional_commit/lib/conventional_commit.dart index cd0d7d14b..bfd711143 100644 --- a/packages/conventional_commit/lib/conventional_commit.dart +++ b/packages/conventional_commit/lib/conventional_commit.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - final _mergeCommitPrefixRegex = RegExp('^Merged? (.*?:)?'); final _conventionalCommitHeaderRegex = RegExp( diff --git a/packages/conventional_commit/test/conventional_commit_test.dart b/packages/conventional_commit/test/conventional_commit_test.dart index 57dff77bf..125d2e441 100644 --- a/packages/conventional_commit/test/conventional_commit_test.dart +++ b/packages/conventional_commit/test/conventional_commit_test.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:collection/collection.dart'; import 'package:conventional_commit/conventional_commit.dart'; import 'package:test/test.dart'; diff --git a/packages/melos/lib/src/command_runner.dart b/packages/melos/lib/src/command_runner.dart index f3dadab58..8f4fe9120 100644 --- a/packages/melos/lib/src/command_runner.dart +++ b/packages/melos/lib/src/command_runner.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:async'; import 'dart:io'; diff --git a/packages/melos/lib/src/command_runner/analyze.dart b/packages/melos/lib/src/command_runner/analyze.dart index 863f01583..1094b0ebf 100644 --- a/packages/melos/lib/src/command_runner/analyze.dart +++ b/packages/melos/lib/src/command_runner/analyze.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import '../commands/runner.dart'; import '../common/utils.dart'; import 'base.dart'; diff --git a/packages/melos/lib/src/command_runner/bootstrap.dart b/packages/melos/lib/src/command_runner/bootstrap.dart index 8bcf0c848..111191551 100644 --- a/packages/melos/lib/src/command_runner/bootstrap.dart +++ b/packages/melos/lib/src/command_runner/bootstrap.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:async'; import '../commands/runner.dart'; diff --git a/packages/melos/lib/src/command_runner/clean.dart b/packages/melos/lib/src/command_runner/clean.dart index ea5ba0fe0..5a2440cef 100644 --- a/packages/melos/lib/src/command_runner/clean.dart +++ b/packages/melos/lib/src/command_runner/clean.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import '../commands/runner.dart'; import 'base.dart'; diff --git a/packages/melos/lib/src/command_runner/exec.dart b/packages/melos/lib/src/command_runner/exec.dart index 5c09edf56..e766f275a 100644 --- a/packages/melos/lib/src/command_runner/exec.dart +++ b/packages/melos/lib/src/command_runner/exec.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:io'; import '../commands/runner.dart'; diff --git a/packages/melos/lib/src/command_runner/format.dart b/packages/melos/lib/src/command_runner/format.dart index eb165e29d..12c8064af 100644 --- a/packages/melos/lib/src/command_runner/format.dart +++ b/packages/melos/lib/src/command_runner/format.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import '../commands/runner.dart'; import 'base.dart'; diff --git a/packages/melos/lib/src/command_runner/list.dart b/packages/melos/lib/src/command_runner/list.dart index d0fa19d71..b3a7c5392 100644 --- a/packages/melos/lib/src/command_runner/list.dart +++ b/packages/melos/lib/src/command_runner/list.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import '../commands/runner.dart'; import 'base.dart'; diff --git a/packages/melos/lib/src/command_runner/publish.dart b/packages/melos/lib/src/command_runner/publish.dart index 9c279f832..ac2e52d83 100644 --- a/packages/melos/lib/src/command_runner/publish.dart +++ b/packages/melos/lib/src/command_runner/publish.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import '../commands/runner.dart'; import '../common/utils.dart'; import 'base.dart'; diff --git a/packages/melos/lib/src/command_runner/run.dart b/packages/melos/lib/src/command_runner/run.dart index 92da77ccf..b022a0cd0 100644 --- a/packages/melos/lib/src/command_runner/run.dart +++ b/packages/melos/lib/src/command_runner/run.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import '../commands/runner.dart'; import 'base.dart'; diff --git a/packages/melos/lib/src/command_runner/script.dart b/packages/melos/lib/src/command_runner/script.dart index 3b1351c6f..89026173f 100644 --- a/packages/melos/lib/src/command_runner/script.dart +++ b/packages/melos/lib/src/command_runner/script.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import '../commands/runner.dart'; import '../workspace_configs.dart'; import 'base.dart'; diff --git a/packages/melos/lib/src/command_runner/version.dart b/packages/melos/lib/src/command_runner/version.dart index 32a54e262..86eb3f2a7 100644 --- a/packages/melos/lib/src/command_runner/version.dart +++ b/packages/melos/lib/src/command_runner/version.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:io'; import 'package:ansi_styles/ansi_styles.dart'; diff --git a/packages/melos/lib/src/common/aggregate_changelog.dart b/packages/melos/lib/src/common/aggregate_changelog.dart index bfeb6401e..43cb3466b 100644 --- a/packages/melos/lib/src/common/aggregate_changelog.dart +++ b/packages/melos/lib/src/common/aggregate_changelog.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:path/path.dart' as p; import '../logging.dart'; diff --git a/packages/melos/lib/src/common/changelog.dart b/packages/melos/lib/src/common/changelog.dart index e9eef4f66..6267c4493 100644 --- a/packages/melos/lib/src/common/changelog.dart +++ b/packages/melos/lib/src/common/changelog.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:path/path.dart' as p; import 'package:pub_semver/pub_semver.dart'; diff --git a/packages/melos/lib/src/common/git.dart b/packages/melos/lib/src/common/git.dart index a1477954b..804ee28e5 100644 --- a/packages/melos/lib/src/common/git.dart +++ b/packages/melos/lib/src/common/git.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:convert'; import 'dart:io'; diff --git a/packages/melos/lib/src/common/git_commit.dart b/packages/melos/lib/src/common/git_commit.dart index 88289b1b6..bbe7074ba 100644 --- a/packages/melos/lib/src/common/git_commit.dart +++ b/packages/melos/lib/src/common/git_commit.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:conventional_commit/conventional_commit.dart'; class GitCommit { diff --git a/packages/melos/lib/src/common/git_repository.dart b/packages/melos/lib/src/common/git_repository.dart index aa0a2c89b..0550385be 100644 --- a/packages/melos/lib/src/common/git_repository.dart +++ b/packages/melos/lib/src/common/git_repository.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:meta/meta.dart'; import 'git.dart'; diff --git a/packages/melos/lib/src/common/glob.dart b/packages/melos/lib/src/common/glob.dart index 00e700b61..6d17cdea0 100644 --- a/packages/melos/lib/src/common/glob.dart +++ b/packages/melos/lib/src/common/glob.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:glob/glob.dart'; import 'package:path/path.dart' as p; diff --git a/packages/melos/lib/src/common/intellij_project.dart b/packages/melos/lib/src/common/intellij_project.dart index b81aefb50..c08eabb6d 100644 --- a/packages/melos/lib/src/common/intellij_project.dart +++ b/packages/melos/lib/src/common/intellij_project.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:io'; import 'package:path/path.dart' as p; diff --git a/packages/melos/lib/src/common/pending_package_update.dart b/packages/melos/lib/src/common/pending_package_update.dart index 69ba350a1..f3136bc88 100644 --- a/packages/melos/lib/src/common/pending_package_update.dart +++ b/packages/melos/lib/src/common/pending_package_update.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:math' as math; import 'package:meta/meta.dart'; diff --git a/packages/melos/lib/src/common/platform.dart b/packages/melos/lib/src/common/platform.dart index 04834ab55..d196e69aa 100644 --- a/packages/melos/lib/src/common/platform.dart +++ b/packages/melos/lib/src/common/platform.dart @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import 'dart:async'; import 'package:meta/meta.dart'; diff --git a/packages/melos/lib/src/common/pub_dependency_list.dart b/packages/melos/lib/src/common/pub_dependency_list.dart index c14e4a6df..60518acef 100644 --- a/packages/melos/lib/src/common/pub_dependency_list.dart +++ b/packages/melos/lib/src/common/pub_dependency_list.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:collection/collection.dart'; import 'package:meta/meta.dart'; import 'package:pub_semver/pub_semver.dart'; diff --git a/packages/melos/lib/src/common/utils.dart b/packages/melos/lib/src/common/utils.dart index b4793ce1e..bcc8a4ac9 100644 --- a/packages/melos/lib/src/common/utils.dart +++ b/packages/melos/lib/src/common/utils.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:async'; import 'dart:convert'; import 'dart:io'; diff --git a/packages/melos/lib/src/common/versioning.dart b/packages/melos/lib/src/common/versioning.dart index 0042fa063..f876f75db 100644 --- a/packages/melos/lib/src/common/versioning.dart +++ b/packages/melos/lib/src/common/versioning.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:conventional_commit/conventional_commit.dart'; import 'package:pub_semver/pub_semver.dart'; diff --git a/packages/melos/lib/src/global_options.dart b/packages/melos/lib/src/global_options.dart index 4d17add49..1421212cb 100644 --- a/packages/melos/lib/src/global_options.dart +++ b/packages/melos/lib/src/global_options.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:meta/meta.dart'; /// Global options that apply to all Melos commands. diff --git a/packages/melos/lib/src/package.dart b/packages/melos/lib/src/package.dart index 1fc853d7b..1c816bcbd 100644 --- a/packages/melos/lib/src/package.dart +++ b/packages/melos/lib/src/package.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2020-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:async'; import 'dart:io'; diff --git a/packages/melos/lib/src/scripts.dart b/packages/melos/lib/src/scripts.dart index fbe313eb9..8d172b29a 100644 --- a/packages/melos/lib/src/scripts.dart +++ b/packages/melos/lib/src/scripts.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2020-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:collection'; import 'package:collection/collection.dart'; diff --git a/packages/melos/lib/src/workspace.dart b/packages/melos/lib/src/workspace.dart index b3cc0380b..d5d8d70fb 100644 --- a/packages/melos/lib/src/workspace.dart +++ b/packages/melos/lib/src/workspace.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2020-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:async'; import 'package:meta/meta.dart'; diff --git a/packages/melos/lib/src/workspace_configs.dart b/packages/melos/lib/src/workspace_configs.dart index 474550e3a..0ec29478a 100644 --- a/packages/melos/lib/src/workspace_configs.dart +++ b/packages/melos/lib/src/workspace_configs.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:io'; import 'package:ansi_styles/ansi_styles.dart'; diff --git a/packages/melos/test/changelog_test.dart b/packages/melos/test/changelog_test.dart index f6e195b82..1dc0c89c9 100644 --- a/packages/melos/test/changelog_test.dart +++ b/packages/melos/test/changelog_test.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:melos/melos.dart'; import 'package:melos/src/common/changelog.dart'; import 'package:melos/src/common/git_commit.dart'; diff --git a/packages/melos/test/git_repository_test.dart b/packages/melos/test/git_repository_test.dart index 7980e93bd..023c86901 100644 --- a/packages/melos/test/git_repository_test.dart +++ b/packages/melos/test/git_repository_test.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'package:melos/src/common/git_repository.dart'; import 'package:test/test.dart'; diff --git a/packages/melos/test/git_test.dart b/packages/melos/test/git_test.dart index 04c370075..dc9515afb 100644 --- a/packages/melos/test/git_test.dart +++ b/packages/melos/test/git_test.dart @@ -1,20 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - import 'dart:io'; import 'package:melos/melos.dart'; diff --git a/packages/melos/test/matchers.dart b/packages/melos/test/matchers.dart index 8436a2a0b..e279e852f 100644 --- a/packages/melos/test/matchers.dart +++ b/packages/melos/test/matchers.dart @@ -1,21 +1,5 @@ // ignore_for_file: strict_raw_type -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import 'dart:io' as io; import 'package:ansi_styles/ansi_styles.dart'; diff --git a/packages/melos/test/mock_fs.dart b/packages/melos/test/mock_fs.dart index 2eae40223..cd32efa05 100644 --- a/packages/melos/test/mock_fs.dart +++ b/packages/melos/test/mock_fs.dart @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - // ignore_for_file: avoid_redundant_argument_values import 'dart:async'; diff --git a/packages/melos/test/mock_workspace_fs.dart b/packages/melos/test/mock_workspace_fs.dart index ea7b78ee4..1923727a0 100644 --- a/packages/melos/test/mock_workspace_fs.dart +++ b/packages/melos/test/mock_workspace_fs.dart @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import 'dart:io'; import 'package:melos/src/common/io.dart'; diff --git a/packages/melos/test/workspace_config_test.dart b/packages/melos/test/workspace_config_test.dart index 9ec28bd0e..44a428e05 100644 --- a/packages/melos/test/workspace_config_test.dart +++ b/packages/melos/test/workspace_config_test.dart @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import 'package:melos/melos.dart'; import 'package:melos/src/command_configs/command_configs.dart'; import 'package:melos/src/common/git_repository.dart'; diff --git a/packages/melos/test/workspace_test.dart b/packages/melos/test/workspace_test.dart index a614cfbf9..aaaabf156 100644 --- a/packages/melos/test/workspace_test.dart +++ b/packages/melos/test/workspace_test.dart @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2016-present Invertase Limited & Contributors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this library except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - import 'dart:convert'; import 'dart:io'; import 'dart:io' as io;