mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-10 01:24:41 +03:00
139 lines
3.6 KiB
JSON
139 lines
3.6 KiB
JSON
{
|
|
"name": "ghost-monorepo",
|
|
"version": "0.0.0-private",
|
|
"description": "The professional publishing platform",
|
|
"private": true,
|
|
"repository": "https://github.com/TryGhost/Ghost",
|
|
"author": "Ghost Foundation",
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"apps/*",
|
|
"ghost/*"
|
|
],
|
|
"monorepo": {
|
|
"public": false,
|
|
"internalPackages": true,
|
|
"repo": "https://github.com/TryGhost/Ghost",
|
|
"scope": "@tryghost"
|
|
},
|
|
"eslintIgnore": [
|
|
"**/node_modules/**"
|
|
],
|
|
"scripts": {
|
|
"archive": "yarn workspace ghost run archive",
|
|
"build": "lerna run build",
|
|
"dev:debug": "DEBUG_COLORS=true DEBUG=@tryghost*,ghost:* yarn dev",
|
|
"dev:admin": "node .github/scripts/dev.js --admin",
|
|
"dev:ghost": "node .github/scripts/dev.js --ghost",
|
|
"dev": "node .github/scripts/dev.js",
|
|
"fix": "yarn cache clean && rm -rf node_modules && yarn",
|
|
"knex-migrator": "yarn workspace ghost run knex-migrator",
|
|
"setup": "yarn && yarn workspace ghost run setup && git submodule update --init",
|
|
"lint": "lerna run lint",
|
|
"test": "lerna run test",
|
|
"test:unit": "lerna run test:unit",
|
|
"main": "yarn main:monorepo && yarn main:submodules",
|
|
"main:monorepo": "git checkout main && git pull ${GHOST_UPSTREAM:-origin} main && yarn",
|
|
"main:submodules": "git submodule sync && git submodule update && git submodule foreach \"git checkout main && git pull ${GHOST_UPSTREAM:-origin} main && yarn\"",
|
|
"prepare": "husky install .github/hooks && lerna run prepare"
|
|
},
|
|
"resolutions": {
|
|
"@elastic/elasticsearch": "8.5.0",
|
|
"@tiptap/extension-bubble-menu": "2.0.0-beta.61",
|
|
"@tiptap/extension-floating-menu": "2.0.0-beta.56",
|
|
"@tryghost/errors": "1.2.24",
|
|
"@tryghost/logging": "2.4.4",
|
|
"moment": "2.24.0",
|
|
"moment-timezone": "0.5.23",
|
|
"prosemirror-state": "1.4.3",
|
|
"prosemirror-model": "1.18.1",
|
|
"prosemirror-transform": "1.7.0"
|
|
},
|
|
"renovate": {
|
|
"extends": [
|
|
"@tryghost:quietJS",
|
|
"@tryghost:disableTryGhostAutomerge",
|
|
"@tryghost:groupTestLint",
|
|
"@tryghost:groupCSS",
|
|
"@tryghost:groupBuildTools"
|
|
],
|
|
"rebaseWhen": "never",
|
|
"ignoreDeps": [
|
|
"got",
|
|
"intl-messageformat",
|
|
"moment",
|
|
"moment-timezone",
|
|
"simple-dom",
|
|
"ember-drag-drop",
|
|
"normalize.css",
|
|
"validator",
|
|
"codemirror",
|
|
"faker",
|
|
"ember-cli-code-coverage"
|
|
],
|
|
"ignorePaths": [
|
|
"test",
|
|
"ghost/admin/lib/koenig-editor/package.json"
|
|
],
|
|
"packageRules": [
|
|
{
|
|
"packagePatterns": [
|
|
"@tryghost"
|
|
],
|
|
"groupName": "@tryghost"
|
|
},
|
|
{
|
|
"packagePatterns": [
|
|
"metascraper"
|
|
],
|
|
"groupName": "metascraper"
|
|
},
|
|
{
|
|
"groupName": "ember-basic-dropdown addons",
|
|
"packagePatterns": [
|
|
"^ember-basic",
|
|
"^ember-power"
|
|
]
|
|
},
|
|
{
|
|
"groupName": "ember core",
|
|
"packageNames": [
|
|
"ember-source",
|
|
"ember-cli",
|
|
"ember-data"
|
|
]
|
|
},
|
|
{
|
|
"groupName": "disable css",
|
|
"matchFiles": [
|
|
"ghost/admin/package.json"
|
|
],
|
|
"packagePatterns": [
|
|
"^postcss",
|
|
"^css"
|
|
],
|
|
"packageNames": [
|
|
"autoprefixer",
|
|
"ember-cli-postcss"
|
|
],
|
|
"enabled": false
|
|
}
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.js": "eslint"
|
|
},
|
|
"lerna": {
|
|
"version": "0.0.0",
|
|
"npmClient": "yarn"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "8.2.0",
|
|
"eslint-plugin-ghost": "3.2.0",
|
|
"husky": "8.0.3",
|
|
"lerna": "7.1.1",
|
|
"lint-staged": "13.2.1",
|
|
"ts-node": "10.9.1"
|
|
}
|
|
}
|