@modern-js/plugin-bff 1.3.4 → 1.3.5-beta.0
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 +7 -0
- package/dist/js/modern/cli.js +1 -1
- package/dist/js/node/cli.js +1 -1
- package/package.json +3 -4
- package/types.d.ts +10 -0
package/.eslintrc.js
ADDED
package/dist/js/modern/cli.js
CHANGED
|
@@ -104,7 +104,7 @@ export default createPlugin(() => ({
|
|
|
104
104
|
distDir,
|
|
105
105
|
sourceDir: sourceAbsDir,
|
|
106
106
|
extensions: FILE_EXTENSIONS,
|
|
107
|
-
ignore: [`**/__tests__/**`, '**/typings/**', '*.d.ts']
|
|
107
|
+
ignore: [`**/__tests__/**`, '**/typings/**', '*.d.ts', '*.test.ts']
|
|
108
108
|
}, babelConfig);
|
|
109
109
|
|
|
110
110
|
if (await fs.pathExists(rootDir)) {
|
package/dist/js/node/cli.js
CHANGED
|
@@ -128,7 +128,7 @@ var _default = (0, _core.createPlugin)(() => ({
|
|
|
128
128
|
distDir,
|
|
129
129
|
sourceDir: sourceAbsDir,
|
|
130
130
|
extensions: FILE_EXTENSIONS,
|
|
131
|
-
ignore: [`**/__tests__/**`, '**/typings/**', '*.d.ts']
|
|
131
|
+
ignore: [`**/__tests__/**`, '**/typings/**', '*.d.ts', '*.test.ts']
|
|
132
132
|
}, babelConfig);
|
|
133
133
|
|
|
134
134
|
if (await _fsExtra.default.pathExists(rootDir)) {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.3.
|
|
14
|
+
"version": "1.3.5-beta.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -51,9 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@babel/core": "7.16.7",
|
|
53
53
|
"@babel/runtime": "^7",
|
|
54
|
-
"@modern-js/babel-chain": "^1.2.1",
|
|
55
54
|
"@modern-js/babel-compiler": "^1.2.1",
|
|
56
|
-
"@modern-js/babel-preset-lib": "^1.2.1",
|
|
57
55
|
"@modern-js/create-request": "^1.2.1",
|
|
58
56
|
"@modern-js/server-utils": "^1.2.1",
|
|
59
57
|
"@modern-js/utils": "^1.3.2",
|
|
@@ -94,7 +92,8 @@
|
|
|
94
92
|
"sideEffects": false,
|
|
95
93
|
"publishConfig": {
|
|
96
94
|
"registry": "https://registry.npmjs.org/",
|
|
97
|
-
"access": "public"
|
|
95
|
+
"access": "public",
|
|
96
|
+
"types": "./dist/types/index.d.ts"
|
|
98
97
|
},
|
|
99
98
|
"scripts": {
|
|
100
99
|
"new": "modern new",
|