Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: configuration inject plugin and more in production environment #680

Merged
merged 35 commits into from
Oct 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f12cd10
refactor: egg load and midway bootstrap
czy88840616 Oct 20, 2020
92c4cb6
feat: add container cache
czy88840616 Oct 21, 2020
692c32c
fix: web refactor case error
czy88840616 Oct 21, 2020
789cfa3
chore: clean code
czy88840616 Oct 21, 2020
1fb3ee5
chore: clean code
czy88840616 Oct 21, 2020
c344f42
fix: app.generateController
czy88840616 Oct 21, 2020
15754f8
test: complete case and enable old suit
czy88840616 Oct 21, 2020
7ca58aa
chore: add @deprecated jsdoc
czy88840616 Oct 22, 2020
1dd84bf
v2.3.17-beta.1
czy88840616 Oct 22, 2020
561ad17
Merge branch '2.x' into fix_egg_loader
czy88840616 Oct 22, 2020
297d419
refactor: use new method to resolve registry
czy88840616 Oct 23, 2020
600e1e5
chore: revert cache
czy88840616 Oct 23, 2020
626d825
v2.3.18-beta.1
czy88840616 Oct 23, 2020
f9daf1e
chore: try add definition meteadata
czy88840616 Oct 23, 2020
2754389
refactor: add cache for definition
czy88840616 Oct 24, 2020
f412a7b
chore: lint
czy88840616 Oct 24, 2020
b9e40e7
chore: update
czy88840616 Oct 24, 2020
35bf565
fix: move cache to midwayContainer
czy88840616 Oct 24, 2020
d5f8030
v2.3.18-beta.2
czy88840616 Oct 24, 2020
44896a5
fix: configuration emit twice in app
czy88840616 Oct 24, 2020
10d06b4
refactor: merge container and midwayContainer
czy88840616 Oct 25, 2020
a17f2c2
fix: lint
czy88840616 Oct 25, 2020
4814910
fix: lint
czy88840616 Oct 25, 2020
6f46753
fix: lint
czy88840616 Oct 25, 2020
bfe1926
refactor: merge loader and base framework
czy88840616 Oct 26, 2020
f7ad592
test: fix case
czy88840616 Oct 26, 2020
e2335ff
test: change lifecycle and pass case
czy88840616 Oct 26, 2020
1afb6db
fix: lifecycle trigger
czy88840616 Oct 26, 2020
595f272
v2.3.18-beta.3
czy88840616 Oct 26, 2020
df60453
fix: configuration trigger
czy88840616 Oct 26, 2020
a0948a7
v2.3.18-beta.4
czy88840616 Oct 26, 2020
92713d8
chore: update tsc
czy88840616 Oct 27, 2020
a603d23
v2.3.18-beta.5
czy88840616 Oct 27, 2020
d9de275
chore: update
czy88840616 Oct 27, 2020
8356e59
v2.3.18-beta.6
czy88840616 Oct 27, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
v2.3.18-beta.3
  • Loading branch information
