@edifice.io/wiki 3.4.0-develop-pedago.1 → 3.4.0-develop-pedago.3

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.
package/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # EDIFICE.io - Wiki Application
2
+
3
+ Wiki and Courses application developed by Edifice.io
4
+
5
+ ## LICENCE
6
+
7
+ - Licence : AGPL v3 - Copyright Région Hauts-de-France (ex Picardie), Département de l'Essonne, Région Nouvelle Aquitaine (ex Poitou-Charentes), Edifice
8
+ - Développeur(s) : Edifice
9
+ - Financeur(s) : Région Hauts-de-France (ex Picardie), Département de l'Essonne, Région Nouvelle Aquitaine (ex Poitou-Charentes), Edifice
10
+
11
+ ## INSTALL
12
+
13
+ ```bash
14
+ pnpm install
15
+ ```
@@ -1,4 +1,4 @@
1
- import { WikiAction } from '../components/WikiApp';
1
+ import { WikiAction } from '../WikiApp';
2
2
  export interface WikiAppContextProps {
3
3
  wikiId: string;
4
4
  header?: boolean;
@@ -1,4 +1,4 @@
1
- import { WikiAction } from '../components/WikiApp';
1
+ import { WikiAction } from '../WikiApp';
2
2
  export interface WikiAppProviderProps {
3
3
  wikiId: string;
4
4
  header?: boolean;
package/lib/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { default as WikiApp } from './components/WikiApp/components/WikiApp';
1
+ export { default as WikiApp } from './components/WikiApp/WikiApp';
package/lib/index2.js CHANGED
@@ -2355,7 +2355,8 @@ j0()((e, t) => ({
2355
2355
  selectedResources: s,
2356
2356
  resourceIds: n
2357
2357
  } = t();
2358
- if (s.length !== 1) throw new Error("Cannot open more than 1 resource");
2358
+ if (s.length !== 1)
2359
+ throw new Error("Cannot open more than 1 resource");
2359
2360
  const a = s.find((r) => r.id === n[0]);
2360
2361
  va({
2361
2362
  searchParams: i,
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@edifice.io/wiki",
3
- "version": "3.4.0-develop-pedago.1",
4
- "license": "GPL-3.0",
3
+ "version": "3.4.0-develop-pedago.3",
4
+ "description": "Wiki application",
5
+ "license": "AGPL-3.0",
5
6
  "author": "Edifice",
6
7
  "type": "module",
7
8
  "husky": {
@@ -16,9 +17,9 @@
16
17
  ]
17
18
  },
18
19
  "dependencies": {
19
- "@edifice.io/bootstrap": "link:../../edifice-frontend-framework/packages/bootstrap",
20
- "@edifice.io/client": "link:../../edifice-frontend-framework/packages/client",
21
- "@edifice.io/react": "link:../../edifice-frontend-framework/packages/react",
20
+ "@edifice.io/bootstrap": "develop-pedago",
21
+ "@edifice.io/client": "develop-pedago",
22
+ "@edifice.io/react": "develop-pedago",
22
23
  "@react-spring/web": "9.7.5",
23
24
  "@tanstack/react-query": "5.62.7",
24
25
  "@uidotdev/usehooks": "2.4.1",
@@ -26,7 +27,7 @@
26
27
  "i18next": "23.8.1",
27
28
  "i18next-http-backend": "2.4.2",
28
29
  "lottie-react": "2.4.1",
29
- "ode-explorer": "link:../../explorer/frontend",
30
+ "ode-explorer": "develop-pedago",
30
31
  "react": "18.3.1",
31
32
  "react-dom": "18.3.1",
32
33
  "react-error-boundary": "4.0.13",