- 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>
23 lines
494 B
JSON
23 lines
494 B
JSON
{
|
|
"name": "core.prestashop",
|
|
"version": "1.0.0",
|
|
"description": "Sample orbito module",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"dev": "node dev-server.js"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@orbito/api-lib": "^2.2.1",
|
|
"cron": "^4.4.0",
|
|
"dotenv": "^17.2.3",
|
|
"ejs": "^4.0.1",
|
|
"js2xmlparser": "^5.0.0",
|
|
"nanoid": "^5.1.6",
|
|
"node-cache": "^5.1.2",
|
|
"uuid": "^11.1.0"
|
|
}
|
|
}
|