enzostvs HF staff commited on
Commit
0bfd10c
β€’
1 Parent(s): b958b12

fix import

Browse files
Files changed (3) hide show
  1. package-lock.json +4 -12
  2. package.json +1 -1
  3. src/routes/+layout.svelte +1 -1
package-lock.json CHANGED
@@ -10,7 +10,7 @@
10
  "dependencies": {
11
  "@aws-sdk/client-s3": "^3.490.0",
12
  "@huggingface/hub": "^0.12.3",
13
- "@huggingface/space-header": "file:../huggingface.js/packages/space-header",
14
  "@iconify/svelte": "^3.1.4",
15
  "@prisma/client": "^5.7.1",
16
  "@svelte-put/clickoutside": "^3.0.1",
@@ -58,15 +58,6 @@
58
  "vite": "^4.4.2"
59
  }
60
  },
61
- "../huggingface.js/packages/space-header": {
62
- "name": "@huggingface/space-header",
63
- "version": "1.0.3",
64
- "license": "MIT",
65
- "devDependencies": {
66
- "tsup": "^8.1.0",
67
- "typescript": "^5.4.5"
68
- }
69
- },
70
  "huggingface.js/space-header": {
71
  "extraneous": true
72
  },
@@ -984,8 +975,9 @@
984
  }
985
  },
986
  "node_modules/@huggingface/space-header": {
987
- "resolved": "../huggingface.js/packages/space-header",
988
- "link": true
 
989
  },
990
  "node_modules/@humanwhocodes/config-array": {
991
  "version": "0.11.13",
 
10
  "dependencies": {
11
  "@aws-sdk/client-s3": "^3.490.0",
12
  "@huggingface/hub": "^0.12.3",
13
+ "@huggingface/space-header": "^1.0.3",
14
  "@iconify/svelte": "^3.1.4",
15
  "@prisma/client": "^5.7.1",
16
  "@svelte-put/clickoutside": "^3.0.1",
 
58
  "vite": "^4.4.2"
59
  }
60
  },
 
 
 
 
 
 
 
 
 
61
  "huggingface.js/space-header": {
62
  "extraneous": true
63
  },
 
975
  }
976
  },
977
  "node_modules/@huggingface/space-header": {
978
+ "version": "1.0.3",
979
+ "resolved": "https://registry.npmjs.org/@huggingface/space-header/-/space-header-1.0.3.tgz",
980
+ "integrity": "sha512-7W9QzGsBNl+IGFRjb3Py2cJpWCNgULL8RR+u69URP8FG4cPVH+5g6kKS2OrapPfZ/IoakFZSoI84ORSToL6qTw=="
981
  },
982
  "node_modules/@humanwhocodes/config-array": {
983
  "version": "0.11.13",
package.json CHANGED
@@ -43,7 +43,7 @@
43
  "dependencies": {
44
  "@aws-sdk/client-s3": "^3.490.0",
45
  "@huggingface/hub": "^0.12.3",
46
- "@huggingface/space-header": "file:../huggingface.js/packages/space-header",
47
  "@iconify/svelte": "^3.1.4",
48
  "@prisma/client": "^5.7.1",
49
  "@svelte-put/clickoutside": "^3.0.1",
 
43
  "dependencies": {
44
  "@aws-sdk/client-s3": "^3.490.0",
45
  "@huggingface/hub": "^0.12.3",
46
+ "@huggingface/space-header": "^1.0.3",
47
  "@iconify/svelte": "^3.1.4",
48
  "@prisma/client": "^5.7.1",
49
  "@svelte-put/clickoutside": "^3.0.1",
src/routes/+layout.svelte CHANGED
@@ -2,7 +2,7 @@
2
  import { get } from "svelte/store";
3
  import Icon from "@iconify/svelte";
4
  import { SvelteToast } from '@zerodevx/svelte-toast'
5
- import { init } from "../../node_modules/@huggingface/space-header"
6
 
7
  import Sidebar from "$lib/components/sidebar/Sidebar.svelte";
8
  import "$lib/styles/tailwind.css"
 
2
  import { get } from "svelte/store";
3
  import Icon from "@iconify/svelte";
4
  import { SvelteToast } from '@zerodevx/svelte-toast'
5
+ import { init } from "@huggingface/space-header"
6
 
7
  import Sidebar from "$lib/components/sidebar/Sidebar.svelte";
8
  import "$lib/styles/tailwind.css"