OpenPanel/packages/cli/CHANGELOG.md
Stefan Pejcic 8595a9f4e5 back
2024-05-08 19:58:53 +02:00

45 KiB

@refinedev/cli

2.16.22

Patch Changes

  • #5398 fda3494215 Thanks @alicanerdurmaz! - fix: Remix v2 requires build path as argument for remix-serve but Refine CLI was not passing it. From now on, Refine CLI will pass the build path as argument to remix-serve command and uses the default ./build/index.js if not provided.

    You can pass the build path as argument to refine start command.

    // package.json
    
    {
        "scripts": {
            "start": "refine start ./build/index.js"
        }
    }
    

2.16.21

Patch Changes

2.16.20

Patch Changes

  • #5296 1b031a2c19 Thanks @aliemir! - Updated --devtools flag in dev command to allow disabling devtools by --devtools=false. (Issue: #5215)

  • Updated dependencies [1b031a2c19]:

    • @refinedev/devtools-server@1.1.22

2.16.19

Patch Changes

2.16.18

Patch Changes

2.16.17

Patch Changes

  • #5281 97d5d9c98b28 Thanks @aliemir! - Fixed the version of node-emoji to 2.1.0. Since v2.1.1 depends on an ESM-only package, it breaks the build.

2.16.16

Patch Changes

  • Updated dependencies []:
    • @refinedev/devtools-server@1.1.21

2.16.15

Patch Changes

2.16.14

Patch Changes

  • Updated dependencies []:
    • @refinedev/devtools-server@1.1.19

2.16.13

Patch Changes

  • Updated dependencies []:
    • @refinedev/devtools-server@1.1.18

2.16.12

Patch Changes

  • #5151 b5f93f60f1d Thanks @aliemir! - Update @refinedev/core version check for devtools runner to do a wider check to locate the package and its version. If the location is not found, it will start devtools without a version check.

  • Updated dependencies [2bd813f62bf, 38f2a9b2e71]:

    • @refinedev/devtools-server@1.1.17

2.16.11

Patch Changes

  • #5151 b5f93f60f1d Thanks @aliemir! - Update @refinedev/core version check for devtools runner to do a wider check to locate the package and its version. If the location is not found, it will start devtools without a version check.

  • Updated dependencies [2bd813f62bf, 38f2a9b2e71]:

    • @refinedev/devtools-server@1.1.16

2.16.10

Patch Changes

  • Updated dependencies [be419eb31bc]:
    • @refinedev/devtools-server@1.1.15

2.16.9

Patch Changes

  • Updated dependencies [be419eb31bc]:
    • @refinedev/devtools-server@1.1.14

2.16.8

Patch Changes

  • Updated dependencies [78117485899]:
    • @refinedev/devtools-server@1.1.13

2.16.7

Patch Changes

  • Updated dependencies [78117485899]:
    • @refinedev/devtools-server@1.1.12

2.16.6

Patch Changes

  • #5073 6c40a720140 Thanks @alicanerdurmaz! - chore: The packages ink, ink-markdown, and ink-table have been replaced with marked, marked-terminal, and cli-table3 packages.

  • Updated dependencies [61366ebd866]:

    • @refinedev/devtools-server@1.1.11

2.16.5

Patch Changes

  • #5073 6c40a720140 Thanks @alicanerdurmaz! - chore: The packages ink, ink-markdown, and ink-table have been replaced with marked, marked-terminal, and cli-table3 packages.

  • Updated dependencies [61366ebd866]:

    • @refinedev/devtools-server@1.1.10

2.16.4

Patch Changes

  • #26 7533e541739 Thanks @pull! - feat: From now on, npm run refine devtools init updates @refinedev/core to latest version.

  • Updated dependencies [7533e541739]:

    • @refinedev/devtools-server@1.1.9

2.16.3

Patch Changes

2.16.2

Patch Changes

2.16.1

Patch Changes

  • #5022 80513a4e42f Thanks @BatuhanW! - chore: update README.md

    • fix grammar errors.
    • make all README.md files consistent.
    • add code example code snippets.
  • #5024 1bb29d9fc3d Thanks @aliemir! - Added dynamic announcements to the CLI to show when a command is executed. Users will be able to receive news and updates about refine without having to update their dependencies.

  • Updated dependencies [80513a4e42f, 20f5b6128d4]:

    • @refinedev/devtools-server@1.1.6

