@splinetool/loader 0.9.420 → 0.9.421

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,29 +1,30 @@
1
1
  {
2
2
  "name": "@splinetool/loader",
3
- "version": "0.9.420",
3
+ "version": "0.9.421",
4
4
  "type": "module",
5
5
  "main": "./build/SplineLoader.js",
6
6
  "module": "./build/SplineLoader.js",
7
- "types": "./build/SplineLoader.d.ts",
7
+ "types": "./SplineLoader.d.ts",
8
8
  "react-native": "./build/SplineLoader.js",
9
9
  "exports": {
10
10
  ".": {
11
- "types": "./build/SplineLoader.d.ts",
11
+ "types": "./SplineLoader.d.ts",
12
12
  "import": "./build/SplineLoader.js",
13
13
  "require": "./build/SplineLoader.cjs"
14
14
  }
15
15
  },
16
16
  "files": [
17
- "build"
17
+ "build",
18
+ "SplineLoader.d.ts"
18
19
  ],
19
20
  "scripts": {
20
- "build": "cross-env NODE_ENV=production node --experimental-json-modules ./esbuild.mjs && yarn build-types",
21
+ "build": "cross-env NODE_ENV=production node --experimental-json-modules ./esbuild.mjs",
21
22
  "build-types": "tsc --skipLibCheck --isolatedModules false --noEmit false --emitDeclarationOnly --declaration --outDir build/",
22
23
  "lint": "eslint src/ --max-warnings=0 --cache",
23
24
  "format": "prettier src/ --write",
24
25
  "typecheck": "tsc",
25
26
  "analyze": "cross-env GENERATE_SOURCEMAP=true yarn build && cross-env NODE_OPTIONS=--no-experimental-fetch source-map-explorer 'build/SplineLoader.js' --no-border-checks",
26
- "example": "vite"
27
+ "example": "yarn build && vite"
27
28
  },
28
29
  "peerDependencies": {
29
30
  "three": ">=0.133.0"
@@ -35,7 +36,7 @@
35
36
  "cross-env": "^7.0.3",
36
37
  "esbuild": "^0.15.16",
37
38
  "esbuild-plugin-glslify": "^1.0.1",
38
- "eslint": "^7.32.0",
39
+ "eslint": "^8.46.0",
39
40
  "glslify-import": "^3.1.0",
40
41
  "jest": "26.6.0",
41
42
  "lodash-es": "^4.17.21",
@@ -45,7 +46,7 @@
45
46
  "spe": "0.0.0",
46
47
  "three": "patch:three@npm:0.149.0#./packages/editor/patches/three.patch",
47
48
  "typescript": "^4.1.3",
48
- "vite": "^4.0.4",
49
+ "vite": "^4.4.7",
49
50
  "vite-plugin-static-copy": "^0.13.0"
50
51
  },
51
52
  "browserslist": {
@@ -1,2 +0,0 @@
1
- import { Scene as SplineScene } from 'spe';
2
- export declare function applyCloners(scene: SplineScene): SplineScene;
@@ -1,2 +0,0 @@
1
- import { Scene as SplineScene } from 'spe';
2
- export declare function convertCameras(scene: SplineScene): SplineScene;
@@ -1,2 +0,0 @@
1
- import { Scene as SplineScene } from 'spe';
2
- export declare function convertTransmission(scene: SplineScene): SplineScene;
@@ -1,5 +0,0 @@
1
- import { Scene as SplineScene } from 'spe';
2
- /**
3
- * Makes sure no two distinct objects share the same name
4
- */
5
- export declare function deduplicateNames(scene: SplineScene): SplineScene;
@@ -1,2 +0,0 @@
1
- import { Scene as SplineScene } from 'spe';
2
- export declare function removeJitter(scene: SplineScene): SplineScene;
@@ -1,3 +0,0 @@
1
- import { ProxiedObject } from 'collab-data';
2
- import { DocumentData } from 'spline-data';
3
- export declare function removeOutlineLayers(data: ProxiedObject<DocumentData>): void;
@@ -1,2 +0,0 @@
1
- import { Scene as SplineScene } from 'spe';
2
- export declare function restoreMatrixAutoUpdate(scene: SplineScene): SplineScene;
File without changes