Skip to content

Commit

Permalink
chore: Update build configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Mar 3, 2021
1 parent c46301a commit 37d22e9
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 26 deletions.
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@
"version": "1.0.0",
"description": "",
"author": "Romain Lenzotti",
"repository": "https://github.com/TypedProject/tsed-api",
"private": true,
"scripts": {
"configure": "monorepo ci configure",
"test": "lerna run test --stream",
"test:e2e": "lerna run test:e2e",
"test:front": "lerna run test --scope=@tsed/backoffice --scope=@tsed/shared",
"test:backoffice": "lerna run test --scope=@tsed/backoffice",
"test:server": "lerna run test --scope=@tsed/server",
"test:front": "lerna run test --scope=@tsed/backoffice --scope=@tsed/shared --stream",
"test:backoffice": "lerna run test --scope=@tsed/backoffice --stream",
"test:server": "lerna run test --scope=@tsed/server --stream",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"prettier": "lerna run prettier:fix",
"build": "lerna run build --stream",
"build": "monorepo build",
"build:backoffice": "lerna run build --scope=@tsed/backoffice --stream",
"build:server": "lerna run build --scope=@tsed/server --stream",
"start": "lerna run start --stream --parallel",
Expand All @@ -25,10 +27,10 @@
"release": "semantic-release"
},
"dependencies": {
"@tsed/react-formio": "^1.8.6",
"@tsed/react-formio-container": "^1.8.6",
"@tsed/redux-utils": "^1.8.6",
"@tsed/tailwind-formio": "^1.8.6",
"@tsed/react-formio": "^1.8.7",
"@tsed/react-formio-container": "^1.8.7",
"@tsed/redux-utils": "^1.8.7",
"@tsed/tailwind-formio": "^1.8.7",
"classnames": "2.2.6",
"connected-react-router": "6.8.0",
"file-saver": "2.0.5",
Expand Down
1 change: 1 addition & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"description": "Shared configuration",
"author": "Romain Lenzotti",
"license": "MIT",
"private": true,
"scripts": {},
"dependencies": {
},
Expand Down
3 changes: 2 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"version": "1.0.0",
"description": "Server based on Ts.ED framework",
"author": "Romain Lenzotti",
"private": true,
"scripts": {
"build": "yarn tsc",
"tsc": "tsc --project tsconfig.compile.json",
"tsc:w": "tsc --project tsconfig.json -w",
"start": "tsnd --inspect --ignore-watch node_modules --respawn --transpile-only -r tsconfig-paths/register src/index.ts",
"start:prod": "cross-env NODE_ENV=production node dist/index.js",
"test": "yarn test:lint && yarn test:coverage",
"test:unit": "cross-env NODE_ENV=test CI=1 jest",
"test:unit": "cross-env NODE_ENV=test CI=1 jest --detectOpenHandles --coverage",
"test:coverage": "yarn test:unit",
"test:lint": "yarn eslint src --ext .ts",
"test:lint:fix": "yarn eslint src --ext .ts --fix",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe("GithubCtrl", () => {
beforeAll(() => {
request = SuperTest(PlatformTest.callback());
});
afterAll(() => PlatformTest.reset());
afterAll(() => TestMongooseContext.reset());

describe("get()", () => {
it("should get project information", async () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("OpenCollectiveCtrl", () => {
beforeAll(() => {
request = SuperTest(PlatformTest.callback());
});
afterAll(() => PlatformTest.reset());
afterAll(() => TestMongooseContext.reset());

describe("get()", () => {
it("should get project information", async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/server/src/infra/back/github/GithubClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class GithubClient extends BaseLogClient {
});
}

get repos() {
get repos(): any {
return this.octokit.repos;
}

Expand Down
1 change: 1 addition & 0 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"description": "Shared components",
"author": "Romain Lenzotti",
"license": "MIT",
"private": true,
"scripts": {
"test": "cross-env CI=1 yarn craco test --coverage",
"lint:fix": "yarn lint --fix",
Expand Down
1 change: 1 addition & 0 deletions packages/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"main": "./tailwind.config.js",
"description": "Tailwind configuration",
"license": "MIT",
"private": true,
"scripts": {
"postinstall": "yarn build:tailwind",
"build:tailwind": "tailwindcss-cli build -o build/tailwind.css",
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4931,7 +4931,7 @@
express "^4.17.1"
multer "^1.4.2"

"@tsed/react-formio-container@^1.8.6":
"@tsed/react-formio-container@^1.8.7":
version "1.8.7"
resolved "https://registry.yarnpkg.com/@tsed/react-formio-container/-/react-formio-container-1.8.7.tgz#8024d4e64e695f84fd560a424c26b9d44924817e"
integrity sha512-0myc5v1K4euhaO6mhpJS81aPKH4zkuYNrrIO5sGhGoMhm0WSEOJHQPsBmSmeLBPaDScFYT8H2NaVCZAMwFdw7g==
Expand All @@ -4945,12 +4945,12 @@
eventemitter2 "^6.4.3"
prop-types "^15.7.2"

"@tsed/react-formio@^1.8.6":
version "1.8.6"
resolved "https://registry.yarnpkg.com/@tsed/react-formio/-/react-formio-1.8.6.tgz#8c6abe616eddcfe6de6610c96773d8661cffed3a"
integrity sha512-oMx7/rIjRjlSEyW4cEDig7itbLY7Hs8py7nunEO5umGcS3GMetrYj/Na7N1LnDt3w56v9uiyK5ATJZj2UrZx6w==
"@tsed/react-formio@^1.8.7":
version "1.8.7"
resolved "https://registry.yarnpkg.com/@tsed/react-formio/-/react-formio-1.8.7.tgz#c9f6f398ba9ca492f4376a7ea92615ab4a3c28d6"
integrity sha512-0dvCE61ECp3abHyw0IdNhbIqqtnTdTqup268q/gBS7VHuHCAn8LWHv4GHCdIQWFPfPtpxOlYb3MU9itemgCNRg==
dependencies:
"@tsed/redux-utils" "1.8.6"
"@tsed/redux-utils" "1.8.7"
eventemitter2 "^6.4.3"
prop-types "^15.7.2"

Expand All @@ -4959,10 +4959,10 @@
resolved "https://registry.yarnpkg.com/@tsed/redux-utils/-/redux-utils-1.1.0.tgz#750f66d6d9556c44d97e2f82b7b9b53459c831ea"
integrity sha512-B+pb69HTLDSdyqgK1ZX4q5BVXAYtDcY5hpWmvYHO3AUz2hGXaodmr1QaEATh901X77avwi1/URANCk0eV0nRmQ==

"@tsed/redux-utils@1.8.6", "@tsed/redux-utils@^1.8.6":
version "1.8.6"
resolved "https://registry.yarnpkg.com/@tsed/redux-utils/-/redux-utils-1.8.6.tgz#55c8aa794ffb0e62fe70b8d9855f089f74cfae28"
integrity sha512-SwYihXb2ATtu4jOE2DZUkX9fhVpJJChpACK/Q+mjpo/iwsoXiJ0VIcLtIEQiFcZwpmfsqTHwI84eXgXWDm9FHQ==
"@tsed/redux-utils@1.8.7", "@tsed/redux-utils@^1.8.7":
version "1.8.7"
resolved "https://registry.yarnpkg.com/@tsed/redux-utils/-/redux-utils-1.8.7.tgz#ee4111c08d40ea8570b6e27e21c910eb7e2ef63f"
integrity sha512-foEJG5+b1hM10MX1MFOhqyW5i0BE0N6pfWk/zC8DpHMC2oZ9SSf5P2hRKIJmSUn3LZkj3vFTdsqMdyGux7FDPg==

"@tsed/schema@6.26.4":
version "6.26.4"
Expand All @@ -4988,10 +4988,10 @@
resolved "https://registry.yarnpkg.com/@tsed/tailwind-formio/-/tailwind-formio-1.1.0.tgz#50e2f785ea76e16a25e75d865597d7b89e02357f"
integrity sha512-82K9ZyNU4sjSSzk7HXlV8AofU6pUS2/DtoQITu+1EeGI2lyVlpvqq76IsOH+gXF2kcGXktBafTtJdAZpkeB+SQ==

"@tsed/tailwind-formio@^1.8.6":
version "1.8.6"
resolved "https://registry.yarnpkg.com/@tsed/tailwind-formio/-/tailwind-formio-1.8.6.tgz#bf3334685de0b244fa3774b9fcf9fc4eaa95faa1"
integrity sha512-9huq1HEgBl6aanWTkm08hopkdkPlG0PKWT1xuONJFQmqK/qLyl9fLPQe2H6+ls//Gt+5MiUWPh9aDiqvezuQOA==
"@tsed/tailwind-formio@^1.8.7":
version "1.8.7"
resolved "https://registry.yarnpkg.com/@tsed/tailwind-formio/-/tailwind-formio-1.8.7.tgz#e34b4bed1cfff300baac51c335e1404fe2165841"
integrity sha512-epe4kAkUqEM0oYaNETFeIRNqlqnK9PdxpPWkYrWdFJTmcd1Qw+dOfVIfXHY6QaR5wm9MQH7M2WpQKfE49P/o1w==

"@tsed/testing-mongoose@6.26.4":
version "6.26.4"
Expand Down

0 comments on commit 37d22e9

Please sign in to comment.