2.16.0

Minor Changes

  • #5024 1bb29d9fc3d Thanks @aliemir! - Added dynamic announcements to the CLI to show when a command is executed. Users will be able to receive news and updates about refine without having to update their dependencies.

Patch Changes

2.15.4

Patch Changes

  • #5008 c8499114e55 Thanks @aliemir! - Fixed the @refinedev/devtools-server dependency version for following the releases easily.

  • Updated dependencies [c8499114e55]:

    • @refinedev/devtools-server@1.1.4

2.15.3

Patch Changes

  • #5008 c8499114e55 Thanks @aliemir! - Fixed the @refinedev/devtools-server dependency version for following the releases easily.

  • Updated dependencies [c8499114e55]:

    • @refinedev/devtools-server@1.1.3

2.15.2

Patch Changes

2.15.1

Patch Changes

2.15.0

Minor Changes

  • #4979 1958c77e7e3 Thanks @alicanerdurmaz! - feat: added devtools init command. From now on, you can install refine devtools with a single command and add the necessary components to your project.

    npm run refine devtools init
    

2.14.0

Minor Changes

  • #4979 1958c77e7e3 Thanks @alicanerdurmaz! - feat: added devtools init command. From now on, you can install refine devtools with a single command and add the necessary components to your project.

    npm run refine devtools init
    

2.13.0

Minor Changes

  • #4960 d8e464fa2c4 Thanks @aliemir! - Integration with refine devtools.

    Now you can start the Devtools server using the refine devtools command or when the server will be started automatically when you start your app in development mode using refine dev command if you have @refinedev/devtools installed.

Patch Changes

2.12.2

Patch Changes

2.12.1

Patch Changes

2.12.0

Minor Changes

  • #4960 d8e464fa2c4 Thanks @aliemir! - Integration with refine devtools.

    Now you can start the Devtools server using the refine devtools command or when the server will be started automatically when you start your app in development mode using refine dev command if you have @refinedev/devtools installed.

Patch Changes

  • Updated dependencies [d8e464fa2c4]:
    • @refinedev/devtools-server@1.0.0

2.11.0

Minor Changes

  • #4904 b1ab9a23520 Thanks @alicanerdurmaz! - feat: added add command to add new features to the project Now you can add a new provider or resource to the project using the command npm run refine add <arg>.

    • npm run refine add resource posts: will add a new resource to the project with the name posts.
    • npm run refine add auth: will add a new auth provider to the project.
    • npm run refine add data: will add a new data provider to the project.
    • npm run refine add live: will add a new live provider to the project.
    • npm run refine add access-control: will add a new access control provider to the project.
    • npm run refine add audit-log: will add a new audit log provider to the project.
    • npm run refine add i18n: will add a new i18n provider to the project.
    • npm run refine add notification: will add a new notification provider to the project.

2.10.0

Minor Changes

  • #4904 b1ab9a23520 Thanks @alicanerdurmaz! - feat: added add command to add new features to the project Now you can add a new provider or resource to the project using the command npm run refine add <arg>.

    • npm run refine add resource posts: will add a new resource to the project with the name posts.
    • npm run refine add auth: will add a new auth provider to the project.
    • npm run refine add data: will add a new data provider to the project.
    • npm run refine add live: will add a new live provider to the project.
    • npm run refine add access-control: will add a new access control provider to the project.
    • npm run refine add audit-log: will add a new audit log provider to the project.
    • npm run refine add i18n: will add a new i18n provider to the project.
    • npm run refine add notification: will add a new notification provider to the project.

2.9.0

Minor Changes

2.8.0

Minor Changes

2.7.6

Patch Changes

2.7.5

Patch Changes

2.7.4

Patch Changes

  • #4696 35a2c695a74 Thanks @BatuhanW! - feat: CLI will try to read projectId from package.json if exists and send it to the telemetry server.

    Also removed redundant comment lines on resource generation.

2.7.3

Patch Changes

  • #4696 35a2c695a74 Thanks @BatuhanW! - feat: CLI will try to read projectId from package.json if exists and send it to the telemetry server.

    Also removed redundant comment lines on resource generation.

