diff --git a/package-lock.json b/package-lock.json index 7620b3f06..c03cdc2ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "erdapfel", "version": "1.0.0", "license": "Apache-2.0", "workspaces": [ @@ -140,7 +141,7 @@ }, "local_modules/qwant-maps-common": { "name": "@qwant/qwant-maps-common", - "version": "1.0.0", + "version": "0.1.0", "license": "Apache-2.0", "devDependencies": { "@rollup/plugin-commonjs": "^17.1.0", diff --git a/package.json b/package.json index 3568535df..061f42e09 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "i18n-pull": "tx pull --all --force", "watch": "webpack --config build/webpack.config.js -w --mode=development", "msgmerge": "node local_modules/merge-po/index", - "prepare": "if [ \"$IGNORE_PREPARE\" != true ]; then node build/before_build.js; fi", + "prepare": "if [ \"$IGNORE_PREPARE\" != true ]; then node build/before_build.js && npm rebuild @qwant/qwant-maps-common; fi", "lint": "eslint src bin build tests --ext '.js,.jsx'", "lint-fix": "eslint --fix src bin build tests --ext '.js,.jsx'", "analyze": "webpack --config build/webpack.config.js --mode=production --profile --json > stats.json && webpack-bundle-analyzer stats.json public/build/javascript"