@lindas/trifid-plugin-spex 4.0.0 → 7.0.0

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +46 -46
package/index.js CHANGED
@@ -40,7 +40,7 @@ const createPlugin = async (server, config, render) => {
40
40
  config = { ...defaults, ...config, spexOptions }
41
41
 
42
42
  // Serve static files from SPEX dist folder
43
- const distPath = dirname(resolve('@lindas/spex', import.meta.url))
43
+ const distPath = dirname(resolve('@zazuko/spex', import.meta.url))
44
44
  server.register(fastifyStatic, {
45
45
  root: distPath.replace(/^file:\/\//, ''),
46
46
  prefix: '/spex/static/',
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "@lindas/trifid-plugin-spex",
3
- "description": "Trifid SPEX plugin",
4
- "type": "module",
5
- "main": "index.js",
6
- "version": "4.0.0",
7
- "license": "Apache-2.0",
8
- "homepage": "https://github.com/SwissFederalArchives/lindas-trifid",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/SwissFederalArchives/lindas-trifid.git",
12
- "directory": "packages/spex"
13
- },
14
- "bugs": {
15
- "url": "https://github.com/zazuko/trifid/issues"
16
- },
17
- "scripts": {
18
- "test": "c8 --all --reporter=lcovonly --reporter=text node --test **/*.test.js"
19
- },
20
- "dependencies": {
21
- "@fastify/static": "^8.2.0",
22
- "import-meta-resolve": "^4.2.0",
23
- "@lindas/spex": "^0.2.2"
24
- },
25
- "author": {
26
- "name": "Swiss Federal Archives / Lindas",
27
- "url": "https://www.bar.admin.ch/"
28
- },
29
- "keywords": [
30
- "trifid",
31
- "trifid-plugin",
32
- "spex"
33
- ],
34
- "files": [
35
- "index.js",
36
- "views/"
37
- ],
38
- "devDependencies": {
39
- "c8": "^10.1.3",
40
- "@lindas/trifid-core": "^6.0.0"
41
- },
42
- "publishConfig": {
43
- "access": "public",
44
- "provenance": true
45
- }
46
- }
1
+ {
2
+ "name": "@lindas/trifid-plugin-spex",
3
+ "description": "Trifid SPEX plugin",
4
+ "type": "module",
5
+ "main": "index.js",
6
+ "version": "7.0.0",
7
+ "license": "Apache-2.0",
8
+ "homepage": "https://github.com/SwissFederalArchives/lindas-trifid",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/SwissFederalArchives/lindas-trifid.git",
12
+ "directory": "packages/spex"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/zazuko/trifid/issues"
16
+ },
17
+ "scripts": {
18
+ "test": "c8 --all --reporter=lcovonly --reporter=text node --test **/*.test.js"
19
+ },
20
+ "dependencies": {
21
+ "@fastify/static": "^8.2.0",
22
+ "@zazuko/spex": "^0.2.2",
23
+ "import-meta-resolve": "^4.2.0"
24
+ },
25
+ "author": {
26
+ "name": "Swiss Federal Archives / Lindas",
27
+ "url": "https://www.bar.admin.ch/"
28
+ },
29
+ "keywords": [
30
+ "trifid",
31
+ "trifid-plugin",
32
+ "spex"
33
+ ],
34
+ "files": [
35
+ "index.js",
36
+ "views/"
37
+ ],
38
+ "devDependencies": {
39
+ "c8": "^10.1.3",
40
+ "@lindas/trifid-core": "^7.0.0"
41
+ },
42
+ "publishConfig": {
43
+ "access": "public",
44
+ "provenance": false
45
+ }
46
+ }