diff --git a/.gitignore b/.gitignore index e6ef744167..0128dfc883 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ dist/ coverage/ node_modules/ +packages/*/dist/ +packages/*/coverage/ +packages/*/node_modules/ package-lock.json *.log -*.tgz \ No newline at end of file +*.tgz diff --git a/netlify.toml b/netlify.toml index 62d5d70825..defeb74752 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,7 +2,7 @@ # See https://www.netlify.com/docs/netlify-toml-reference/ for more [build] - publish = "dist/" + publish = "packages/mirador/dist/" [[redirects]] from = "/" diff --git a/package.json b/package.json index a089d45cfb..d7a5a0e9d3 100644 --- a/package.json +++ b/package.json @@ -1,122 +1,23 @@ { - "name": "mirador", - "version": "4.0.0-alpha.5", + "name": "@projectmirador/monorepo", + "version": "4.0.0-alpha.3", "description": "An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.", - "type": "module", - "main": "./dist/mirador.js", - "module": "./dist/mirador.es.js", - "files": [ - "dist", - "src" - ], - "sideEffects": false, - "exports": { - "./src": "./src/index.js", - ".": { - "import": "./dist/mirador.es.js", - "require": "./dist/mirador.js" - } - }, - "scripts": { - "build": "vite build --config vite.config.js", - "clean": "rm -rf ./dist", - "lint": "node_modules/.bin/eslint ./ && npm run lint:translations && npm run lint:containers", - "lint:containers": "node ./scripts/container-lint.js", - "lint:translations": "node ./scripts/i18n-lint.js", - "size": "bundlewatch --config bundlewatch.config.json", - "start": "vite", - "test": "npm run build && npm run lint && npm run size && vitest run" - }, - "license": "Apache-2.0", "contributors": [ "Drew Winget (https://aeschylus.net/)", "Jack Reed (https://www.jack-reed.com)" ], - "repository": "https://github.com/ProjectMirador/mirador", - "dependencies": { - "@custom-react-hooks/use-element-size": "^1.5.1", - "@emotion/cache": "^11.11.0", - "@emotion/react": "^11.10.6", - "@emotion/styled": "^11.10.6", - "@hello-pangea/dnd": "^16.0.1 || ^17.0.0", - "@mui/icons-material": "^5.11.16", - "@mui/material": "^5.13.5", - "@mui/utils": "^5.13.1", - "@mui/x-tree-view": "^6.17.0", - "@react-aria/live-announcer": "^3.1.2", - "@redux-devtools/extension": "^3.3.0", - "classnames": "^2.2.6", - "deepmerge": "^4.2.2", - "dompurify": "^3.0.0", - "i18next": "^21.0.0 || ^22.0.0 || ^23.0.0", - "lodash": "^4.17.11", - "manifesto.js": "^4.2.0", - "merge-refs": "^1.3.0", - "normalize-url": "^4.5.0", - "openseadragon": "^2.4.2 || ^3.0.0 || 4.0.x || ^4.1.1 || ^5.0.0", - "prop-types": "^15.6.2", - "rdndmb-html5-to-touch": "^8.0.0", - "re-reselect": "^5.0.0", - "react-copy-to-clipboard": "^5.0.1", - "react-dnd": "^16.0.0", - "react-dnd-html5-backend": "^16.0.0", - "react-dnd-multi-backend": "^8.0.0", - "react-dnd-touch-backend": "^16.0.0", - "react-error-boundary": "^4.1.2", - "react-full-screen": "^1.1.1", - "react-i18next": "^13.0.0 || ^14.0.0 || ^15.0.0", - "react-image": "^4.0.1", - "react-intersection-observer": "^9.0.0", - "react-mosaic-component2": "^6.0.0", - "react-redux": "^8.0.0 || ^9.0.0", - "react-resize-observer": "^1.1.1", - "react-rnd": "^10.1", - "react-virtualized-auto-sizer": "^1.0.2", - "react-window": "^1.8.5", - "redux": "^5.0.0", - "redux-saga": "^1.1.3", - "redux-thunk": "^3.1.0", - "reselect": "^5.0.0", - "stylis": "^4.3.0", - "stylis-plugin-rtl": "^2.1.1", - "url": "^0.11.0", - "use-debounce": "^10.0.4", - "use-effect-event": "^1.0.2", - "uuid": "^8.1.0 || ^9.0.0 || ^10.0.0 || ^11.0.0" + "repository": { + "type": "git", + "url": "https://github.com/projectmirador/mirador.git" }, - "devDependencies": { - "@testing-library/dom": "^10.4.0", - "@testing-library/jest-dom": "^6.1.5", - "@testing-library/react": "^16.0.1", - "@testing-library/user-event": "^14.4.3", - "@vitejs/plugin-react": "^4.3.3", - "@vitest/coverage-v8": "^2.1.8", - "@vitest/ui": "^2.1.4", - "bundlewatch": "^0.4.0", - "chalk": "^5.3.0", - "eslint": "^8.11.0", - "eslint-config-airbnb": "^19.0.4", - "eslint-plugin-flowtype": "^8.0.3", - "eslint-plugin-import": "^2.25.4", - "eslint-plugin-jest-dom": "^5.1.0", - "eslint-plugin-jsx-a11y": "^6.4.1", - "eslint-plugin-react": "^7.29.4", - "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-testing-library": "^6.2.0", - "glob": "^10.3.0", - "happy-dom": "^15.11.3", - "jsdom": "^25.0.0", - "react": "^18.0.0", - "react-dnd-test-backend": "^16.0.1", - "react-dom": "^18.0.0", - "redux-mock-store": "^1.5.1", - "redux-saga-test-plan": "^4.0.0-rc.3", - "vite": "^6.0.0", - "vitest": "^2.1.4", - "vitest-fetch-mock": "^0.4.2" + "license": "Apache-2.0", + "scripts": { + "build": "npm run build --workspaces", + "lint": "npm run lint --workspaces", + "start": "npm run start --workspace mirador", + "test": "npm run test --workspaces" }, - "peerDependencies": { - "react": "^18.0.0", - "react-dom": "^18.0.0" - } + "workspaces": [ + "./packages/mirador" + ] } diff --git a/packages/mirador/.eslintignore b/packages/mirador/.eslintignore new file mode 100644 index 0000000000..26bdba81f5 --- /dev/null +++ b/packages/mirador/.eslintignore @@ -0,0 +1,6 @@ +dist/ +config/ +coverage/ +styles/ +packages/mirador/dist/ +packages/mirador/node_modules/ diff --git a/packages/mirador/.eslintrc b/packages/mirador/.eslintrc new file mode 100644 index 0000000000..daaa641e26 --- /dev/null +++ b/packages/mirador/.eslintrc @@ -0,0 +1,100 @@ +{ + "parserOptions": { + "ecmaVersion": 2022, + "sourceType": "module", + "ecmaFeatures": { + "jsx": true + } + }, + "extends": [ + "airbnb", + "plugin:react/recommended", + "plugin:react-hooks/recommended", + "plugin:testing-library/react" + ], + "globals": { + "page": true, + "document": true, + "vi": true + }, + "plugins": [ + "react", + "react-hooks", + "testing-library" + ], + "rules": { + "import/no-unresolved": [ + 2, { "ignore": ["test-utils"] } + ], + "import/prefer-default-export": "off", + "no-console": "off", + "no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }], + "no-unused-vars": "off", + "no-undef": "off", + "no-restricted-syntax": ["warn", "WithStatement"], + "no-restricted-globals": ["error"], + "eqeqeq": ["warn", "smart"], + "no-use-before-define": [ + "warn", + { + "functions": false, + "classes": false, + "variables": false + }, + ], + "no-mixed-operators": [ + "warn", + { + "groups": [ + ["&", "|", "^", "~", "<<", ">>", ">>>"], + ["==", "!=", "===", "!==", ">", ">=", "<", "<="], + ["&&", "||"], + ["in", "instanceof"], + ], + "allowSamePrecedence": false, + }, + ], + "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], + "require-jsdoc": ["error", { + "require": { + "FunctionDeclaration": true, + "MethodDefinition": true, + "ClassDeclaration": true, + "ArrowFunctionExpression": true, + "FunctionExpression": true + } + }], + "no-underscore-dangle": "off", + "react/prefer-stateless-function": "off", + "sort-keys": ["error", "asc", { + "caseSensitive": false, + "natural": false + }], + "react/jsx-props-no-spreading": "off", + "react/function-component-definition": "off", + "default-param-last": "off", + "arrow-parens": "off", + "import/no-anonymous-default-export": "off", + "import/no-extraneous-dependencies": "off", + "max-len": ["error", { + "code": 120, + "ignoreComments": true, + "ignoreStrings": true, + "ignoreTemplateLiterals": true, + "ignoreRegExpLiterals": true + }], + "react/jsx-uses-react": "off", + "react/react-in-jsx-scope": "off", + "react/require-default-props": [2, { + "functions": "defaultArguments" + }], + "react-hooks/exhaustive-deps": "error", + "testing-library/render-result-naming-convention": "off", + "testing-library/no-render-in-lifecycle": [ + "error", + { + "allowTestingFrameworkSetupHook": "beforeEach" + } + ] + } +} diff --git a/__mocks__/css.js b/packages/mirador/__mocks__/css.js similarity index 100% rename from __mocks__/css.js rename to packages/mirador/__mocks__/css.js diff --git a/__tests__/fixtures/config/export.example.json b/packages/mirador/__tests__/fixtures/config/export.example.json similarity index 100% rename from __tests__/fixtures/config/export.example.json rename to packages/mirador/__tests__/fixtures/config/export.example.json diff --git a/__tests__/fixtures/version-2/001.json b/packages/mirador/__tests__/fixtures/version-2/001.json similarity index 100% rename from __tests__/fixtures/version-2/001.json rename to packages/mirador/__tests__/fixtures/version-2/001.json diff --git a/__tests__/fixtures/version-2/002.json b/packages/mirador/__tests__/fixtures/version-2/002.json similarity index 100% rename from __tests__/fixtures/version-2/002.json rename to packages/mirador/__tests__/fixtures/version-2/002.json diff --git a/__tests__/fixtures/version-2/015.json b/packages/mirador/__tests__/fixtures/version-2/015.json similarity index 100% rename from __tests__/fixtures/version-2/015.json rename to packages/mirador/__tests__/fixtures/version-2/015.json diff --git a/__tests__/fixtures/version-2/019.json b/packages/mirador/__tests__/fixtures/version-2/019.json similarity index 100% rename from __tests__/fixtures/version-2/019.json rename to packages/mirador/__tests__/fixtures/version-2/019.json diff --git a/__tests__/fixtures/version-2/024.json b/packages/mirador/__tests__/fixtures/version-2/024.json similarity index 100% rename from __tests__/fixtures/version-2/024.json rename to packages/mirador/__tests__/fixtures/version-2/024.json diff --git a/__tests__/fixtures/version-2/2017498721.json b/packages/mirador/__tests__/fixtures/version-2/2017498721.json similarity index 100% rename from __tests__/fixtures/version-2/2017498721.json rename to packages/mirador/__tests__/fixtures/version-2/2017498721.json diff --git a/__tests__/fixtures/version-2/299843.json b/packages/mirador/__tests__/fixtures/version-2/299843.json similarity index 100% rename from __tests__/fixtures/version-2/299843.json rename to packages/mirador/__tests__/fixtures/version-2/299843.json diff --git a/__tests__/fixtures/version-2/BibliographicResource_3000126341277.json b/packages/mirador/__tests__/fixtures/version-2/BibliographicResource_3000126341277.json similarity index 100% rename from __tests__/fixtures/version-2/BibliographicResource_3000126341277.json rename to packages/mirador/__tests__/fixtures/version-2/BibliographicResource_3000126341277.json diff --git a/__tests__/fixtures/version-2/Osbornfa1.json b/packages/mirador/__tests__/fixtures/version-2/Osbornfa1.json similarity index 100% rename from __tests__/fixtures/version-2/Osbornfa1.json rename to packages/mirador/__tests__/fixtures/version-2/Osbornfa1.json diff --git a/__tests__/fixtures/version-2/annotationMiradorDual.json b/packages/mirador/__tests__/fixtures/version-2/annotationMiradorDual.json similarity index 100% rename from __tests__/fixtures/version-2/annotationMiradorDual.json rename to packages/mirador/__tests__/fixtures/version-2/annotationMiradorDual.json diff --git a/__tests__/fixtures/version-2/broken.json b/packages/mirador/__tests__/fixtures/version-2/broken.json similarity index 100% rename from __tests__/fixtures/version-2/broken.json rename to packages/mirador/__tests__/fixtures/version-2/broken.json diff --git a/__tests__/fixtures/version-2/canvasService.json b/packages/mirador/__tests__/fixtures/version-2/canvasService.json similarity index 100% rename from __tests__/fixtures/version-2/canvasService.json rename to packages/mirador/__tests__/fixtures/version-2/canvasService.json diff --git a/__tests__/fixtures/version-2/collection.json b/packages/mirador/__tests__/fixtures/version-2/collection.json similarity index 100% rename from __tests__/fixtures/version-2/collection.json rename to packages/mirador/__tests__/fixtures/version-2/collection.json diff --git a/__tests__/fixtures/version-2/emptyCanvas.json b/packages/mirador/__tests__/fixtures/version-2/emptyCanvas.json similarity index 100% rename from __tests__/fixtures/version-2/emptyCanvas.json rename to packages/mirador/__tests__/fixtures/version-2/emptyCanvas.json diff --git a/__tests__/fixtures/version-2/fg165hz3589.json b/packages/mirador/__tests__/fixtures/version-2/fg165hz3589.json similarity index 100% rename from __tests__/fixtures/version-2/fg165hz3589.json rename to packages/mirador/__tests__/fixtures/version-2/fg165hz3589.json diff --git a/__tests__/fixtures/version-2/gau.json b/packages/mirador/__tests__/fixtures/version-2/gau.json similarity index 100% rename from __tests__/fixtures/version-2/gau.json rename to packages/mirador/__tests__/fixtures/version-2/gau.json diff --git a/__tests__/fixtures/version-2/hamilton.json b/packages/mirador/__tests__/fixtures/version-2/hamilton.json similarity index 100% rename from __tests__/fixtures/version-2/hamilton.json rename to packages/mirador/__tests__/fixtures/version-2/hamilton.json diff --git a/__tests__/fixtures/version-2/iiifauth.json b/packages/mirador/__tests__/fixtures/version-2/iiifauth.json similarity index 100% rename from __tests__/fixtures/version-2/iiifauth.json rename to packages/mirador/__tests__/fixtures/version-2/iiifauth.json diff --git a/__tests__/fixtures/version-2/minimumRequired.json b/packages/mirador/__tests__/fixtures/version-2/minimumRequired.json similarity index 100% rename from __tests__/fixtures/version-2/minimumRequired.json rename to packages/mirador/__tests__/fixtures/version-2/minimumRequired.json diff --git a/__tests__/fixtures/version-2/multipleSequences.json b/packages/mirador/__tests__/fixtures/version-2/multipleSequences.json similarity index 100% rename from __tests__/fixtures/version-2/multipleSequences.json rename to packages/mirador/__tests__/fixtures/version-2/multipleSequences.json diff --git a/__tests__/fixtures/version-2/related.json b/packages/mirador/__tests__/fixtures/version-2/related.json similarity index 100% rename from __tests__/fixtures/version-2/related.json rename to packages/mirador/__tests__/fixtures/version-2/related.json diff --git a/__tests__/fixtures/version-2/sn904cj3429.json b/packages/mirador/__tests__/fixtures/version-2/sn904cj3429.json similarity index 100% rename from __tests__/fixtures/version-2/sn904cj3429.json rename to packages/mirador/__tests__/fixtures/version-2/sn904cj3429.json diff --git a/__tests__/fixtures/version-2/structures.json b/packages/mirador/__tests__/fixtures/version-2/structures.json similarity index 100% rename from __tests__/fixtures/version-2/structures.json rename to packages/mirador/__tests__/fixtures/version-2/structures.json diff --git a/__tests__/fixtures/version-2/zeroWidthCanvas.json b/packages/mirador/__tests__/fixtures/version-2/zeroWidthCanvas.json similarity index 100% rename from __tests__/fixtures/version-2/zeroWidthCanvas.json rename to packages/mirador/__tests__/fixtures/version-2/zeroWidthCanvas.json diff --git a/__tests__/fixtures/version-3/0002-mvm-audio.json b/packages/mirador/__tests__/fixtures/version-3/0002-mvm-audio.json similarity index 100% rename from __tests__/fixtures/version-3/0002-mvm-audio.json rename to packages/mirador/__tests__/fixtures/version-3/0002-mvm-audio.json diff --git a/__tests__/fixtures/version-3/001.json b/packages/mirador/__tests__/fixtures/version-3/001.json similarity index 100% rename from __tests__/fixtures/version-3/001.json rename to packages/mirador/__tests__/fixtures/version-3/001.json diff --git a/__tests__/fixtures/version-3/0015-start.json b/packages/mirador/__tests__/fixtures/version-3/0015-start.json similarity index 100% rename from __tests__/fixtures/version-3/0015-start.json rename to packages/mirador/__tests__/fixtures/version-3/0015-start.json diff --git a/__tests__/fixtures/version-3/hamilton.json b/packages/mirador/__tests__/fixtures/version-3/hamilton.json similarity index 100% rename from __tests__/fixtures/version-3/hamilton.json rename to packages/mirador/__tests__/fixtures/version-3/hamilton.json diff --git a/__tests__/fixtures/version-3/minimumRequired.json b/packages/mirador/__tests__/fixtures/version-3/minimumRequired.json similarity index 100% rename from __tests__/fixtures/version-3/minimumRequired.json rename to packages/mirador/__tests__/fixtures/version-3/minimumRequired.json diff --git a/__tests__/fixtures/version-3/structures.json b/packages/mirador/__tests__/fixtures/version-3/structures.json similarity index 100% rename from __tests__/fixtures/version-3/structures.json rename to packages/mirador/__tests__/fixtures/version-3/structures.json diff --git a/__tests__/fixtures/version-3/video_with_annotation_captions.json b/packages/mirador/__tests__/fixtures/version-3/video_with_annotation_captions.json similarity index 100% rename from __tests__/fixtures/version-3/video_with_annotation_captions.json rename to packages/mirador/__tests__/fixtures/version-3/video_with_annotation_captions.json diff --git a/__tests__/fixtures/version-3/with_a_provider.json b/packages/mirador/__tests__/fixtures/version-3/with_a_provider.json similarity index 100% rename from __tests__/fixtures/version-3/with_a_provider.json rename to packages/mirador/__tests__/fixtures/version-3/with_a_provider.json diff --git a/__tests__/integration/mirador/auth.html b/packages/mirador/__tests__/integration/mirador/auth.html similarity index 100% rename from __tests__/integration/mirador/auth.html rename to packages/mirador/__tests__/integration/mirador/auth.html diff --git a/__tests__/integration/mirador/blank.html b/packages/mirador/__tests__/integration/mirador/blank.html similarity index 100% rename from __tests__/integration/mirador/blank.html rename to packages/mirador/__tests__/integration/mirador/blank.html diff --git a/__tests__/integration/mirador/collections.html b/packages/mirador/__tests__/integration/mirador/collections.html similarity index 100% rename from __tests__/integration/mirador/collections.html rename to packages/mirador/__tests__/integration/mirador/collections.html diff --git a/__tests__/integration/mirador/components/AddComponentA.jsx b/packages/mirador/__tests__/integration/mirador/components/AddComponentA.jsx similarity index 100% rename from __tests__/integration/mirador/components/AddComponentA.jsx rename to packages/mirador/__tests__/integration/mirador/components/AddComponentA.jsx diff --git a/__tests__/integration/mirador/components/AddComponentB.jsx b/packages/mirador/__tests__/integration/mirador/components/AddComponentB.jsx similarity index 100% rename from __tests__/integration/mirador/components/AddComponentB.jsx rename to packages/mirador/__tests__/integration/mirador/components/AddComponentB.jsx diff --git a/__tests__/integration/mirador/components/AddComponentC.jsx b/packages/mirador/__tests__/integration/mirador/components/AddComponentC.jsx similarity index 100% rename from __tests__/integration/mirador/components/AddComponentC.jsx rename to packages/mirador/__tests__/integration/mirador/components/AddComponentC.jsx diff --git a/__tests__/integration/mirador/components/AddComponentD.jsx b/packages/mirador/__tests__/integration/mirador/components/AddComponentD.jsx similarity index 100% rename from __tests__/integration/mirador/components/AddComponentD.jsx rename to packages/mirador/__tests__/integration/mirador/components/AddComponentD.jsx diff --git a/__tests__/integration/mirador/components/CompanionWindowButtonComponent.jsx b/packages/mirador/__tests__/integration/mirador/components/CompanionWindowButtonComponent.jsx similarity index 100% rename from __tests__/integration/mirador/components/CompanionWindowButtonComponent.jsx rename to packages/mirador/__tests__/integration/mirador/components/CompanionWindowButtonComponent.jsx diff --git a/__tests__/integration/mirador/components/CompanionWindowComponent.jsx b/packages/mirador/__tests__/integration/mirador/components/CompanionWindowComponent.jsx similarity index 100% rename from __tests__/integration/mirador/components/CompanionWindowComponent.jsx rename to packages/mirador/__tests__/integration/mirador/components/CompanionWindowComponent.jsx diff --git a/__tests__/integration/mirador/components/StateDependentComponent.jsx b/packages/mirador/__tests__/integration/mirador/components/StateDependentComponent.jsx similarity index 100% rename from __tests__/integration/mirador/components/StateDependentComponent.jsx rename to packages/mirador/__tests__/integration/mirador/components/StateDependentComponent.jsx diff --git a/__tests__/integration/mirador/components/WrapComponentA.jsx b/packages/mirador/__tests__/integration/mirador/components/WrapComponentA.jsx similarity index 100% rename from __tests__/integration/mirador/components/WrapComponentA.jsx rename to packages/mirador/__tests__/integration/mirador/components/WrapComponentA.jsx diff --git a/__tests__/integration/mirador/components/WrapComponentB.jsx b/packages/mirador/__tests__/integration/mirador/components/WrapComponentB.jsx similarity index 100% rename from __tests__/integration/mirador/components/WrapComponentB.jsx rename to packages/mirador/__tests__/integration/mirador/components/WrapComponentB.jsx diff --git a/__tests__/integration/mirador/components/WrapIconComponent.jsx b/packages/mirador/__tests__/integration/mirador/components/WrapIconComponent.jsx similarity index 100% rename from __tests__/integration/mirador/components/WrapIconComponent.jsx rename to packages/mirador/__tests__/integration/mirador/components/WrapIconComponent.jsx diff --git a/__tests__/integration/mirador/content-search.html b/packages/mirador/__tests__/integration/mirador/content-search.html similarity index 100% rename from __tests__/integration/mirador/content-search.html rename to packages/mirador/__tests__/integration/mirador/content-search.html diff --git a/__tests__/integration/mirador/i18n.html b/packages/mirador/__tests__/integration/mirador/i18n.html similarity index 100% rename from __tests__/integration/mirador/i18n.html rename to packages/mirador/__tests__/integration/mirador/i18n.html diff --git a/__tests__/integration/mirador/iframe.html b/packages/mirador/__tests__/integration/mirador/iframe.html similarity index 100% rename from __tests__/integration/mirador/iframe.html rename to packages/mirador/__tests__/integration/mirador/iframe.html diff --git a/__tests__/integration/mirador/iiif-v3.html b/packages/mirador/__tests__/integration/mirador/iiif-v3.html similarity index 100% rename from __tests__/integration/mirador/iiif-v3.html rename to packages/mirador/__tests__/integration/mirador/iiif-v3.html diff --git a/__tests__/integration/mirador/index.html b/packages/mirador/__tests__/integration/mirador/index.html similarity index 100% rename from __tests__/integration/mirador/index.html rename to packages/mirador/__tests__/integration/mirador/index.html diff --git a/__tests__/integration/mirador/layers.html b/packages/mirador/__tests__/integration/mirador/layers.html similarity index 100% rename from __tests__/integration/mirador/layers.html rename to packages/mirador/__tests__/integration/mirador/layers.html diff --git a/__tests__/integration/mirador/level0.html b/packages/mirador/__tests__/integration/mirador/level0.html similarity index 100% rename from __tests__/integration/mirador/level0.html rename to packages/mirador/__tests__/integration/mirador/level0.html diff --git a/__tests__/integration/mirador/minimalist.html b/packages/mirador/__tests__/integration/mirador/minimalist.html similarity index 100% rename from __tests__/integration/mirador/minimalist.html rename to packages/mirador/__tests__/integration/mirador/minimalist.html diff --git a/__tests__/integration/mirador/mirador-configs/auth.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/auth.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/auth.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/auth.js diff --git a/__tests__/integration/mirador/mirador-configs/blank.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/blank.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/blank.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/blank.js diff --git a/__tests__/integration/mirador/mirador-configs/collections.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/collections.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/collections.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/collections.js diff --git a/__tests__/integration/mirador/mirador-configs/content-search.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/content-search.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/content-search.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/content-search.js diff --git a/__tests__/integration/mirador/mirador-configs/double-van-gogh.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/double-van-gogh.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/double-van-gogh.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/double-van-gogh.js diff --git a/__tests__/integration/mirador/mirador-configs/i18n.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/i18n.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/i18n.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/i18n.js diff --git a/__tests__/integration/mirador/mirador-configs/iiif-v3.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/iiif-v3.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/iiif-v3.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/iiif-v3.js diff --git a/__tests__/integration/mirador/mirador-configs/index.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/index.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/index.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/index.js diff --git a/__tests__/integration/mirador/mirador-configs/initial-viewer-config.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/initial-viewer-config.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/initial-viewer-config.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/initial-viewer-config.js diff --git a/__tests__/integration/mirador/mirador-configs/layers.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/layers.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/layers.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/layers.js diff --git a/__tests__/integration/mirador/mirador-configs/level0.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/level0.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/level0.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/level0.js diff --git a/__tests__/integration/mirador/mirador-configs/minimalist.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/minimalist.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/minimalist.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/minimalist.js diff --git a/__tests__/integration/mirador/mirador-configs/multiple-sequences.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/multiple-sequences.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/multiple-sequences.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/multiple-sequences.js diff --git a/__tests__/integration/mirador/mirador-configs/plugin-add.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-add.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/plugin-add.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-add.js diff --git a/__tests__/integration/mirador/mirador-configs/plugin-companion-window.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-companion-window.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/plugin-companion-window.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-companion-window.js diff --git a/__tests__/integration/mirador/mirador-configs/plugin-priority.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-priority.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/plugin-priority.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-priority.js diff --git a/__tests__/integration/mirador/mirador-configs/plugin-state.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-state.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/plugin-state.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-state.js diff --git a/__tests__/integration/mirador/mirador-configs/plugin-validate.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-validate.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/plugin-validate.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/plugin-validate.js diff --git a/__tests__/integration/mirador/mirador-configs/rtl.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/rtl.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/rtl.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/rtl.js diff --git a/__tests__/integration/mirador/mirador-configs/single-bodleian.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/single-bodleian.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/single-bodleian.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/single-bodleian.js diff --git a/__tests__/integration/mirador/mirador-configs/single-van-gogh.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/single-van-gogh.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/single-van-gogh.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/single-van-gogh.js diff --git a/__tests__/integration/mirador/mirador-configs/svg-annotations.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/svg-annotations.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/svg-annotations.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/svg-annotations.js diff --git a/__tests__/integration/mirador/mirador-configs/table-of-contents.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/table-of-contents.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/table-of-contents.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/table-of-contents.js diff --git a/__tests__/integration/mirador/mirador-configs/video.js b/packages/mirador/__tests__/integration/mirador/mirador-configs/video.js similarity index 100% rename from __tests__/integration/mirador/mirador-configs/video.js rename to packages/mirador/__tests__/integration/mirador/mirador-configs/video.js diff --git a/__tests__/integration/mirador/multiple-viewers.html b/packages/mirador/__tests__/integration/mirador/multiple-viewers.html similarity index 100% rename from __tests__/integration/mirador/multiple-viewers.html rename to packages/mirador/__tests__/integration/mirador/multiple-viewers.html diff --git a/__tests__/integration/mirador/plugin-add.html b/packages/mirador/__tests__/integration/mirador/plugin-add.html similarity index 100% rename from __tests__/integration/mirador/plugin-add.html rename to packages/mirador/__tests__/integration/mirador/plugin-add.html diff --git a/__tests__/integration/mirador/plugin-companion-window.html b/packages/mirador/__tests__/integration/mirador/plugin-companion-window.html similarity index 100% rename from __tests__/integration/mirador/plugin-companion-window.html rename to packages/mirador/__tests__/integration/mirador/plugin-companion-window.html diff --git a/__tests__/integration/mirador/plugin-priority.html b/packages/mirador/__tests__/integration/mirador/plugin-priority.html similarity index 100% rename from __tests__/integration/mirador/plugin-priority.html rename to packages/mirador/__tests__/integration/mirador/plugin-priority.html diff --git a/__tests__/integration/mirador/plugin-state.html b/packages/mirador/__tests__/integration/mirador/plugin-state.html similarity index 100% rename from __tests__/integration/mirador/plugin-state.html rename to packages/mirador/__tests__/integration/mirador/plugin-state.html diff --git a/__tests__/integration/mirador/plugin-validate.html b/packages/mirador/__tests__/integration/mirador/plugin-validate.html similarity index 100% rename from __tests__/integration/mirador/plugin-validate.html rename to packages/mirador/__tests__/integration/mirador/plugin-validate.html diff --git a/__tests__/integration/mirador/plugins/addPluginA.js b/packages/mirador/__tests__/integration/mirador/plugins/addPluginA.js similarity index 100% rename from __tests__/integration/mirador/plugins/addPluginA.js rename to packages/mirador/__tests__/integration/mirador/plugins/addPluginA.js diff --git a/__tests__/integration/mirador/plugins/addPluginB.js b/packages/mirador/__tests__/integration/mirador/plugins/addPluginB.js similarity index 100% rename from __tests__/integration/mirador/plugins/addPluginB.js rename to packages/mirador/__tests__/integration/mirador/plugins/addPluginB.js diff --git a/__tests__/integration/mirador/plugins/addPluginC.js b/packages/mirador/__tests__/integration/mirador/plugins/addPluginC.js similarity index 100% rename from __tests__/integration/mirador/plugins/addPluginC.js rename to packages/mirador/__tests__/integration/mirador/plugins/addPluginC.js diff --git a/__tests__/integration/mirador/plugins/addPluginD.js b/packages/mirador/__tests__/integration/mirador/plugins/addPluginD.js similarity index 100% rename from __tests__/integration/mirador/plugins/addPluginD.js rename to packages/mirador/__tests__/integration/mirador/plugins/addPluginD.js diff --git a/__tests__/integration/mirador/plugins/companionWindowButtonPlugin.js b/packages/mirador/__tests__/integration/mirador/plugins/companionWindowButtonPlugin.js similarity index 100% rename from __tests__/integration/mirador/plugins/companionWindowButtonPlugin.js rename to packages/mirador/__tests__/integration/mirador/plugins/companionWindowButtonPlugin.js diff --git a/__tests__/integration/mirador/plugins/companionWindowPlugin.js b/packages/mirador/__tests__/integration/mirador/plugins/companionWindowPlugin.js similarity index 100% rename from __tests__/integration/mirador/plugins/companionWindowPlugin.js rename to packages/mirador/__tests__/integration/mirador/plugins/companionWindowPlugin.js diff --git a/__tests__/integration/mirador/plugins/index.js b/packages/mirador/__tests__/integration/mirador/plugins/index.js similarity index 100% rename from __tests__/integration/mirador/plugins/index.js rename to packages/mirador/__tests__/integration/mirador/plugins/index.js diff --git a/__tests__/integration/mirador/plugins/invalidPluginA.js b/packages/mirador/__tests__/integration/mirador/plugins/invalidPluginA.js similarity index 100% rename from __tests__/integration/mirador/plugins/invalidPluginA.js rename to packages/mirador/__tests__/integration/mirador/plugins/invalidPluginA.js diff --git a/__tests__/integration/mirador/plugins/invalidPluginB.js b/packages/mirador/__tests__/integration/mirador/plugins/invalidPluginB.js similarity index 100% rename from __tests__/integration/mirador/plugins/invalidPluginB.js rename to packages/mirador/__tests__/integration/mirador/plugins/invalidPluginB.js diff --git a/__tests__/integration/mirador/plugins/invalidPluginC.js b/packages/mirador/__tests__/integration/mirador/plugins/invalidPluginC.js similarity index 100% rename from __tests__/integration/mirador/plugins/invalidPluginC.js rename to packages/mirador/__tests__/integration/mirador/plugins/invalidPluginC.js diff --git a/__tests__/integration/mirador/plugins/invalidPluginD.js b/packages/mirador/__tests__/integration/mirador/plugins/invalidPluginD.js similarity index 100% rename from __tests__/integration/mirador/plugins/invalidPluginD.js rename to packages/mirador/__tests__/integration/mirador/plugins/invalidPluginD.js diff --git a/__tests__/integration/mirador/plugins/invalidPluginE.js b/packages/mirador/__tests__/integration/mirador/plugins/invalidPluginE.js similarity index 100% rename from __tests__/integration/mirador/plugins/invalidPluginE.js rename to packages/mirador/__tests__/integration/mirador/plugins/invalidPluginE.js diff --git a/__tests__/integration/mirador/plugins/invalidPluginF.js b/packages/mirador/__tests__/integration/mirador/plugins/invalidPluginF.js similarity index 100% rename from __tests__/integration/mirador/plugins/invalidPluginF.js rename to packages/mirador/__tests__/integration/mirador/plugins/invalidPluginF.js diff --git a/__tests__/integration/mirador/plugins/stateDependentPlugin.js b/packages/mirador/__tests__/integration/mirador/plugins/stateDependentPlugin.js similarity index 100% rename from __tests__/integration/mirador/plugins/stateDependentPlugin.js rename to packages/mirador/__tests__/integration/mirador/plugins/stateDependentPlugin.js diff --git a/__tests__/integration/mirador/plugins/validPluginA.js b/packages/mirador/__tests__/integration/mirador/plugins/validPluginA.js similarity index 100% rename from __tests__/integration/mirador/plugins/validPluginA.js rename to packages/mirador/__tests__/integration/mirador/plugins/validPluginA.js diff --git a/__tests__/integration/mirador/plugins/validPluginB.js b/packages/mirador/__tests__/integration/mirador/plugins/validPluginB.js similarity index 100% rename from __tests__/integration/mirador/plugins/validPluginB.js rename to packages/mirador/__tests__/integration/mirador/plugins/validPluginB.js diff --git a/__tests__/integration/mirador/plugins/wrapIconPlugin.js b/packages/mirador/__tests__/integration/mirador/plugins/wrapIconPlugin.js similarity index 100% rename from __tests__/integration/mirador/plugins/wrapIconPlugin.js rename to packages/mirador/__tests__/integration/mirador/plugins/wrapIconPlugin.js diff --git a/__tests__/integration/mirador/plugins/wrapPluginA.js b/packages/mirador/__tests__/integration/mirador/plugins/wrapPluginA.js similarity index 100% rename from __tests__/integration/mirador/plugins/wrapPluginA.js rename to packages/mirador/__tests__/integration/mirador/plugins/wrapPluginA.js diff --git a/__tests__/integration/mirador/plugins/wrapPluginB.js b/packages/mirador/__tests__/integration/mirador/plugins/wrapPluginB.js similarity index 100% rename from __tests__/integration/mirador/plugins/wrapPluginB.js rename to packages/mirador/__tests__/integration/mirador/plugins/wrapPluginB.js diff --git a/__tests__/integration/mirador/rtl.html b/packages/mirador/__tests__/integration/mirador/rtl.html similarity index 100% rename from __tests__/integration/mirador/rtl.html rename to packages/mirador/__tests__/integration/mirador/rtl.html diff --git a/__tests__/integration/mirador/sequence-switching.html b/packages/mirador/__tests__/integration/mirador/sequence-switching.html similarity index 100% rename from __tests__/integration/mirador/sequence-switching.html rename to packages/mirador/__tests__/integration/mirador/sequence-switching.html diff --git a/__tests__/integration/mirador/single-bodleian.html b/packages/mirador/__tests__/integration/mirador/single-bodleian.html similarity index 100% rename from __tests__/integration/mirador/single-bodleian.html rename to packages/mirador/__tests__/integration/mirador/single-bodleian.html diff --git a/__tests__/integration/mirador/single-van-gogh.html b/packages/mirador/__tests__/integration/mirador/single-van-gogh.html similarity index 100% rename from __tests__/integration/mirador/single-van-gogh.html rename to packages/mirador/__tests__/integration/mirador/single-van-gogh.html diff --git a/__tests__/integration/mirador/svg-annotations.html b/packages/mirador/__tests__/integration/mirador/svg-annotations.html similarity index 100% rename from __tests__/integration/mirador/svg-annotations.html rename to packages/mirador/__tests__/integration/mirador/svg-annotations.html diff --git a/__tests__/integration/mirador/table-of-contents.html b/packages/mirador/__tests__/integration/mirador/table-of-contents.html similarity index 100% rename from __tests__/integration/mirador/table-of-contents.html rename to packages/mirador/__tests__/integration/mirador/table-of-contents.html diff --git a/__tests__/integration/mirador/tests/annotations.test.js b/packages/mirador/__tests__/integration/mirador/tests/annotations.test.js similarity index 100% rename from __tests__/integration/mirador/tests/annotations.test.js rename to packages/mirador/__tests__/integration/mirador/tests/annotations.test.js diff --git a/__tests__/integration/mirador/tests/basic.test.js b/packages/mirador/__tests__/integration/mirador/tests/basic.test.js similarity index 100% rename from __tests__/integration/mirador/tests/basic.test.js rename to packages/mirador/__tests__/integration/mirador/tests/basic.test.js diff --git a/__tests__/integration/mirador/tests/companion-windows.test.js b/packages/mirador/__tests__/integration/mirador/tests/companion-windows.test.js similarity index 100% rename from __tests__/integration/mirador/tests/companion-windows.test.js rename to packages/mirador/__tests__/integration/mirador/tests/companion-windows.test.js diff --git a/__tests__/integration/mirador/tests/import-export.test.js b/packages/mirador/__tests__/integration/mirador/tests/import-export.test.js similarity index 100% rename from __tests__/integration/mirador/tests/import-export.test.js rename to packages/mirador/__tests__/integration/mirador/tests/import-export.test.js diff --git a/__tests__/integration/mirador/tests/invalid-manifest.test.js b/packages/mirador/__tests__/integration/mirador/tests/invalid-manifest.test.js similarity index 100% rename from __tests__/integration/mirador/tests/invalid-manifest.test.js rename to packages/mirador/__tests__/integration/mirador/tests/invalid-manifest.test.js diff --git a/__tests__/integration/mirador/tests/language-switching.test.js b/packages/mirador/__tests__/integration/mirador/tests/language-switching.test.js similarity index 100% rename from __tests__/integration/mirador/tests/language-switching.test.js rename to packages/mirador/__tests__/integration/mirador/tests/language-switching.test.js diff --git a/__tests__/integration/mirador/tests/minimalist.test.js b/packages/mirador/__tests__/integration/mirador/tests/minimalist.test.js similarity index 100% rename from __tests__/integration/mirador/tests/minimalist.test.js rename to packages/mirador/__tests__/integration/mirador/tests/minimalist.test.js diff --git a/__tests__/integration/mirador/tests/plugin-add.test.js b/packages/mirador/__tests__/integration/mirador/tests/plugin-add.test.js similarity index 100% rename from __tests__/integration/mirador/tests/plugin-add.test.js rename to packages/mirador/__tests__/integration/mirador/tests/plugin-add.test.js diff --git a/__tests__/integration/mirador/tests/plugin-companion-window.test.js b/packages/mirador/__tests__/integration/mirador/tests/plugin-companion-window.test.js similarity index 100% rename from __tests__/integration/mirador/tests/plugin-companion-window.test.js rename to packages/mirador/__tests__/integration/mirador/tests/plugin-companion-window.test.js diff --git a/__tests__/integration/mirador/tests/plugin-priority.test.js b/packages/mirador/__tests__/integration/mirador/tests/plugin-priority.test.js similarity index 100% rename from __tests__/integration/mirador/tests/plugin-priority.test.js rename to packages/mirador/__tests__/integration/mirador/tests/plugin-priority.test.js diff --git a/__tests__/integration/mirador/tests/plugin-state.test.js b/packages/mirador/__tests__/integration/mirador/tests/plugin-state.test.js similarity index 100% rename from __tests__/integration/mirador/tests/plugin-state.test.js rename to packages/mirador/__tests__/integration/mirador/tests/plugin-state.test.js diff --git a/__tests__/integration/mirador/tests/plugin-validate.test.js b/packages/mirador/__tests__/integration/mirador/tests/plugin-validate.test.js similarity index 100% rename from __tests__/integration/mirador/tests/plugin-validate.test.js rename to packages/mirador/__tests__/integration/mirador/tests/plugin-validate.test.js diff --git a/__tests__/integration/mirador/tests/sequence-switching.test.js b/packages/mirador/__tests__/integration/mirador/tests/sequence-switching.test.js similarity index 100% rename from __tests__/integration/mirador/tests/sequence-switching.test.js rename to packages/mirador/__tests__/integration/mirador/tests/sequence-switching.test.js diff --git a/__tests__/integration/mirador/tests/thumbnail-navigation.test.js b/packages/mirador/__tests__/integration/mirador/tests/thumbnail-navigation.test.js similarity index 100% rename from __tests__/integration/mirador/tests/thumbnail-navigation.test.js rename to packages/mirador/__tests__/integration/mirador/tests/thumbnail-navigation.test.js diff --git a/__tests__/integration/mirador/tests/viewer-config.test.js b/packages/mirador/__tests__/integration/mirador/tests/viewer-config.test.js similarity index 100% rename from __tests__/integration/mirador/tests/viewer-config.test.js rename to packages/mirador/__tests__/integration/mirador/tests/viewer-config.test.js diff --git a/__tests__/integration/mirador/tests/window-actions.test.js b/packages/mirador/__tests__/integration/mirador/tests/window-actions.test.js similarity index 100% rename from __tests__/integration/mirador/tests/window-actions.test.js rename to packages/mirador/__tests__/integration/mirador/tests/window-actions.test.js diff --git a/__tests__/integration/mirador/video.html b/packages/mirador/__tests__/integration/mirador/video.html similarity index 100% rename from __tests__/integration/mirador/video.html rename to packages/mirador/__tests__/integration/mirador/video.html diff --git a/__tests__/integration/mirador/viewer-config.html b/packages/mirador/__tests__/integration/mirador/viewer-config.html similarity index 100% rename from __tests__/integration/mirador/viewer-config.html rename to packages/mirador/__tests__/integration/mirador/viewer-config.html diff --git a/__tests__/src/actions/annotation.test.js b/packages/mirador/__tests__/src/actions/annotation.test.js similarity index 100% rename from __tests__/src/actions/annotation.test.js rename to packages/mirador/__tests__/src/actions/annotation.test.js diff --git a/__tests__/src/actions/auth.test.js b/packages/mirador/__tests__/src/actions/auth.test.js similarity index 100% rename from __tests__/src/actions/auth.test.js rename to packages/mirador/__tests__/src/actions/auth.test.js diff --git a/__tests__/src/actions/canvas.test.js b/packages/mirador/__tests__/src/actions/canvas.test.js similarity index 100% rename from __tests__/src/actions/canvas.test.js rename to packages/mirador/__tests__/src/actions/canvas.test.js diff --git a/__tests__/src/actions/catalog.test.js b/packages/mirador/__tests__/src/actions/catalog.test.js similarity index 100% rename from __tests__/src/actions/catalog.test.js rename to packages/mirador/__tests__/src/actions/catalog.test.js diff --git a/__tests__/src/actions/companionWindow.test.js b/packages/mirador/__tests__/src/actions/companionWindow.test.js similarity index 100% rename from __tests__/src/actions/companionWindow.test.js rename to packages/mirador/__tests__/src/actions/companionWindow.test.js diff --git a/__tests__/src/actions/config.test.js b/packages/mirador/__tests__/src/actions/config.test.js similarity index 100% rename from __tests__/src/actions/config.test.js rename to packages/mirador/__tests__/src/actions/config.test.js diff --git a/__tests__/src/actions/elasticLayout.test.js b/packages/mirador/__tests__/src/actions/elasticLayout.test.js similarity index 100% rename from __tests__/src/actions/elasticLayout.test.js rename to packages/mirador/__tests__/src/actions/elasticLayout.test.js diff --git a/__tests__/src/actions/errors.test.js b/packages/mirador/__tests__/src/actions/errors.test.js similarity index 100% rename from __tests__/src/actions/errors.test.js rename to packages/mirador/__tests__/src/actions/errors.test.js diff --git a/__tests__/src/actions/infoResponse.test.js b/packages/mirador/__tests__/src/actions/infoResponse.test.js similarity index 100% rename from __tests__/src/actions/infoResponse.test.js rename to packages/mirador/__tests__/src/actions/infoResponse.test.js diff --git a/__tests__/src/actions/layers.test.js b/packages/mirador/__tests__/src/actions/layers.test.js similarity index 100% rename from __tests__/src/actions/layers.test.js rename to packages/mirador/__tests__/src/actions/layers.test.js diff --git a/__tests__/src/actions/manifest.test.js b/packages/mirador/__tests__/src/actions/manifest.test.js similarity index 100% rename from __tests__/src/actions/manifest.test.js rename to packages/mirador/__tests__/src/actions/manifest.test.js diff --git a/__tests__/src/actions/search.test.js b/packages/mirador/__tests__/src/actions/search.test.js similarity index 100% rename from __tests__/src/actions/search.test.js rename to packages/mirador/__tests__/src/actions/search.test.js diff --git a/__tests__/src/actions/window.test.js b/packages/mirador/__tests__/src/actions/window.test.js similarity index 100% rename from __tests__/src/actions/window.test.js rename to packages/mirador/__tests__/src/actions/window.test.js diff --git a/__tests__/src/actions/workspace.test.js b/packages/mirador/__tests__/src/actions/workspace.test.js similarity index 100% rename from __tests__/src/actions/workspace.test.js rename to packages/mirador/__tests__/src/actions/workspace.test.js diff --git a/__tests__/src/components/AccessTokenSender.test.js b/packages/mirador/__tests__/src/components/AccessTokenSender.test.js similarity index 100% rename from __tests__/src/components/AccessTokenSender.test.js rename to packages/mirador/__tests__/src/components/AccessTokenSender.test.js diff --git a/__tests__/src/components/AnnotationSettings.test.js b/packages/mirador/__tests__/src/components/AnnotationSettings.test.js similarity index 100% rename from __tests__/src/components/AnnotationSettings.test.js rename to packages/mirador/__tests__/src/components/AnnotationSettings.test.js diff --git a/__tests__/src/components/AnnotationsOverlay.test.js b/packages/mirador/__tests__/src/components/AnnotationsOverlay.test.js similarity index 100% rename from __tests__/src/components/AnnotationsOverlay.test.js rename to packages/mirador/__tests__/src/components/AnnotationsOverlay.test.js diff --git a/__tests__/src/components/App.test.js b/packages/mirador/__tests__/src/components/App.test.js similarity index 100% rename from __tests__/src/components/App.test.js rename to packages/mirador/__tests__/src/components/App.test.js diff --git a/__tests__/src/components/AppProviders.test.js b/packages/mirador/__tests__/src/components/AppProviders.test.js similarity index 100% rename from __tests__/src/components/AppProviders.test.js rename to packages/mirador/__tests__/src/components/AppProviders.test.js diff --git a/__tests__/src/components/AttributionPanel.test.js b/packages/mirador/__tests__/src/components/AttributionPanel.test.js similarity index 100% rename from __tests__/src/components/AttributionPanel.test.js rename to packages/mirador/__tests__/src/components/AttributionPanel.test.js diff --git a/__tests__/src/components/AudioViewer.test.js b/packages/mirador/__tests__/src/components/AudioViewer.test.js similarity index 100% rename from __tests__/src/components/AudioViewer.test.js rename to packages/mirador/__tests__/src/components/AudioViewer.test.js diff --git a/__tests__/src/components/BackgroundPluginArea.test.js b/packages/mirador/__tests__/src/components/BackgroundPluginArea.test.js similarity index 100% rename from __tests__/src/components/BackgroundPluginArea.test.js rename to packages/mirador/__tests__/src/components/BackgroundPluginArea.test.js diff --git a/__tests__/src/components/Branding.test.js b/packages/mirador/__tests__/src/components/Branding.test.js similarity index 100% rename from __tests__/src/components/Branding.test.js rename to packages/mirador/__tests__/src/components/Branding.test.js diff --git a/__tests__/src/components/CanvasAnnotations.test.js b/packages/mirador/__tests__/src/components/CanvasAnnotations.test.js similarity index 100% rename from __tests__/src/components/CanvasAnnotations.test.js rename to packages/mirador/__tests__/src/components/CanvasAnnotations.test.js diff --git a/__tests__/src/components/CanvasInfo.test.js b/packages/mirador/__tests__/src/components/CanvasInfo.test.js similarity index 100% rename from __tests__/src/components/CanvasInfo.test.js rename to packages/mirador/__tests__/src/components/CanvasInfo.test.js diff --git a/__tests__/src/components/CanvasLayers.test.js b/packages/mirador/__tests__/src/components/CanvasLayers.test.js similarity index 100% rename from __tests__/src/components/CanvasLayers.test.js rename to packages/mirador/__tests__/src/components/CanvasLayers.test.js diff --git a/__tests__/src/components/ChangeThemeDialog.test.js b/packages/mirador/__tests__/src/components/ChangeThemeDialog.test.js similarity index 100% rename from __tests__/src/components/ChangeThemeDialog.test.js rename to packages/mirador/__tests__/src/components/ChangeThemeDialog.test.js diff --git a/__tests__/src/components/CollapsibleSection.test.js b/packages/mirador/__tests__/src/components/CollapsibleSection.test.js similarity index 100% rename from __tests__/src/components/CollapsibleSection.test.js rename to packages/mirador/__tests__/src/components/CollapsibleSection.test.js diff --git a/__tests__/src/components/CollectionDialog.test.js b/packages/mirador/__tests__/src/components/CollectionDialog.test.js similarity index 100% rename from __tests__/src/components/CollectionDialog.test.js rename to packages/mirador/__tests__/src/components/CollectionDialog.test.js diff --git a/__tests__/src/components/CollectionInfo.test.js b/packages/mirador/__tests__/src/components/CollectionInfo.test.js similarity index 100% rename from __tests__/src/components/CollectionInfo.test.js rename to packages/mirador/__tests__/src/components/CollectionInfo.test.js diff --git a/__tests__/src/components/CompanionArea.test.js b/packages/mirador/__tests__/src/components/CompanionArea.test.js similarity index 100% rename from __tests__/src/components/CompanionArea.test.js rename to packages/mirador/__tests__/src/components/CompanionArea.test.js diff --git a/__tests__/src/components/CompanionWindow.test.js b/packages/mirador/__tests__/src/components/CompanionWindow.test.js similarity index 100% rename from __tests__/src/components/CompanionWindow.test.js rename to packages/mirador/__tests__/src/components/CompanionWindow.test.js diff --git a/__tests__/src/components/CompanionWindowFactory.test.js b/packages/mirador/__tests__/src/components/CompanionWindowFactory.test.js similarity index 100% rename from __tests__/src/components/CompanionWindowFactory.test.js rename to packages/mirador/__tests__/src/components/CompanionWindowFactory.test.js diff --git a/__tests__/src/components/ErrorContent.test.js b/packages/mirador/__tests__/src/components/ErrorContent.test.js similarity index 100% rename from __tests__/src/components/ErrorContent.test.js rename to packages/mirador/__tests__/src/components/ErrorContent.test.js diff --git a/__tests__/src/components/ErrorDialog.test.js b/packages/mirador/__tests__/src/components/ErrorDialog.test.js similarity index 100% rename from __tests__/src/components/ErrorDialog.test.js rename to packages/mirador/__tests__/src/components/ErrorDialog.test.js diff --git a/__tests__/src/components/FullScreenButton.test.js b/packages/mirador/__tests__/src/components/FullScreenButton.test.js similarity index 100% rename from __tests__/src/components/FullScreenButton.test.js rename to packages/mirador/__tests__/src/components/FullScreenButton.test.js diff --git a/__tests__/src/components/GalleryView.test.js b/packages/mirador/__tests__/src/components/GalleryView.test.js similarity index 100% rename from __tests__/src/components/GalleryView.test.js rename to packages/mirador/__tests__/src/components/GalleryView.test.js diff --git a/__tests__/src/components/GalleryViewThumbnail.test.js b/packages/mirador/__tests__/src/components/GalleryViewThumbnail.test.js similarity index 100% rename from __tests__/src/components/GalleryViewThumbnail.test.js rename to packages/mirador/__tests__/src/components/GalleryViewThumbnail.test.js diff --git a/__tests__/src/components/IIIFAuthentication.test.js b/packages/mirador/__tests__/src/components/IIIFAuthentication.test.js similarity index 100% rename from __tests__/src/components/IIIFAuthentication.test.js rename to packages/mirador/__tests__/src/components/IIIFAuthentication.test.js diff --git a/__tests__/src/components/IIIFDropTarget.test.js b/packages/mirador/__tests__/src/components/IIIFDropTarget.test.js similarity index 100% rename from __tests__/src/components/IIIFDropTarget.test.js rename to packages/mirador/__tests__/src/components/IIIFDropTarget.test.js diff --git a/__tests__/src/components/IIIFIFrameCommunication.test.js b/packages/mirador/__tests__/src/components/IIIFIFrameCommunication.test.js similarity index 100% rename from __tests__/src/components/IIIFIFrameCommunication.test.js rename to packages/mirador/__tests__/src/components/IIIFIFrameCommunication.test.js diff --git a/__tests__/src/components/IIIFThumbnail.test.js b/packages/mirador/__tests__/src/components/IIIFThumbnail.test.js similarity index 100% rename from __tests__/src/components/IIIFThumbnail.test.js rename to packages/mirador/__tests__/src/components/IIIFThumbnail.test.js diff --git a/__tests__/src/components/LabelValueMetadata.test.js b/packages/mirador/__tests__/src/components/LabelValueMetadata.test.js similarity index 100% rename from __tests__/src/components/LabelValueMetadata.test.js rename to packages/mirador/__tests__/src/components/LabelValueMetadata.test.js diff --git a/__tests__/src/components/LanguageSettings.test.js b/packages/mirador/__tests__/src/components/LanguageSettings.test.js similarity index 100% rename from __tests__/src/components/LanguageSettings.test.js rename to packages/mirador/__tests__/src/components/LanguageSettings.test.js diff --git a/__tests__/src/components/LayersPanel.test.js b/packages/mirador/__tests__/src/components/LayersPanel.test.js similarity index 100% rename from __tests__/src/components/LayersPanel.test.js rename to packages/mirador/__tests__/src/components/LayersPanel.test.js diff --git a/__tests__/src/components/LocalePicker.test.js b/packages/mirador/__tests__/src/components/LocalePicker.test.js similarity index 100% rename from __tests__/src/components/LocalePicker.test.js rename to packages/mirador/__tests__/src/components/LocalePicker.test.js diff --git a/__tests__/src/components/ManifestForm.test.js b/packages/mirador/__tests__/src/components/ManifestForm.test.js similarity index 100% rename from __tests__/src/components/ManifestForm.test.js rename to packages/mirador/__tests__/src/components/ManifestForm.test.js diff --git a/__tests__/src/components/ManifestInfo.test.js b/packages/mirador/__tests__/src/components/ManifestInfo.test.js similarity index 100% rename from __tests__/src/components/ManifestInfo.test.js rename to packages/mirador/__tests__/src/components/ManifestInfo.test.js diff --git a/__tests__/src/components/ManifestListItem.test.js b/packages/mirador/__tests__/src/components/ManifestListItem.test.js similarity index 100% rename from __tests__/src/components/ManifestListItem.test.js rename to packages/mirador/__tests__/src/components/ManifestListItem.test.js diff --git a/__tests__/src/components/ManifestListItemError.test.js b/packages/mirador/__tests__/src/components/ManifestListItemError.test.js similarity index 100% rename from __tests__/src/components/ManifestListItemError.test.js rename to packages/mirador/__tests__/src/components/ManifestListItemError.test.js diff --git a/__tests__/src/components/ManifestRelatedLinks.test.js b/packages/mirador/__tests__/src/components/ManifestRelatedLinks.test.js similarity index 100% rename from __tests__/src/components/ManifestRelatedLinks.test.js rename to packages/mirador/__tests__/src/components/ManifestRelatedLinks.test.js diff --git a/__tests__/src/components/MiradorMenuButton.test.js b/packages/mirador/__tests__/src/components/MiradorMenuButton.test.js similarity index 100% rename from __tests__/src/components/MiradorMenuButton.test.js rename to packages/mirador/__tests__/src/components/MiradorMenuButton.test.js diff --git a/__tests__/src/components/MosaicRenderPreview.test.js b/packages/mirador/__tests__/src/components/MosaicRenderPreview.test.js similarity index 100% rename from __tests__/src/components/MosaicRenderPreview.test.js rename to packages/mirador/__tests__/src/components/MosaicRenderPreview.test.js diff --git a/__tests__/src/components/NestedMenu.test.js b/packages/mirador/__tests__/src/components/NestedMenu.test.js similarity index 100% rename from __tests__/src/components/NestedMenu.test.js rename to packages/mirador/__tests__/src/components/NestedMenu.test.js diff --git a/__tests__/src/components/NewBrowserWindow.test.js b/packages/mirador/__tests__/src/components/NewBrowserWindow.test.js similarity index 100% rename from __tests__/src/components/NewBrowserWindow.test.js rename to packages/mirador/__tests__/src/components/NewBrowserWindow.test.js diff --git a/__tests__/src/components/OpenSeadragonTileSource.test.js b/packages/mirador/__tests__/src/components/OpenSeadragonTileSource.test.js similarity index 100% rename from __tests__/src/components/OpenSeadragonTileSource.test.js rename to packages/mirador/__tests__/src/components/OpenSeadragonTileSource.test.js diff --git a/__tests__/src/components/OpenSeadragonViewer.test.js b/packages/mirador/__tests__/src/components/OpenSeadragonViewer.test.js similarity index 100% rename from __tests__/src/components/OpenSeadragonViewer.test.js rename to packages/mirador/__tests__/src/components/OpenSeadragonViewer.test.js diff --git a/__tests__/src/components/PluginHook.test.js b/packages/mirador/__tests__/src/components/PluginHook.test.js similarity index 100% rename from __tests__/src/components/PluginHook.test.js rename to packages/mirador/__tests__/src/components/PluginHook.test.js diff --git a/__tests__/src/components/PrimaryWindow.test.js b/packages/mirador/__tests__/src/components/PrimaryWindow.test.js similarity index 100% rename from __tests__/src/components/PrimaryWindow.test.js rename to packages/mirador/__tests__/src/components/PrimaryWindow.test.js diff --git a/__tests__/src/components/SanitizedHtml.test.js b/packages/mirador/__tests__/src/components/SanitizedHtml.test.js similarity index 100% rename from __tests__/src/components/SanitizedHtml.test.js rename to packages/mirador/__tests__/src/components/SanitizedHtml.test.js diff --git a/__tests__/src/components/ScrollIndicatedDialogContent.test.js b/packages/mirador/__tests__/src/components/ScrollIndicatedDialogContent.test.js similarity index 100% rename from __tests__/src/components/ScrollIndicatedDialogContent.test.js rename to packages/mirador/__tests__/src/components/ScrollIndicatedDialogContent.test.js diff --git a/__tests__/src/components/ScrollTo.test.js b/packages/mirador/__tests__/src/components/ScrollTo.test.js similarity index 100% rename from __tests__/src/components/ScrollTo.test.js rename to packages/mirador/__tests__/src/components/ScrollTo.test.js diff --git a/__tests__/src/components/SearchHit.test.js b/packages/mirador/__tests__/src/components/SearchHit.test.js similarity index 100% rename from __tests__/src/components/SearchHit.test.js rename to packages/mirador/__tests__/src/components/SearchHit.test.js diff --git a/__tests__/src/components/SearchPanel.test.js b/packages/mirador/__tests__/src/components/SearchPanel.test.js similarity index 100% rename from __tests__/src/components/SearchPanel.test.js rename to packages/mirador/__tests__/src/components/SearchPanel.test.js diff --git a/__tests__/src/components/SearchPanelControls.test.js b/packages/mirador/__tests__/src/components/SearchPanelControls.test.js similarity index 100% rename from __tests__/src/components/SearchPanelControls.test.js rename to packages/mirador/__tests__/src/components/SearchPanelControls.test.js diff --git a/__tests__/src/components/SearchPanelNavigation.test.js b/packages/mirador/__tests__/src/components/SearchPanelNavigation.test.js similarity index 100% rename from __tests__/src/components/SearchPanelNavigation.test.js rename to packages/mirador/__tests__/src/components/SearchPanelNavigation.test.js diff --git a/__tests__/src/components/SearchResults.test.js b/packages/mirador/__tests__/src/components/SearchResults.test.js similarity index 100% rename from __tests__/src/components/SearchResults.test.js rename to packages/mirador/__tests__/src/components/SearchResults.test.js diff --git a/__tests__/src/components/SidebarIndexItem.test.js b/packages/mirador/__tests__/src/components/SidebarIndexItem.test.js similarity index 100% rename from __tests__/src/components/SidebarIndexItem.test.js rename to packages/mirador/__tests__/src/components/SidebarIndexItem.test.js diff --git a/__tests__/src/components/SidebarIndexList.test.js b/packages/mirador/__tests__/src/components/SidebarIndexList.test.js similarity index 100% rename from __tests__/src/components/SidebarIndexList.test.js rename to packages/mirador/__tests__/src/components/SidebarIndexList.test.js diff --git a/__tests__/src/components/SidebarIndexTableOfContents.test.js b/packages/mirador/__tests__/src/components/SidebarIndexTableOfContents.test.js similarity index 100% rename from __tests__/src/components/SidebarIndexTableOfContents.test.js rename to packages/mirador/__tests__/src/components/SidebarIndexTableOfContents.test.js diff --git a/__tests__/src/components/SidebarIndexThumbnail.test.js b/packages/mirador/__tests__/src/components/SidebarIndexThumbnail.test.js similarity index 100% rename from __tests__/src/components/SidebarIndexThumbnail.test.js rename to packages/mirador/__tests__/src/components/SidebarIndexThumbnail.test.js diff --git a/__tests__/src/components/ThumbnailCanvasGrouping.test.js b/packages/mirador/__tests__/src/components/ThumbnailCanvasGrouping.test.js similarity index 100% rename from __tests__/src/components/ThumbnailCanvasGrouping.test.js rename to packages/mirador/__tests__/src/components/ThumbnailCanvasGrouping.test.js diff --git a/__tests__/src/components/ThumbnailNavigation.test.js b/packages/mirador/__tests__/src/components/ThumbnailNavigation.test.js similarity index 100% rename from __tests__/src/components/ThumbnailNavigation.test.js rename to packages/mirador/__tests__/src/components/ThumbnailNavigation.test.js diff --git a/__tests__/src/components/VideoViewer.test.js b/packages/mirador/__tests__/src/components/VideoViewer.test.js similarity index 100% rename from __tests__/src/components/VideoViewer.test.js rename to packages/mirador/__tests__/src/components/VideoViewer.test.js diff --git a/__tests__/src/components/ViewerInfo.test.js b/packages/mirador/__tests__/src/components/ViewerInfo.test.js similarity index 100% rename from __tests__/src/components/ViewerInfo.test.js rename to packages/mirador/__tests__/src/components/ViewerInfo.test.js diff --git a/__tests__/src/components/ViewerNavigation.test.js b/packages/mirador/__tests__/src/components/ViewerNavigation.test.js similarity index 100% rename from __tests__/src/components/ViewerNavigation.test.js rename to packages/mirador/__tests__/src/components/ViewerNavigation.test.js diff --git a/__tests__/src/components/Window.test.js b/packages/mirador/__tests__/src/components/Window.test.js similarity index 100% rename from __tests__/src/components/Window.test.js rename to packages/mirador/__tests__/src/components/Window.test.js diff --git a/__tests__/src/components/WindowAuthenticationBar.test.js b/packages/mirador/__tests__/src/components/WindowAuthenticationBar.test.js similarity index 100% rename from __tests__/src/components/WindowAuthenticationBar.test.js rename to packages/mirador/__tests__/src/components/WindowAuthenticationBar.test.js diff --git a/__tests__/src/components/WindowCanvasNavigationControls.test.js b/packages/mirador/__tests__/src/components/WindowCanvasNavigationControls.test.js similarity index 100% rename from __tests__/src/components/WindowCanvasNavigationControls.test.js rename to packages/mirador/__tests__/src/components/WindowCanvasNavigationControls.test.js diff --git a/__tests__/src/components/WindowList.test.js b/packages/mirador/__tests__/src/components/WindowList.test.js similarity index 100% rename from __tests__/src/components/WindowList.test.js rename to packages/mirador/__tests__/src/components/WindowList.test.js diff --git a/__tests__/src/components/WindowListButton.test.js b/packages/mirador/__tests__/src/components/WindowListButton.test.js similarity index 100% rename from __tests__/src/components/WindowListButton.test.js rename to packages/mirador/__tests__/src/components/WindowListButton.test.js diff --git a/__tests__/src/components/WindowSideBar.test.js b/packages/mirador/__tests__/src/components/WindowSideBar.test.js similarity index 100% rename from __tests__/src/components/WindowSideBar.test.js rename to packages/mirador/__tests__/src/components/WindowSideBar.test.js diff --git a/__tests__/src/components/WindowSideBarAnnotationsPanel.test.js b/packages/mirador/__tests__/src/components/WindowSideBarAnnotationsPanel.test.js similarity index 100% rename from __tests__/src/components/WindowSideBarAnnotationsPanel.test.js rename to packages/mirador/__tests__/src/components/WindowSideBarAnnotationsPanel.test.js diff --git a/__tests__/src/components/WindowSideBarButtons.test.js b/packages/mirador/__tests__/src/components/WindowSideBarButtons.test.js similarity index 100% rename from __tests__/src/components/WindowSideBarButtons.test.js rename to packages/mirador/__tests__/src/components/WindowSideBarButtons.test.js diff --git a/__tests__/src/components/WindowSideBarCanvasPanel.test.js b/packages/mirador/__tests__/src/components/WindowSideBarCanvasPanel.test.js similarity index 100% rename from __tests__/src/components/WindowSideBarCanvasPanel.test.js rename to packages/mirador/__tests__/src/components/WindowSideBarCanvasPanel.test.js diff --git a/__tests__/src/components/WindowSideBarInfoPanel.test.js b/packages/mirador/__tests__/src/components/WindowSideBarInfoPanel.test.js similarity index 100% rename from __tests__/src/components/WindowSideBarInfoPanel.test.js rename to packages/mirador/__tests__/src/components/WindowSideBarInfoPanel.test.js diff --git a/__tests__/src/components/WindowThumbnailSettings.test.js b/packages/mirador/__tests__/src/components/WindowThumbnailSettings.test.js similarity index 100% rename from __tests__/src/components/WindowThumbnailSettings.test.js rename to packages/mirador/__tests__/src/components/WindowThumbnailSettings.test.js diff --git a/__tests__/src/components/WindowTopBar.test.js b/packages/mirador/__tests__/src/components/WindowTopBar.test.js similarity index 100% rename from __tests__/src/components/WindowTopBar.test.js rename to packages/mirador/__tests__/src/components/WindowTopBar.test.js diff --git a/__tests__/src/components/WindowTopBarPluginArea.test.js b/packages/mirador/__tests__/src/components/WindowTopBarPluginArea.test.js similarity index 100% rename from __tests__/src/components/WindowTopBarPluginArea.test.js rename to packages/mirador/__tests__/src/components/WindowTopBarPluginArea.test.js diff --git a/__tests__/src/components/WindowTopBarPluginMenu.test.js b/packages/mirador/__tests__/src/components/WindowTopBarPluginMenu.test.js similarity index 100% rename from __tests__/src/components/WindowTopBarPluginMenu.test.js rename to packages/mirador/__tests__/src/components/WindowTopBarPluginMenu.test.js diff --git a/__tests__/src/components/WindowTopBarTitle.test.js b/packages/mirador/__tests__/src/components/WindowTopBarTitle.test.js similarity index 100% rename from __tests__/src/components/WindowTopBarTitle.test.js rename to packages/mirador/__tests__/src/components/WindowTopBarTitle.test.js diff --git a/__tests__/src/components/WindowTopMenu.test.js b/packages/mirador/__tests__/src/components/WindowTopMenu.test.js similarity index 100% rename from __tests__/src/components/WindowTopMenu.test.js rename to packages/mirador/__tests__/src/components/WindowTopMenu.test.js diff --git a/__tests__/src/components/WindowTopMenuButton.test.js b/packages/mirador/__tests__/src/components/WindowTopMenuButton.test.js similarity index 100% rename from __tests__/src/components/WindowTopMenuButton.test.js rename to packages/mirador/__tests__/src/components/WindowTopMenuButton.test.js diff --git a/__tests__/src/components/WindowViewSettings.test.js b/packages/mirador/__tests__/src/components/WindowViewSettings.test.js similarity index 100% rename from __tests__/src/components/WindowViewSettings.test.js rename to packages/mirador/__tests__/src/components/WindowViewSettings.test.js diff --git a/__tests__/src/components/WindowViewer.test.js b/packages/mirador/__tests__/src/components/WindowViewer.test.js similarity index 100% rename from __tests__/src/components/WindowViewer.test.js rename to packages/mirador/__tests__/src/components/WindowViewer.test.js diff --git a/__tests__/src/components/Workspace.test.js b/packages/mirador/__tests__/src/components/Workspace.test.js similarity index 100% rename from __tests__/src/components/Workspace.test.js rename to packages/mirador/__tests__/src/components/Workspace.test.js diff --git a/__tests__/src/components/WorkspaceAdd.test.js b/packages/mirador/__tests__/src/components/WorkspaceAdd.test.js similarity index 100% rename from __tests__/src/components/WorkspaceAdd.test.js rename to packages/mirador/__tests__/src/components/WorkspaceAdd.test.js diff --git a/__tests__/src/components/WorkspaceAddButton.test.js b/packages/mirador/__tests__/src/components/WorkspaceAddButton.test.js similarity index 100% rename from __tests__/src/components/WorkspaceAddButton.test.js rename to packages/mirador/__tests__/src/components/WorkspaceAddButton.test.js diff --git a/__tests__/src/components/WorkspaceArea.test.js b/packages/mirador/__tests__/src/components/WorkspaceArea.test.js similarity index 100% rename from __tests__/src/components/WorkspaceArea.test.js rename to packages/mirador/__tests__/src/components/WorkspaceArea.test.js diff --git a/__tests__/src/components/WorkspaceControlPanel.test.js b/packages/mirador/__tests__/src/components/WorkspaceControlPanel.test.js similarity index 100% rename from __tests__/src/components/WorkspaceControlPanel.test.js rename to packages/mirador/__tests__/src/components/WorkspaceControlPanel.test.js diff --git a/__tests__/src/components/WorkspaceControlPanelButtons.test.js b/packages/mirador/__tests__/src/components/WorkspaceControlPanelButtons.test.js similarity index 100% rename from __tests__/src/components/WorkspaceControlPanelButtons.test.js rename to packages/mirador/__tests__/src/components/WorkspaceControlPanelButtons.test.js diff --git a/__tests__/src/components/WorkspaceElastic.test.js b/packages/mirador/__tests__/src/components/WorkspaceElastic.test.js similarity index 100% rename from __tests__/src/components/WorkspaceElastic.test.js rename to packages/mirador/__tests__/src/components/WorkspaceElastic.test.js diff --git a/__tests__/src/components/WorkspaceElasticWindow.test.js b/packages/mirador/__tests__/src/components/WorkspaceElasticWindow.test.js similarity index 100% rename from __tests__/src/components/WorkspaceElasticWindow.test.js rename to packages/mirador/__tests__/src/components/WorkspaceElasticWindow.test.js diff --git a/__tests__/src/components/WorkspaceExport.test.js b/packages/mirador/__tests__/src/components/WorkspaceExport.test.js similarity index 100% rename from __tests__/src/components/WorkspaceExport.test.js rename to packages/mirador/__tests__/src/components/WorkspaceExport.test.js diff --git a/__tests__/src/components/WorkspaceImport.test.js b/packages/mirador/__tests__/src/components/WorkspaceImport.test.js similarity index 100% rename from __tests__/src/components/WorkspaceImport.test.js rename to packages/mirador/__tests__/src/components/WorkspaceImport.test.js diff --git a/__tests__/src/components/WorkspaceMenu.test.js b/packages/mirador/__tests__/src/components/WorkspaceMenu.test.js similarity index 100% rename from __tests__/src/components/WorkspaceMenu.test.js rename to packages/mirador/__tests__/src/components/WorkspaceMenu.test.js diff --git a/__tests__/src/components/WorkspaceMenuButton.test.js b/packages/mirador/__tests__/src/components/WorkspaceMenuButton.test.js similarity index 100% rename from __tests__/src/components/WorkspaceMenuButton.test.js rename to packages/mirador/__tests__/src/components/WorkspaceMenuButton.test.js diff --git a/__tests__/src/components/WorkspaceMosaic.test.js b/packages/mirador/__tests__/src/components/WorkspaceMosaic.test.js similarity index 100% rename from __tests__/src/components/WorkspaceMosaic.test.js rename to packages/mirador/__tests__/src/components/WorkspaceMosaic.test.js diff --git a/__tests__/src/components/WorkspaceOptionsButton.test.js b/packages/mirador/__tests__/src/components/WorkspaceOptionsButton.test.js similarity index 100% rename from __tests__/src/components/WorkspaceOptionsButton.test.js rename to packages/mirador/__tests__/src/components/WorkspaceOptionsButton.test.js diff --git a/__tests__/src/components/WorkspaceOptionsMenu.test.js b/packages/mirador/__tests__/src/components/WorkspaceOptionsMenu.test.js similarity index 100% rename from __tests__/src/components/WorkspaceOptionsMenu.test.js rename to packages/mirador/__tests__/src/components/WorkspaceOptionsMenu.test.js diff --git a/__tests__/src/components/WorkspaceSelectionDialog.test.js b/packages/mirador/__tests__/src/components/WorkspaceSelectionDialog.test.js similarity index 100% rename from __tests__/src/components/WorkspaceSelectionDialog.test.js rename to packages/mirador/__tests__/src/components/WorkspaceSelectionDialog.test.js diff --git a/__tests__/src/components/ZoomControls.test.js b/packages/mirador/__tests__/src/components/ZoomControls.test.js similarity index 100% rename from __tests__/src/components/ZoomControls.test.js rename to packages/mirador/__tests__/src/components/ZoomControls.test.js diff --git a/__tests__/src/extend/pluginMapping.test.js b/packages/mirador/__tests__/src/extend/pluginMapping.test.js similarity index 100% rename from __tests__/src/extend/pluginMapping.test.js rename to packages/mirador/__tests__/src/extend/pluginMapping.test.js diff --git a/__tests__/src/extend/pluginPreprocessing.test.js b/packages/mirador/__tests__/src/extend/pluginPreprocessing.test.js similarity index 100% rename from __tests__/src/extend/pluginPreprocessing.test.js rename to packages/mirador/__tests__/src/extend/pluginPreprocessing.test.js diff --git a/__tests__/src/extend/pluginValidation.test.js b/packages/mirador/__tests__/src/extend/pluginValidation.test.js similarity index 100% rename from __tests__/src/extend/pluginValidation.test.js rename to packages/mirador/__tests__/src/extend/pluginValidation.test.js diff --git a/__tests__/src/extend/withPlugins.test.js b/packages/mirador/__tests__/src/extend/withPlugins.test.js similarity index 100% rename from __tests__/src/extend/withPlugins.test.js rename to packages/mirador/__tests__/src/extend/withPlugins.test.js diff --git a/__tests__/src/index.test.js b/packages/mirador/__tests__/src/index.test.js similarity index 100% rename from __tests__/src/index.test.js rename to packages/mirador/__tests__/src/index.test.js diff --git a/__tests__/src/lib/AnnotationFactory.test.js b/packages/mirador/__tests__/src/lib/AnnotationFactory.test.js similarity index 100% rename from __tests__/src/lib/AnnotationFactory.test.js rename to packages/mirador/__tests__/src/lib/AnnotationFactory.test.js diff --git a/__tests__/src/lib/AnnotationItem.test.js b/packages/mirador/__tests__/src/lib/AnnotationItem.test.js similarity index 100% rename from __tests__/src/lib/AnnotationItem.test.js rename to packages/mirador/__tests__/src/lib/AnnotationItem.test.js diff --git a/__tests__/src/lib/AnnotationList.test.js b/packages/mirador/__tests__/src/lib/AnnotationList.test.js similarity index 100% rename from __tests__/src/lib/AnnotationList.test.js rename to packages/mirador/__tests__/src/lib/AnnotationList.test.js diff --git a/__tests__/src/lib/AnnotationPage.test.js b/packages/mirador/__tests__/src/lib/AnnotationPage.test.js similarity index 100% rename from __tests__/src/lib/AnnotationPage.test.js rename to packages/mirador/__tests__/src/lib/AnnotationPage.test.js diff --git a/__tests__/src/lib/AnnotationResource.test.js b/packages/mirador/__tests__/src/lib/AnnotationResource.test.js similarity index 100% rename from __tests__/src/lib/AnnotationResource.test.js rename to packages/mirador/__tests__/src/lib/AnnotationResource.test.js diff --git a/__tests__/src/lib/CanvasAnnotationDisplay.test.js b/packages/mirador/__tests__/src/lib/CanvasAnnotationDisplay.test.js similarity index 100% rename from __tests__/src/lib/CanvasAnnotationDisplay.test.js rename to packages/mirador/__tests__/src/lib/CanvasAnnotationDisplay.test.js diff --git a/__tests__/src/lib/CanvasGroupings.test.js b/packages/mirador/__tests__/src/lib/CanvasGroupings.test.js similarity index 100% rename from __tests__/src/lib/CanvasGroupings.test.js rename to packages/mirador/__tests__/src/lib/CanvasGroupings.test.js diff --git a/__tests__/src/lib/CanvasWorld.test.js b/packages/mirador/__tests__/src/lib/CanvasWorld.test.js similarity index 100% rename from __tests__/src/lib/CanvasWorld.test.js rename to packages/mirador/__tests__/src/lib/CanvasWorld.test.js diff --git a/__tests__/src/lib/MiradorCanvas.test.js b/packages/mirador/__tests__/src/lib/MiradorCanvas.test.js similarity index 100% rename from __tests__/src/lib/MiradorCanvas.test.js rename to packages/mirador/__tests__/src/lib/MiradorCanvas.test.js diff --git a/__tests__/src/lib/MiradorManifest.test.js b/packages/mirador/__tests__/src/lib/MiradorManifest.test.js similarity index 100% rename from __tests__/src/lib/MiradorManifest.test.js rename to packages/mirador/__tests__/src/lib/MiradorManifest.test.js diff --git a/__tests__/src/lib/MiradorViewer.test.js b/packages/mirador/__tests__/src/lib/MiradorViewer.test.js similarity index 100% rename from __tests__/src/lib/MiradorViewer.test.js rename to packages/mirador/__tests__/src/lib/MiradorViewer.test.js diff --git a/__tests__/src/lib/MosaicLayout.test.js b/packages/mirador/__tests__/src/lib/MosaicLayout.test.js similarity index 100% rename from __tests__/src/lib/MosaicLayout.test.js rename to packages/mirador/__tests__/src/lib/MosaicLayout.test.js diff --git a/__tests__/src/lib/OpenSeadragonCanvasOverlay.test.js b/packages/mirador/__tests__/src/lib/OpenSeadragonCanvasOverlay.test.js similarity index 100% rename from __tests__/src/lib/OpenSeadragonCanvasOverlay.test.js rename to packages/mirador/__tests__/src/lib/OpenSeadragonCanvasOverlay.test.js diff --git a/__tests__/src/lib/ThumbnailFactory.test.js b/packages/mirador/__tests__/src/lib/ThumbnailFactory.test.js similarity index 100% rename from __tests__/src/lib/ThumbnailFactory.test.js rename to packages/mirador/__tests__/src/lib/ThumbnailFactory.test.js diff --git a/__tests__/src/lib/TruncatedHit.test.js b/packages/mirador/__tests__/src/lib/TruncatedHit.test.js similarity index 100% rename from __tests__/src/lib/TruncatedHit.test.js rename to packages/mirador/__tests__/src/lib/TruncatedHit.test.js diff --git a/__tests__/src/reducers/accessTokens.test.js b/packages/mirador/__tests__/src/reducers/accessTokens.test.js similarity index 100% rename from __tests__/src/reducers/accessTokens.test.js rename to packages/mirador/__tests__/src/reducers/accessTokens.test.js diff --git a/__tests__/src/reducers/annotations.test.js b/packages/mirador/__tests__/src/reducers/annotations.test.js similarity index 100% rename from __tests__/src/reducers/annotations.test.js rename to packages/mirador/__tests__/src/reducers/annotations.test.js diff --git a/__tests__/src/reducers/auth.test.js b/packages/mirador/__tests__/src/reducers/auth.test.js similarity index 100% rename from __tests__/src/reducers/auth.test.js rename to packages/mirador/__tests__/src/reducers/auth.test.js diff --git a/__tests__/src/reducers/catalog.test.js b/packages/mirador/__tests__/src/reducers/catalog.test.js similarity index 100% rename from __tests__/src/reducers/catalog.test.js rename to packages/mirador/__tests__/src/reducers/catalog.test.js diff --git a/__tests__/src/reducers/companionWindows.test.js b/packages/mirador/__tests__/src/reducers/companionWindows.test.js similarity index 100% rename from __tests__/src/reducers/companionWindows.test.js rename to packages/mirador/__tests__/src/reducers/companionWindows.test.js diff --git a/__tests__/src/reducers/config.test.js b/packages/mirador/__tests__/src/reducers/config.test.js similarity index 100% rename from __tests__/src/reducers/config.test.js rename to packages/mirador/__tests__/src/reducers/config.test.js diff --git a/__tests__/src/reducers/elasticLayout.test.js b/packages/mirador/__tests__/src/reducers/elasticLayout.test.js similarity index 100% rename from __tests__/src/reducers/elasticLayout.test.js rename to packages/mirador/__tests__/src/reducers/elasticLayout.test.js diff --git a/__tests__/src/reducers/errors.test.js b/packages/mirador/__tests__/src/reducers/errors.test.js similarity index 100% rename from __tests__/src/reducers/errors.test.js rename to packages/mirador/__tests__/src/reducers/errors.test.js diff --git a/__tests__/src/reducers/infoResponse.test.js b/packages/mirador/__tests__/src/reducers/infoResponse.test.js similarity index 100% rename from __tests__/src/reducers/infoResponse.test.js rename to packages/mirador/__tests__/src/reducers/infoResponse.test.js diff --git a/__tests__/src/reducers/layers.test.js b/packages/mirador/__tests__/src/reducers/layers.test.js similarity index 100% rename from __tests__/src/reducers/layers.test.js rename to packages/mirador/__tests__/src/reducers/layers.test.js diff --git a/__tests__/src/reducers/manifests.test.js b/packages/mirador/__tests__/src/reducers/manifests.test.js similarity index 100% rename from __tests__/src/reducers/manifests.test.js rename to packages/mirador/__tests__/src/reducers/manifests.test.js diff --git a/__tests__/src/reducers/search.test.js b/packages/mirador/__tests__/src/reducers/search.test.js similarity index 100% rename from __tests__/src/reducers/search.test.js rename to packages/mirador/__tests__/src/reducers/search.test.js diff --git a/__tests__/src/reducers/utils.test.js b/packages/mirador/__tests__/src/reducers/utils.test.js similarity index 100% rename from __tests__/src/reducers/utils.test.js rename to packages/mirador/__tests__/src/reducers/utils.test.js diff --git a/__tests__/src/reducers/viewers.test.js b/packages/mirador/__tests__/src/reducers/viewers.test.js similarity index 100% rename from __tests__/src/reducers/viewers.test.js rename to packages/mirador/__tests__/src/reducers/viewers.test.js diff --git a/__tests__/src/reducers/windows.test.js b/packages/mirador/__tests__/src/reducers/windows.test.js similarity index 100% rename from __tests__/src/reducers/windows.test.js rename to packages/mirador/__tests__/src/reducers/windows.test.js diff --git a/__tests__/src/reducers/workspace.test.js b/packages/mirador/__tests__/src/reducers/workspace.test.js similarity index 100% rename from __tests__/src/reducers/workspace.test.js rename to packages/mirador/__tests__/src/reducers/workspace.test.js diff --git a/__tests__/src/sagas/annotations.test.js b/packages/mirador/__tests__/src/sagas/annotations.test.js similarity index 100% rename from __tests__/src/sagas/annotations.test.js rename to packages/mirador/__tests__/src/sagas/annotations.test.js diff --git a/__tests__/src/sagas/app.test.js b/packages/mirador/__tests__/src/sagas/app.test.js similarity index 100% rename from __tests__/src/sagas/app.test.js rename to packages/mirador/__tests__/src/sagas/app.test.js diff --git a/__tests__/src/sagas/auth.test.js b/packages/mirador/__tests__/src/sagas/auth.test.js similarity index 100% rename from __tests__/src/sagas/auth.test.js rename to packages/mirador/__tests__/src/sagas/auth.test.js diff --git a/__tests__/src/sagas/iiif.test.js b/packages/mirador/__tests__/src/sagas/iiif.test.js similarity index 100% rename from __tests__/src/sagas/iiif.test.js rename to packages/mirador/__tests__/src/sagas/iiif.test.js diff --git a/__tests__/src/sagas/windows.test.js b/packages/mirador/__tests__/src/sagas/windows.test.js similarity index 100% rename from __tests__/src/sagas/windows.test.js rename to packages/mirador/__tests__/src/sagas/windows.test.js diff --git a/__tests__/src/selectors/annotations.test.js b/packages/mirador/__tests__/src/selectors/annotations.test.js similarity index 100% rename from __tests__/src/selectors/annotations.test.js rename to packages/mirador/__tests__/src/selectors/annotations.test.js diff --git a/__tests__/src/selectors/auth.test.js b/packages/mirador/__tests__/src/selectors/auth.test.js similarity index 100% rename from __tests__/src/selectors/auth.test.js rename to packages/mirador/__tests__/src/selectors/auth.test.js diff --git a/__tests__/src/selectors/canvases.test.js b/packages/mirador/__tests__/src/selectors/canvases.test.js similarity index 100% rename from __tests__/src/selectors/canvases.test.js rename to packages/mirador/__tests__/src/selectors/canvases.test.js diff --git a/__tests__/src/selectors/companionWindows.test.js b/packages/mirador/__tests__/src/selectors/companionWindows.test.js similarity index 100% rename from __tests__/src/selectors/companionWindows.test.js rename to packages/mirador/__tests__/src/selectors/companionWindows.test.js diff --git a/__tests__/src/selectors/config.test.js b/packages/mirador/__tests__/src/selectors/config.test.js similarity index 100% rename from __tests__/src/selectors/config.test.js rename to packages/mirador/__tests__/src/selectors/config.test.js diff --git a/__tests__/src/selectors/getters.test.js b/packages/mirador/__tests__/src/selectors/getters.test.js similarity index 100% rename from __tests__/src/selectors/getters.test.js rename to packages/mirador/__tests__/src/selectors/getters.test.js diff --git a/__tests__/src/selectors/index.test.js b/packages/mirador/__tests__/src/selectors/index.test.js similarity index 100% rename from __tests__/src/selectors/index.test.js rename to packages/mirador/__tests__/src/selectors/index.test.js diff --git a/__tests__/src/selectors/layers.test.js b/packages/mirador/__tests__/src/selectors/layers.test.js similarity index 100% rename from __tests__/src/selectors/layers.test.js rename to packages/mirador/__tests__/src/selectors/layers.test.js diff --git a/__tests__/src/selectors/manifests.test.js b/packages/mirador/__tests__/src/selectors/manifests.test.js similarity index 100% rename from __tests__/src/selectors/manifests.test.js rename to packages/mirador/__tests__/src/selectors/manifests.test.js diff --git a/__tests__/src/selectors/ranges.test.js b/packages/mirador/__tests__/src/selectors/ranges.test.js similarity index 100% rename from __tests__/src/selectors/ranges.test.js rename to packages/mirador/__tests__/src/selectors/ranges.test.js diff --git a/__tests__/src/selectors/searches.test.js b/packages/mirador/__tests__/src/selectors/searches.test.js similarity index 100% rename from __tests__/src/selectors/searches.test.js rename to packages/mirador/__tests__/src/selectors/searches.test.js diff --git a/__tests__/src/selectors/sequences.test.js b/packages/mirador/__tests__/src/selectors/sequences.test.js similarity index 100% rename from __tests__/src/selectors/sequences.test.js rename to packages/mirador/__tests__/src/selectors/sequences.test.js diff --git a/__tests__/src/selectors/viewer.test.js b/packages/mirador/__tests__/src/selectors/viewer.test.js similarity index 100% rename from __tests__/src/selectors/viewer.test.js rename to packages/mirador/__tests__/src/selectors/viewer.test.js diff --git a/__tests__/src/selectors/windows.test.js b/packages/mirador/__tests__/src/selectors/windows.test.js similarity index 100% rename from __tests__/src/selectors/windows.test.js rename to packages/mirador/__tests__/src/selectors/windows.test.js diff --git a/__tests__/src/selectors/workspace.test.js b/packages/mirador/__tests__/src/selectors/workspace.test.js similarity index 100% rename from __tests__/src/selectors/workspace.test.js rename to packages/mirador/__tests__/src/selectors/workspace.test.js diff --git a/__tests__/utils/test-utils.js b/packages/mirador/__tests__/utils/test-utils.js similarity index 100% rename from __tests__/utils/test-utils.js rename to packages/mirador/__tests__/utils/test-utils.js diff --git a/bundlewatch.config.json b/packages/mirador/bundlewatch.config.json similarity index 100% rename from bundlewatch.config.json rename to packages/mirador/bundlewatch.config.json diff --git a/packages/mirador/package.json b/packages/mirador/package.json new file mode 100644 index 0000000000..889e46464b --- /dev/null +++ b/packages/mirador/package.json @@ -0,0 +1,122 @@ +{ + "name": "mirador", + "version": "4.0.0-alpha.5", + "description": "An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.", + "type": "module", + "main": "./dist/mirador.js", + "module": "./dist/mirador.es.js", + "files": [ + "dist", + "src" + ], + "sideEffects": false, + "exports": { + "./src": "./src/index.js", + ".": { + "import": "./dist/mirador.es.js", + "require": "./dist/mirador.js" + } + }, + "scripts": { + "build": "vite build --config vite.config.js", + "clean": "rm -rf ./dist", + "lint": "npx eslint ./ && npm run lint:translations && npm run lint:containers", + "lint:containers": "node ./scripts/container-lint.js", + "lint:translations": "node ./scripts/i18n-lint.js", + "size": "bundlewatch --config bundlewatch.config.json", + "start": "vite", + "test": "npm run build && npm run lint && npm run size && vitest run" + }, + "license": "Apache-2.0", + "contributors": [ + "Drew Winget (https://aeschylus.net/)", + "Jack Reed (https://www.jack-reed.com)" + ], + "repository": "https://github.com/ProjectMirador/mirador", + "dependencies": { + "@custom-react-hooks/use-element-size": "^1.5.1", + "@emotion/cache": "^11.11.0", + "@emotion/react": "^11.10.6", + "@emotion/styled": "^11.10.6", + "@hello-pangea/dnd": "^16.0.1 || ^17.0.0", + "@mui/icons-material": "^5.11.16", + "@mui/material": "^5.13.5", + "@mui/utils": "^5.13.1", + "@mui/x-tree-view": "^6.17.0", + "@react-aria/live-announcer": "^3.1.2", + "@redux-devtools/extension": "^3.3.0", + "classnames": "^2.2.6", + "deepmerge": "^4.2.2", + "dompurify": "^3.0.0", + "i18next": "^21.0.0 || ^22.0.0 || ^23.0.0", + "lodash": "^4.17.11", + "manifesto.js": "^4.2.0", + "merge-refs": "^1.3.0", + "normalize-url": "^4.5.0", + "openseadragon": "^2.4.2 || ^3.0.0 || 4.0.x || ^4.1.1 || ^5.0.0", + "prop-types": "^15.6.2", + "rdndmb-html5-to-touch": "^8.0.0", + "re-reselect": "^5.0.0", + "react-copy-to-clipboard": "^5.0.1", + "react-dnd": "^16.0.0", + "react-dnd-html5-backend": "^16.0.0", + "react-dnd-multi-backend": "^8.0.0", + "react-dnd-touch-backend": "^16.0.0", + "react-error-boundary": "^4.1.2", + "react-full-screen": "^1.1.1", + "react-i18next": "^13.0.0 || ^14.0.0 || ^15.0.0", + "react-image": "^4.0.1", + "react-intersection-observer": "^9.0.0", + "react-mosaic-component2": "^6.0.0", + "react-redux": "^8.0.0 || ^9.0.0", + "react-resize-observer": "^1.1.1", + "react-rnd": "^10.1", + "react-virtualized-auto-sizer": "^1.0.2", + "react-window": "^1.8.5", + "redux": "^5.0.0", + "redux-saga": "^1.1.3", + "redux-thunk": "^3.1.0", + "reselect": "^5.0.0", + "stylis": "^4.3.0", + "stylis-plugin-rtl": "^2.1.1", + "url": "^0.11.0", + "use-debounce": "^10.0.4", + "use-effect-event": "^1.0.2", + "uuid": "^8.1.0 || ^9.0.0 || ^10.0.0 || ^11.0.0" + }, + "devDependencies": { + "@testing-library/dom": "^10.4.0", + "@testing-library/jest-dom": "^6.1.5", + "@testing-library/react": "^16.0.1", + "@testing-library/user-event": "^14.4.3", + "@vitejs/plugin-react": "^4.3.3", + "@vitest/coverage-v8": "^2.1.8", + "@vitest/ui": "^2.1.4", + "bundlewatch": "^0.4.0", + "chalk": "^5.3.0", + "eslint": "^8.11.0", + "eslint-config-airbnb": "^19.0.4", + "eslint-plugin-flowtype": "^8.0.3", + "eslint-plugin-import": "^2.25.4", + "eslint-plugin-jest-dom": "^5.1.0", + "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-react": "^7.29.4", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-testing-library": "^6.2.0", + "glob": "^10.3.0", + "happy-dom": "^15.11.3", + "jsdom": "^25.0.0", + "react": "^18.0.0", + "react-dnd-test-backend": "^16.0.1", + "react-dom": "^18.0.0", + "redux-mock-store": "^1.5.1", + "redux-saga-test-plan": "^4.0.0-rc.3", + "vite": "^6.0.0", + "vitest": "^2.1.4", + "vitest-fetch-mock": "^0.4.2" + }, + "peerDependencies": { + "react": "^18.0.0", + "react-dom": "^18.0.0" + } +} diff --git a/scripts/container-lint.js b/packages/mirador/scripts/container-lint.js similarity index 100% rename from scripts/container-lint.js rename to packages/mirador/scripts/container-lint.js diff --git a/scripts/i18n-lint.js b/packages/mirador/scripts/i18n-lint.js similarity index 100% rename from scripts/i18n-lint.js rename to packages/mirador/scripts/i18n-lint.js diff --git a/setupTest.js b/packages/mirador/setupTest.js similarity index 100% rename from setupTest.js rename to packages/mirador/setupTest.js diff --git a/src/components/AccessTokenSender.js b/packages/mirador/src/components/AccessTokenSender.js similarity index 100% rename from src/components/AccessTokenSender.js rename to packages/mirador/src/components/AccessTokenSender.js diff --git a/src/components/AnnotationSettings.js b/packages/mirador/src/components/AnnotationSettings.js similarity index 100% rename from src/components/AnnotationSettings.js rename to packages/mirador/src/components/AnnotationSettings.js diff --git a/src/components/AnnotationsOverlay.js b/packages/mirador/src/components/AnnotationsOverlay.js similarity index 100% rename from src/components/AnnotationsOverlay.js rename to packages/mirador/src/components/AnnotationsOverlay.js diff --git a/src/components/App.js b/packages/mirador/src/components/App.js similarity index 100% rename from src/components/App.js rename to packages/mirador/src/components/App.js diff --git a/src/components/AppProviders.js b/packages/mirador/src/components/AppProviders.js similarity index 100% rename from src/components/AppProviders.js rename to packages/mirador/src/components/AppProviders.js diff --git a/src/components/AttributionPanel.js b/packages/mirador/src/components/AttributionPanel.js similarity index 100% rename from src/components/AttributionPanel.js rename to packages/mirador/src/components/AttributionPanel.js diff --git a/src/components/AudioViewer.js b/packages/mirador/src/components/AudioViewer.js similarity index 100% rename from src/components/AudioViewer.js rename to packages/mirador/src/components/AudioViewer.js diff --git a/src/components/BackgroundPluginArea.js b/packages/mirador/src/components/BackgroundPluginArea.js similarity index 100% rename from src/components/BackgroundPluginArea.js rename to packages/mirador/src/components/BackgroundPluginArea.js diff --git a/src/components/Branding.js b/packages/mirador/src/components/Branding.js similarity index 100% rename from src/components/Branding.js rename to packages/mirador/src/components/Branding.js diff --git a/src/components/CanvasAnnotations.js b/packages/mirador/src/components/CanvasAnnotations.js similarity index 100% rename from src/components/CanvasAnnotations.js rename to packages/mirador/src/components/CanvasAnnotations.js diff --git a/src/components/CanvasInfo.js b/packages/mirador/src/components/CanvasInfo.js similarity index 100% rename from src/components/CanvasInfo.js rename to packages/mirador/src/components/CanvasInfo.js diff --git a/src/components/CanvasLayers.js b/packages/mirador/src/components/CanvasLayers.js similarity index 100% rename from src/components/CanvasLayers.js rename to packages/mirador/src/components/CanvasLayers.js diff --git a/src/components/ChangeThemeDialog.js b/packages/mirador/src/components/ChangeThemeDialog.js similarity index 100% rename from src/components/ChangeThemeDialog.js rename to packages/mirador/src/components/ChangeThemeDialog.js diff --git a/src/components/CollapsibleSection.js b/packages/mirador/src/components/CollapsibleSection.js similarity index 100% rename from src/components/CollapsibleSection.js rename to packages/mirador/src/components/CollapsibleSection.js diff --git a/src/components/CollectionDialog.js b/packages/mirador/src/components/CollectionDialog.js similarity index 100% rename from src/components/CollectionDialog.js rename to packages/mirador/src/components/CollectionDialog.js diff --git a/src/components/CollectionInfo.js b/packages/mirador/src/components/CollectionInfo.js similarity index 100% rename from src/components/CollectionInfo.js rename to packages/mirador/src/components/CollectionInfo.js diff --git a/src/components/CompanionArea.js b/packages/mirador/src/components/CompanionArea.js similarity index 100% rename from src/components/CompanionArea.js rename to packages/mirador/src/components/CompanionArea.js diff --git a/src/components/CompanionWindow.js b/packages/mirador/src/components/CompanionWindow.js similarity index 100% rename from src/components/CompanionWindow.js rename to packages/mirador/src/components/CompanionWindow.js diff --git a/src/components/CompanionWindowFactory.js b/packages/mirador/src/components/CompanionWindowFactory.js similarity index 100% rename from src/components/CompanionWindowFactory.js rename to packages/mirador/src/components/CompanionWindowFactory.js diff --git a/src/components/CompanionWindowSection.js b/packages/mirador/src/components/CompanionWindowSection.js similarity index 100% rename from src/components/CompanionWindowSection.js rename to packages/mirador/src/components/CompanionWindowSection.js diff --git a/src/components/CustomPanel.js b/packages/mirador/src/components/CustomPanel.js similarity index 100% rename from src/components/CustomPanel.js rename to packages/mirador/src/components/CustomPanel.js diff --git a/src/components/ErrorContent.js b/packages/mirador/src/components/ErrorContent.js similarity index 100% rename from src/components/ErrorContent.js rename to packages/mirador/src/components/ErrorContent.js diff --git a/src/components/ErrorDialog.js b/packages/mirador/src/components/ErrorDialog.js similarity index 100% rename from src/components/ErrorDialog.js rename to packages/mirador/src/components/ErrorDialog.js diff --git a/src/components/FullScreenButton.js b/packages/mirador/src/components/FullScreenButton.js similarity index 100% rename from src/components/FullScreenButton.js rename to packages/mirador/src/components/FullScreenButton.js diff --git a/src/components/GalleryView.js b/packages/mirador/src/components/GalleryView.js similarity index 100% rename from src/components/GalleryView.js rename to packages/mirador/src/components/GalleryView.js diff --git a/src/components/GalleryViewThumbnail.js b/packages/mirador/src/components/GalleryViewThumbnail.js similarity index 100% rename from src/components/GalleryViewThumbnail.js rename to packages/mirador/src/components/GalleryViewThumbnail.js diff --git a/src/components/IIIFAuthentication.js b/packages/mirador/src/components/IIIFAuthentication.js similarity index 100% rename from src/components/IIIFAuthentication.js rename to packages/mirador/src/components/IIIFAuthentication.js diff --git a/src/components/IIIFDropTarget.js b/packages/mirador/src/components/IIIFDropTarget.js similarity index 100% rename from src/components/IIIFDropTarget.js rename to packages/mirador/src/components/IIIFDropTarget.js diff --git a/src/components/IIIFIFrameCommunication.js b/packages/mirador/src/components/IIIFIFrameCommunication.js similarity index 100% rename from src/components/IIIFIFrameCommunication.js rename to packages/mirador/src/components/IIIFIFrameCommunication.js diff --git a/src/components/IIIFThumbnail.js b/packages/mirador/src/components/IIIFThumbnail.js similarity index 100% rename from src/components/IIIFThumbnail.js rename to packages/mirador/src/components/IIIFThumbnail.js diff --git a/src/components/LabelValueMetadata.js b/packages/mirador/src/components/LabelValueMetadata.js similarity index 100% rename from src/components/LabelValueMetadata.js rename to packages/mirador/src/components/LabelValueMetadata.js diff --git a/src/components/LanguageSettings.js b/packages/mirador/src/components/LanguageSettings.js similarity index 100% rename from src/components/LanguageSettings.js rename to packages/mirador/src/components/LanguageSettings.js diff --git a/src/components/LayersPanel.js b/packages/mirador/src/components/LayersPanel.js similarity index 100% rename from src/components/LayersPanel.js rename to packages/mirador/src/components/LayersPanel.js diff --git a/src/components/LocalePicker.js b/packages/mirador/src/components/LocalePicker.js similarity index 100% rename from src/components/LocalePicker.js rename to packages/mirador/src/components/LocalePicker.js diff --git a/src/components/ManifestForm.js b/packages/mirador/src/components/ManifestForm.js similarity index 100% rename from src/components/ManifestForm.js rename to packages/mirador/src/components/ManifestForm.js diff --git a/src/components/ManifestInfo.js b/packages/mirador/src/components/ManifestInfo.js similarity index 100% rename from src/components/ManifestInfo.js rename to packages/mirador/src/components/ManifestInfo.js diff --git a/src/components/ManifestListItem.js b/packages/mirador/src/components/ManifestListItem.js similarity index 100% rename from src/components/ManifestListItem.js rename to packages/mirador/src/components/ManifestListItem.js diff --git a/src/components/ManifestListItemError.js b/packages/mirador/src/components/ManifestListItemError.js similarity index 100% rename from src/components/ManifestListItemError.js rename to packages/mirador/src/components/ManifestListItemError.js diff --git a/src/components/ManifestRelatedLinks.js b/packages/mirador/src/components/ManifestRelatedLinks.js similarity index 100% rename from src/components/ManifestRelatedLinks.js rename to packages/mirador/src/components/ManifestRelatedLinks.js diff --git a/src/components/MinimalWindow.js b/packages/mirador/src/components/MinimalWindow.js similarity index 100% rename from src/components/MinimalWindow.js rename to packages/mirador/src/components/MinimalWindow.js diff --git a/src/components/MiradorMenuButton.js b/packages/mirador/src/components/MiradorMenuButton.js similarity index 100% rename from src/components/MiradorMenuButton.js rename to packages/mirador/src/components/MiradorMenuButton.js diff --git a/src/components/MosaicRenderPreview.js b/packages/mirador/src/components/MosaicRenderPreview.js similarity index 100% rename from src/components/MosaicRenderPreview.js rename to packages/mirador/src/components/MosaicRenderPreview.js diff --git a/src/components/NestedMenu.js b/packages/mirador/src/components/NestedMenu.js similarity index 100% rename from src/components/NestedMenu.js rename to packages/mirador/src/components/NestedMenu.js diff --git a/src/components/NewBrowserWindow.js b/packages/mirador/src/components/NewBrowserWindow.js similarity index 100% rename from src/components/NewBrowserWindow.js rename to packages/mirador/src/components/NewBrowserWindow.js diff --git a/src/components/OpenSeadragonComponent.js b/packages/mirador/src/components/OpenSeadragonComponent.js similarity index 100% rename from src/components/OpenSeadragonComponent.js rename to packages/mirador/src/components/OpenSeadragonComponent.js diff --git a/src/components/OpenSeadragonTileSource.js b/packages/mirador/src/components/OpenSeadragonTileSource.js similarity index 100% rename from src/components/OpenSeadragonTileSource.js rename to packages/mirador/src/components/OpenSeadragonTileSource.js diff --git a/src/components/OpenSeadragonViewer.js b/packages/mirador/src/components/OpenSeadragonViewer.js similarity index 100% rename from src/components/OpenSeadragonViewer.js rename to packages/mirador/src/components/OpenSeadragonViewer.js diff --git a/src/components/PluginHook.js b/packages/mirador/src/components/PluginHook.js similarity index 100% rename from src/components/PluginHook.js rename to packages/mirador/src/components/PluginHook.js diff --git a/src/components/PrimaryWindow.js b/packages/mirador/src/components/PrimaryWindow.js similarity index 100% rename from src/components/PrimaryWindow.js rename to packages/mirador/src/components/PrimaryWindow.js diff --git a/src/components/SanitizedHtml.js b/packages/mirador/src/components/SanitizedHtml.js similarity index 100% rename from src/components/SanitizedHtml.js rename to packages/mirador/src/components/SanitizedHtml.js diff --git a/src/components/ScrollIndicatedDialogContent.js b/packages/mirador/src/components/ScrollIndicatedDialogContent.js similarity index 100% rename from src/components/ScrollIndicatedDialogContent.js rename to packages/mirador/src/components/ScrollIndicatedDialogContent.js diff --git a/src/components/ScrollTo.js b/packages/mirador/src/components/ScrollTo.js similarity index 100% rename from src/components/ScrollTo.js rename to packages/mirador/src/components/ScrollTo.js diff --git a/src/components/SearchHit.js b/packages/mirador/src/components/SearchHit.js similarity index 100% rename from src/components/SearchHit.js rename to packages/mirador/src/components/SearchHit.js diff --git a/src/components/SearchPanel.js b/packages/mirador/src/components/SearchPanel.js similarity index 100% rename from src/components/SearchPanel.js rename to packages/mirador/src/components/SearchPanel.js diff --git a/src/components/SearchPanelControls.js b/packages/mirador/src/components/SearchPanelControls.js similarity index 100% rename from src/components/SearchPanelControls.js rename to packages/mirador/src/components/SearchPanelControls.js diff --git a/src/components/SearchPanelNavigation.js b/packages/mirador/src/components/SearchPanelNavigation.js similarity index 100% rename from src/components/SearchPanelNavigation.js rename to packages/mirador/src/components/SearchPanelNavigation.js diff --git a/src/components/SearchResults.js b/packages/mirador/src/components/SearchResults.js similarity index 100% rename from src/components/SearchResults.js rename to packages/mirador/src/components/SearchResults.js diff --git a/src/components/SelectCollection.js b/packages/mirador/src/components/SelectCollection.js similarity index 100% rename from src/components/SelectCollection.js rename to packages/mirador/src/components/SelectCollection.js diff --git a/src/components/SidebarIndexItem.js b/packages/mirador/src/components/SidebarIndexItem.js similarity index 100% rename from src/components/SidebarIndexItem.js rename to packages/mirador/src/components/SidebarIndexItem.js diff --git a/src/components/SidebarIndexList.js b/packages/mirador/src/components/SidebarIndexList.js similarity index 100% rename from src/components/SidebarIndexList.js rename to packages/mirador/src/components/SidebarIndexList.js diff --git a/src/components/SidebarIndexTableOfContents.js b/packages/mirador/src/components/SidebarIndexTableOfContents.js similarity index 100% rename from src/components/SidebarIndexTableOfContents.js rename to packages/mirador/src/components/SidebarIndexTableOfContents.js diff --git a/src/components/SidebarIndexThumbnail.js b/packages/mirador/src/components/SidebarIndexThumbnail.js similarity index 100% rename from src/components/SidebarIndexThumbnail.js rename to packages/mirador/src/components/SidebarIndexThumbnail.js diff --git a/src/components/ThumbnailCanvasGrouping.js b/packages/mirador/src/components/ThumbnailCanvasGrouping.js similarity index 100% rename from src/components/ThumbnailCanvasGrouping.js rename to packages/mirador/src/components/ThumbnailCanvasGrouping.js diff --git a/src/components/ThumbnailNavigation.js b/packages/mirador/src/components/ThumbnailNavigation.js similarity index 100% rename from src/components/ThumbnailNavigation.js rename to packages/mirador/src/components/ThumbnailNavigation.js diff --git a/src/components/VideoViewer.js b/packages/mirador/src/components/VideoViewer.js similarity index 100% rename from src/components/VideoViewer.js rename to packages/mirador/src/components/VideoViewer.js diff --git a/src/components/ViewerInfo.js b/packages/mirador/src/components/ViewerInfo.js similarity index 100% rename from src/components/ViewerInfo.js rename to packages/mirador/src/components/ViewerInfo.js diff --git a/src/components/ViewerNavigation.js b/packages/mirador/src/components/ViewerNavigation.js similarity index 100% rename from src/components/ViewerNavigation.js rename to packages/mirador/src/components/ViewerNavigation.js diff --git a/src/components/Window.js b/packages/mirador/src/components/Window.js similarity index 100% rename from src/components/Window.js rename to packages/mirador/src/components/Window.js diff --git a/src/components/WindowAuthenticationBar.js b/packages/mirador/src/components/WindowAuthenticationBar.js similarity index 100% rename from src/components/WindowAuthenticationBar.js rename to packages/mirador/src/components/WindowAuthenticationBar.js diff --git a/src/components/WindowCanvasNavigationControls.js b/packages/mirador/src/components/WindowCanvasNavigationControls.js similarity index 100% rename from src/components/WindowCanvasNavigationControls.js rename to packages/mirador/src/components/WindowCanvasNavigationControls.js diff --git a/src/components/WindowList.js b/packages/mirador/src/components/WindowList.js similarity index 100% rename from src/components/WindowList.js rename to packages/mirador/src/components/WindowList.js diff --git a/src/components/WindowListButton.js b/packages/mirador/src/components/WindowListButton.js similarity index 100% rename from src/components/WindowListButton.js rename to packages/mirador/src/components/WindowListButton.js diff --git a/src/components/WindowSideBar.js b/packages/mirador/src/components/WindowSideBar.js similarity index 100% rename from src/components/WindowSideBar.js rename to packages/mirador/src/components/WindowSideBar.js diff --git a/src/components/WindowSideBarAnnotationsPanel.js b/packages/mirador/src/components/WindowSideBarAnnotationsPanel.js similarity index 100% rename from src/components/WindowSideBarAnnotationsPanel.js rename to packages/mirador/src/components/WindowSideBarAnnotationsPanel.js diff --git a/src/components/WindowSideBarButtons.js b/packages/mirador/src/components/WindowSideBarButtons.js similarity index 100% rename from src/components/WindowSideBarButtons.js rename to packages/mirador/src/components/WindowSideBarButtons.js diff --git a/src/components/WindowSideBarCanvasPanel.js b/packages/mirador/src/components/WindowSideBarCanvasPanel.js similarity index 100% rename from src/components/WindowSideBarCanvasPanel.js rename to packages/mirador/src/components/WindowSideBarCanvasPanel.js diff --git a/src/components/WindowSideBarCollectionPanel.js b/packages/mirador/src/components/WindowSideBarCollectionPanel.js similarity index 100% rename from src/components/WindowSideBarCollectionPanel.js rename to packages/mirador/src/components/WindowSideBarCollectionPanel.js diff --git a/src/components/WindowSideBarInfoPanel.js b/packages/mirador/src/components/WindowSideBarInfoPanel.js similarity index 100% rename from src/components/WindowSideBarInfoPanel.js rename to packages/mirador/src/components/WindowSideBarInfoPanel.js diff --git a/src/components/WindowThumbnailSettings.js b/packages/mirador/src/components/WindowThumbnailSettings.js similarity index 100% rename from src/components/WindowThumbnailSettings.js rename to packages/mirador/src/components/WindowThumbnailSettings.js diff --git a/src/components/WindowTopBar.js b/packages/mirador/src/components/WindowTopBar.js similarity index 100% rename from src/components/WindowTopBar.js rename to packages/mirador/src/components/WindowTopBar.js diff --git a/src/components/WindowTopBarPluginArea.js b/packages/mirador/src/components/WindowTopBarPluginArea.js similarity index 100% rename from src/components/WindowTopBarPluginArea.js rename to packages/mirador/src/components/WindowTopBarPluginArea.js diff --git a/src/components/WindowTopBarPluginMenu.js b/packages/mirador/src/components/WindowTopBarPluginMenu.js similarity index 100% rename from src/components/WindowTopBarPluginMenu.js rename to packages/mirador/src/components/WindowTopBarPluginMenu.js diff --git a/src/components/WindowTopBarTitle.js b/packages/mirador/src/components/WindowTopBarTitle.js similarity index 100% rename from src/components/WindowTopBarTitle.js rename to packages/mirador/src/components/WindowTopBarTitle.js diff --git a/src/components/WindowTopMenu.js b/packages/mirador/src/components/WindowTopMenu.js similarity index 100% rename from src/components/WindowTopMenu.js rename to packages/mirador/src/components/WindowTopMenu.js diff --git a/src/components/WindowTopMenuButton.js b/packages/mirador/src/components/WindowTopMenuButton.js similarity index 100% rename from src/components/WindowTopMenuButton.js rename to packages/mirador/src/components/WindowTopMenuButton.js diff --git a/src/components/WindowViewSettings.js b/packages/mirador/src/components/WindowViewSettings.js similarity index 100% rename from src/components/WindowViewSettings.js rename to packages/mirador/src/components/WindowViewSettings.js diff --git a/src/components/WindowViewer.js b/packages/mirador/src/components/WindowViewer.js similarity index 100% rename from src/components/WindowViewer.js rename to packages/mirador/src/components/WindowViewer.js diff --git a/src/components/Workspace.js b/packages/mirador/src/components/Workspace.js similarity index 100% rename from src/components/Workspace.js rename to packages/mirador/src/components/Workspace.js diff --git a/src/components/WorkspaceAdd.js b/packages/mirador/src/components/WorkspaceAdd.js similarity index 100% rename from src/components/WorkspaceAdd.js rename to packages/mirador/src/components/WorkspaceAdd.js diff --git a/src/components/WorkspaceAddButton.js b/packages/mirador/src/components/WorkspaceAddButton.js similarity index 100% rename from src/components/WorkspaceAddButton.js rename to packages/mirador/src/components/WorkspaceAddButton.js diff --git a/src/components/WorkspaceArea.js b/packages/mirador/src/components/WorkspaceArea.js similarity index 100% rename from src/components/WorkspaceArea.js rename to packages/mirador/src/components/WorkspaceArea.js diff --git a/src/components/WorkspaceControlPanel.js b/packages/mirador/src/components/WorkspaceControlPanel.js similarity index 100% rename from src/components/WorkspaceControlPanel.js rename to packages/mirador/src/components/WorkspaceControlPanel.js diff --git a/src/components/WorkspaceControlPanelButtons.js b/packages/mirador/src/components/WorkspaceControlPanelButtons.js similarity index 100% rename from src/components/WorkspaceControlPanelButtons.js rename to packages/mirador/src/components/WorkspaceControlPanelButtons.js diff --git a/src/components/WorkspaceDialog.js b/packages/mirador/src/components/WorkspaceDialog.js similarity index 100% rename from src/components/WorkspaceDialog.js rename to packages/mirador/src/components/WorkspaceDialog.js diff --git a/src/components/WorkspaceElastic.js b/packages/mirador/src/components/WorkspaceElastic.js similarity index 100% rename from src/components/WorkspaceElastic.js rename to packages/mirador/src/components/WorkspaceElastic.js diff --git a/src/components/WorkspaceElasticWindow.js b/packages/mirador/src/components/WorkspaceElasticWindow.js similarity index 100% rename from src/components/WorkspaceElasticWindow.js rename to packages/mirador/src/components/WorkspaceElasticWindow.js diff --git a/src/components/WorkspaceExport.js b/packages/mirador/src/components/WorkspaceExport.js similarity index 100% rename from src/components/WorkspaceExport.js rename to packages/mirador/src/components/WorkspaceExport.js diff --git a/src/components/WorkspaceImport.js b/packages/mirador/src/components/WorkspaceImport.js similarity index 100% rename from src/components/WorkspaceImport.js rename to packages/mirador/src/components/WorkspaceImport.js diff --git a/src/components/WorkspaceMenu.js b/packages/mirador/src/components/WorkspaceMenu.js similarity index 100% rename from src/components/WorkspaceMenu.js rename to packages/mirador/src/components/WorkspaceMenu.js diff --git a/src/components/WorkspaceMenuButton.js b/packages/mirador/src/components/WorkspaceMenuButton.js similarity index 100% rename from src/components/WorkspaceMenuButton.js rename to packages/mirador/src/components/WorkspaceMenuButton.js diff --git a/src/components/WorkspaceMosaic.js b/packages/mirador/src/components/WorkspaceMosaic.js similarity index 100% rename from src/components/WorkspaceMosaic.js rename to packages/mirador/src/components/WorkspaceMosaic.js diff --git a/src/components/WorkspaceOptionsButton.js b/packages/mirador/src/components/WorkspaceOptionsButton.js similarity index 100% rename from src/components/WorkspaceOptionsButton.js rename to packages/mirador/src/components/WorkspaceOptionsButton.js diff --git a/src/components/WorkspaceOptionsMenu.js b/packages/mirador/src/components/WorkspaceOptionsMenu.js similarity index 100% rename from src/components/WorkspaceOptionsMenu.js rename to packages/mirador/src/components/WorkspaceOptionsMenu.js diff --git a/src/components/WorkspaceSelectionDialog.js b/packages/mirador/src/components/WorkspaceSelectionDialog.js similarity index 100% rename from src/components/WorkspaceSelectionDialog.js rename to packages/mirador/src/components/WorkspaceSelectionDialog.js diff --git a/src/components/ZoomControls.js b/packages/mirador/src/components/ZoomControls.js similarity index 100% rename from src/components/ZoomControls.js rename to packages/mirador/src/components/ZoomControls.js diff --git a/src/components/icons/BookViewIcon.js b/packages/mirador/src/components/icons/BookViewIcon.js similarity index 100% rename from src/components/icons/BookViewIcon.js rename to packages/mirador/src/components/icons/BookViewIcon.js diff --git a/src/components/icons/CanvasIndexIcon.js b/packages/mirador/src/components/icons/CanvasIndexIcon.js similarity index 100% rename from src/components/icons/CanvasIndexIcon.js rename to packages/mirador/src/components/icons/CanvasIndexIcon.js diff --git a/src/components/icons/GalleryViewIcon.js b/packages/mirador/src/components/icons/GalleryViewIcon.js similarity index 100% rename from src/components/icons/GalleryViewIcon.js rename to packages/mirador/src/components/icons/GalleryViewIcon.js diff --git a/src/components/icons/MiradorIcon.js b/packages/mirador/src/components/icons/MiradorIcon.js similarity index 100% rename from src/components/icons/MiradorIcon.js rename to packages/mirador/src/components/icons/MiradorIcon.js diff --git a/src/components/icons/RestoreZoomIcon.js b/packages/mirador/src/components/icons/RestoreZoomIcon.js similarity index 100% rename from src/components/icons/RestoreZoomIcon.js rename to packages/mirador/src/components/icons/RestoreZoomIcon.js diff --git a/src/components/icons/ThumbnailNavigationBottomIcon.js b/packages/mirador/src/components/icons/ThumbnailNavigationBottomIcon.js similarity index 100% rename from src/components/icons/ThumbnailNavigationBottomIcon.js rename to packages/mirador/src/components/icons/ThumbnailNavigationBottomIcon.js diff --git a/src/components/icons/ThumbnailNavigationRightIcon.js b/packages/mirador/src/components/icons/ThumbnailNavigationRightIcon.js similarity index 100% rename from src/components/icons/ThumbnailNavigationRightIcon.js rename to packages/mirador/src/components/icons/ThumbnailNavigationRightIcon.js diff --git a/src/components/icons/WindowMaxIcon.js b/packages/mirador/src/components/icons/WindowMaxIcon.js similarity index 100% rename from src/components/icons/WindowMaxIcon.js rename to packages/mirador/src/components/icons/WindowMaxIcon.js diff --git a/src/components/icons/WindowMinIcon.js b/packages/mirador/src/components/icons/WindowMinIcon.js similarity index 100% rename from src/components/icons/WindowMinIcon.js rename to packages/mirador/src/components/icons/WindowMinIcon.js diff --git a/src/components/icons/WindowOptionsIcon.js b/packages/mirador/src/components/icons/WindowOptionsIcon.js similarity index 100% rename from src/components/icons/WindowOptionsIcon.js rename to packages/mirador/src/components/icons/WindowOptionsIcon.js diff --git a/src/components/icons/WorkspaceTypeElasticIcon.js b/packages/mirador/src/components/icons/WorkspaceTypeElasticIcon.js similarity index 100% rename from src/components/icons/WorkspaceTypeElasticIcon.js rename to packages/mirador/src/components/icons/WorkspaceTypeElasticIcon.js diff --git a/src/components/icons/WorkspaceTypeMosaicIcon.js b/packages/mirador/src/components/icons/WorkspaceTypeMosaicIcon.js similarity index 100% rename from src/components/icons/WorkspaceTypeMosaicIcon.js rename to packages/mirador/src/components/icons/WorkspaceTypeMosaicIcon.js diff --git a/src/components/icons/index.js b/packages/mirador/src/components/icons/index.js similarity index 100% rename from src/components/icons/index.js rename to packages/mirador/src/components/icons/index.js diff --git a/src/components/index.js b/packages/mirador/src/components/index.js similarity index 100% rename from src/components/index.js rename to packages/mirador/src/components/index.js diff --git a/src/config/css-ns.js b/packages/mirador/src/config/css-ns.js similarity index 100% rename from src/config/css-ns.js rename to packages/mirador/src/config/css-ns.js diff --git a/src/config/settings.js b/packages/mirador/src/config/settings.js similarity index 100% rename from src/config/settings.js rename to packages/mirador/src/config/settings.js diff --git a/src/containers/AnnotationSettings.js b/packages/mirador/src/containers/AnnotationSettings.js similarity index 100% rename from src/containers/AnnotationSettings.js rename to packages/mirador/src/containers/AnnotationSettings.js diff --git a/src/containers/AnnotationsOverlay.js b/packages/mirador/src/containers/AnnotationsOverlay.js similarity index 100% rename from src/containers/AnnotationsOverlay.js rename to packages/mirador/src/containers/AnnotationsOverlay.js diff --git a/src/containers/AppProviders.js b/packages/mirador/src/containers/AppProviders.js similarity index 100% rename from src/containers/AppProviders.js rename to packages/mirador/src/containers/AppProviders.js diff --git a/src/containers/AttributionPanel.js b/packages/mirador/src/containers/AttributionPanel.js similarity index 100% rename from src/containers/AttributionPanel.js rename to packages/mirador/src/containers/AttributionPanel.js diff --git a/src/containers/AudioViewer.js b/packages/mirador/src/containers/AudioViewer.js similarity index 100% rename from src/containers/AudioViewer.js rename to packages/mirador/src/containers/AudioViewer.js diff --git a/src/containers/BackgroundPluginArea.js b/packages/mirador/src/containers/BackgroundPluginArea.js similarity index 100% rename from src/containers/BackgroundPluginArea.js rename to packages/mirador/src/containers/BackgroundPluginArea.js diff --git a/src/containers/Branding.js b/packages/mirador/src/containers/Branding.js similarity index 100% rename from src/containers/Branding.js rename to packages/mirador/src/containers/Branding.js diff --git a/src/containers/CanvasAnnotations.js b/packages/mirador/src/containers/CanvasAnnotations.js similarity index 100% rename from src/containers/CanvasAnnotations.js rename to packages/mirador/src/containers/CanvasAnnotations.js diff --git a/src/containers/CanvasInfo.js b/packages/mirador/src/containers/CanvasInfo.js similarity index 100% rename from src/containers/CanvasInfo.js rename to packages/mirador/src/containers/CanvasInfo.js diff --git a/src/containers/CanvasLayers.js b/packages/mirador/src/containers/CanvasLayers.js similarity index 100% rename from src/containers/CanvasLayers.js rename to packages/mirador/src/containers/CanvasLayers.js diff --git a/src/containers/ChangeThemeDialog.js b/packages/mirador/src/containers/ChangeThemeDialog.js similarity index 100% rename from src/containers/ChangeThemeDialog.js rename to packages/mirador/src/containers/ChangeThemeDialog.js diff --git a/src/containers/CollapsibleSection.js b/packages/mirador/src/containers/CollapsibleSection.js similarity index 100% rename from src/containers/CollapsibleSection.js rename to packages/mirador/src/containers/CollapsibleSection.js diff --git a/src/containers/CollectionDialog.js b/packages/mirador/src/containers/CollectionDialog.js similarity index 100% rename from src/containers/CollectionDialog.js rename to packages/mirador/src/containers/CollectionDialog.js diff --git a/src/containers/CollectionInfo.js b/packages/mirador/src/containers/CollectionInfo.js similarity index 100% rename from src/containers/CollectionInfo.js rename to packages/mirador/src/containers/CollectionInfo.js diff --git a/src/containers/CompanionArea.js b/packages/mirador/src/containers/CompanionArea.js similarity index 100% rename from src/containers/CompanionArea.js rename to packages/mirador/src/containers/CompanionArea.js diff --git a/src/containers/CompanionWindow.js b/packages/mirador/src/containers/CompanionWindow.js similarity index 100% rename from src/containers/CompanionWindow.js rename to packages/mirador/src/containers/CompanionWindow.js diff --git a/src/containers/CompanionWindowFactory.js b/packages/mirador/src/containers/CompanionWindowFactory.js similarity index 100% rename from src/containers/CompanionWindowFactory.js rename to packages/mirador/src/containers/CompanionWindowFactory.js diff --git a/src/containers/CustomPanel.js b/packages/mirador/src/containers/CustomPanel.js similarity index 100% rename from src/containers/CustomPanel.js rename to packages/mirador/src/containers/CustomPanel.js diff --git a/src/containers/ErrorContent.js b/packages/mirador/src/containers/ErrorContent.js similarity index 100% rename from src/containers/ErrorContent.js rename to packages/mirador/src/containers/ErrorContent.js diff --git a/src/containers/ErrorDialog.js b/packages/mirador/src/containers/ErrorDialog.js similarity index 100% rename from src/containers/ErrorDialog.js rename to packages/mirador/src/containers/ErrorDialog.js diff --git a/src/containers/FullScreenButton.js b/packages/mirador/src/containers/FullScreenButton.js similarity index 100% rename from src/containers/FullScreenButton.js rename to packages/mirador/src/containers/FullScreenButton.js diff --git a/src/containers/GalleryView.js b/packages/mirador/src/containers/GalleryView.js similarity index 100% rename from src/containers/GalleryView.js rename to packages/mirador/src/containers/GalleryView.js diff --git a/src/containers/GalleryViewThumbnail.js b/packages/mirador/src/containers/GalleryViewThumbnail.js similarity index 100% rename from src/containers/GalleryViewThumbnail.js rename to packages/mirador/src/containers/GalleryViewThumbnail.js diff --git a/src/containers/IIIFAuthentication.js b/packages/mirador/src/containers/IIIFAuthentication.js similarity index 100% rename from src/containers/IIIFAuthentication.js rename to packages/mirador/src/containers/IIIFAuthentication.js diff --git a/src/containers/IIIFThumbnail.js b/packages/mirador/src/containers/IIIFThumbnail.js similarity index 100% rename from src/containers/IIIFThumbnail.js rename to packages/mirador/src/containers/IIIFThumbnail.js diff --git a/src/containers/LanguageSettings.js b/packages/mirador/src/containers/LanguageSettings.js similarity index 100% rename from src/containers/LanguageSettings.js rename to packages/mirador/src/containers/LanguageSettings.js diff --git a/src/containers/LayersPanel.js b/packages/mirador/src/containers/LayersPanel.js similarity index 100% rename from src/containers/LayersPanel.js rename to packages/mirador/src/containers/LayersPanel.js diff --git a/src/containers/LocalePicker.js b/packages/mirador/src/containers/LocalePicker.js similarity index 100% rename from src/containers/LocalePicker.js rename to packages/mirador/src/containers/LocalePicker.js diff --git a/src/containers/ManifestForm.js b/packages/mirador/src/containers/ManifestForm.js similarity index 100% rename from src/containers/ManifestForm.js rename to packages/mirador/src/containers/ManifestForm.js diff --git a/src/containers/ManifestInfo.js b/packages/mirador/src/containers/ManifestInfo.js similarity index 100% rename from src/containers/ManifestInfo.js rename to packages/mirador/src/containers/ManifestInfo.js diff --git a/src/containers/ManifestListItem.js b/packages/mirador/src/containers/ManifestListItem.js similarity index 100% rename from src/containers/ManifestListItem.js rename to packages/mirador/src/containers/ManifestListItem.js diff --git a/src/containers/ManifestListItemError.js b/packages/mirador/src/containers/ManifestListItemError.js similarity index 100% rename from src/containers/ManifestListItemError.js rename to packages/mirador/src/containers/ManifestListItemError.js diff --git a/src/containers/ManifestRelatedLinks.js b/packages/mirador/src/containers/ManifestRelatedLinks.js similarity index 100% rename from src/containers/ManifestRelatedLinks.js rename to packages/mirador/src/containers/ManifestRelatedLinks.js diff --git a/src/containers/MinimalWindow.js b/packages/mirador/src/containers/MinimalWindow.js similarity index 100% rename from src/containers/MinimalWindow.js rename to packages/mirador/src/containers/MinimalWindow.js diff --git a/src/containers/MiradorMenuButton.js b/packages/mirador/src/containers/MiradorMenuButton.js similarity index 100% rename from src/containers/MiradorMenuButton.js rename to packages/mirador/src/containers/MiradorMenuButton.js diff --git a/src/containers/MosaicRenderPreview.js b/packages/mirador/src/containers/MosaicRenderPreview.js similarity index 100% rename from src/containers/MosaicRenderPreview.js rename to packages/mirador/src/containers/MosaicRenderPreview.js diff --git a/src/containers/OpenSeadragonViewer.js b/packages/mirador/src/containers/OpenSeadragonViewer.js similarity index 100% rename from src/containers/OpenSeadragonViewer.js rename to packages/mirador/src/containers/OpenSeadragonViewer.js diff --git a/src/containers/PrimaryWindow.js b/packages/mirador/src/containers/PrimaryWindow.js similarity index 100% rename from src/containers/PrimaryWindow.js rename to packages/mirador/src/containers/PrimaryWindow.js diff --git a/src/containers/SanitizedHtml.js b/packages/mirador/src/containers/SanitizedHtml.js similarity index 100% rename from src/containers/SanitizedHtml.js rename to packages/mirador/src/containers/SanitizedHtml.js diff --git a/src/containers/ScrollIndicatedDialogContent.js b/packages/mirador/src/containers/ScrollIndicatedDialogContent.js similarity index 100% rename from src/containers/ScrollIndicatedDialogContent.js rename to packages/mirador/src/containers/ScrollIndicatedDialogContent.js diff --git a/src/containers/SearchHit.js b/packages/mirador/src/containers/SearchHit.js similarity index 100% rename from src/containers/SearchHit.js rename to packages/mirador/src/containers/SearchHit.js diff --git a/src/containers/SearchPanel.js b/packages/mirador/src/containers/SearchPanel.js similarity index 100% rename from src/containers/SearchPanel.js rename to packages/mirador/src/containers/SearchPanel.js diff --git a/src/containers/SearchPanelControls.js b/packages/mirador/src/containers/SearchPanelControls.js similarity index 100% rename from src/containers/SearchPanelControls.js rename to packages/mirador/src/containers/SearchPanelControls.js diff --git a/src/containers/SearchPanelNavigation.js b/packages/mirador/src/containers/SearchPanelNavigation.js similarity index 100% rename from src/containers/SearchPanelNavigation.js rename to packages/mirador/src/containers/SearchPanelNavigation.js diff --git a/src/containers/SearchResults.js b/packages/mirador/src/containers/SearchResults.js similarity index 100% rename from src/containers/SearchResults.js rename to packages/mirador/src/containers/SearchResults.js diff --git a/src/containers/SelectCollection.js b/packages/mirador/src/containers/SelectCollection.js similarity index 100% rename from src/containers/SelectCollection.js rename to packages/mirador/src/containers/SelectCollection.js diff --git a/src/containers/SidebarIndexItem.js b/packages/mirador/src/containers/SidebarIndexItem.js similarity index 100% rename from src/containers/SidebarIndexItem.js rename to packages/mirador/src/containers/SidebarIndexItem.js diff --git a/src/containers/SidebarIndexList.js b/packages/mirador/src/containers/SidebarIndexList.js similarity index 100% rename from src/containers/SidebarIndexList.js rename to packages/mirador/src/containers/SidebarIndexList.js diff --git a/src/containers/SidebarIndexTableOfContents.js b/packages/mirador/src/containers/SidebarIndexTableOfContents.js similarity index 100% rename from src/containers/SidebarIndexTableOfContents.js rename to packages/mirador/src/containers/SidebarIndexTableOfContents.js diff --git a/src/containers/SidebarIndexThumbnail.js b/packages/mirador/src/containers/SidebarIndexThumbnail.js similarity index 100% rename from src/containers/SidebarIndexThumbnail.js rename to packages/mirador/src/containers/SidebarIndexThumbnail.js diff --git a/src/containers/ThumbnailCanvasGrouping.js b/packages/mirador/src/containers/ThumbnailCanvasGrouping.js similarity index 100% rename from src/containers/ThumbnailCanvasGrouping.js rename to packages/mirador/src/containers/ThumbnailCanvasGrouping.js diff --git a/src/containers/ThumbnailNavigation.js b/packages/mirador/src/containers/ThumbnailNavigation.js similarity index 100% rename from src/containers/ThumbnailNavigation.js rename to packages/mirador/src/containers/ThumbnailNavigation.js diff --git a/src/containers/VideoViewer.js b/packages/mirador/src/containers/VideoViewer.js similarity index 100% rename from src/containers/VideoViewer.js rename to packages/mirador/src/containers/VideoViewer.js diff --git a/src/containers/ViewerInfo.js b/packages/mirador/src/containers/ViewerInfo.js similarity index 100% rename from src/containers/ViewerInfo.js rename to packages/mirador/src/containers/ViewerInfo.js diff --git a/src/containers/ViewerNavigation.js b/packages/mirador/src/containers/ViewerNavigation.js similarity index 100% rename from src/containers/ViewerNavigation.js rename to packages/mirador/src/containers/ViewerNavigation.js diff --git a/src/containers/Window.js b/packages/mirador/src/containers/Window.js similarity index 100% rename from src/containers/Window.js rename to packages/mirador/src/containers/Window.js diff --git a/src/containers/WindowAuthenticationBar.js b/packages/mirador/src/containers/WindowAuthenticationBar.js similarity index 100% rename from src/containers/WindowAuthenticationBar.js rename to packages/mirador/src/containers/WindowAuthenticationBar.js diff --git a/src/containers/WindowCanvasNavigationControls.js b/packages/mirador/src/containers/WindowCanvasNavigationControls.js similarity index 100% rename from src/containers/WindowCanvasNavigationControls.js rename to packages/mirador/src/containers/WindowCanvasNavigationControls.js diff --git a/src/containers/WindowList.js b/packages/mirador/src/containers/WindowList.js similarity index 100% rename from src/containers/WindowList.js rename to packages/mirador/src/containers/WindowList.js diff --git a/src/containers/WindowListButton.js b/packages/mirador/src/containers/WindowListButton.js similarity index 100% rename from src/containers/WindowListButton.js rename to packages/mirador/src/containers/WindowListButton.js diff --git a/src/containers/WindowSideBar.js b/packages/mirador/src/containers/WindowSideBar.js similarity index 100% rename from src/containers/WindowSideBar.js rename to packages/mirador/src/containers/WindowSideBar.js diff --git a/src/containers/WindowSideBarAnnotationsPanel.js b/packages/mirador/src/containers/WindowSideBarAnnotationsPanel.js similarity index 100% rename from src/containers/WindowSideBarAnnotationsPanel.js rename to packages/mirador/src/containers/WindowSideBarAnnotationsPanel.js diff --git a/src/containers/WindowSideBarButtons.js b/packages/mirador/src/containers/WindowSideBarButtons.js similarity index 100% rename from src/containers/WindowSideBarButtons.js rename to packages/mirador/src/containers/WindowSideBarButtons.js diff --git a/src/containers/WindowSideBarCanvasPanel.js b/packages/mirador/src/containers/WindowSideBarCanvasPanel.js similarity index 100% rename from src/containers/WindowSideBarCanvasPanel.js rename to packages/mirador/src/containers/WindowSideBarCanvasPanel.js diff --git a/src/containers/WindowSideBarCollectionPanel.js b/packages/mirador/src/containers/WindowSideBarCollectionPanel.js similarity index 100% rename from src/containers/WindowSideBarCollectionPanel.js rename to packages/mirador/src/containers/WindowSideBarCollectionPanel.js diff --git a/src/containers/WindowSideBarInfoPanel.js b/packages/mirador/src/containers/WindowSideBarInfoPanel.js similarity index 100% rename from src/containers/WindowSideBarInfoPanel.js rename to packages/mirador/src/containers/WindowSideBarInfoPanel.js diff --git a/src/containers/WindowThumbnailSettings.js b/packages/mirador/src/containers/WindowThumbnailSettings.js similarity index 100% rename from src/containers/WindowThumbnailSettings.js rename to packages/mirador/src/containers/WindowThumbnailSettings.js diff --git a/src/containers/WindowTopBar.js b/packages/mirador/src/containers/WindowTopBar.js similarity index 100% rename from src/containers/WindowTopBar.js rename to packages/mirador/src/containers/WindowTopBar.js diff --git a/src/containers/WindowTopBarPluginArea.js b/packages/mirador/src/containers/WindowTopBarPluginArea.js similarity index 100% rename from src/containers/WindowTopBarPluginArea.js rename to packages/mirador/src/containers/WindowTopBarPluginArea.js diff --git a/src/containers/WindowTopBarPluginMenu.js b/packages/mirador/src/containers/WindowTopBarPluginMenu.js similarity index 100% rename from src/containers/WindowTopBarPluginMenu.js rename to packages/mirador/src/containers/WindowTopBarPluginMenu.js diff --git a/src/containers/WindowTopBarTitle.js b/packages/mirador/src/containers/WindowTopBarTitle.js similarity index 100% rename from src/containers/WindowTopBarTitle.js rename to packages/mirador/src/containers/WindowTopBarTitle.js diff --git a/src/containers/WindowTopMenu.js b/packages/mirador/src/containers/WindowTopMenu.js similarity index 100% rename from src/containers/WindowTopMenu.js rename to packages/mirador/src/containers/WindowTopMenu.js diff --git a/src/containers/WindowTopMenuButton.js b/packages/mirador/src/containers/WindowTopMenuButton.js similarity index 100% rename from src/containers/WindowTopMenuButton.js rename to packages/mirador/src/containers/WindowTopMenuButton.js diff --git a/src/containers/WindowViewSettings.js b/packages/mirador/src/containers/WindowViewSettings.js similarity index 100% rename from src/containers/WindowViewSettings.js rename to packages/mirador/src/containers/WindowViewSettings.js diff --git a/src/containers/WindowViewer.js b/packages/mirador/src/containers/WindowViewer.js similarity index 100% rename from src/containers/WindowViewer.js rename to packages/mirador/src/containers/WindowViewer.js diff --git a/src/containers/Workspace.js b/packages/mirador/src/containers/Workspace.js similarity index 100% rename from src/containers/Workspace.js rename to packages/mirador/src/containers/Workspace.js diff --git a/src/containers/WorkspaceAdd.js b/packages/mirador/src/containers/WorkspaceAdd.js similarity index 100% rename from src/containers/WorkspaceAdd.js rename to packages/mirador/src/containers/WorkspaceAdd.js diff --git a/src/containers/WorkspaceAddButton.js b/packages/mirador/src/containers/WorkspaceAddButton.js similarity index 100% rename from src/containers/WorkspaceAddButton.js rename to packages/mirador/src/containers/WorkspaceAddButton.js diff --git a/src/containers/WorkspaceArea.js b/packages/mirador/src/containers/WorkspaceArea.js similarity index 100% rename from src/containers/WorkspaceArea.js rename to packages/mirador/src/containers/WorkspaceArea.js diff --git a/src/containers/WorkspaceControlPanel.js b/packages/mirador/src/containers/WorkspaceControlPanel.js similarity index 100% rename from src/containers/WorkspaceControlPanel.js rename to packages/mirador/src/containers/WorkspaceControlPanel.js diff --git a/src/containers/WorkspaceControlPanelButtons.js b/packages/mirador/src/containers/WorkspaceControlPanelButtons.js similarity index 100% rename from src/containers/WorkspaceControlPanelButtons.js rename to packages/mirador/src/containers/WorkspaceControlPanelButtons.js diff --git a/src/containers/WorkspaceElastic.js b/packages/mirador/src/containers/WorkspaceElastic.js similarity index 100% rename from src/containers/WorkspaceElastic.js rename to packages/mirador/src/containers/WorkspaceElastic.js diff --git a/src/containers/WorkspaceElasticWindow.js b/packages/mirador/src/containers/WorkspaceElasticWindow.js similarity index 100% rename from src/containers/WorkspaceElasticWindow.js rename to packages/mirador/src/containers/WorkspaceElasticWindow.js diff --git a/src/containers/WorkspaceExport.js b/packages/mirador/src/containers/WorkspaceExport.js similarity index 100% rename from src/containers/WorkspaceExport.js rename to packages/mirador/src/containers/WorkspaceExport.js diff --git a/src/containers/WorkspaceImport.js b/packages/mirador/src/containers/WorkspaceImport.js similarity index 100% rename from src/containers/WorkspaceImport.js rename to packages/mirador/src/containers/WorkspaceImport.js diff --git a/src/containers/WorkspaceMenu.js b/packages/mirador/src/containers/WorkspaceMenu.js similarity index 100% rename from src/containers/WorkspaceMenu.js rename to packages/mirador/src/containers/WorkspaceMenu.js diff --git a/src/containers/WorkspaceMenuButton.js b/packages/mirador/src/containers/WorkspaceMenuButton.js similarity index 100% rename from src/containers/WorkspaceMenuButton.js rename to packages/mirador/src/containers/WorkspaceMenuButton.js diff --git a/src/containers/WorkspaceMosaic.js b/packages/mirador/src/containers/WorkspaceMosaic.js similarity index 100% rename from src/containers/WorkspaceMosaic.js rename to packages/mirador/src/containers/WorkspaceMosaic.js diff --git a/src/containers/WorkspaceOptionsButton.js b/packages/mirador/src/containers/WorkspaceOptionsButton.js similarity index 100% rename from src/containers/WorkspaceOptionsButton.js rename to packages/mirador/src/containers/WorkspaceOptionsButton.js diff --git a/src/containers/WorkspaceOptionsMenu.js b/packages/mirador/src/containers/WorkspaceOptionsMenu.js similarity index 100% rename from src/containers/WorkspaceOptionsMenu.js rename to packages/mirador/src/containers/WorkspaceOptionsMenu.js diff --git a/src/containers/WorkspaceSelectionDialog.js b/packages/mirador/src/containers/WorkspaceSelectionDialog.js similarity index 100% rename from src/containers/WorkspaceSelectionDialog.js rename to packages/mirador/src/containers/WorkspaceSelectionDialog.js diff --git a/src/containers/ZoomControls.js b/packages/mirador/src/containers/ZoomControls.js similarity index 100% rename from src/containers/ZoomControls.js rename to packages/mirador/src/containers/ZoomControls.js diff --git a/src/containers/index.js b/packages/mirador/src/containers/index.js similarity index 100% rename from src/containers/index.js rename to packages/mirador/src/containers/index.js diff --git a/src/contexts/FullScreenContext.js b/packages/mirador/src/contexts/FullScreenContext.js similarity index 100% rename from src/contexts/FullScreenContext.js rename to packages/mirador/src/contexts/FullScreenContext.js diff --git a/src/contexts/OpenSeadragonViewerContext.js b/packages/mirador/src/contexts/OpenSeadragonViewerContext.js similarity index 100% rename from src/contexts/OpenSeadragonViewerContext.js rename to packages/mirador/src/contexts/OpenSeadragonViewerContext.js diff --git a/src/contexts/WorkspaceContext.js b/packages/mirador/src/contexts/WorkspaceContext.js similarity index 100% rename from src/contexts/WorkspaceContext.js rename to packages/mirador/src/contexts/WorkspaceContext.js diff --git a/src/contexts/index.js b/packages/mirador/src/contexts/index.js similarity index 100% rename from src/contexts/index.js rename to packages/mirador/src/contexts/index.js diff --git a/src/extend/PluginContext.js b/packages/mirador/src/extend/PluginContext.js similarity index 100% rename from src/extend/PluginContext.js rename to packages/mirador/src/extend/PluginContext.js diff --git a/src/extend/PluginProvider.js b/packages/mirador/src/extend/PluginProvider.js similarity index 100% rename from src/extend/PluginProvider.js rename to packages/mirador/src/extend/PluginProvider.js diff --git a/src/extend/index.js b/packages/mirador/src/extend/index.js similarity index 100% rename from src/extend/index.js rename to packages/mirador/src/extend/index.js diff --git a/src/extend/pluginMapping.js b/packages/mirador/src/extend/pluginMapping.js similarity index 100% rename from src/extend/pluginMapping.js rename to packages/mirador/src/extend/pluginMapping.js diff --git a/src/extend/pluginPreprocessing.js b/packages/mirador/src/extend/pluginPreprocessing.js similarity index 100% rename from src/extend/pluginPreprocessing.js rename to packages/mirador/src/extend/pluginPreprocessing.js diff --git a/src/extend/pluginValidation.js b/packages/mirador/src/extend/pluginValidation.js similarity index 100% rename from src/extend/pluginValidation.js rename to packages/mirador/src/extend/pluginValidation.js diff --git a/src/extend/withPlugins.js b/packages/mirador/src/extend/withPlugins.js similarity index 100% rename from src/extend/withPlugins.js rename to packages/mirador/src/extend/withPlugins.js diff --git a/src/i18n.js b/packages/mirador/src/i18n.js similarity index 100% rename from src/i18n.js rename to packages/mirador/src/i18n.js diff --git a/src/index.js b/packages/mirador/src/index.js similarity index 100% rename from src/index.js rename to packages/mirador/src/index.js diff --git a/src/init.js b/packages/mirador/src/init.js similarity index 100% rename from src/init.js rename to packages/mirador/src/init.js diff --git a/src/lib/AnnotationFactory.js b/packages/mirador/src/lib/AnnotationFactory.js similarity index 100% rename from src/lib/AnnotationFactory.js rename to packages/mirador/src/lib/AnnotationFactory.js diff --git a/src/lib/AnnotationItem.js b/packages/mirador/src/lib/AnnotationItem.js similarity index 100% rename from src/lib/AnnotationItem.js rename to packages/mirador/src/lib/AnnotationItem.js diff --git a/src/lib/AnnotationList.js b/packages/mirador/src/lib/AnnotationList.js similarity index 100% rename from src/lib/AnnotationList.js rename to packages/mirador/src/lib/AnnotationList.js diff --git a/src/lib/AnnotationPage.js b/packages/mirador/src/lib/AnnotationPage.js similarity index 100% rename from src/lib/AnnotationPage.js rename to packages/mirador/src/lib/AnnotationPage.js diff --git a/src/lib/AnnotationResource.js b/packages/mirador/src/lib/AnnotationResource.js similarity index 100% rename from src/lib/AnnotationResource.js rename to packages/mirador/src/lib/AnnotationResource.js diff --git a/src/lib/CanvasAnnotationDisplay.js b/packages/mirador/src/lib/CanvasAnnotationDisplay.js similarity index 100% rename from src/lib/CanvasAnnotationDisplay.js rename to packages/mirador/src/lib/CanvasAnnotationDisplay.js diff --git a/src/lib/CanvasGroupings.js b/packages/mirador/src/lib/CanvasGroupings.js similarity index 100% rename from src/lib/CanvasGroupings.js rename to packages/mirador/src/lib/CanvasGroupings.js diff --git a/src/lib/CanvasWorld.js b/packages/mirador/src/lib/CanvasWorld.js similarity index 100% rename from src/lib/CanvasWorld.js rename to packages/mirador/src/lib/CanvasWorld.js diff --git a/src/lib/CompanionWindowRegistry.js b/packages/mirador/src/lib/CompanionWindowRegistry.js similarity index 100% rename from src/lib/CompanionWindowRegistry.js rename to packages/mirador/src/lib/CompanionWindowRegistry.js diff --git a/src/lib/MiradorCanvas.js b/packages/mirador/src/lib/MiradorCanvas.js similarity index 100% rename from src/lib/MiradorCanvas.js rename to packages/mirador/src/lib/MiradorCanvas.js diff --git a/src/lib/MiradorManifest.js b/packages/mirador/src/lib/MiradorManifest.js similarity index 100% rename from src/lib/MiradorManifest.js rename to packages/mirador/src/lib/MiradorManifest.js diff --git a/src/lib/MiradorViewer.js b/packages/mirador/src/lib/MiradorViewer.js similarity index 100% rename from src/lib/MiradorViewer.js rename to packages/mirador/src/lib/MiradorViewer.js diff --git a/src/lib/MosaicLayout.js b/packages/mirador/src/lib/MosaicLayout.js similarity index 100% rename from src/lib/MosaicLayout.js rename to packages/mirador/src/lib/MosaicLayout.js diff --git a/src/lib/OpenSeadragonCanvasOverlay.js b/packages/mirador/src/lib/OpenSeadragonCanvasOverlay.js similarity index 100% rename from src/lib/OpenSeadragonCanvasOverlay.js rename to packages/mirador/src/lib/OpenSeadragonCanvasOverlay.js diff --git a/src/lib/ThumbnailFactory.js b/packages/mirador/src/lib/ThumbnailFactory.js similarity index 100% rename from src/lib/ThumbnailFactory.js rename to packages/mirador/src/lib/ThumbnailFactory.js diff --git a/src/lib/TruncatedHit.js b/packages/mirador/src/lib/TruncatedHit.js similarity index 100% rename from src/lib/TruncatedHit.js rename to packages/mirador/src/lib/TruncatedHit.js diff --git a/src/lib/asArray.js b/packages/mirador/src/lib/asArray.js similarity index 100% rename from src/lib/asArray.js rename to packages/mirador/src/lib/asArray.js diff --git a/src/lib/htmlRules.js b/packages/mirador/src/lib/htmlRules.js similarity index 100% rename from src/lib/htmlRules.js rename to packages/mirador/src/lib/htmlRules.js diff --git a/src/lib/index.js b/packages/mirador/src/lib/index.js similarity index 100% rename from src/lib/index.js rename to packages/mirador/src/lib/index.js diff --git a/src/lib/readImageMetadata.js b/packages/mirador/src/lib/readImageMetadata.js similarity index 100% rename from src/lib/readImageMetadata.js rename to packages/mirador/src/lib/readImageMetadata.js diff --git a/src/locales/README.md b/packages/mirador/src/locales/README.md similarity index 100% rename from src/locales/README.md rename to packages/mirador/src/locales/README.md diff --git a/src/locales/ar/translation.json b/packages/mirador/src/locales/ar/translation.json similarity index 100% rename from src/locales/ar/translation.json rename to packages/mirador/src/locales/ar/translation.json diff --git a/src/locales/bg/translation.json b/packages/mirador/src/locales/bg/translation.json similarity index 100% rename from src/locales/bg/translation.json rename to packages/mirador/src/locales/bg/translation.json diff --git a/src/locales/de/translation.json b/packages/mirador/src/locales/de/translation.json similarity index 100% rename from src/locales/de/translation.json rename to packages/mirador/src/locales/de/translation.json diff --git a/src/locales/en/translation.json b/packages/mirador/src/locales/en/translation.json similarity index 100% rename from src/locales/en/translation.json rename to packages/mirador/src/locales/en/translation.json diff --git a/src/locales/et/translation.json b/packages/mirador/src/locales/et/translation.json similarity index 100% rename from src/locales/et/translation.json rename to packages/mirador/src/locales/et/translation.json diff --git a/src/locales/fa/translation.json b/packages/mirador/src/locales/fa/translation.json similarity index 100% rename from src/locales/fa/translation.json rename to packages/mirador/src/locales/fa/translation.json diff --git a/src/locales/fr/translation.json b/packages/mirador/src/locales/fr/translation.json similarity index 100% rename from src/locales/fr/translation.json rename to packages/mirador/src/locales/fr/translation.json diff --git a/src/locales/hr/translation.json b/packages/mirador/src/locales/hr/translation.json similarity index 100% rename from src/locales/hr/translation.json rename to packages/mirador/src/locales/hr/translation.json diff --git a/src/locales/it/translation.json b/packages/mirador/src/locales/it/translation.json similarity index 100% rename from src/locales/it/translation.json rename to packages/mirador/src/locales/it/translation.json diff --git a/src/locales/ja/translation.json b/packages/mirador/src/locales/ja/translation.json similarity index 100% rename from src/locales/ja/translation.json rename to packages/mirador/src/locales/ja/translation.json diff --git a/src/locales/kr/translation.json b/packages/mirador/src/locales/kr/translation.json similarity index 100% rename from src/locales/kr/translation.json rename to packages/mirador/src/locales/kr/translation.json diff --git a/src/locales/lt/translation.json b/packages/mirador/src/locales/lt/translation.json similarity index 100% rename from src/locales/lt/translation.json rename to packages/mirador/src/locales/lt/translation.json diff --git a/src/locales/nbNo/translation.json b/packages/mirador/src/locales/nbNo/translation.json similarity index 100% rename from src/locales/nbNo/translation.json rename to packages/mirador/src/locales/nbNo/translation.json diff --git a/src/locales/nl/translation.json b/packages/mirador/src/locales/nl/translation.json similarity index 100% rename from src/locales/nl/translation.json rename to packages/mirador/src/locales/nl/translation.json diff --git a/src/locales/pl/translation.json b/packages/mirador/src/locales/pl/translation.json similarity index 100% rename from src/locales/pl/translation.json rename to packages/mirador/src/locales/pl/translation.json diff --git a/src/locales/ptBr/translation.json b/packages/mirador/src/locales/ptBr/translation.json similarity index 100% rename from src/locales/ptBr/translation.json rename to packages/mirador/src/locales/ptBr/translation.json diff --git a/src/locales/sr/translation.json b/packages/mirador/src/locales/sr/translation.json similarity index 100% rename from src/locales/sr/translation.json rename to packages/mirador/src/locales/sr/translation.json diff --git a/src/locales/sv/translation.json b/packages/mirador/src/locales/sv/translation.json similarity index 100% rename from src/locales/sv/translation.json rename to packages/mirador/src/locales/sv/translation.json diff --git a/src/locales/vi/translation.json b/packages/mirador/src/locales/vi/translation.json similarity index 100% rename from src/locales/vi/translation.json rename to packages/mirador/src/locales/vi/translation.json diff --git a/src/locales/zhCn/translation.json b/packages/mirador/src/locales/zhCn/translation.json similarity index 100% rename from src/locales/zhCn/translation.json rename to packages/mirador/src/locales/zhCn/translation.json diff --git a/src/locales/zhTw/translation.json b/packages/mirador/src/locales/zhTw/translation.json similarity index 100% rename from src/locales/zhTw/translation.json rename to packages/mirador/src/locales/zhTw/translation.json diff --git a/src/plugins/OSDReferences.js b/packages/mirador/src/plugins/OSDReferences.js similarity index 100% rename from src/plugins/OSDReferences.js rename to packages/mirador/src/plugins/OSDReferences.js diff --git a/src/plugins/index.js b/packages/mirador/src/plugins/index.js similarity index 100% rename from src/plugins/index.js rename to packages/mirador/src/plugins/index.js diff --git a/src/state/actions/action-types.js b/packages/mirador/src/state/actions/action-types.js similarity index 100% rename from src/state/actions/action-types.js rename to packages/mirador/src/state/actions/action-types.js diff --git a/src/state/actions/annotation.js b/packages/mirador/src/state/actions/annotation.js similarity index 100% rename from src/state/actions/annotation.js rename to packages/mirador/src/state/actions/annotation.js diff --git a/src/state/actions/auth.js b/packages/mirador/src/state/actions/auth.js similarity index 100% rename from src/state/actions/auth.js rename to packages/mirador/src/state/actions/auth.js diff --git a/src/state/actions/canvas.js b/packages/mirador/src/state/actions/canvas.js similarity index 100% rename from src/state/actions/canvas.js rename to packages/mirador/src/state/actions/canvas.js diff --git a/src/state/actions/catalog.js b/packages/mirador/src/state/actions/catalog.js similarity index 100% rename from src/state/actions/catalog.js rename to packages/mirador/src/state/actions/catalog.js diff --git a/src/state/actions/companionWindow.js b/packages/mirador/src/state/actions/companionWindow.js similarity index 100% rename from src/state/actions/companionWindow.js rename to packages/mirador/src/state/actions/companionWindow.js diff --git a/src/state/actions/config.js b/packages/mirador/src/state/actions/config.js similarity index 100% rename from src/state/actions/config.js rename to packages/mirador/src/state/actions/config.js diff --git a/src/state/actions/elasticLayout.js b/packages/mirador/src/state/actions/elasticLayout.js similarity index 100% rename from src/state/actions/elasticLayout.js rename to packages/mirador/src/state/actions/elasticLayout.js diff --git a/src/state/actions/errors.js b/packages/mirador/src/state/actions/errors.js similarity index 100% rename from src/state/actions/errors.js rename to packages/mirador/src/state/actions/errors.js diff --git a/src/state/actions/index.js b/packages/mirador/src/state/actions/index.js similarity index 100% rename from src/state/actions/index.js rename to packages/mirador/src/state/actions/index.js diff --git a/src/state/actions/infoResponse.js b/packages/mirador/src/state/actions/infoResponse.js similarity index 100% rename from src/state/actions/infoResponse.js rename to packages/mirador/src/state/actions/infoResponse.js diff --git a/src/state/actions/layers.js b/packages/mirador/src/state/actions/layers.js similarity index 100% rename from src/state/actions/layers.js rename to packages/mirador/src/state/actions/layers.js diff --git a/src/state/actions/manifest.js b/packages/mirador/src/state/actions/manifest.js similarity index 100% rename from src/state/actions/manifest.js rename to packages/mirador/src/state/actions/manifest.js diff --git a/src/state/actions/search.js b/packages/mirador/src/state/actions/search.js similarity index 100% rename from src/state/actions/search.js rename to packages/mirador/src/state/actions/search.js diff --git a/src/state/actions/window.js b/packages/mirador/src/state/actions/window.js similarity index 100% rename from src/state/actions/window.js rename to packages/mirador/src/state/actions/window.js diff --git a/src/state/actions/workspace.js b/packages/mirador/src/state/actions/workspace.js similarity index 100% rename from src/state/actions/workspace.js rename to packages/mirador/src/state/actions/workspace.js diff --git a/src/state/createPluggableStore.js b/packages/mirador/src/state/createPluggableStore.js similarity index 100% rename from src/state/createPluggableStore.js rename to packages/mirador/src/state/createPluggableStore.js diff --git a/src/state/createStore.js b/packages/mirador/src/state/createStore.js similarity index 100% rename from src/state/createStore.js rename to packages/mirador/src/state/createStore.js diff --git a/src/state/index.js b/packages/mirador/src/state/index.js similarity index 100% rename from src/state/index.js rename to packages/mirador/src/state/index.js diff --git a/src/state/reducers/accessTokens.js b/packages/mirador/src/state/reducers/accessTokens.js similarity index 100% rename from src/state/reducers/accessTokens.js rename to packages/mirador/src/state/reducers/accessTokens.js diff --git a/src/state/reducers/annotations.js b/packages/mirador/src/state/reducers/annotations.js similarity index 100% rename from src/state/reducers/annotations.js rename to packages/mirador/src/state/reducers/annotations.js diff --git a/src/state/reducers/auth.js b/packages/mirador/src/state/reducers/auth.js similarity index 100% rename from src/state/reducers/auth.js rename to packages/mirador/src/state/reducers/auth.js diff --git a/src/state/reducers/catalog.js b/packages/mirador/src/state/reducers/catalog.js similarity index 100% rename from src/state/reducers/catalog.js rename to packages/mirador/src/state/reducers/catalog.js diff --git a/src/state/reducers/companionWindows.js b/packages/mirador/src/state/reducers/companionWindows.js similarity index 100% rename from src/state/reducers/companionWindows.js rename to packages/mirador/src/state/reducers/companionWindows.js diff --git a/src/state/reducers/config.js b/packages/mirador/src/state/reducers/config.js similarity index 100% rename from src/state/reducers/config.js rename to packages/mirador/src/state/reducers/config.js diff --git a/src/state/reducers/elasticLayout.js b/packages/mirador/src/state/reducers/elasticLayout.js similarity index 100% rename from src/state/reducers/elasticLayout.js rename to packages/mirador/src/state/reducers/elasticLayout.js diff --git a/src/state/reducers/errors.js b/packages/mirador/src/state/reducers/errors.js similarity index 100% rename from src/state/reducers/errors.js rename to packages/mirador/src/state/reducers/errors.js diff --git a/src/state/reducers/index.js b/packages/mirador/src/state/reducers/index.js similarity index 100% rename from src/state/reducers/index.js rename to packages/mirador/src/state/reducers/index.js diff --git a/src/state/reducers/infoResponses.js b/packages/mirador/src/state/reducers/infoResponses.js similarity index 100% rename from src/state/reducers/infoResponses.js rename to packages/mirador/src/state/reducers/infoResponses.js diff --git a/src/state/reducers/layers.js b/packages/mirador/src/state/reducers/layers.js similarity index 100% rename from src/state/reducers/layers.js rename to packages/mirador/src/state/reducers/layers.js diff --git a/src/state/reducers/manifests.js b/packages/mirador/src/state/reducers/manifests.js similarity index 100% rename from src/state/reducers/manifests.js rename to packages/mirador/src/state/reducers/manifests.js diff --git a/src/state/reducers/rootReducer.js b/packages/mirador/src/state/reducers/rootReducer.js similarity index 100% rename from src/state/reducers/rootReducer.js rename to packages/mirador/src/state/reducers/rootReducer.js diff --git a/src/state/reducers/search.js b/packages/mirador/src/state/reducers/search.js similarity index 100% rename from src/state/reducers/search.js rename to packages/mirador/src/state/reducers/search.js diff --git a/src/state/reducers/utils.js b/packages/mirador/src/state/reducers/utils.js similarity index 100% rename from src/state/reducers/utils.js rename to packages/mirador/src/state/reducers/utils.js diff --git a/src/state/reducers/viewers.js b/packages/mirador/src/state/reducers/viewers.js similarity index 100% rename from src/state/reducers/viewers.js rename to packages/mirador/src/state/reducers/viewers.js diff --git a/src/state/reducers/windows.js b/packages/mirador/src/state/reducers/windows.js similarity index 100% rename from src/state/reducers/windows.js rename to packages/mirador/src/state/reducers/windows.js diff --git a/src/state/reducers/workspace.js b/packages/mirador/src/state/reducers/workspace.js similarity index 100% rename from src/state/reducers/workspace.js rename to packages/mirador/src/state/reducers/workspace.js diff --git a/src/state/sagas/annotations.js b/packages/mirador/src/state/sagas/annotations.js similarity index 100% rename from src/state/sagas/annotations.js rename to packages/mirador/src/state/sagas/annotations.js diff --git a/src/state/sagas/app.js b/packages/mirador/src/state/sagas/app.js similarity index 100% rename from src/state/sagas/app.js rename to packages/mirador/src/state/sagas/app.js diff --git a/src/state/sagas/auth.js b/packages/mirador/src/state/sagas/auth.js similarity index 100% rename from src/state/sagas/auth.js rename to packages/mirador/src/state/sagas/auth.js diff --git a/src/state/sagas/iiif.js b/packages/mirador/src/state/sagas/iiif.js similarity index 100% rename from src/state/sagas/iiif.js rename to packages/mirador/src/state/sagas/iiif.js diff --git a/src/state/sagas/index.js b/packages/mirador/src/state/sagas/index.js similarity index 100% rename from src/state/sagas/index.js rename to packages/mirador/src/state/sagas/index.js diff --git a/src/state/sagas/windows.js b/packages/mirador/src/state/sagas/windows.js similarity index 100% rename from src/state/sagas/windows.js rename to packages/mirador/src/state/sagas/windows.js diff --git a/src/state/selectors/annotations.js b/packages/mirador/src/state/selectors/annotations.js similarity index 100% rename from src/state/selectors/annotations.js rename to packages/mirador/src/state/selectors/annotations.js diff --git a/src/state/selectors/auth.js b/packages/mirador/src/state/selectors/auth.js similarity index 100% rename from src/state/selectors/auth.js rename to packages/mirador/src/state/selectors/auth.js diff --git a/src/state/selectors/canvases.js b/packages/mirador/src/state/selectors/canvases.js similarity index 100% rename from src/state/selectors/canvases.js rename to packages/mirador/src/state/selectors/canvases.js diff --git a/src/state/selectors/companionWindows.js b/packages/mirador/src/state/selectors/companionWindows.js similarity index 100% rename from src/state/selectors/companionWindows.js rename to packages/mirador/src/state/selectors/companionWindows.js diff --git a/src/state/selectors/config.js b/packages/mirador/src/state/selectors/config.js similarity index 100% rename from src/state/selectors/config.js rename to packages/mirador/src/state/selectors/config.js diff --git a/src/state/selectors/getters.js b/packages/mirador/src/state/selectors/getters.js similarity index 100% rename from src/state/selectors/getters.js rename to packages/mirador/src/state/selectors/getters.js diff --git a/src/state/selectors/index.js b/packages/mirador/src/state/selectors/index.js similarity index 100% rename from src/state/selectors/index.js rename to packages/mirador/src/state/selectors/index.js diff --git a/src/state/selectors/layers.js b/packages/mirador/src/state/selectors/layers.js similarity index 100% rename from src/state/selectors/layers.js rename to packages/mirador/src/state/selectors/layers.js diff --git a/src/state/selectors/manifests.js b/packages/mirador/src/state/selectors/manifests.js similarity index 100% rename from src/state/selectors/manifests.js rename to packages/mirador/src/state/selectors/manifests.js diff --git a/src/state/selectors/ranges.js b/packages/mirador/src/state/selectors/ranges.js similarity index 100% rename from src/state/selectors/ranges.js rename to packages/mirador/src/state/selectors/ranges.js diff --git a/src/state/selectors/searches.js b/packages/mirador/src/state/selectors/searches.js similarity index 100% rename from src/state/selectors/searches.js rename to packages/mirador/src/state/selectors/searches.js diff --git a/src/state/selectors/sequences.js b/packages/mirador/src/state/selectors/sequences.js similarity index 100% rename from src/state/selectors/sequences.js rename to packages/mirador/src/state/selectors/sequences.js diff --git a/src/state/selectors/utils.js b/packages/mirador/src/state/selectors/utils.js similarity index 100% rename from src/state/selectors/utils.js rename to packages/mirador/src/state/selectors/utils.js diff --git a/src/state/selectors/viewer.js b/packages/mirador/src/state/selectors/viewer.js similarity index 100% rename from src/state/selectors/viewer.js rename to packages/mirador/src/state/selectors/viewer.js diff --git a/src/state/selectors/windows.js b/packages/mirador/src/state/selectors/windows.js similarity index 100% rename from src/state/selectors/windows.js rename to packages/mirador/src/state/selectors/windows.js diff --git a/src/state/selectors/workspace.js b/packages/mirador/src/state/selectors/workspace.js similarity index 100% rename from src/state/selectors/workspace.js rename to packages/mirador/src/state/selectors/workspace.js diff --git a/src/styles/react-mosaic-component.js b/packages/mirador/src/styles/react-mosaic-component.js similarity index 100% rename from src/styles/react-mosaic-component.js rename to packages/mirador/src/styles/react-mosaic-component.js diff --git a/vite.config.js b/packages/mirador/vite.config.js similarity index 100% rename from vite.config.js rename to packages/mirador/vite.config.js diff --git a/vitest.config.ts b/packages/mirador/vitest.config.ts similarity index 100% rename from vitest.config.ts rename to packages/mirador/vitest.config.ts