Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.3.0 - align with 2022.02.xx #261

Merged
merged 19 commits into from
Jan 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# add legacy peer dependency flag on npm install
legacy-peer-deps=true
674 changes: 0 additions & 674 deletions LICENSE

This file was deleted.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ Une installation de NodeJS >= 12.16.1 est prérequise ([téléchargement](https:

Pour les développements et les tests :



```
cd MapStore2
git checkout master
cd ..
npm install
npm start
```
Expand Down
11 changes: 7 additions & 4 deletions assets/translations/data.fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@
"partThree": "3 - Définir les critères liés aux opérations",
"partFour": "4 - Définir les critères liés aux programmes",
"maxSearchLimit": " Trop de résultats : Veuillez ajouter un filtre supplémentaire !",
"noResultLayer": " Avertissement : Une ou plusieurs couche ne retournent aucun résultat à filtrer"
"noResultLayer": " Une ou plusieurs couche ne retournent aucun résultat à filtrer",
"warning": "Avertissement",
"requestSuccess": "Préparation du filtre réussie !",
"filterLayer": "Filtre de couche"
},
"identify": {
"copyMailTitle": "Copier l'adresse pour réaliser un copier / coller",
Expand Down Expand Up @@ -174,9 +177,9 @@
"pluiDisposition": "Dispositions réglementaires",
"outilFoncier": "Outil foncier existant",
"typeOccupation": "Type d'occupation actuel",
"foncierPriveTaux": "Niveau",
"foncierPriveTaux": "Niveau de portage PAF (%)",
"foncierPriveDescription": "Maitrise foncière privée",
"foncierPublicTaux": "Niveau",
"foncierPublicTaux": "Niveau de portage PAF (%)",
"foncierPublicDescription": "Maitrise foncière publique",
"studyToPlan": "Etudes à prévoir",
"objectifs": "Enjeux",
Expand Down Expand Up @@ -335,7 +338,7 @@
"progActivity": "Programmation activités",
"nbHousing": "Nombre de logements",
"tabMixte": "Mixte",
"datePLH": "Date Convention PLH",
"datePLH": "Date convention PLH",
"convPLH": "Convention PLH",
"targetPLH": "Nombre de logements conventionnés PLH prévu",
"delivPLH": "Nombre de logements conventionnés PLH livré",
Expand Down
4 changes: 2 additions & 2 deletions build/extension/commons.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module.exports = {
destination: path.join(__dirname, '..', '..', "dist"),
// to compile properly also mapstore dependencies
alias: {
"@mapstore/patcher": path.resolve(__dirname, '..', '..', "node_modules", "@mapstore", "patcher"),
"@mapstore": path.resolve(__dirname, '..', '..', "MapStore2", "web", "client"),
"@js": path.resolve(__dirname, '..', '..', "js"),
"@ext": path.resolve(__dirname, '..', '..',"js", "extension")
"@js": path.resolve(__dirname, '..', '..', "js")
}
};
13 changes: 8 additions & 5 deletions build/extension/module.app.webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ const webpackConfig = require("../../webpack.config");
const { name } = require('../../config');

// emulate the extension root directory
webpackConfig.devServer.proxy["/extension/"] = {
webpackConfig.devServer.proxy["/extensions/"] = {
target: "http://localhost:8082"
};
// emulate the extensions.json

// before option has changed in the v4 of webpack-dev-server,
// see https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md
webpackConfig.devServer.before = function(app) {
app.get("/extensions.json", function(req, res) {
app.get("/extensions/extensions.json", function(req, res) {
res.json({
[name]: {
"bundle": "extension/index.js",
"translations": "extension/translations"
"bundle": "index.js",
"translations": "translations"
}
});
});
},
};
module.exports = webpackConfig;
4 changes: 2 additions & 2 deletions build/extension/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const webpackConfig = createExtensionWebpackConfig({
overrides: {
// serve translations (and index.json)
devServer: {
publicPath: "/extension/",
publicPath: "/extensions/",
contentBase: './assets',
contentBasePublicPath: '/extension/'
contentBasePublicPath: '/extensions/'
}
}
});
Expand Down
Loading