Skip to content

Commit fbb128a

Browse files
committed
fix: release build fixes
1 parent 18323e7 commit fbb128a

File tree

6 files changed

+28
-17
lines changed

6 files changed

+28
-17
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"build:package:plugin:integration-ai:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-ai build",
146146
"build:package:plugin:integration-hubstaff": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-hubstaff build",
147147
"build:package:plugin:integration-hubstaff:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-hubstaff build",
148-
"build:package:plugin:integration-upwork": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn run nx build integration-upwork",
148+
"build:package:plugin:integration-upwork": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-upwork build",
149149
"build:package:plugin:integration-upwork:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-upwork build",
150150
"build:package:plugin:integration-github": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-github build",
151151
"build:package:plugin:integration-github:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-github build",

packages/plugins/integration-hubstaff/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
"url": "https://ever.co"
99
},
1010
"license": "AGPL-3.0",
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/ever-co/ever-gauzy"
14+
},
15+
"bugs": {
16+
"url": "https://github.com/ever-co/ever-gauzy/issues"
17+
},
18+
"homepage": "https://ever.co",
1119
"private": true,
1220
"main": "dist/index.js",
1321
"types": "dist/index.d.ts",

packages/plugins/integration-upwork/package.json

+16-10
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
"url": "https://ever.co"
99
},
1010
"license": "AGPL-3.0",
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/ever-co/ever-gauzy"
14+
},
15+
"bugs": {
16+
"url": "https://github.com/ever-co/ever-gauzy/issues"
17+
},
18+
"homepage": "https://ever.co",
1119
"private": true,
1220
"type": "commonjs",
1321
"main": "dist/src/index.js",
@@ -16,11 +24,17 @@
1624
"dist"
1725
],
1826
"directories": {
19-
"lib": "dist"
27+
"lib": "dist",
28+
"test": "__test__"
2029
},
2130
"publishConfig": {
2231
"access": "restricted"
2332
},
33+
"scripts": {
34+
"test:e2e": "jest --config ./jest.config.ts",
35+
"build": "rimraf dist && yarn run compile",
36+
"compile": "tsc -p tsconfig.lib.json"
37+
},
2438
"peerDependencies": {
2539
"tslib": "^2.6.2"
2640
},
@@ -68,13 +82,5 @@
6882
"cqrs",
6983
"express",
7084
"nestjs-plugin"
71-
],
72-
"repository": {
73-
"type": "git",
74-
"url": "https://github.com/ever-co/ever-gauzy"
75-
},
76-
"bugs": {
77-
"url": "https://github.com/ever-co/ever-gauzy/issues"
78-
},
79-
"homepage": "https://ever.co"
85+
]
8086
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export * from './job-proposal.plugin';
2-
export { ProposalModule } from './proposal/proposal.moule';
2+
export { ProposalModule } from './proposal/proposal.module';
33
export { ProposalService } from './proposal/proposal.service';
44
export { ProposalCreateCommand } from './proposal/commands';

packages/plugins/job-proposal/src/job-proposal.plugin.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as chalk from 'chalk';
22
import { GauzyCorePlugin as Plugin, IOnPluginBootstrap, IOnPluginDestroy, IOnPluginSeedable } from '@gauzy/plugin';
33
import { ApplicationPluginConfig } from '@gauzy/common';
44
import { Proposal } from './proposal/proposal.entity';
5-
import { ProposalModule } from './proposal/proposal.moule';
5+
import { ProposalModule } from './proposal/proposal.module';
66
import { EmployeeProposalTemplateModule } from './proposal-template/employee-proposal-template.module';
77
import { EmployeeProposalTemplate } from './proposal-template/employee-proposal-template.entity';
88
import { ProposalSeederService } from './proposal/proposal-seeder.service';
@@ -25,13 +25,10 @@ import { ProposalSeederService } from './proposal/proposal-seeder.service';
2525
}
2626
})
2727
export class JobProposalPlugin implements IOnPluginBootstrap, IOnPluginDestroy, IOnPluginSeedable {
28-
2928
// We disable by default additional logging for each event to avoid cluttering the logs
3029
private logEnabled = true;
3130

32-
constructor(
33-
private readonly _proposalSeederService: ProposalSeederService
34-
) { }
31+
constructor(private readonly _proposalSeederService: ProposalSeederService) {}
3532

3633
/**
3734
* Called when the plugin is being initialized.

0 commit comments

Comments
 (0)