diff --git a/.npmrc b/.npmrc index 5b4a023..5d00ae3 100644 --- a/.npmrc +++ b/.npmrc @@ -1,3 +1,4 @@ registry=https://registry.npmjs.org/ -auto-install-peers=false \ No newline at end of file +auto-install-peers=false +link-workspace-packages=false \ No newline at end of file diff --git a/examples/index.html b/examples/index.html index 7692862..7daf709 100644 --- a/examples/index.html +++ b/examples/index.html @@ -2,7 +2,6 @@ - Document Viewer diff --git a/packages/document-viewer/package.json b/packages/document-viewer/package.json index a9f5f5f..7813d28 100644 --- a/packages/document-viewer/package.json +++ b/packages/document-viewer/package.json @@ -16,7 +16,6 @@ "./viewer.css": "./dist/generic/web/viewer.css", "./*": "./dist/generic/web/*" }, - "main": "./dist/generic/web/app.js", "author": "", "license": "ISC", "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 263c479..270d2f6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -62,11 +62,11 @@ importers: dependencies: '@document-kits/viewer': specifier: 0.7.2 - version: link:../packages/document-viewer + version: 0.7.2 devDependencies: vite-plugin-static-copy: specifier: ^0.7.0 - version: 0.7.0(vite@4.2.1) + version: 0.7.0 packages/create-viewer: devDependencies: @@ -470,6 +470,10 @@ packages: - '@algolia/client-search' dev: true + /@document-kits/viewer@0.7.2: + resolution: {integrity: sha512-7zE/p/L+6953zgAWQudBYXk95jmxlTGlFePScaU3JCCUNgDWtBs/MAUWOnhD0YMseNqNeAZICPUu950zOec6Mg==} + dev: false + /@esbuild/android-arm64@0.17.15: resolution: {integrity: sha512-0kOB6Y7Br3KDVgHeg8PRcvfLkq+AccreK///B4Z6fNZGr/tNHX0z2VywCc7PTeWp+bPvjA5WMvNXltHw5QjAIA==} engines: {node: '>=12'} @@ -4640,7 +4644,7 @@ packages: replace-ext: 1.0.1 dev: true - /vite-plugin-static-copy@0.7.0(vite@4.2.1): + /vite-plugin-static-copy@0.7.0: resolution: {integrity: sha512-BlzvdlO4MR5O7CB0IW4VzdwiVYixEwwUvNp7ZmRLS8U0c38axOacg0nwQXr+FZROO7x4qxabDF3m7WwbFjN65A==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -4650,7 +4654,6 @@ packages: fast-glob: 3.3.1 fs-extra: 10.1.0 picocolors: 1.0.0 - vite: 4.2.1 dev: true /vite@4.2.1: