mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-router](https://redirect.github.com/remix-run/react-router) ([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router)) | [`7.1.3` -> `7.1.4`](https://renovatebot.com/diffs/npm/react-router/7.1.3/7.1.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>remix-run/react-router (react-router)</summary> ### [`v7.1.4`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#714) [Compare Source](https://redirect.github.com/remix-run/react-router/compare/react-router@7.1.3...react-router@7.1.4) ##### Patch Changes - Internal reorg to clean up some duplicated route module types ([#​12799](https://redirect.github.com/remix-run/react-router/pull/12799)) - Properly handle status codes that cannot have a body in single fetch responses (204, etc.) ([#​12760](https://redirect.github.com/remix-run/react-router/pull/12760)) - Stop erroring on resource routes that return raw strings/objects and instead serialize them as `text/plain` or `application/json` responses ([#​12848](https://redirect.github.com/remix-run/react-router/pull/12848)) - This only applies when accessed as a resource route without the `.data` extension - When accessed from a Single Fetch `.data` request, they will still be encoded via `turbo-stream` - REMOVE: limit matchRoutes optimization to client side ([#​12882](https://redirect.github.com/remix-run/react-router/pull/12882)) - Optimize Lazy Route Discovery path discovery to favor a single `querySelectorAll` call at the `body` level instead of many calls at the sub-tree level ([#​12731](https://redirect.github.com/remix-run/react-router/pull/12731)) - - Properly bubble headers as `errorHeaders` when throwing a `data()` result ([#​12846](https://redirect.github.com/remix-run/react-router/pull/12846)) - Avoid duplication of `Set-Cookie` headers could be duplicated if also returned from `headers` - Optimize route matching by skipping redundant `matchRoutes` calls when possible ([#​12800](https://redirect.github.com/remix-run/react-router/pull/12800)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* * * * 1-5" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/TryGhost/Ghost). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
120 lines
3.6 KiB
JSON
120 lines
3.6 KiB
JSON
{
|
|
"name": "@tryghost/admin-x-framework",
|
|
"type": "module",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/apps/admin-x-framework",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs",
|
|
"types": "./types/index.d.ts"
|
|
},
|
|
"./errors": {
|
|
"import": "./dist/errors.js",
|
|
"require": "./dist/errors.cjs",
|
|
"types": "./types/errors.d.ts"
|
|
},
|
|
"./helpers": {
|
|
"import": "./dist/helpers.js",
|
|
"require": "./dist/helpers.cjs",
|
|
"types": "./types/helpers.d.ts"
|
|
},
|
|
"./hooks": {
|
|
"import": "./dist/hooks.js",
|
|
"require": "./dist/hooks.cjs",
|
|
"types": "./types/hooks.d.ts"
|
|
},
|
|
"./routing": {
|
|
"import": "./dist/routing.js",
|
|
"require": "./dist/routing.cjs",
|
|
"types": "./types/routing.d.ts"
|
|
},
|
|
"./api/*": {
|
|
"import": "./dist/api/*.js",
|
|
"require": "./dist/api/*.cjs",
|
|
"types": "./types/api/*.d.ts"
|
|
},
|
|
"./vite": {
|
|
"import": "./dist/vite.js",
|
|
"require": "./dist/vite.cjs",
|
|
"types": "./types/vite.d.ts"
|
|
},
|
|
"./playwright": {
|
|
"import": "./dist/playwright.js",
|
|
"require": "./dist/playwright.cjs",
|
|
"types": "./types/playwright.d.ts"
|
|
},
|
|
"./test/*": {
|
|
"import": "./dist/test/*.js",
|
|
"require": "./dist/test/*.cjs",
|
|
"types": "./types/test/*.d.ts"
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.declaration.json && vite build",
|
|
"prepare": "yarn build",
|
|
"test": "yarn test:types && yarn test:unit",
|
|
"test:types": "tsc --noEmit",
|
|
"test:unit": "vitest run --coverage",
|
|
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx src/ --cache",
|
|
"lint": "yarn lint:code && yarn lint:test",
|
|
"lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx test/ --cache"
|
|
},
|
|
"files": [
|
|
"es",
|
|
"types"
|
|
],
|
|
"devDependencies": {
|
|
"@testing-library/react": "14.3.1",
|
|
"@types/mocha": "10.0.1",
|
|
"c8": "8.0.1",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"eslint-plugin-react-refresh": "0.4.3",
|
|
"jsdom": "24.1.3",
|
|
"mocha": "10.2.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"sinon": "17.0.0",
|
|
"ts-node": "10.9.2",
|
|
"typescript": "5.4.5"
|
|
},
|
|
"dependencies": {
|
|
"@sentry/react": "7.119.2",
|
|
"@tanstack/react-query": "4.36.1",
|
|
"@tryghost/admin-x-design-system": "0.0.0",
|
|
"@tryghost/shade": "0.0.0",
|
|
"@types/react": "18.3.3",
|
|
"@types/react-dom": "18.3.0",
|
|
"@vitejs/plugin-react": "4.2.1",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-router": "7.1.4",
|
|
"vite": "4.5.3",
|
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
"vite-plugin-svgr": "3.3.0",
|
|
"vitest": "0.34.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"dev": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [
|
|
"test:unit",
|
|
"^build",
|
|
"@tryghost/admin-x-design-system:test:unit"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|