Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter package uses a name for the source file that is different from the package name #845

Closed
4 tasks done
Nidal-Bakir opened this issue Mar 7, 2023 · 1 comment · Fixed by #846
Closed
4 tasks done
Labels
state:breaking Breaking change requires major version increment and `BREAKING CHANGE` commit message

Comments

@Nidal-Bakir
Copy link
Member

New Issue Checklist

Issue Description

currently, the flutter package is been imported using a source file with a name different than the package name. which prevents the flutter package from being published.

when trying to publish the package the next error will rise:

Package validation found the following potential issues:
* The name of "lib/parse_server_sdk.dart", "parse_server_sdk", should match the name of the package, "parse_server_sdk_flutter".
  This helps users know what library to import.
 
Package has 1 warning.

Steps to reproduce

cd packages/flutter &&  dart pub publish -- dry-run

Actual Outcome

Error when trying to publish the Flutter package

Expected Outcome

Successfully publishing the Flutter package without any errors or warnings

Environment

Parse Flutter SDK

  • SDK version: 3.1.3
  • Operating system version: any

Server

  • Parse Server version: any

Logs

Package validation found the following potential issues:

  • The name of "lib/parse_server_sdk.dart", "parse_server_sdk", should match the name of the package, "parse_server_sdk_flutter".
    This helps users know what library to import.

Package has 1 warning.

@parse-github-assistant
Copy link

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@Nidal-Bakir Nidal-Bakir added the state:breaking Breaking change requires major version increment and `BREAKING CHANGE` commit message label Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:breaking Breaking change requires major version increment and `BREAKING CHANGE` commit message
Projects
None yet
1 participant