3a58b6402a
refs: https://github.com/TryGhost/Toolbox/issues/595 - Adds custom rules for node assert - Enforces assert/strict as an error
135 lines
3.4 KiB
JSON
135 lines
3.4 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/dev.js --admin",
|
|
"dev:ghost": "node .github/dev.js --ghost",
|
|
"dev": "node .github/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",
|
|
"@tryghost/errors": "1.2.24",
|
|
"@tryghost/logging": "2.4.4",
|
|
"moment": "2.24.0",
|
|
"moment-timezone": "0.5.23"
|
|
},
|
|
"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",
|
|
"useWorkspaces": true
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "8.2.0",
|
|
"eslint-plugin-ghost": "3.2.0",
|
|
"husky": "8.0.3",
|
|
"lerna": "6.6.2",
|
|
"lint-staged": "13.1.2",
|
|
"ts-node": "10.9.1"
|
|
}
|
|
}
|