mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
cb2150f33c
ref https://linear.app/tryghost/issue/MOM-108/ap-phase-two Added a WIP version of the Ghost-to-Ghost ActivityPub feature behind the feature flag. Enabling it will add a new item to the main sidebar nav that lets you interact with our ActivityPub mock API in the following ways: - Shows you the list of sites you follow - Shows you the list of sites that follow you - Shows you the articles published by sites you follow - Shows you activities (who followed you or liked your article) - Shows your liked articles Mock API can be easily updated to simulate working with different types of data and interactions.
71 lines
1.9 KiB
JSON
71 lines
1.9 KiB
JSON
{
|
|
"name": "@tryghost/admin-x-activitypub",
|
|
"version": "0.0.1",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TryGhost/Ghost/tree/main/apps/admin-x-activitypub"
|
|
},
|
|
"author": "Ghost Foundation",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist/"
|
|
],
|
|
"main": "./dist/admin-x-activitypub.umd.cjs",
|
|
"module": "./dist/admin-x-activitypub.js",
|
|
"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:code && yarn run lint:test",
|
|
"lint:code": "eslint --ext .js,.ts,.cjs,.tsx --cache src",
|
|
"lint:test": "eslint -c test/.eslintrc.cjs --ext .js,.ts,.cjs,.tsx --cache 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"
|
|
},
|
|
"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.3.3",
|
|
"@types/react-dom": "18.3.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1"
|
|
},
|
|
"nx": {
|
|
"targets": {
|
|
"build": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"dev": {
|
|
"dependsOn": [
|
|
"^build"
|
|
]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [
|
|
"^build",
|
|
"test:unit"
|
|
]
|
|
},
|
|
"test:acceptance": {
|
|
"dependsOn": [
|
|
"^build",
|
|
"test:acceptance"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|