@modern-js/app-tools 2.60.0 → 2.60.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/dist/cjs/index.js CHANGED
@@ -37,7 +37,6 @@ __export(src_exports, {
37
37
  module.exports = __toCommonJS(src_exports);
38
38
  var import_path = __toESM(require("path"));
39
39
  var import_language_detector = require("@modern-js/plugin-i18n/language-detector");
40
- var import_plugin_lint = require("@modern-js/plugin-lint");
41
40
  var import_utils = require("@modern-js/utils");
42
41
  var import_hooks = require("./hooks");
43
42
  var import_locale = require("./locale");
@@ -82,7 +81,6 @@ const appTools = (options = {
82
81
  ].includes(options.bundler) ? "rspack" : "webpack"
83
82
  }),
84
83
  (0, import_serverBuild.default)(),
85
- (0, import_plugin_lint.lintPlugin)(),
86
84
  (0, import_deploy.default)()
87
85
  ],
88
86
  setup: (api) => {
@@ -115,6 +113,7 @@ const appTools = (options = {
115
113
  (0, import_commands.newCommand)(program, locale);
116
114
  (0, import_commands.inspectCommand)(program, api);
117
115
  (0, import_commands.upgradeCommand)(program);
116
+ (0, import_utils.deprecatedCommands)(program);
118
117
  },
119
118
  async prepare() {
120
119
  const command = (0, import_utils.getCommand)();
package/dist/esm/index.js CHANGED
@@ -4,8 +4,7 @@ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
4
4
  import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
5
5
  import path from "path";
6
6
  import { getLocaleLanguage } from "@modern-js/plugin-i18n/language-detector";
7
- import { lintPlugin } from "@modern-js/plugin-lint";
8
- import { cleanRequireCache, emptyDir, getArgv, getCommand } from "@modern-js/utils";
7
+ import { cleanRequireCache, deprecatedCommands, emptyDir, getArgv, getCommand } from "@modern-js/utils";
9
8
  import { hooks } from "./hooks";
10
9
  import { i18n } from "./locale";
11
10
  import analyzePlugin from "./plugins/analyze";
@@ -51,7 +50,6 @@ var appTools = function() {
51
50
  ].includes(options.bundler) ? "rspack" : "webpack"
52
51
  }),
53
52
  serverBuildPlugin(),
54
- lintPlugin(),
55
53
  deployPlugin()
56
54
  ],
57
55
  setup: function(api) {
@@ -104,6 +102,7 @@ var appTools = function() {
104
102
  newCommand(program, locale);
105
103
  inspectCommand(program, api);
106
104
  upgradeCommand(program);
105
+ deprecatedCommands(program);
107
106
  return [
108
107
  2
109
108
  ];
@@ -1,7 +1,6 @@
1
1
  import path from "path";
2
2
  import { getLocaleLanguage } from "@modern-js/plugin-i18n/language-detector";
3
- import { lintPlugin } from "@modern-js/plugin-lint";
4
- import { cleanRequireCache, emptyDir, getArgv, getCommand } from "@modern-js/utils";
3
+ import { cleanRequireCache, deprecatedCommands, emptyDir, getArgv, getCommand } from "@modern-js/utils";
5
4
  import { hooks } from "./hooks";
6
5
  import { i18n } from "./locale";
7
6
  import analyzePlugin from "./plugins/analyze";
@@ -45,7 +44,6 @@ const appTools = (options = {
45
44
  ].includes(options.bundler) ? "rspack" : "webpack"
46
45
  }),
47
46
  serverBuildPlugin(),
48
- lintPlugin(),
49
47
  deployPlugin()
50
48
  ],
51
49
  setup: (api) => {
@@ -78,6 +76,7 @@ const appTools = (options = {
78
76
  newCommand(program, locale);
79
77
  inspectCommand(program, api);
80
78
  upgradeCommand(program);
79
+ deprecatedCommands(program);
81
80
  },
82
81
  async prepare() {
83
82
  const command = getCommand();
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.60.0",
18
+ "version": "2.60.1",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -88,20 +88,19 @@
88
88
  "mlly": "^1.6.1",
89
89
  "pkg-types": "^1.1.0",
90
90
  "std-env": "^3.7.0",
91
- "@modern-js/core": "2.60.0",
92
- "@modern-js/node-bundle-require": "2.60.0",
93
- "@modern-js/plugin-lint": "2.60.0",
94
- "@modern-js/plugin-i18n": "2.60.0",
95
- "@modern-js/plugin-data-loader": "2.60.0",
96
- "@modern-js/prod-server": "2.60.0",
97
- "@modern-js/server": "2.60.0",
98
- "@modern-js/plugin": "2.60.0",
99
- "@modern-js/rsbuild-plugin-esbuild": "2.60.0",
100
- "@modern-js/server-core": "2.60.0",
101
- "@modern-js/server-utils": "2.60.0",
102
- "@modern-js/types": "2.60.0",
103
- "@modern-js/uni-builder": "2.60.0",
104
- "@modern-js/utils": "2.60.0"
91
+ "@modern-js/core": "2.60.1",
92
+ "@modern-js/plugin": "2.60.1",
93
+ "@modern-js/node-bundle-require": "2.60.1",
94
+ "@modern-js/plugin-data-loader": "2.60.1",
95
+ "@modern-js/plugin-i18n": "2.60.1",
96
+ "@modern-js/prod-server": "2.60.1",
97
+ "@modern-js/rsbuild-plugin-esbuild": "2.60.1",
98
+ "@modern-js/server": "2.60.1",
99
+ "@modern-js/server-core": "2.60.1",
100
+ "@modern-js/server-utils": "2.60.1",
101
+ "@modern-js/uni-builder": "2.60.1",
102
+ "@modern-js/types": "2.60.1",
103
+ "@modern-js/utils": "2.60.1"
105
104
  },
106
105
  "devDependencies": {
107
106
  "@rsbuild/plugin-webpack-swc": "1.0.2",
@@ -113,8 +112,8 @@
113
112
  "tsconfig-paths": "^4.2.0",
114
113
  "typescript": "^5",
115
114
  "webpack": "^5.94.0",
116
- "@scripts/build": "2.60.0",
117
- "@scripts/jest-config": "2.60.0"
115
+ "@scripts/jest-config": "2.60.1",
116
+ "@scripts/build": "2.60.1"
118
117
  },
119
118
  "sideEffects": false,
120
119
  "publishConfig": {