mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Fixed build scripts for post-events package
This commit is contained in:
parent
9b257f3966
commit
f4143a8939
3 changed files with 3 additions and 2 deletions
2
.github/scripts/dev.js
vendored
2
.github/scripts/dev.js
vendored
|
@ -41,7 +41,7 @@ const COMMAND_ADMIN = {
|
||||||
|
|
||||||
const COMMAND_TYPESCRIPT = {
|
const COMMAND_TYPESCRIPT = {
|
||||||
name: 'ts',
|
name: 'ts',
|
||||||
command: 'nx watch --projects=ghost/collections,ghost/in-memory-repository,ghost/mail-events,ghost/model-to-domain-event-interceptor,ghost/post-revisions,ghost/nql-filter-expansions,ghost/donations -- nx run \\$NX_PROJECT_NAME:build:ts',
|
command: 'nx watch --projects=ghost/collections,ghost/in-memory-repository,ghost/mail-events,ghost/model-to-domain-event-interceptor,ghost/post-revisions,ghost/nql-filter-expansions,ghost/post-events,ghost/donations -- nx run \\$NX_PROJECT_NAME:build:ts',
|
||||||
cwd: path.resolve(__dirname, '../../'),
|
cwd: path.resolve(__dirname, '../../'),
|
||||||
prefixColor: 'cyan',
|
prefixColor: 'cyan',
|
||||||
env: {}
|
env: {}
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
"@tryghost/logging": "2.4.5",
|
"@tryghost/logging": "2.4.5",
|
||||||
"@tryghost/nql": "0.11.0",
|
"@tryghost/nql": "0.11.0",
|
||||||
"@tryghost/nql-filter-expansions": "0.0.0",
|
"@tryghost/nql-filter-expansions": "0.0.0",
|
||||||
|
"@tryghost/post-events": "0.0.0",
|
||||||
"@tryghost/tpl": "0.1.25",
|
"@tryghost/tpl": "0.1.25",
|
||||||
"bson-objectid": "2.0.4"
|
"bson-objectid": "2.0.4"
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"prepare": "tsc",
|
"build:ts": "yarn build",
|
||||||
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'",
|
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'",
|
||||||
"test": "yarn test:types && yarn test:unit",
|
"test": "yarn test:types && yarn test:unit",
|
||||||
"test:types": "tsc --noEmit",
|
"test:types": "tsc --noEmit",
|
||||||
|
|
Loading…
Reference in a new issue