@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.
Files changed (44) hide show
  1. package/dist/Annotorious.d.ts +13 -0
  2. package/dist/Annotorious.d.ts.map +1 -0
  3. package/dist/AnnotoriousManifold.d.ts +26 -0
  4. package/dist/AnnotoriousManifold.d.ts.map +1 -0
  5. package/dist/AnnotoriousManifoldInstance.d.ts +16 -0
  6. package/dist/AnnotoriousManifoldInstance.d.ts.map +1 -0
  7. package/dist/annotorious-react-manifold.es.js +13 -0
  8. package/dist/annotorious-react-manifold.es.js.map +1 -0
  9. package/dist/annotorious-react-manifold.es10.js +5 -0
  10. package/dist/annotorious-react-manifold.es10.js.map +1 -0
  11. package/dist/annotorious-react-manifold.es2.js +15 -0
  12. package/dist/annotorious-react-manifold.es2.js.map +1 -0
  13. package/dist/annotorious-react-manifold.es3.js +58 -0
  14. package/dist/annotorious-react-manifold.es3.js.map +1 -0
  15. package/dist/annotorious-react-manifold.es4.js +39 -0
  16. package/dist/annotorious-react-manifold.es4.js.map +1 -0
  17. package/dist/annotorious-react-manifold.es5.js +9 -0
  18. package/dist/annotorious-react-manifold.es5.js.map +1 -0
  19. package/dist/annotorious-react-manifold.es6.js +5 -0
  20. package/dist/annotorious-react-manifold.es6.js.map +1 -0
  21. package/dist/annotorious-react-manifold.es7.js +33 -0
  22. package/dist/annotorious-react-manifold.es7.js.map +1 -0
  23. package/dist/annotorious-react-manifold.es8.js +602 -0
  24. package/dist/annotorious-react-manifold.es8.js.map +1 -0
  25. package/dist/annotorious-react-manifold.es9.js +5 -0
  26. package/dist/annotorious-react-manifold.es9.js.map +1 -0
  27. package/dist/index.d.ts +4 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/synchronizeInstances.d.ts +3 -0
  30. package/dist/synchronizeInstances.d.ts.map +1 -0
  31. package/package.json +14 -4
  32. package/src/Annotorious.tsx +0 -48
  33. package/src/AnnotoriousManifold.tsx +0 -141
  34. package/src/AnnotoriousManifoldInstance.ts +0 -106
  35. package/src/index.ts +0 -3
  36. package/src/synchronizeInstances.tsx +0 -11
  37. package/test/33054-000002-0001.jpg +0 -0
  38. package/test/App.tsx +0 -50
  39. package/test/index.css +0 -18
  40. package/test/index.html +0 -12
  41. package/test/index.tsx +0 -13
  42. package/tsconfig.json +0 -26
  43. package/tsconfig.node.json +0 -10
  44. 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
- }
@@ -1,10 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "allowSyntheticDefaultImports": true,
4
- "composite": true,
5
- "module": "ESNext",
6
- "moduleResolution": "node",
7
- "resolveJsonModule": true,
8
- },
9
- "include": ["vite.config.ts", "package.json"]
10
- }
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
- });