2.7.2

Patch Changes

2.7.1

Patch Changes

2.7.0

Minor Changes

2.6.0

Minor Changes

2.5.5

Patch Changes

2.5.4

Patch Changes

2.5.3

Patch Changes

  • #4195 18f955a064e Thanks @aliemir! - fix(cli): add file system check to find installed packages

    Updated the package find logic and added file system check for double checking if the package is installed or not.

2.5.2

Patch Changes

  • #4195 18f955a064e Thanks @aliemir! - fix(cli): add file system check to find installed packages

    Updated the package find logic and added file system check for double checking if the package is installed or not.

2.5.1

Patch Changes

  • #4195 18f955a064e Thanks @aliemir! - fix(cli): add file system check to find installed packages

    Updated the package find logic and added file system check for double checking if the package is installed or not.

2.5.0

Minor Changes

  • #4187 014ad4d5e79 Thanks @aliemir! - refactor: use require.resolve to find script executables.

    Updated the runner command to use require.resolve to find the script executable. This allows the script to be run from anywhere in the project and allow mono-repos with workspaces to work.

  • #4187 014ad4d5e79 Thanks @aliemir! - refactor: use require.resolve to find refine package paths.

    Updated the refine package search to use require.resolve to find the package path. This allows the package to be run from anywhere in the project and allow mono-repos with workspaces to work.

2.4.0

Minor Changes

  • #4187 014ad4d5e79 Thanks @aliemir! - refactor: use require.resolve to find script executables.

    Updated the runner command to use require.resolve to find the script executable. This allows the script to be run from anywhere in the project and allow mono-repos with workspaces to work.

  • #4187 014ad4d5e79 Thanks @aliemir! - refactor: use require.resolve to find refine package paths.

    Updated the refine package search to use require.resolve to find the package path. This allows the package to be run from anywhere in the project and allow mono-repos with workspaces to work.

2.3.0

Minor Changes

  • #4149 ca6a2b18576 Thanks @alicanerdurmaz! - feat: added required packages to install after swizzling. Now with this feature, users can automatically install the required packages after swizzling.

Patch Changes

  • #4138 a15634d6621 Thanks @alicanerdurmaz! - fix: When the project type is vite, the refine dev command was running vite start. It is now changed to vite dev, because there is no start command in vite.

2.2.0

Minor Changes

  • #4149 ca6a2b18576 Thanks @alicanerdurmaz! - feat: added required packages to install after swizzling. Now with this feature, users can automatically install the required packages after swizzling.

Patch Changes

  • #4138 a15634d6621 Thanks @alicanerdurmaz! - fix: When the project type is vite, the refine dev command was running vite start. It is now changed to vite dev, because there is no start command in vite.

2.1.2

Patch Changes

  • #3976 7e793ee9dc3 Thanks @BatuhanW! - feat: added parcel support

    fixed: refine --version doesn't return refine cli's version. fixed: add error message if user tries to run script with unsupported package. fixed: added "unknown" project type as fallback.

2.1.1

Patch Changes

  • #3976 7e793ee9dc3 Thanks @BatuhanW! - feat: added parcel support

    fixed: refine --version doesn't return refine cli's version. fixed: add error message if user tries to run script with unsupported package. fixed: added "unknown" project type as fallback.

2.1.0

Minor Changes

  • Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Moving to the @refinedev scope 🎉🎉

    Moved to the @refinedev scope and updated our packages to use the new scope. From now on, all packages will be published under the @refinedev scope with their new names.

    Now, we're also removing the refine prefix from all packages. So, the @pankod/refine-core package is now @refinedev/core, @pankod/refine-antd is now @refinedev/antd, and so on.

Patch Changes

1.19.0

Minor Changes

1.18.0

Minor Changes

1.17.2

Patch Changes

1.17.1

Patch Changes

1.17.0

Minor Changes

Patch Changes

  • #3367 e850fe25400 Thanks @alicanerdurmaz! - Fixed: ReferenceError: btoa is not defined. #3366 use Buffer.from when btoa is "undefined" for base64 encoding.

1.16.0

Minor Changes

Patch Changes

  • #3367 e850fe25400 Thanks @alicanerdurmaz! - Fixed: ReferenceError: btoa is not defined. #3366 use Buffer.from when btoa is "undefined" for base64 encoding.

