@cerema/cadriciel 1.4.20 β†’ 1.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,6 +35,19 @@ module.exports = (args) => {
35
35
  }
36
36
  };
37
37
 
38
+ const link = (url, name) => {
39
+ if (!name) name = url;
40
+ if (url.includes('localhost')) url = 'http://' + url + '/';
41
+ else url = 'https://' + url + '/';
42
+ return (
43
+ '\u001b[36m\u001b]8;;' +
44
+ url +
45
+ '\u0007' +
46
+ name +
47
+ '\u001b]8;;\u0007\u001b[0m\n'
48
+ );
49
+ };
50
+
38
51
  const download = async (name, cb) => {
39
52
  const CadricielAPI = require(path.join('..', '..', 'lib', 'cadriciel'));
40
53
  const cadriciel = new CadricielAPI();
@@ -167,7 +180,10 @@ module.exports = (args) => {
167
180
  "arrΓͺte l'environnement."
168
181
  )}
169
182
 
170
- πŸ‘‰ https://studio.k8-dev.cerema.fr πŸ‘ˆ);
183
+ πŸ‘‰ ${link(
184
+ 'https://studio.k8-dev.cerema.fr',
185
+ 'studio.k8-dev.cerema.fr'
186
+ )}
171
187
 
172
188
  ──────────────────────────────────────────────────────────────`);
173
189
  console.log(' ');
@@ -218,7 +234,10 @@ module.exports = (args) => {
218
234
  "arrΓͺte l'environnement."
219
235
  )}
220
236
 
221
- πŸ‘‰ https://studio.k8-dev.cerema.fr πŸ‘ˆ
237
+ πŸ‘‰ ${link(
238
+ 'studio.k8-dev.cerema.fr',
239
+ 'studio.k8-dev.cerema.fr'
240
+ )}
222
241
 
223
242
  ──────────────────────────────────────────────────────────────\n`
224
243
  );
@@ -77,7 +77,7 @@ module.exports = (args) => {
77
77
  },
78
78
  start: () => {
79
79
  const dockerImagesToInstall = [
80
- 'postgis/postgis',
80
+ 'cerema/postgres',
81
81
  'dpage/pgadmin4',
82
82
  'inbucket/inbucket:latest',
83
83
  'quay.io/keycloak/keycloak:legacy',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerema/cadriciel",
3
- "version": "1.4.20",
3
+ "version": "1.4.21",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "npm": ">=8.0.0",