@annotorious/react-manifold 0.0.11 → 0.0.13
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/dist/Annotorious.d.ts +13 -0
- package/dist/Annotorious.d.ts.map +1 -0
- package/dist/AnnotoriousManifold.d.ts +26 -0
- package/dist/AnnotoriousManifold.d.ts.map +1 -0
- package/dist/AnnotoriousManifoldInstance.d.ts +16 -0
- package/dist/AnnotoriousManifoldInstance.d.ts.map +1 -0
- package/dist/annotorious-react-manifold.es.js +13 -0
- package/dist/annotorious-react-manifold.es.js.map +1 -0
- package/dist/annotorious-react-manifold.es10.js +5 -0
- package/dist/annotorious-react-manifold.es10.js.map +1 -0
- package/dist/annotorious-react-manifold.es2.js +15 -0
- package/dist/annotorious-react-manifold.es2.js.map +1 -0
- package/dist/annotorious-react-manifold.es3.js +58 -0
- package/dist/annotorious-react-manifold.es3.js.map +1 -0
- package/dist/annotorious-react-manifold.es4.js +39 -0
- package/dist/annotorious-react-manifold.es4.js.map +1 -0
- package/dist/annotorious-react-manifold.es5.js +9 -0
- package/dist/annotorious-react-manifold.es5.js.map +1 -0
- package/dist/annotorious-react-manifold.es6.js +5 -0
- package/dist/annotorious-react-manifold.es6.js.map +1 -0
- package/dist/annotorious-react-manifold.es7.js +33 -0
- package/dist/annotorious-react-manifold.es7.js.map +1 -0
- package/dist/annotorious-react-manifold.es8.js +602 -0
- package/dist/annotorious-react-manifold.es8.js.map +1 -0
- package/dist/annotorious-react-manifold.es9.js +5 -0
- package/dist/annotorious-react-manifold.es9.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/synchronizeInstances.d.ts +3 -0
- package/dist/synchronizeInstances.d.ts.map +1 -0
- package/package.json +14 -4
- package/src/Annotorious.tsx +0 -48
- package/src/AnnotoriousManifold.tsx +0 -141
- package/src/AnnotoriousManifoldInstance.ts +0 -106
- package/src/index.ts +0 -3
- package/src/synchronizeInstances.tsx +0 -11
- package/test/33054-000002-0001.jpg +0 -0
- package/test/App.tsx +0 -50
- package/test/index.css +0 -18
- package/test/index.html +0 -12
- package/test/index.tsx +0 -13
- package/tsconfig.json +0 -26
- package/tsconfig.node.json +0 -10
- package/vite.config.js +0 -40
package/tsconfig.json
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"allowJs": false,
|
|
4
|
-
"allowSyntheticDefaultImports": true,
|
|
5
|
-
"baseUrl": ".",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"declarationDir": "types",
|
|
8
|
-
"declarationMap": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"isolatedModules": false,
|
|
12
|
-
"jsx": "react-jsx",
|
|
13
|
-
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
14
|
-
"module": "ESNext",
|
|
15
|
-
"moduleResolution": "node",
|
|
16
|
-
"noEmit": true,
|
|
17
|
-
"outDir": "dist",
|
|
18
|
-
"resolveJsonModule": true,
|
|
19
|
-
"skipLibCheck": true,
|
|
20
|
-
"sourceMap": true,
|
|
21
|
-
"target": "ESNext",
|
|
22
|
-
"useDefineForClassFields": true
|
|
23
|
-
},
|
|
24
|
-
"include": ["src"],
|
|
25
|
-
"references": [{ "path": "./tsconfig.node.json" }],
|
|
26
|
-
}
|
package/tsconfig.node.json
DELETED
package/vite.config.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite';
|
|
2
|
-
import react from '@vitejs/plugin-react';
|
|
3
|
-
import tsConfigPaths from 'vite-tsconfig-paths';
|
|
4
|
-
import dts from 'vite-plugin-dts';
|
|
5
|
-
|
|
6
|
-
import * as packageJson from './package.json';
|
|
7
|
-
|
|
8
|
-
export default defineConfig({
|
|
9
|
-
plugins: [
|
|
10
|
-
react(),
|
|
11
|
-
tsConfigPaths(),
|
|
12
|
-
dts({
|
|
13
|
-
include: ['./src/'],
|
|
14
|
-
entryRoot: './src'
|
|
15
|
-
})
|
|
16
|
-
],
|
|
17
|
-
server: {
|
|
18
|
-
open: '/test/index.html'
|
|
19
|
-
},
|
|
20
|
-
build: {
|
|
21
|
-
lib: {
|
|
22
|
-
entry: './src/index.ts',
|
|
23
|
-
formats: ['es'],
|
|
24
|
-
fileName: (format) => `annotorious-react-manifold.${format}.js`
|
|
25
|
-
},
|
|
26
|
-
rollupOptions: {
|
|
27
|
-
external: [
|
|
28
|
-
...Object.keys(packageJson.peerDependencies)
|
|
29
|
-
],
|
|
30
|
-
output: {
|
|
31
|
-
preserveModules: true,
|
|
32
|
-
assetFileNames: 'annotorious-react-manifold.[ext]',
|
|
33
|
-
globals: {
|
|
34
|
-
react: 'React'
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
sourcemap: true
|
|
39
|
-
}
|
|
40
|
-
});
|