removing `bower`: migrate `alertify`

Signed-off-by: Pamplemousse <git@xaviermaso.com>
This commit is contained in:
Pamplemousse 2023-01-07 09:25:52 +01:00
parent a847a5300a
commit dc7f6b46c7
5 changed files with 16 additions and 2 deletions

View File

@ -18,7 +18,6 @@
"tests"
],
"dependencies": {
"alertifyjs": "1.0.11",
"scrypt-async": "1.2.0",
"require-css": "0.1.10",
"bootstrap": "^v4.0.0",

13
package-lock.json generated
View File

@ -27,6 +27,7 @@
"ws": "^3.3.1"
},
"devDependencies": {
"alertify.js": "1.0.11",
"chainpad": "^5.2.0",
"chainpad-listmap": "github:xwiki-labs/chainpad-listmap#^1.0.0",
"chainpad-netflux": "^1.0.0",
@ -141,6 +142,12 @@
"url": "https://github.com/sponsors/epoberezkin"
}
},
"node_modules/alertify.js": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/alertify.js/-/alertify.js-1.0.11.tgz",
"integrity": "sha512-sNnALmmoiEO6cGI2nCCxSaHDFPUW6SkvDGuf4yW83Xog07LvDJtyvPtIBemOJ+EqqtxmPDreqzVvkqKAXkHLcA==",
"dev": true
},
"node_modules/amd-resolve": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/amd-resolve/-/amd-resolve-0.1.1.tgz",
@ -5164,6 +5171,12 @@
"uri-js": "^4.2.2"
}
},
"alertify.js": {
"version": "1.0.11",
"resolved": "https://registry.npmjs.org/alertify.js/-/alertify.js-1.0.11.tgz",
"integrity": "sha512-sNnALmmoiEO6cGI2nCCxSaHDFPUW6SkvDGuf4yW83Xog07LvDJtyvPtIBemOJ+EqqtxmPDreqzVvkqKAXkHLcA==",
"dev": true
},
"amd-resolve": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/amd-resolve/-/amd-resolve-0.1.1.tgz",

View File

@ -30,6 +30,7 @@
"ws": "^3.3.1"
},
"devDependencies": {
"alertify.js": "1.0.11",
"chainpad": "^5.2.0",
"chainpad-listmap": "github:xwiki-labs/chainpad-listmap#^1.0.0",
"chainpad-netflux": "^1.0.0",

View File

@ -22,6 +22,7 @@ Fse.mkdirpSync(componentsPath);
"chainpad-listmap",
"chainpad-netflux",
"file-saver",
"alertify.js",
].forEach(l => {
const source = Path.join("node_modules", l);
const destination = Path.join(componentsPath, l);

View File

@ -14,7 +14,7 @@ define([
'/common/common-hash.js',
'/common/common-notifier.js',
'/customize/application_config.js',
'/bower_components/alertifyjs/dist/js/alertify.js',
'/components/alertify.js/dist/js/alertify.js',
'/lib/tippy/tippy.min.js',
'/common/hyperscript.js',
'/customize/loading.js',