feat: manifest module.json i kod modułu z getModuleInfo zamiast hardcode
- module.json: name/version/dependsOn (core/orders, core/products); package.json name -> core.prestashop - hardcode'y 'core/prestashop' (source.moduleCode w pullerze/imporcie) zastąpione Core.getModuleInfo().code; w orders-api stałe top-level zamienione na leniwe funkcje, legacy alias 'prestashop' wyliczany z kodu - make-zip.sh pakuje module.json Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "prestashop-module",
|
||||
"name": "core.prestashop",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "prestashop-module",
|
||||
"name": "core.prestashop",
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user