czy88840616 committed Oct 26, 2020
commit 595f272d94a37ee43743fcfb4afc67dd0d1ae2b6
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
}
},
"npmClient": "npm",
"version": "2.3.18-beta.2"
"version": "2.3.18-beta.3"
}
4 changes: 2 additions & 2 deletions packages/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/bootstrap",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "midwayjs bootstrap",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand All @@ -22,7 +22,7 @@
"license": "MIT",
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/core": "^2.3.18-beta.2"
"@midwayjs/core": "^2.3.18-beta.3"
},
"author": "Harry Chen <czy88840616@gmail.com>",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/core",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "midway core",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand All @@ -27,7 +27,7 @@
"sinon": "^7.2.2"
},
"dependencies": {
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.3",
"@midwayjs/glob": "^1.0.2",
"class-transformer": "^0.3.1",
"extend2": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/decorator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/decorator",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "definition decorator for midway project",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand Down
8 changes: 4 additions & 4 deletions packages/faas/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "@midwayjs/faas",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"main": "dist/index",
"typings": "dist/index.d.ts",
"dependencies": {
"@midwayjs/core": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/core": "^2.3.18-beta.3",
"@midwayjs/decorator": "^2.3.18-beta.3",
"@midwayjs/faas-typings": "^1.1.4",
"@midwayjs/simple-lock": "^1.1.4",
"koa-compose": "^4.1.0"
},
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/mock": "^2.3.18-beta.2",
"@midwayjs/mock": "^2.3.18-beta.3",
"@midwayjs/serverless-fc-starter": "^1.0.0",
"@midwayjs/serverless-scf-starter": "^1.0.0",
"mm": "^2.5.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/midway-schedule/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "midway-schedule",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "",
"main": "index.js",
"directories": {
Expand All @@ -20,10 +20,10 @@
"license": "MIT",
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/mock": "^2.3.18-beta.2"
"@midwayjs/mock": "^2.3.18-beta.3"
},
"dependencies": {
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.3",
"is-type-of": "^1.2.1"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/midway/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "midway",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "Midway Main Package",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand All @@ -21,7 +21,7 @@
"@midwayjs/cli": "^1.0.0"
},
"dependencies": {
"@midwayjs/web": "^2.3.18-beta.2",
"@midwayjs/web": "^2.3.18-beta.3",
"egg-cluster": "^1.23.0"
},
"files": [
Expand Down
8 changes: 4 additions & 4 deletions packages/mock/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/mock",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "create your test app from midway framework",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -32,13 +32,13 @@
"license": "MIT",
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/core": "^2.3.18-beta.2",
"@midwayjs/core": "^2.3.18-beta.3",
"@types/amqplib": "^0.5.13",
"amqplib": "^0.6.0"
},
"dependencies": {
"@midwayjs/bootstrap": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/bootstrap": "^2.3.18-beta.3",
"@midwayjs/decorator": "^2.3.18-beta.3",
"egg-mock": "^3.21.0",
"fs-extra": "^8.0.1",
"power-assert": "^1.6.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/rabbitmq/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/rabbitmq",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "Midway Framework for rabbitmq",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand All @@ -24,12 +24,12 @@
"license": "MIT",
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/mock": "^2.3.18-beta.2",
"@midwayjs/mock": "^2.3.18-beta.3",
"fs-extra": "^8.0.1"
},
"dependencies": {
"@midwayjs/core": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/core": "^2.3.18-beta.3",
"@midwayjs/decorator": "^2.3.18-beta.3",
"@types/amqplib": "^0.5.13",
"amqplib": "^0.6.0"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/socketio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/socketio",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "Midway Web Framework for socket.io",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand All @@ -24,15 +24,15 @@
"license": "MIT",
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/mock": "^2.3.18-beta.2",
"@midwayjs/mock": "^2.3.18-beta.3",
"@types/socket.io": "^2.1.11",
"@types/socket.io-client": "^1.4.33",
"fs-extra": "^8.0.1",
"socket.io-client": "^2.3.0"
},
"dependencies": {
"@midwayjs/core": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/core": "^2.3.18-beta.3",
"@midwayjs/decorator": "^2.3.18-beta.3",
"socket.io": "^2.3.0"
},
"author": "Harry Chen <czy88840616@gmail.com>",
Expand Down
8 changes: 4 additions & 4 deletions packages/web-express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/express",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "Midway Web Framework for Express",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand All @@ -24,13 +24,13 @@
"license": "MIT",
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/mock": "^2.3.18-beta.2",
"@midwayjs/mock": "^2.3.18-beta.3",
"@types/express": "^4.17.8",
"fs-extra": "^8.0.1"
},
"dependencies": {
"@midwayjs/core": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/core": "^2.3.18-beta.3",
"@midwayjs/decorator": "^2.3.18-beta.3",
"express": "^4.17.1"
},
"author": "Harry Chen <czy88840616@gmail.com>",
Expand Down
8 changes: 4 additions & 4 deletions packages/web-koa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/koa",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "Midway Web Framework for KOA",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand All @@ -24,14 +24,14 @@
"license": "MIT",
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/mock": "^2.3.18-beta.2",
"@midwayjs/mock": "^2.3.18-beta.3",
"@types/koa": "^2.11.4",
"@types/koa-router": "^7.4.1",
"fs-extra": "^8.0.1"
},
"dependencies": {
"@midwayjs/core": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/core": "^2.3.18-beta.3",
"@midwayjs/decorator": "^2.3.18-beta.3",
"koa": "^2.13.0",
"koa-router": "^9.4.0"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@midwayjs/web",
"version": "2.3.18-beta.2",
"version": "2.3.18-beta.3",
"description": "Midway Web Scene",
"main": "dist/index",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -28,7 +28,7 @@
"license": "MIT",
"devDependencies": {
"@midwayjs/cli": "^1.0.0",
"@midwayjs/mock": "^2.3.18-beta.2",
"@midwayjs/mock": "^2.3.18-beta.3",
"egg-view-nunjucks": "^2.2.0",
"fs-extra": "^8.0.1",
"pedding": "^1.1.0",
Expand All @@ -37,16 +37,16 @@
},
"dependencies": {
"@eggjs/router": "^2.0.0",
"@midwayjs/bootstrap": "^2.3.18-beta.2",
"@midwayjs/core": "^2.3.18-beta.2",
"@midwayjs/decorator": "^2.3.18-beta.2",
"@midwayjs/koa": "^2.3.18-beta.2",
"@midwayjs/bootstrap": "^2.3.18-beta.3",
"@midwayjs/core": "^2.3.18-beta.3",
"@midwayjs/decorator": "^2.3.18-beta.3",
"@midwayjs/koa": "^2.3.18-beta.3",
"debug": "^4.1.1",
"egg": "^2.28.0",
"egg-logger": "^2.4.2",
"egg-path-matching": "^1.0.1",
"extend2": "^1.0.0",
"midway-schedule": "^2.3.18-beta.2",
"midway-schedule": "^2.3.18-beta.3",
"mkdirp": "^1.0.4"
},
"author": "Harry Chen <czy88840616@gmail.com>",
Expand Down