1.15.0

Minor Changes

1.14.0

Minor Changes

1.13.6

Patch Changes

  • #3315 dda827e9a58 Thanks @yasnbouz! - Fixed: Ctrl+c not killing running dev; leaving ports open - #3175 Fixed: terminal output color w/ env FORCE_COLOR=true

1.13.5

Patch Changes

  • #3315 dda827e9a58 Thanks @yasnbouz! - Fixed: Ctrl+c not killing running dev; leaving ports open - #3175 Fixed: terminal output color w/ env FORCE_COLOR=true

1.13.4

Patch Changes

  • #3282 996b9077ea0 Thanks @alicanerdurmaz! - Added: npm -ls was always throws an error. From now returns null, with this way error handling can be done when needed.

1.13.3

Patch Changes

  • #3282 996b9077ea0 Thanks @alicanerdurmaz! - Added: npm -ls was always throws an error. From now returns null, with this way error handling can be done when needed.

1.13.2

Patch Changes

1.13.1

Patch Changes

1.13.0

Minor Changes

Patch Changes

1.12.0

Minor Changes

Patch Changes

1.11.0

Minor Changes

1.10.0

Minor Changes

1.9.0

Minor Changes

  • #3109 16549ed3012 Thanks @aliemir! - - Updated command order (swizzle to the top)
    • Added installed packages notification at the start of the swizzle command.
    • Updated swizzle command to respect project file paths (/src or /app)
    • Added grouping option for installed packages at the first prompt of the swizzle command.
    • Syntax highlighting and improvements for swizzle success messages.

1.8.0

Minor Changes

  • #3109 16549ed3012 Thanks @aliemir! - - Updated command order (swizzle to the top)
    • Added installed packages notification at the start of the swizzle command.
    • Updated swizzle command to respect project file paths (/src or /app)
    • Added grouping option for installed packages at the first prompt of the swizzle command.
    • Syntax highlighting and improvements for swizzle success messages.

1.7.0

Minor Changes

  • #3062 6c2ed708a9a Thanks @aliemir! - swizzle command added to the CLI. 🎉

    It allows you to copy the latest version of supported components and functions to your project and customize it the way you want. swizzle command will prompt you with package and component selection, then copy the latest version of the component to your project and log the path of the copied files.

1.6.0

Minor Changes

  • #3062 6c2ed708a9a Thanks @aliemir! - swizzle command added to the CLI. 🎉

    It allows you to copy the latest version of supported components and functions to your project and customize it the way you want. swizzle command will prompt you with package and component selection, then copy the latest version of the component to your project and log the path of the copied files.

1.5.3

Patch Changes

1.5.2

Patch Changes

1.5.1

Patch Changes

  • #3092 984f1c21ab6 Thanks @alicanerdurmaz! - Added: Warning command description changed according refine CLI installed or not.

    • If refine CLI is installed, It will be shown as npm run refine update command.
    • IF refine CLI is not installed, It will be shown as npx refine update command.
      • package manager will be detected automatically.

1.5.0

Minor Changes

1.4.0

Minor Changes

1.3.1

Patch Changes

1.3.0

Minor Changes

  • #3067 6f83ddba2ad Thanks @alicanerdurmaz! - Added: whoami command to refine-cli. It's shows details of the development environment. Added: telemetry to refine-cli commands.

Patch Changes

1.2.0

Minor Changes

  • #3067 6f83ddba2ad Thanks @alicanerdurmaz! - Added: whoami command to refine-cli. It's shows details of the development environment. Added: telemetry to refine-cli commands.

Patch Changes

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

  • #3058 5f43dc6361f Thanks @alicanerdurmaz! - Added: The description of dev,start,build commands changed according to project type.

  • #3060 1a53f4c4699 Thanks @yildirayunlu! - - Rename command name generate:resource to create-resource.

    • Removed the requirement for the resource name parameter. Ask for resource name and actions with inquirer.
    • Add multiple resource create support. (refine create-resource post category user)
  • #3056 29417155780 Thanks @alicanerdurmaz! - Fixed refine check-updates showing packages when current version ahead of next

1.1.1

Patch Changes

1.1.0

Minor Changes