mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +03:00
94a181ce2a
refs https://github.com/TryGhost/Product/issues/4123 --- <!-- Leave the line below if you'd like GitHub Copilot to generate a summary from your commit --> <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at a420f0b</samp> This pull request moves most of the API-related types and functions from the `admin-x-settings` package to the `admin-x-framework` package, which is a new library of common utilities and hooks for the admin-x apps. It also adds some configuration files, such as `.eslintrc.cjs` and `.gitignore`, to the `admin-x-framework` package. Additionally, it exports the `FetchKoenigLexical` type from the `admin-x-design-system` package, which is used by the `HtmlEditor` component.
83 lines
2.4 KiB
JSON
83 lines
2.4 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": "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/limit-service": "^1.2.10",
|
|
"@tryghost/nql": "0.11.0",
|
|
"@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",
|
|
"@tryghost/admin-x-design-system": "0.0.0",
|
|
"@tryghost/admin-x-framework": "0.0.0",
|
|
"@types/react": "18.2.37",
|
|
"@types/react-dom": "18.2.15",
|
|
"@types/validator": "13.11.6",
|
|
"@vitejs/plugin-react": "4.1.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.0",
|
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
"vite-plugin-svgr": "3.3.0",
|
|
"vitest": "0.34.3"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"build",
|
|
{"projects": ["@tryghost/admin-x-design-system", "@tryghost/admin-x-framework"], "target": "build"}
|
|
]
|
|
},
|
|
"test:acceptance": {
|
|
"dependsOn": [
|
|
"test:acceptance",
|
|
{"projects": ["@tryghost/admin-x-design-system", "@tryghost/admin-x-framework"], "target": "build"}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|