Skip to content

Commit

Permalink
fix(build): add missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Jan 27, 2019
1 parent 6ed31c2 commit 61d73c3
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 19 deletions.
7 changes: 5 additions & 2 deletions apps/electron/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"electron-store": "2.0.0",
"opn": "^5.4.0",
"electron-updater": "3.1.2",
"express": "4.16.4",
"@nestjs/common": "5.5.0",
"@nestjs/core": "5.5.0",
"@nestjs/graphql": "5.5.0",
"fix-path": "2.1.0",
"get-port": "4.0.0",
"graphql": "^14.0.2",
Expand All @@ -27,7 +29,8 @@
"resolve": "1.9.0",
"strip-json-comments": "2.0.1",
"universal-analytics": "0.4.20",
"uuid": "3.3.2"
"uuid": "3.3.2",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"electron": "2.0.14"
Expand Down
7 changes: 5 additions & 2 deletions apps/vscode/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
"@nrwl/schematics": "7.4.0",
"apollo-server-express": "2.3.1",
"dotenv": "6.2.0",
"express": "4.16.4",
"@nestjs/common": "5.5.0",
"@nestjs/core": "5.5.0",
"@nestjs/graphql": "5.5.0",
"get-port": "4.0.0",
"graphql": "14.0.2",
"node-pty-prebuilt": "0.7.6",
Expand All @@ -62,6 +64,7 @@
"strip-json-comments": "2.0.1",
"universal-analytics": "0.4.20",
"uuid": "3.3.2",
"vscode": "^1.1.26"
"vscode": "^1.1.26",
"reflect-metadata": "^0.1.13"
}
}
5 changes: 4 additions & 1 deletion libs/server/src/lib/server.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ export function createServerModule(exports: string[], providers: Provider[]) {
GraphQLModule.forRoot({
typePaths: [
path.join(__dirname, 'assets/schema.graphql'),
'./node_modules/@nrwl/angular-console-enterprise-electron/schema.graphql'
path.join(
__dirname,
'./node_modules/@nrwl/angular-console-enterprise-electron/schema.graphql'
)
],
bodyParserConfig: true
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@
"fix-path": "2.1.0",
"fontfaceobserver": "^2.1.0",
"get-port": "4.0.0",
"graphql": "^14.0.2",
"graphql-code-generator": "0.15.2",
"graphql-codegen-typescript-apollo-angular": "0.15.2",
"graphql-codegen-typescript-client": "0.15.2",
Expand All @@ -144,6 +143,7 @@
"graphql-codegen-typescript-server": "0.15.2",
"graphql-tag": "2.10.0",
"husky": "^1.3.1",
"graphql": "^14.0.2",
"jasmine-marbles": "0.4.1",
"jest": "^23.6.0",
"jest-jasmine2": "23.6.0",
Expand Down
9 changes: 0 additions & 9 deletions renovate.json

This file was deleted.

11 changes: 7 additions & 4 deletions tools/scripts/vscode-vsce.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const cp = require('child_process');
const path = require('path');
cp.execSync(`${path.normalize('../../../node_modules/.bin/vsce')} package`, {
stdio: [0, 1, 2],
cwd: path.normalize('dist/apps/vscode')
});
cp.execSync(
`${path.normalize('../../../node_modules/.bin/vsce')} package --yarn`,
{
stdio: [0, 1, 2],
cwd: path.normalize('dist/apps/vscode')
}
);

0 comments on commit 61d73c3

Please sign in to comment.