mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
19da5c6af4
no issue - Adds the unsplash selector as a standalone typescript package inside the Koenig monorepo. - Currently we have 3 versions of the Unsplash Selector. One in Koenig-Lexical, one in AdminX and the original Ember version. - We can now start phasing out the application coupled version of the selector and replace it with the reusable version. - We can now import it via npm to any React application. - This commit removes the Unsplash components from AdminX and imports it instead. This is the second commit for this as the previous commit broke styles due to normalise styles leaking into the Ember app. Disabling preflight (https://github.com/TryGhost/Koenig/pull/1169) in Tailwind fixed it.
84 lines
2.3 KiB
JSON
84 lines
2.3 KiB
JSON
{
|
|
"name": "@tryghost/admin-x-settings",
|
|
"version": "0.0.20",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TryGhost/Ghost/tree/main/packages/admin-x-settings"
|
|
},
|
|
"author": "Ghost Foundation",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist/"
|
|
],
|
|
"main": "./dist/admin-x-settings.umd.cjs",
|
|
"module": "./dist/admin-x-settings.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/admin-x-settings.js",
|
|
"require": "./dist/admin-x-settings.umd.cjs"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"dev:start": "vite",
|
|
"build": "concurrently \"tsc\" \"vite build\"",
|
|
"lint": "yarn run lint:js",
|
|
"lint:js": "eslint --ext .js,.ts,.cjs,.tsx --cache src test",
|
|
"test:unit": "yarn nx build && vitest run",
|
|
"test:acceptance": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' VITE_TEST=true playwright test",
|
|
"test:acceptance:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=100 yarn test:acceptance --headed",
|
|
"test:acceptance:full": "ALL_BROWSERS=1 yarn test:acceptance",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-html": "^6.4.5",
|
|
"@tryghost/color-utils": "0.2.0",
|
|
"@tryghost/kg-unsplash-selector": "^0.1.11",
|
|
"@tryghost/limit-service": "^1.2.10",
|
|
"@tryghost/nql": "0.12.1",
|
|
"@tryghost/timezone-data": "0.4.1",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"validator": "7.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.38.1",
|
|
"@testing-library/react": "14.1.0",
|
|
"@tryghost/admin-x-design-system": "0.0.0",
|
|
"@tryghost/admin-x-framework": "0.0.0",
|
|
"@types/react": "18.2.48",
|
|
"@types/react-dom": "18.2.18",
|
|
"@types/validator": "13.11.8",
|
|
"@vitejs/plugin-react": "4.2.1",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"eslint-plugin-react-refresh": "0.4.3",
|
|
"eslint-plugin-tailwindcss": "3.13.0",
|
|
"stylelint": "15.10.3",
|
|
"vite": "4.5.2",
|
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
"vite-plugin-svgr": "3.3.0",
|
|
"vitest": "0.34.3"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"dev": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:acceptance": {
|
|
"dependsOn": [
|
|
"test:acceptance",
|
|
"^build"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|