ab1ca90779
fixes https://github.com/TryGhost/Team/issues/2924 This change adds a new bulk edit action for posts to update their visibility. It also implements a modal to change the post access level for multiple posts at once using this new API. It also fixes a pattern that was used when modifying the Ember models in memory. They previously were marked as dirty, this is fixed now. So when going to the editor after modifying posts, you won't get a confirmation dialog any longer.
32 lines
880 B
JSON
32 lines
880 B
JSON
{
|
|
"name": "@tryghost/posts-service",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/posts-service",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "echo \"Implement me!\"",
|
|
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'",
|
|
"test": "yarn test:unit",
|
|
"lint:code": "eslint *.js lib/ --ext .js --cache",
|
|
"lint": "yarn lint:code && yarn lint:test",
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"lib"
|
|
],
|
|
"devDependencies": {
|
|
"c8": "7.13.0",
|
|
"mocha": "10.2.0",
|
|
"sinon": "15.0.3"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/errors": "1.2.24",
|
|
"@tryghost/nql": "0.11.0",
|
|
"@tryghost/tpl": "0.1.24",
|
|
"bson-objectid": "2.0.4"
|
|
}
|
|
}
|