@slopmachine/svelte 0.1.7 → 0.1.9

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/package.json CHANGED
@@ -1,24 +1,17 @@
1
1
  {
2
2
  "name": "@slopmachine/svelte",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Svelte wrapper for SlopMachine",
5
5
  "type": "module",
6
- "main": "./dist/index.js",
7
- "svelte": "./dist/index.js",
6
+ "main": "src/index.ts",
7
+ "svelte": "src/index.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/index.d.ts",
11
- "svelte": "./dist/index.js",
12
- "default": "./dist/index.js"
10
+ "types": "./src/index.ts",
11
+ "svelte": "./src/index.ts",
12
+ "default": "./src/index.ts"
13
13
  }
14
14
  },
15
- "files": [
16
- "dist"
17
- ],
18
- "scripts": {
19
- "build": "svelte-package -i src",
20
- "prepublishOnly": "npm run build"
21
- },
22
15
  "repository": {
23
16
  "type": "git",
24
17
  "url": "git+https://github.com/slopmachine-dev/slopmachine-sdk.git"
@@ -28,9 +21,5 @@
28
21
  },
29
22
  "peerDependencies": {
30
23
  "svelte": "^5.0.0"
31
- },
32
- "devDependencies": {
33
- "@sveltejs/package": "^2.3.2",
34
- "typescript": "^5.0.0"
35
24
  }
36
25
  }
package/tsconfig.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "useDefineForClassFields": true,
5
+ "module": "ESNext",
6
+ "moduleResolution": "bundler",
7
+ "strict": true,
8
+ "jsx": "preserve",
9
+ "resolveJsonModule": true,
10
+ "isolatedModules": true,
11
+ "esModuleInterop": true,
12
+ "lib": ["ESNext", "DOM", "DOM.Iterable"],
13
+ "types": ["svelte"],
14
+ "skipLibCheck": true,
15
+ "noEmit": true,
16
+ "composite": true,
17
+ "declaration": true,
18
+ "declarationMap": true
19
+ },
20
+ "include": ["src/**/*.ts", "src/**/*.svelte"]
21
+ }
@@ -1,8 +0,0 @@
1
- import { type SlopImageOptions } from "@slopmachine/core";
2
- interface Props extends SlopImageOptions {
3
- class?: string;
4
- }
5
- declare const SlopImage: import("svelte").Component<Props, {}, "">;
6
- type SlopImage = ReturnType<typeof SlopImage>;
7
- export default SlopImage;
8
- //# sourceMappingURL=SlopImage.svelte.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SlopImage.svelte.d.ts","sourceRoot":"","sources":["../src/SlopImage.svelte.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiB,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAGvE,UAAU,KAAM,SAAQ,gBAAgB;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAkHH,QAAA,MAAM,SAAS,2CAAwC,CAAC;AACxD,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAC9C,eAAe,SAAS,CAAC"}
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { default as SlopImage } from "./SlopImage.svelte";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,oBAAoB,CAAC"}
File without changes
File without changes
File without changes