Ghost/package.json
Daniel Lockyer 7a2f766668
Added logging configuration option for timestamps to use the local timezone
fixes https://github.com/TryGhost/Ghost/issues/15190
refs https://github.com/TryGhost/framework/pull/76

- log output always uses UTC timestamps, but it may be desirable to
  configure logs to use the local machine timezone
- a new config option has been added to `@tryghost/logging` so you can
  switch the logs to the local timezone
- this commit bumps the package and sets the default config option to
  `false`, so it doesn't suddenly change the timezone of the logs
- docs will be updated soon but if you'd like to use the
  timezone-altered timestamps, you can set `logging.useLocalTime` to
  `true`
- credits to https://github.com/levee223 for the implementation and PR
2022-08-31 10:29:55 +01:00

117 lines
3.1 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": [
"ghost/*"
],
"monorepo": {
"public": false,
"internalPackages": true,
"repo": "https://github.com/TryGhost/Ghost",
"scope": "@tryghost"
},
"eslintIgnore": [
"**/node_modules/**"
],
"scripts": {
"dev:debug": "DEBUG_COLORS=true DEBUG=@tryghost*,ghost:* yarn dev",
"dev:admin": "yarn workspace ghost run grunt shell:ember:watch",
"dev:ghost": "nodemon -q -i ghost/admin -i ghost/core/content -i ghost/core/core/built",
"dev": "concurrently -c \"blue,green\" --kill-others -n ghost,admin \"yarn dev:ghost\" \"yarn dev:admin\"",
"fix": "yarn cache clean && rm -rf node_modules && yarn",
"knex-migrator": "yarn workspace ghost run knex-migrator",
"lint": "yarn workspaces run lint",
"setup": "yarn && yarn workspace ghost run setup && git submodule update --init",
"start": "yarn workspace ghost run start",
"test": "yarn workspaces run test",
"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\""
},
"resolutions": {
"@tryghost/logging": "2.3.0",
"moment": "2.24.0",
"moment-timezone": "0.5.23"
},
"renovate": {
"extends": [
"@tryghost:quietJS",
"@tryghost:disableTryGhostAutomerge",
"@tryghost:groupTestLint",
"@tryghost:groupCSS",
"@tryghost:groupBuildTools"
],
"ignoreDeps": [
"got",
"intl-messageformat",
"moment",
"moment-timezone",
"oembed-parser",
"simple-dom",
"ember-drag-drop",
"normalize.css",
"validator",
"codemirror",
"faker"
],
"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
}
]
},
"devDependencies": {
"concurrently": "7.3.0",
"eslint-plugin-ghost": "2.15.1",
"nodemon": "2.0.19"
}
}