Skip to content

Commit

Permalink
fix: release build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq committed Jun 30, 2024
1 parent 18323e7 commit fbb128a
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"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",
"build:package:plugin:integration-hubstaff": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-hubstaff build",
"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",
"build:package:plugin:integration-upwork": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn run nx build integration-upwork",
"build:package:plugin:integration-upwork": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-upwork build",
"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",
"build:package:plugin:integration-github": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-github build",
"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",
Expand Down
8 changes: 8 additions & 0 deletions packages/plugins/integration-hubstaff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"url": "https://ever.co"
},
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/ever-co/ever-gauzy"
},
"bugs": {
"url": "https://github.com/ever-co/ever-gauzy/issues"
},
"homepage": "https://ever.co",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
26 changes: 16 additions & 10 deletions packages/plugins/integration-upwork/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"url": "https://ever.co"
},
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/ever-co/ever-gauzy"
},
"bugs": {
"url": "https://github.com/ever-co/ever-gauzy/issues"
},
"homepage": "https://ever.co",
"private": true,
"type": "commonjs",
"main": "dist/src/index.js",
Expand All @@ -16,11 +24,17 @@
"dist"
],
"directories": {
"lib": "dist"
"lib": "dist",
"test": "__test__"
},
"publishConfig": {
"access": "restricted"
},
"scripts": {
"test:e2e": "jest --config ./jest.config.ts",
"build": "rimraf dist && yarn run compile",
"compile": "tsc -p tsconfig.lib.json"
},
"peerDependencies": {
"tslib": "^2.6.2"
},
Expand Down Expand Up @@ -68,13 +82,5 @@
"cqrs",
"express",
"nestjs-plugin"
],
"repository": {
"type": "git",
"url": "https://github.com/ever-co/ever-gauzy"
},
"bugs": {
"url": "https://github.com/ever-co/ever-gauzy/issues"
},
"homepage": "https://ever.co"
]
}
2 changes: 1 addition & 1 deletion packages/plugins/job-proposal/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './job-proposal.plugin';
export { ProposalModule } from './proposal/proposal.moule';
export { ProposalModule } from './proposal/proposal.module';
export { ProposalService } from './proposal/proposal.service';
export { ProposalCreateCommand } from './proposal/commands';
7 changes: 2 additions & 5 deletions packages/plugins/job-proposal/src/job-proposal.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as chalk from 'chalk';
import { GauzyCorePlugin as Plugin, IOnPluginBootstrap, IOnPluginDestroy, IOnPluginSeedable } from '@gauzy/plugin';

Check warning on line 2 in packages/plugins/job-proposal/src/job-proposal.plugin.ts

View workflow job for this annotation

GitHub Actions / Cspell

Unknown word (Seedable)
import { ApplicationPluginConfig } from '@gauzy/common';
import { Proposal } from './proposal/proposal.entity';
import { ProposalModule } from './proposal/proposal.moule';
import { ProposalModule } from './proposal/proposal.module';
import { EmployeeProposalTemplateModule } from './proposal-template/employee-proposal-template.module';
import { EmployeeProposalTemplate } from './proposal-template/employee-proposal-template.entity';
import { ProposalSeederService } from './proposal/proposal-seeder.service';
Expand All @@ -25,13 +25,10 @@ import { ProposalSeederService } from './proposal/proposal-seeder.service';
}
})
export class JobProposalPlugin implements IOnPluginBootstrap, IOnPluginDestroy, IOnPluginSeedable {

Check warning on line 27 in packages/plugins/job-proposal/src/job-proposal.plugin.ts

View workflow job for this annotation

GitHub Actions / Cspell

Unknown word (Seedable)

// We disable by default additional logging for each event to avoid cluttering the logs
private logEnabled = true;

constructor(
private readonly _proposalSeederService: ProposalSeederService
) { }
constructor(private readonly _proposalSeederService: ProposalSeederService) {}

/**
* Called when the plugin is being initialized.
Expand Down

0 comments on commit fbb128a

Please sign in to comment.