@modern-js/types 1.3.6 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +8 -0
- package/CHANGELOG.md +28 -0
- package/cli/index.d.ts +2 -3
- package/package.json +4 -3
- package/tsconfig.json +1 -1
package/.eslintrc.js
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @modern-js/types
|
|
2
2
|
|
|
3
|
+
## 1.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3d1fac2a: chore: app-tools no longer depend on webpack
|
|
8
|
+
|
|
9
|
+
## 1.5.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 3bf4f8b0: feat: support start api server only
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 6cffe99d: chore:
|
|
18
|
+
remove react eslint rules for `modern-js` rule set.
|
|
19
|
+
add .eslintrc for each package to speed up linting
|
|
20
|
+
- 60f7d8bf: feat: add tests dir to npmignore
|
|
21
|
+
- Updated dependencies [6cffe99d]
|
|
22
|
+
- Updated dependencies [60f7d8bf]
|
|
23
|
+
- @modern-js/plugin@1.3.3
|
|
24
|
+
|
|
25
|
+
## 1.4.0
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- d2d1d6b2: feat: support server config
|
|
30
|
+
|
|
3
31
|
## 1.3.6
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
package/cli/index.d.ts
CHANGED
|
@@ -2,8 +2,6 @@ import { AsyncWaterfall, AsyncWorkflow } from '@modern-js/plugin';
|
|
|
2
2
|
import { Compiler, MultiCompiler, Configuration } from 'webpack';
|
|
3
3
|
import { ServerRoute } from '../server';
|
|
4
4
|
|
|
5
|
-
export type { Compiler, MultiCompiler, Configuration };
|
|
6
|
-
|
|
7
5
|
/**
|
|
8
6
|
* Bundle entrypoint
|
|
9
7
|
*/
|
|
@@ -47,6 +45,7 @@ export interface IAppContext {
|
|
|
47
45
|
metaName: string; // name for generating conventional constants, such as .modern-js
|
|
48
46
|
appDirectory: string;
|
|
49
47
|
configFile: string | false;
|
|
48
|
+
serverConfigFile: string;
|
|
50
49
|
ip?: string;
|
|
51
50
|
port?: number;
|
|
52
51
|
distDirectory: string;
|
|
@@ -64,7 +63,7 @@ export interface IAppContext {
|
|
|
64
63
|
checkedEntries: string[];
|
|
65
64
|
serverRoutes: ServerRoute[];
|
|
66
65
|
htmlTemplates: HtmlTemplates;
|
|
67
|
-
|
|
66
|
+
apiOnly: boolean;
|
|
68
67
|
internalDirAlias: string;
|
|
69
68
|
internalSrcAlias: string;
|
|
70
69
|
}
|
package/package.json
CHANGED
|
@@ -11,11 +11,12 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.5.1",
|
|
15
15
|
"types": "./index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@modern-js/plugin": "^1.3.
|
|
18
|
-
"
|
|
17
|
+
"@modern-js/plugin": "^1.3.3",
|
|
18
|
+
"http-proxy-middleware": "^2.0.4",
|
|
19
|
+
"webpack": "^5.54.0"
|
|
19
20
|
},
|
|
20
21
|
"exports": {
|
|
21
22
|
".": "./index.d.ts",
|
package/tsconfig.json
CHANGED