Code Monkey home page Code Monkey logo

package_rename's Introduction

Hey there ๐Ÿ‘‹ Hope you are Doing Great

I'm Om Phatak a.k.a. OutdatedGuy

๐Ÿ”ญ Developer of Auxpert.in

โš’ My latest Project is What's That Anime

๐Ÿ“ฑ My Latest Android Application What's That Anime

๐Ÿ’ป My First Desktop Application Desktop-Outdated-Snake

๐Ÿ•ธ Here's my Outdated Website

๐Ÿ“– Iโ€™m currently learning / learned

  • Flutter
  • Javascript
  • Node.js
  • Firebase
  • Firestore
  • Cloud Functions
  • Bootstrap Studio
  • HTML
  • CSS
  • C/C++

๐Ÿ‘ฏ Iโ€™m looking to collaborate and form a team to change the WORLD ๐Ÿซ 

๐Ÿ“ซ How to reach me: LinkedIn

โšก Fun fact: I love talking and Anime too!

Hope We Can Work Together Sometime

package_rename's People

Contributors

imranspahic avatar milindgoel15 avatar obemu avatar outdatedguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

package_rename's Issues

New directories are created alongside existing ones

When renaming an android package, a new file structure is created with a new MainActivity.kt
This implies two issues:

  1. Existing user code in MainActivity.kt is ignored
  2. The old files structure is kept alongside the new one

For issue 1:
The ideal approach would be to move the existing MainActivity.kt and update 'package' declaration while keeping existing user code.

For issue 2:
Could you add an option like '--delete existing' to delete the old files after creating the new one.

Upgrade logger

Hello,
I got trouble for importing package_rename.
Can you upgrade the logger to latest version?

Because every version of package_rename depends on logger ^1.1.0 and .... depends on logger ^2.0.1, package_rename is forbidden.

Thank you

Support config file location param

As per docs, the package_rename_config should be kept inside pubspec or at the project's root. Can the command accept a path for the config file? I like keeping all config files in one folder, not the root folder.

Like dart run package_rename --config config/package_rename_config.yaml

Renaming one of the files in android

Hey. Love the package, does what it is supposed to do.

However, for android could we also have it rename the .iml file too.
image

My initial project name is still there, even after running a name change.

I think the naming convention is package_name_android.iml.

Unable to rename MainActivity file for Android

Unable to rename MainActivity file for Android, I'm working on Windows 11

Config:

package_rename_config:
  android:
    app_name: My App
    package_name: com.test.my_app
    override_old_package: com.example.my_app
    lang: kotlin

Error message:

PathNotFoundException: Cannot rename file to 'android/app/src/main/kotlin/com/test/my_app/my_app\MainActivity.kt', path = 'android/app/src/main/kotlin/com/example/my_app\MainActivity.kt' (OS Error: The system cannot find the path specified.
, errno = 3)
ERR Code: 255
New MainActivity creation failed!!!

Web: "name" and "short_name"

Hi there,

first of all, thanks for creating this package! I find it to be super useful.

I'd have a feature request.

At the moment, for the WEB configuration, we have the app_name parameter.
This parameter changes both name and short_name in the manifest.json file.
I'd like to request to split the app_name parameter into app_name and short_app_name (or something similar), so that they can be set independently.

Thanks!

Avoid PRODUCT_BUNDLE_IDENTIFIER Extension iOS

When we execute command, PRODUCT_BUNDLE_IDENTIFIER from another TARGET like Notification Service or Push Template will be replaced like another bundle identifier. Please avoid to change the suffix of another TARGET. For example if you have com.chandra.app.NotificationService bundle id will be replaced to com.chandra.new. My expectation will changed to com.chandra.new.NotificationService.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.