Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Only Update CI4 by Composer
#1
Lightbulb 
(This post was last modified: 10-01-2020, 05:21 PM by nc03061981.)

My CI4 app have 2 packages: CI4 and Myth/Auth
I want update --> Only CI4 <-- (composer update --no-dev)

How I do it

Here my composer.json
Code:
{
"name": "codeigniter4/appstarter",
"type": "project",
"description": "CodeIgniter4 starter app",
"homepage": "https://codeigniter.com",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=7.2",
"codeigniter4/framework": "^4",
"myth/auth": "^1.0@beta"
},
"require-dev": {
"fzaninotto/faker": "^1.9@dev",
"mikey179/vfsstream": "1.6.*",
"phpunit/phpunit": "^8.5"
},
"autoload-dev": {
"psr-4": {
"Tests\\Support\\": "tests/_support"
}
},
"scripts": {
"post-update-cmd": [
"@composer dump-autoload"
],
"test": "phpunit"
},
"support": {
"forum": "http://forum.codeigniter.com/",
"source": "https://github.com/codeigniter4/CodeIgniter4",
"slack": "https://codeigniterchat.slack.com"
}
}

Is it just delete "myth/auth":"^1.0@beta" ?

Learning CI4 from my works, from errors and how to fix bugs in the community

Love CI & Thanks CI Teams

Reply


Messages In This Thread
[SOLVED] Only Update CI4 by Composer - by nc03061981 - 10-01-2020, 04:50 AM
RE: Only Update CI4 by Composer - by InsiteFX - 10-01-2020, 06:29 AM
RE: Only Update CI4 by Composer - by nc03061981 - 10-01-2020, 05:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB