diff --git a/.changeset/wild-yaks-draw.md b/.changeset/wild-yaks-draw.md new file mode 100644 index 000000000000..633e23c2d064 --- /dev/null +++ b/.changeset/wild-yaks-draw.md @@ -0,0 +1,10 @@ +--- +'@modern-js/monorepo-tools': patch +'@modern-js/module-tools': patch +'@modern-js/app-tools': patch +'@modern-js/main-doc': patch +--- + +feat: remove @modern-js/plugin-lint plugin + +feat: 移除 @modern-js/plugin-lint 插件 diff --git a/packages/cli/plugin-lint/.npmignore b/packages/cli/plugin-lint/.npmignore deleted file mode 100644 index 353fddf17262..000000000000 --- a/packages/cli/plugin-lint/.npmignore +++ /dev/null @@ -1,31 +0,0 @@ -.DS_Store - -.pnp -.pnp.js -.env.local -.env.*.local -*.log* - -node_modules/ -*.tsbuildinfo -.eslintcache - -coverage/ -output/ -output_resource/ -tests/ - -.vscode/**/* -!.vscode/settings.json -!.vscode/extensions.json -.idea/ - -src/ - -modern.config.* -jest.config.js -.eslintrc.js -.eslintrc -tsconfig.json -CHANGELOG.md - diff --git a/packages/cli/plugin-lint/CHANGELOG.md b/packages/cli/plugin-lint/CHANGELOG.md deleted file mode 100644 index 1fb944bd508f..000000000000 --- a/packages/cli/plugin-lint/CHANGELOG.md +++ /dev/null @@ -1,1911 +0,0 @@ -# @modern-js/plugin-lint - -## 2.60.0 - -### Patch Changes - -- @modern-js/tsconfig@2.60.0 -- @modern-js/utils@2.60.0 - -## 2.59.0 - -### Patch Changes - -- @modern-js/utils@2.59.0 -- @modern-js/tsconfig@2.59.0 - -## 2.58.3 - -### Patch Changes - -- @modern-js/tsconfig@2.58.3 -- @modern-js/utils@2.58.3 - -## 2.58.2 - -### Patch Changes - -- Updated dependencies [a1a9373] - - @modern-js/utils@2.58.2 - - @modern-js/tsconfig@2.58.2 - -## 2.58.1 - -### Patch Changes - -- @modern-js/utils@2.58.1 -- @modern-js/tsconfig@2.58.1 - -## 2.58.0 - -### Patch Changes - -- @modern-js/tsconfig@2.58.0 -- @modern-js/utils@2.58.0 - -## 2.57.1 - -### Patch Changes - -- @modern-js/tsconfig@2.57.1 -- @modern-js/utils@2.57.1 - -## 2.57.0 - -### Patch Changes - -- Updated dependencies [2515b00] - - @modern-js/utils@2.57.0 - - @modern-js/tsconfig@2.57.0 - -## 2.56.2 - -### Patch Changes - -- @modern-js/tsconfig@2.56.2 -- @modern-js/utils@2.56.2 - -## 2.56.1 - -### Patch Changes - -- @modern-js/tsconfig@2.56.1 -- @modern-js/utils@2.56.1 - -## 2.56.0 - -### Patch Changes - -- @modern-js/utils@2.56.0 -- @modern-js/tsconfig@2.56.0 - -## 2.55.0 - -### Patch Changes - -- Updated dependencies [bbcf55a] - - @modern-js/utils@2.55.0 - - @modern-js/tsconfig@2.55.0 - -## 2.54.6 - -### Patch Changes - -- @modern-js/tsconfig@2.54.6 -- @modern-js/utils@2.54.6 - -## 2.54.5 - -### Patch Changes - -- @modern-js/tsconfig@2.54.5 -- @modern-js/utils@2.54.5 - -## 2.54.4 - -### Patch Changes - -- @modern-js/tsconfig@2.54.4 -- @modern-js/utils@2.54.4 - -## 2.54.3 - -### Patch Changes - -- @modern-js/tsconfig@2.54.3 -- @modern-js/utils@2.54.3 - -## 2.54.2 - -### Patch Changes - -- @modern-js/tsconfig@2.54.2 -- @modern-js/utils@2.54.2 - -## 2.54.1 - -### Patch Changes - -- @modern-js/tsconfig@2.54.1 -- @modern-js/utils@2.54.1 - -## 2.54.0 - -### Patch Changes - -- Updated dependencies [15a090c] -- Updated dependencies [a8d8f0c] -- Updated dependencies [09798ac] - - @modern-js/utils@2.54.0 - - @modern-js/tsconfig@2.54.0 - -## 2.53.0 - -### Patch Changes - -- @modern-js/tsconfig@2.53.0 -- @modern-js/utils@2.53.0 - -## 2.52.0 - -### Patch Changes - -- @modern-js/tsconfig@2.52.0 -- @modern-js/utils@2.52.0 - -## 2.51.0 - -### Patch Changes - -- @modern-js/tsconfig@2.51.0 -- @modern-js/utils@2.51.0 - -## 2.50.0 - -### Patch Changes - -- @modern-js/tsconfig@2.50.0 -- @modern-js/utils@2.50.0 - -## 2.49.4 - -### Patch Changes - -- @modern-js/tsconfig@2.49.4 -- @modern-js/utils@2.49.4 - -## 2.49.3 - -### Patch Changes - -- @modern-js/tsconfig@2.49.3 -- @modern-js/utils@2.49.3 - -## 2.49.2 - -### Patch Changes - -- @modern-js/tsconfig@2.49.2 -- @modern-js/utils@2.49.2 - -## 2.49.1 - -### Patch Changes - -- @modern-js/tsconfig@2.49.1 -- @modern-js/utils@2.49.1 - -## 2.49.0 - -### Patch Changes - -- Updated dependencies [e8c8c5d] - - @modern-js/utils@2.49.0 - - @modern-js/tsconfig@2.49.0 - -## 2.48.6 - -### Patch Changes - -- @modern-js/tsconfig@2.48.6 -- @modern-js/utils@2.48.6 - -## 2.48.5 - -### Patch Changes - -- Updated dependencies [4ca9f4c] - - @modern-js/utils@2.48.5 - - @modern-js/tsconfig@2.48.5 - -## 2.48.4 - -### Patch Changes - -- Updated dependencies [7d2d433] - - @modern-js/utils@2.48.4 - - @modern-js/tsconfig@2.48.4 - -## 2.48.3 - -### Patch Changes - -- @modern-js/tsconfig@2.48.3 -- @modern-js/utils@2.48.3 - -## 2.48.2 - -### Patch Changes - -- @modern-js/tsconfig@2.48.2 -- @modern-js/utils@2.48.2 - -## 2.48.1 - -### Patch Changes - -- Updated dependencies [8942b90] -- Updated dependencies [ce426f7] - - @modern-js/utils@2.48.1 - - @modern-js/tsconfig@2.48.1 - -## 2.48.0 - -### Patch Changes - -- Updated dependencies [c323a23] - - @modern-js/utils@2.48.0 - - @modern-js/tsconfig@2.48.0 - -## 2.47.1 - -### Patch Changes - -- @modern-js/tsconfig@2.47.1 -- @modern-js/utils@2.47.1 - -## 2.47.0 - -### Patch Changes - -- 3d1effc: feat(plugin-lint): mark eslint as optional peer dep -- Updated dependencies [a5386ab] - - @modern-js/utils@2.47.0 - - @modern-js/tsconfig@2.47.0 - -## 2.46.1 - -### Patch Changes - -- @modern-js/tsconfig@2.46.1 -- @modern-js/utils@2.46.1 - -## 2.46.0 - -### Patch Changes - -- @modern-js/utils@2.46.0 -- @modern-js/tsconfig@2.46.0 - -## 2.45.0 - -### Patch Changes - -- @modern-js/utils@2.45.0 -- @modern-js/tsconfig@2.45.0 - -## 2.44.0 - -### Patch Changes - -- @modern-js/utils@2.44.0 -- @modern-js/tsconfig@2.44.0 - -## 2.43.0 - -### Patch Changes - -- @modern-js/utils@2.43.0 -- @modern-js/tsconfig@2.43.0 - -## 2.42.2 - -### Patch Changes - -- @modern-js/utils@2.42.2 -- @modern-js/tsconfig@2.42.2 - -## 2.42.1 - -### Patch Changes - -- @modern-js/tsconfig@2.42.1 -- @modern-js/utils@2.42.1 - -## 2.42.0 - -### Patch Changes - -- @modern-js/tsconfig@2.42.0 -- @modern-js/utils@2.42.0 - -## 2.41.0 - -### Patch Changes - -- c4d396a: chore(swc): bump swc and helpers - chore(swc): 升级 swc 以及 helpers -- Updated dependencies [c4d396a] - - @modern-js/utils@2.41.0 - - @modern-js/tsconfig@2.41.0 - -## 2.40.0 - -### Patch Changes - -- Updated dependencies [95f15d2] - - @modern-js/utils@2.40.0 - - @modern-js/tsconfig@2.40.0 - -## 2.39.2 - -### Patch Changes - -- @modern-js/tsconfig@2.39.2 -- @modern-js/utils@2.39.2 - -## 2.39.1 - -### Patch Changes - -- @modern-js/tsconfig@2.39.1 -- @modern-js/utils@2.39.1 - -## 2.39.0 - -### Patch Changes - -- @modern-js/tsconfig@2.39.0 -- @modern-js/utils@2.39.0 - -## 2.38.0 - -### Patch Changes - -- @modern-js/utils@2.38.0 -- @modern-js/tsconfig@2.38.0 - -## 2.37.2 - -### Patch Changes - -- @modern-js/tsconfig@2.37.2 -- @modern-js/utils@2.37.2 - -## 2.37.1 - -### Patch Changes - -- @modern-js/tsconfig@2.37.1 -- @modern-js/utils@2.37.1 - -## 2.37.0 - -### Patch Changes - -- Updated dependencies [383b636] -- Updated dependencies [ce0a14e] -- Updated dependencies [708f248] - - @modern-js/utils@2.37.0 - - @modern-js/tsconfig@2.37.0 - -## 2.36.0 - -### Patch Changes - -- Updated dependencies [3473bee] -- Updated dependencies [b98f8aa] -- Updated dependencies [eb602d2] - - @modern-js/utils@2.36.0 - - @modern-js/tsconfig@2.36.0 - -## 2.35.1 - -### Patch Changes - -- Updated dependencies [ea3fe18] -- Updated dependencies [9dd3151] -- Updated dependencies [4980480] -- Updated dependencies [6a1d46e] - - @modern-js/utils@2.35.1 - - @modern-js/tsconfig@2.35.1 - -## 2.35.0 - -### Patch Changes - -- Updated dependencies [15b834f] - - @modern-js/utils@2.35.0 - - @modern-js/tsconfig@2.35.0 - -## 2.34.0 - -### Patch Changes - -- Updated dependencies [a77b82a] -- Updated dependencies [c8b448b] - - @modern-js/utils@2.34.0 - - @modern-js/tsconfig@2.34.0 - -## 2.33.1 - -### Patch Changes - -- @modern-js/tsconfig@2.33.1 -- @modern-js/utils@2.33.1 - -## 2.33.0 - -### Patch Changes - -- Updated dependencies [fd82137] -- Updated dependencies [bc1f8da] - - @modern-js/utils@2.33.0 - - @modern-js/tsconfig@2.33.0 - -## 2.32.1 - -### Patch Changes - -- @modern-js/utils@2.32.1 -- @modern-js/tsconfig@2.32.1 - -## 2.32.0 - -### Patch Changes - -- Updated dependencies [e5a3fb4] -- Updated dependencies [6076166] -- Updated dependencies [a030aff] -- Updated dependencies [3c91100] -- Updated dependencies [5255eba] - - @modern-js/utils@2.32.0 - - @modern-js/tsconfig@2.32.0 - -## 2.31.2 - -### Patch Changes - -- Updated dependencies [15d30abdc66] - - @modern-js/utils@2.31.2 - - @modern-js/tsconfig@2.31.2 - -## 2.31.1 - -### Patch Changes - -- @modern-js/tsconfig@2.31.1 -- @modern-js/utils@2.31.1 - -## 2.31.0 - -### Patch Changes - -- Updated dependencies [1882366] - - @modern-js/utils@2.31.0 - - @modern-js/tsconfig@2.31.0 - -## 2.30.0 - -### Patch Changes - -- @modern-js/utils@2.30.0 -- @modern-js/tsconfig@2.30.0 - -## 2.29.0 - -### Patch Changes - -- Updated dependencies [e6b5355] -- Updated dependencies [93db783] -- Updated dependencies [cba7675] -- Updated dependencies [99052ea] -- Updated dependencies [1d71d2e] - - @modern-js/utils@2.29.0 - - @modern-js/tsconfig@2.29.0 - -## 2.28.0 - -### Patch Changes - -- Updated dependencies [00b58a7] - - @modern-js/utils@2.28.0 - - @modern-js/tsconfig@2.28.0 - -## 2.27.0 - -### Patch Changes - -- 8322a51: chore: migrate packages from tsc to module-lib build - - chore: 将使用 tsc 的包迁移到 module-lib 构建 - -- Updated dependencies [91d14b8] -- Updated dependencies [6d7104d] - - @modern-js/utils@2.27.0 - - @modern-js/tsconfig@2.27.0 - -## 2.26.0 - -### Patch Changes - -- @modern-js/tsconfig@2.26.0 -- @modern-js/utils@2.26.0 - -## 2.25.2 - -### Patch Changes - -- Updated dependencies [63d8247] -- Updated dependencies [6651684] -- Updated dependencies [272646c] -- Updated dependencies [358ed24] - - @modern-js/utils@2.25.2 - - @modern-js/tsconfig@2.25.2 - -## 2.25.1 - -### Patch Changes - -- Updated dependencies [9f78d0c] - - @modern-js/utils@2.25.1 - - @modern-js/tsconfig@2.25.1 - -## 2.25.0 - -### Patch Changes - -- 4c4c0ad: feat: add named exports for all CLI plugins - - feat: 为各个 CLI 插件添加 named 导出 - -- Updated dependencies [5732c6a] - - @modern-js/utils@2.25.0 - - @modern-js/tsconfig@2.25.0 - -## 2.24.0 - -### Patch Changes - -- Updated dependencies [c882fbd] -- Updated dependencies [4a82c3b] - - @modern-js/utils@2.24.0 - - @modern-js/tsconfig@2.24.0 - -## 2.23.1 - -### Patch Changes - -- Updated dependencies [f08bbfc] -- Updated dependencies [a6b313a] -- Updated dependencies [8f2cab0] - - @modern-js/utils@2.23.1 - - @modern-js/tsconfig@2.23.1 - -## 2.23.0 - -### Patch Changes - -- 7e6fb5f: chore: publishConfig add provenance config - - chore: publishConfig 增加 provenance 配置 - -- e2245c3: fix(plugin-lint): remove codeframe formatter - - fix(plugin-lint): 移除 codeframe formatter - -- Updated dependencies [7e6fb5f] -- Updated dependencies [a7a7ad7] -- Updated dependencies [6dec7c2] -- Updated dependencies [c3216b5] - - @modern-js/tsconfig@2.23.0 - - @modern-js/utils@2.23.0 - -## 2.22.1 - -### Patch Changes - -- Updated dependencies [e2848a2] -- Updated dependencies [d4045ed] - - @modern-js/utils@2.22.1 - - @modern-js/tsconfig@2.22.1 - -## 2.22.0 - -### Patch Changes - -- Updated dependencies [3d48836] -- Updated dependencies [5050e8e] - - @modern-js/utils@2.22.0 - - @modern-js/tsconfig@2.22.0 - -## 2.21.1 - -### Patch Changes - -- @modern-js/tsconfig@2.21.1 -- @modern-js/utils@2.21.1 - -## 2.21.0 - -### Patch Changes - -- 26dcf3a: chore: bump typescript to v5 in devDependencies - - chore: 升级 devDependencies 中的 typescript 版本到 v5 - -- Updated dependencies [e81eeaf] -- Updated dependencies [26dcf3a] -- Updated dependencies [056627f] -- Updated dependencies [0fc15ca] -- Updated dependencies [43b4e83] -- Updated dependencies [ad78387] - - @modern-js/utils@2.21.0 - - @modern-js/tsconfig@2.21.0 - -## 2.20.0 - -### Patch Changes - -- 6b9d90a: chore: remove @babel/runtime. add @swc/helper and enable `externalHelper` config. - chore: 移除 @babel/runtime 依赖. 增加 @swc/helpers 依赖并且开启 `externalHelpers` 配置 -- Updated dependencies [3c4e0a5] -- Updated dependencies [6b9d90a] - - @modern-js/utils@2.20.0 - - @modern-js/tsconfig@2.20.0 - -## 2.19.1 - -### Patch Changes - -- @modern-js/tsconfig@2.19.1 -- @modern-js/utils@2.19.1 - -## 2.19.0 - -### Patch Changes - -- Updated dependencies [1134fe2] - - @modern-js/utils@2.19.0 - - @modern-js/tsconfig@2.19.0 - -## 2.18.1 - -### Patch Changes - -- @modern-js/tsconfig@2.18.1 -- @modern-js/utils@2.18.1 - -## 2.18.0 - -### Patch Changes - -- @modern-js/tsconfig@2.18.0 -- @modern-js/utils@2.18.0 - -## 2.17.1 - -### Patch Changes - -- @modern-js/tsconfig@2.17.1 -- @modern-js/utils@2.17.1 - -## 2.17.0 - -### Patch Changes - -- @modern-js/tsconfig@2.17.0 -- @modern-js/utils@2.17.0 - -## 2.16.0 - -### Patch Changes - -- 4e876ab: chore: package.json include the monorepo-relative directory - - chore: 在 package.json 中声明 monorepo 的子路径 - -- Updated dependencies [5954330] -- Updated dependencies [7596520] -- Updated dependencies [4e876ab] - - @modern-js/utils@2.16.0 - - @modern-js/tsconfig@2.16.0 - -## 2.15.0 - -### Patch Changes - -- @modern-js/tsconfig@2.15.0 -- @modern-js/utils@2.15.0 - -## 2.14.0 - -### Patch Changes - -- 432ac8b: chore(cli): improve commands descriptions - - chore(cli): 优化命令的描述文案 - -- Updated dependencies [4779152] -- Updated dependencies [9321bef] -- Updated dependencies [9b45c58] -- Updated dependencies [52d0cb1] -- Updated dependencies [60a81d0] -- Updated dependencies [dacef96] -- Updated dependencies [16399fd] - - @modern-js/utils@2.14.0 - - @modern-js/tsconfig@2.14.0 - -## 2.13.4 - -### Patch Changes - -- @modern-js/tsconfig@2.13.4 -- @modern-js/utils@2.13.4 - -## 2.13.3 - -### Patch Changes - -- @modern-js/tsconfig@2.13.3 -- @modern-js/utils@2.13.3 - -## 2.13.2 - -### Patch Changes - -- @modern-js/tsconfig@2.13.2 -- @modern-js/utils@2.13.2 - -## 2.13.1 - -### Patch Changes - -- @modern-js/tsconfig@2.13.1 -- @modern-js/utils@2.13.1 - -## 2.13.0 - -### Patch Changes - -- @modern-js/tsconfig@2.13.0 -- @modern-js/utils@2.13.0 - -## 2.12.0 - -### Patch Changes - -- Updated dependencies [c2ca6c8] -- Updated dependencies [6d86e34] - - @modern-js/utils@2.12.0 - - @modern-js/tsconfig@2.12.0 - -## 2.11.0 - -### Patch Changes - -- 58faba2: chore(plugin-lint): deprecate modern pre-commit command - - chore(plugin-lint): 废弃 modern pre-commit 命令 - -- Updated dependencies [cfb058f] -- Updated dependencies [0bd018b] -- Updated dependencies [5d624fd] -- Updated dependencies [e2466a1] -- Updated dependencies [02bb383] -- Updated dependencies [381a3b9] -- Updated dependencies [7a60f10] -- Updated dependencies [274b2e5] -- Updated dependencies [b9e1c54] - - @modern-js/utils@2.11.0 - - @modern-js/tsconfig@2.11.0 - -## 2.10.0 - -### Patch Changes - -- 0da32d0: chore: upgrade jest and puppeteer - chore: 升级 jest 和 puppeteer 到 latest -- Updated dependencies [0da32d0] -- Updated dependencies [fbefa7e] -- Updated dependencies [4d54233] -- Updated dependencies [6db4864] - - @modern-js/utils@2.10.0 - - @modern-js/tsconfig@2.10.0 - -## 2.9.0 - -### Patch Changes - -- @modern-js/tsconfig@2.9.0 -- @modern-js/utils@2.9.0 - -## 2.8.0 - -### Patch Changes - -- Updated dependencies [1104a9f18b] -- Updated dependencies [1f6ca2c7fb] - - @modern-js/utils@2.8.0 - - @modern-js/tsconfig@2.8.0 - -## 2.7.0 - -### Patch Changes - -- 7fff9020e1: chore: make file naming consistent - - chore: 统一文件命名为小驼峰格式 - -- Updated dependencies [0f15fc597c] -- Updated dependencies [dcad887024] -- Updated dependencies [a4672f7c16] -- Updated dependencies [7fff9020e1] -- Updated dependencies [84bfb439b8] - - @modern-js/utils@2.7.0 - - @modern-js/tsconfig@2.7.0 - -## 2.6.0 - -### Patch Changes - -- Updated dependencies [e1f799e] -- Updated dependencies [7915ab3] -- Updated dependencies [0fe658a] - - @modern-js/utils@2.6.0 - - @modern-js/tsconfig@2.6.0 - -## 2.5.0 - -### Patch Changes - -- 89ca6cc: refactor: merge build-config into scripts/build - - refactor: 把 build-config 合并进 scripts/build - -- 30614fa: chore: modify package.json entry fields and build config - chore: 更改 package.json entry 字段以及构建配置 -- Updated dependencies [30614fa] -- Updated dependencies [1b0ce87] -- Updated dependencies [11c053b] - - @modern-js/utils@2.5.0 - - @modern-js/tsconfig@2.5.0 - -## 2.4.0 - -### Patch Changes - -- Updated dependencies [98a2733] -- Updated dependencies [8c2db5f] - - @modern-js/utils@2.4.0 - - @modern-js/tsconfig@2.4.0 - -## 2.3.0 - -### Patch Changes - -- Updated dependencies [fd5a3ed] -- Updated dependencies [6ca1c0b] -- Updated dependencies [89b6739] - - @modern-js/utils@2.3.0 - - @modern-js/tsconfig@2.3.0 - -## 2.2.0 - -### Patch Changes - -- Updated dependencies [49eff0c] - - @modern-js/utils@2.2.0 - - @modern-js/tsconfig@2.2.0 - -## 2.1.0 - -### Patch Changes - -- Updated dependencies [837620c] -- Updated dependencies [8a9482c] - - @modern-js/utils@2.1.0 - - @modern-js/tsconfig@2.1.0 - -## 2.0.2 - -### Patch Changes - -- @modern-js/utils@2.0.2 -- @modern-js/tsconfig@2.0.2 - -## 2.0.1 - -### Patch Changes - -- @modern-js/tsconfig@2.0.1 -- @modern-js/utils@2.0.1 - -## 2.0.0 - -### Major Changes - -- dda38c9c3e: chore: v2 - -### Patch Changes - -- d4a456659b: chore: rename plugin-jarvis to plugin-lint - - chore: 重命名 plugin-jarvis 为 plugin-lint - -- f680410886: feat: upgrade ESLint to 8.x version - - feat: 升级 ESLint 到 8.x 版本 - -- Updated dependencies [edd1cfb1af] -- Updated dependencies [dda38c9c3e] -- Updated dependencies [ffb2ed4] -- Updated dependencies [bbe4c4ab64] - - @modern-js/utils@2.0.0 - - @modern-js/tsconfig@2.0.0 - -## 2.0.0-beta.7 - -### Major Changes - -- dda38c9c3e: chore: v2 - -### Patch Changes - -- d4a456659b: chore: rename plugin-jarvis to plugin-lint - - chore: 重命名 plugin-jarvis 为 plugin-lint - -- f680410886: feat: upgrade ESLint to 8.x version - - feat: 升级 ESLint 到 8.x 版本 - -- Updated dependencies [edd1cfb1af] -- Updated dependencies [d4a456659b] -- Updated dependencies [f680410886] -- Updated dependencies [dda38c9c3e] -- Updated dependencies [bbe4c4ab64] - - @modern-js/utils@2.0.0-beta.7 - - @modern-js/eslint-config@2.0.0-beta.7 - - @modern-js-app/eslint-config@2.0.0-beta.7 - - @modern-js/tsconfig@2.0.0-beta.7 - -## 2.0.0-beta.6 - -### Major Changes - -- dda38c9c3e: chore: v2 - -### Patch Changes - -- a3af050486: fix(plugin-lint): failed to execute modern lint command - - fix(plugin-lint): 修复执行 modern lint 命令失败的问题 - -- d4a456659b: chore: rename plugin-jarvis to plugin-lint - - chore: 重命名 plugin-jarvis 为 plugin-lint - -- f680410886: feat: upgrade ESLint to 8.x version - - feat: 升级 ESLint 到 8.x 版本 - -- Updated dependencies [7879e8f711] -- Updated dependencies [6aca875011] -- Updated dependencies [2e6031955e] -- Updated dependencies [7b7d12cf8f] -- Updated dependencies [7efeed4] -- Updated dependencies [92f0eade39] -- Updated dependencies [edd1cfb1af] -- Updated dependencies [cc971eabfc] -- Updated dependencies [5b9049f2e9] -- Updated dependencies [d4a456659b] -- Updated dependencies [92004d1906] -- Updated dependencies [b8bbe036c7] -- Updated dependencies [f680410886] -- Updated dependencies [d5a31df781] -- Updated dependencies [dda38c9c3e] -- Updated dependencies [3bbea92b2a] -- Updated dependencies [b710adb843] -- Updated dependencies [ea7cf06257] -- Updated dependencies [bbe4c4ab64] -- Updated dependencies [e4558a0bc4] -- Updated dependencies [abf3421a75] -- Updated dependencies [543be9558e] -- Updated dependencies [14b712da84] - - @modern-js/utils@2.0.0-beta.6 - - @modern-js/eslint-config@2.0.0-beta.6 - - @modern-js-app/eslint-config@2.0.0-beta.6 - - @modern-js/tsconfig@2.0.0-beta.6 - -## 2.0.0-beta.4 - -### Major Changes - -- dda38c9c3e: chore: v2 - -### Patch Changes - -- a3af050486: fix(plugin-lint): failed to execute modern lint command - - fix(plugin-lint): 修复执行 modern lint 命令失败的问题 - -- d4a456659b: chore: rename plugin-jarvis to plugin-lint - - chore: 重命名 plugin-jarvis 为 plugin-lint - -- f680410886: feat: upgrade ESLint to 8.x version - - feat: 升级 ESLint 到 8.x 版本 - -- Updated dependencies [7879e8f] -- Updated dependencies [6aca875] -- Updated dependencies [2e6031955e] -- Updated dependencies [7b7d12c] -- Updated dependencies [92f0eade39] -- Updated dependencies [edd1cfb1af] -- Updated dependencies [cc971eabfc] -- Updated dependencies [5b9049f2e9] -- Updated dependencies [d4a456659b] -- Updated dependencies [92004d1906] -- Updated dependencies [b8bbe036c7] -- Updated dependencies [f680410886] -- Updated dependencies [d5a31df781] -- Updated dependencies [dda38c9c3e] -- Updated dependencies [3bbea92b2a] -- Updated dependencies [b710adb843] -- Updated dependencies [ea7cf06] -- Updated dependencies [bbe4c4a] -- Updated dependencies [e4558a0] -- Updated dependencies [abf3421a75] -- Updated dependencies [543be9558e] -- Updated dependencies [14b712da84] - - @modern-js/utils@2.0.0-beta.4 - - @modern-js/eslint-config@2.0.0-beta.4 - - @modern-js-app/eslint-config@2.0.0-beta.4 - - @modern-js/tsconfig@2.0.0-beta.4 - -## 2.0.0-beta.3 - -### Major Changes - -- dda38c9c3e: chore: v2 - -### Patch Changes - -- a3af050: fix(plugin-lint): failed to execute modern lint command - - fix(plugin-lint): 修复执行 modern lint 命令失败的问题 - -- d4a456659b: chore: rename plugin-jarvis to plugin-lint - - chore: 重命名 plugin-jarvis 为 plugin-lint - -- f680410: feat: upgrade ESLint to 8.x version - - feat: 升级 ESLint 到 8.x 版本 - -- Updated dependencies [6aca875] -- Updated dependencies [2e60319] -- Updated dependencies [92f0eade39] -- Updated dependencies [edd1cfb1af] -- Updated dependencies [cc971eabfc] -- Updated dependencies [5b9049f2e9] -- Updated dependencies [d4a456659b] -- Updated dependencies [92004d1906] -- Updated dependencies [b8bbe036c7] -- Updated dependencies [f680410] -- Updated dependencies [d5a31df781] -- Updated dependencies [dda38c9c3e] -- Updated dependencies [3bbea92b2a] -- Updated dependencies [b710adb] -- Updated dependencies [ea7cf06] -- Updated dependencies [bbe4c4a] -- Updated dependencies [e4558a0] -- Updated dependencies [abf3421a75] -- Updated dependencies [543be9558e] -- Updated dependencies [14b712da84] - - @modern-js/utils@2.0.0-beta.3 - - @modern-js/eslint-config@2.0.0-beta.3 - - @modern-js-app/eslint-config@2.0.0-beta.3 - - @modern-js/tsconfig@2.0.0-beta.3 - -## 2.0.0-beta.2 - -### Major Changes - -- dda38c9c3e: chore: v2 - -### Patch Changes - -- d4a4566: chore: rename plugin-jarvis to plugin-lint - - chore: 重命名 plugin-jarvis 为 plugin-lint - -- Updated dependencies [92f0ead] -- Updated dependencies [edd1cfb1af] -- Updated dependencies [cc971eabfc] -- Updated dependencies [5b9049f2e9] -- Updated dependencies [d4a4566] -- Updated dependencies [92004d1] -- Updated dependencies [b8bbe036c7] -- Updated dependencies [d5a31df781] -- Updated dependencies [dda38c9c3e] -- Updated dependencies [3bbea92b2a] -- Updated dependencies [abf3421a75] -- Updated dependencies [543be9558e] -- Updated dependencies [14b712da84] - - @modern-js/utils@2.0.0-beta.2 - - @modern-js/eslint-config@2.0.0-beta.2 - - @modern-js-app/eslint-config@2.0.0-beta.2 - - @modern-js/tsconfig@2.0.0-beta.2 - -## 2.0.0-beta.1 - -### Major Changes - -- dda38c9: chore: v2 - -### Patch Changes - -- d4a4566: chore: rename plugin-jarvis to plugin-lint - - chore: 重命名 plugin-jarvis 为 plugin-lint - -- Updated dependencies [92f0ead] -- Updated dependencies [edd1cfb1af] -- Updated dependencies [cc971eabfc] -- Updated dependencies [5b9049f] -- Updated dependencies [d4a4566] -- Updated dependencies [92004d1] -- Updated dependencies [b8bbe036c7] -- Updated dependencies [d5a31df781] -- Updated dependencies [dda38c9] -- Updated dependencies [3bbea92b2a] -- Updated dependencies [abf3421] -- Updated dependencies [543be9558e] -- Updated dependencies [14b712d] - - @modern-js/utils@2.0.0-beta.1 - - @modern-js/eslint-config@2.0.0-beta.1 - - @modern-js-app/eslint-config@2.0.0-beta.1 - - @modern-js/tsconfig@2.0.0-beta.1 - -## 2.0.0-beta.0 - -### Major Changes - -- dda38c9: chore: v2 - -### Patch Changes - -- Updated dependencies [edd1cfb1a] -- Updated dependencies [cc971eabf] -- Updated dependencies [5b9049f] -- Updated dependencies [b8bbe036c] -- Updated dependencies [d5a31df78] -- Updated dependencies [dda38c9] -- Updated dependencies [3bbea92b2] -- Updated dependencies [abf3421] -- Updated dependencies [543be95] -- Updated dependencies [14b712d] - - @modern-js/utils@2.0.0-beta.0 - - @modern-js/eslint-config@2.0.0-beta.0 - - @modern-js-app/eslint-config@2.0.0-beta.0 - - @modern-js/tsconfig@2.0.0-beta.0 - -## 1.21.2 - -### Patch Changes - -- @modern-js/eslint-config@1.21.2 -- @modern-js-app/eslint-config@1.21.2 -- @modern-js/tsconfig@1.21.2 -- @modern-js/utils@1.21.2 - -## 1.21.1 - -### Patch Changes - -- @modern-js/eslint-config@1.21.1 -- @modern-js-app/eslint-config@1.21.1 -- @modern-js/tsconfig@1.21.1 -- @modern-js/utils@1.21.1 - -## 1.21.0 - -### Patch Changes - -- @modern-js/utils@1.21.0 -- @modern-js/eslint-config@1.21.0 -- @modern-js-app/eslint-config@1.21.0 -- @modern-js/tsconfig@1.21.0 - -## 1.20.1 - -### Patch Changes - -- Updated dependencies [49515c5] - - @modern-js/utils@1.20.1 - - @modern-js-app/eslint-config@1.20.1 - - @modern-js/eslint-config@1.20.1 - - @modern-js/tsconfig@1.20.1 - -## 1.20.0 - -### Patch Changes - -- Updated dependencies [d5d570b] -- Updated dependencies [4ddc185] -- Updated dependencies [df8ee7e] -- Updated dependencies [8c05089] - - @modern-js/utils@1.20.0 - - @modern-js-app/eslint-config@1.20.0 - - @modern-js/eslint-config@1.20.0 - - @modern-js/tsconfig@1.20.0 - -## 1.19.0 - -### Minor Changes - -- d2fbefc: feat: upgrade `@modern-js/plugin-jarvis` husky version to 8 - - feat: 升级 `@modern-js/plugin-jarvis` husky 版本为 8 - -### Patch Changes - -- @modern-js/eslint-config@1.19.0 -- @modern-js-app/eslint-config@1.19.0 -- @modern-js/tsconfig@1.19.0 -- @modern-js/utils@1.19.0 - -## 1.18.1 - -### Patch Changes - -- Updated dependencies [9fcfbd4] -- Updated dependencies [6c2c745] - - @modern-js/utils@1.18.1 - - @modern-js-app/eslint-config@1.18.1 - - @modern-js/eslint-config@1.18.1 - - @modern-js/tsconfig@1.18.1 - -## 1.18.0 - -### Patch Changes - -- Updated dependencies [8280920] -- Updated dependencies [5227370] -- Updated dependencies [7928bae] - - @modern-js/utils@1.18.0 - - @modern-js-app/eslint-config@1.18.0 - - @modern-js/eslint-config@1.18.0 - - @modern-js/tsconfig@1.18.0 - -## 1.17.0 - -### Patch Changes - -- Updated dependencies [1b9176f] -- Updated dependencies [77d3a38] -- Updated dependencies [151329d] -- Updated dependencies [5af9472] -- Updated dependencies [6b6a534] -- Updated dependencies [6b43a2b] -- Updated dependencies [a7be124] -- Updated dependencies [31547b4] - - @modern-js/utils@1.17.0 - - @modern-js-app/eslint-config@1.17.0 - - @modern-js/eslint-config@1.17.0 - - @modern-js/tsconfig@1.17.0 - -## 1.16.0 - -### Patch Changes - -- Updated dependencies [641592f52] -- Updated dependencies [3904b30a5] -- Updated dependencies [1100dd58c] -- Updated dependencies [e04e6e76a] -- Updated dependencies [81c66e4a4] -- Updated dependencies [2c305b6f5] - - @modern-js/utils@1.16.0 - - @modern-js-app/eslint-config@1.16.0 - - @modern-js/eslint-config@1.16.0 - - @modern-js/tsconfig@1.16.0 - -## 1.15.0 - -### Patch Changes - -- Updated dependencies [8658a78] -- Updated dependencies [05d4a4f] -- Updated dependencies [ad05af9] -- Updated dependencies [5d53d1c] -- Updated dependencies [37cd159] - - @modern-js/utils@1.15.0 - - @modern-js-app/eslint-config@1.15.0 - - @modern-js/eslint-config@1.15.0 - - @modern-js/tsconfig@1.15.0 - -## 1.2.14 - -### Patch Changes - -- 1a57595: chore(plugin-jarvis): fix lint-staged type breaks other packages -- Updated dependencies [a90bc96] - - @modern-js/utils@1.7.9 - -## 1.2.13 - -### Patch Changes - -- a1198d509: feat: bump babel 7.18.0 -- Updated dependencies [a1198d509] - - @modern-js-app/eslint-config@1.2.13 - -## 1.2.11 - -### Patch Changes - -- 40b78af3d: fix(eslint): remove eslint-import-resolver-webpack -- Updated dependencies [b8cfc42cd] -- Updated dependencies [804a5bb8a] -- Updated dependencies [40b78af3d] - - @modern-js/utils@1.7.4 - - @modern-js-app/eslint-config@1.2.10 - -## 1.2.10 - -### Patch Changes - -- d32f35134: chore: add modern/jest/eslint/ts config files to .npmignore -- Updated dependencies [d32f35134] -- Updated dependencies [6ae4a34ae] -- Updated dependencies [b80229c79] -- Updated dependencies [948cc4436] - - @modern-js/utils@1.7.3 - -## 1.2.9 - -### Patch Changes - -- b7b8075dc: feat: bump husky from v3 to v4 -- 0e0537005: fix: unlock @babel/core version -- 69a728375: fix: remove exports.jsnext:source after publish -- Updated dependencies [cd7346b0d] -- Updated dependencies [69a728375] - - @modern-js/utils@1.7.2 - -## 1.2.8 - -### Patch Changes - -- a0475f1a: fix: missing @babel/core peer dependencies -- Updated dependencies [2d155c4c] -- Updated dependencies [a0475f1a] -- Updated dependencies [123e432d] -- Updated dependencies [e5a9b26d] -- Updated dependencies [0b26b93b] -- Updated dependencies [123e432d] -- Updated dependencies [f9f66ef9] -- Updated dependencies [592edabc] -- Updated dependencies [86c243ca] -- Updated dependencies [895fa0ff] -- Updated dependencies [3578913e] -- Updated dependencies [3908299a] -- Updated dependencies [1c3beab3] - - @modern-js/utils@1.6.0 - - @modern-js/eslint-config@1.2.5 - - @modern-js-app/eslint-config@1.2.9 - -## 1.2.7 - -### Patch Changes - -- 6cffe99d: chore: - remove react eslint rules for `modern-js` rule set. - add .eslintrc for each package to speed up linting -- 04ae5262: chore: bump @modern-js/utils to v1.4.1 in dependencies -- 60f7d8bf: feat: add tests dir to npmignore -- 5dbbeb57: fix: export extended Command type -- Updated dependencies [b8599d09] -- Updated dependencies [6cffe99d] -- Updated dependencies [60f7d8bf] -- Updated dependencies [3bf4f8b0] - - @modern-js/utils@1.5.0 - - @modern-js/eslint-config@1.2.4 - - @modern-js-app/eslint-config@1.2.8 - -## 1.2.6 - -### Patch Changes - -- bebb39b6: chore: improve devDependencies and peerDependencies -- Updated dependencies [8e737893] -- Updated dependencies [8e737893] -- Updated dependencies [a2761eb7] -- Updated dependencies [8e737893] -- Updated dependencies [132f7b53] -- Updated dependencies [8e737893] -- Updated dependencies [8e737893] - - @modern-js-app/eslint-config@1.2.6 - - @modern-js/utils@1.3.7 - -## 1.2.5 - -### Patch Changes - -- 10f47286: fix: typescript eslint rule due to @typescript-eslint/eslint-plugin's breaking change -- 6bda867c: feat(plugin-jarvis): convert to new plugin -- 681a1ff9: feat: remove unnecessary peerDependencies -- Updated dependencies [c2046f37] -- Updated dependencies [10f47286] -- Updated dependencies [0ef81796] - - @modern-js/utils@1.3.6 - - @modern-js/eslint-config@1.2.3 - - @modern-js-app/eslint-config@1.2.5 - -## 1.2.4 - -### Patch Changes - -- 87e68464: refactor: eslint rule configs -- Updated dependencies [5bf5868d] -- Updated dependencies [80d3cfb7] -- Updated dependencies [42c6b136] -- Updated dependencies [4e7dcbd5] -- Updated dependencies [9e8bc4ab] -- Updated dependencies [0c556e59] -- Updated dependencies [87e68464] -- Updated dependencies [80d8ddfe] -- Updated dependencies [2008fdbd] - - @modern-js/utils@1.3.5 - - @modern-js/core@1.5.0 - - @modern-js/eslint-config@1.2.2 - - @modern-js-app/eslint-config@1.2.4 - -## 1.2.3 - -### Patch Changes - -- 55e18278: chore: remove unused dependencies and devDependencies -- Updated dependencies [969f172f] -- Updated dependencies [4c792f68] -- Updated dependencies [4b5d4bf4] -- Updated dependencies [62f5b8c8] -- Updated dependencies [55e18278] -- Updated dependencies [4499a674] -- Updated dependencies [403f5169] -- Updated dependencies [a7f42f48] - - @modern-js/core@1.4.4 - - @modern-js/utils@1.3.3 - -## 1.2.2 - -### Patch Changes - -- c35f710a: fix: typescript version warning when running lint -- Updated dependencies [c35f710a] -- Updated dependencies [deeaa602] -- Updated dependencies [54786e58] - - @modern-js/eslint-config@1.2.1 - - @modern-js-app/eslint-config@1.2.2 - - @modern-js/utils@1.3.2 - - @modern-js/core@1.4.3 - -## 1.2.1 - -### Patch Changes - -- 83166714: change .npmignore -- Updated dependencies [83166714] -- Updated dependencies [c3de9882] -- Updated dependencies [33ff48af] - - @modern-js/core@1.3.2 - - @modern-js/utils@1.2.2 - -## 1.2.0 - -### Minor Changes - -- cfe11628: Make Modern.js self bootstraping - -### Patch Changes - -- Updated dependencies [2da09c69] -- Updated dependencies [fc71e36f] -- Updated dependencies [c3d46ee4] -- Updated dependencies [cfe11628] - - @modern-js/utils@1.2.0 - - @modern-js/core@1.3.0 - - @modern-js/eslint-config@1.2.0 - - @modern-js-app/eslint-config@1.2.0 - - @modern-js/tsconfig@1.2.0 - -## 1.1.1 - -### Patch Changes - -- 0fa83663: support more .env files -- Updated dependencies [6f7fe574] -- Updated dependencies [0fa83663] -- Updated dependencies [f594fbc8] - - @modern-js/core@1.1.2 - - @modern-js/utils@1.1.2 - -## 1.1.0 - -### Minor Changes - -- 96119db2: Relese v1.1.0 - -### Patch Changes - -- Updated dependencies [96119db2] - - @modern-js/core@1.1.0 - - @modern-js/eslint-config@1.1.0 - - @modern-js-app/eslint-config@1.1.0 - - @modern-js/tsconfig@1.1.0 - - @modern-js/utils@1.1.0 - -## 1.0.0 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 0fd196e: feat: fix bugs -- 204c626: feat: initial -- 63be0a5: fix: #118 #104 -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [0fd196e] -- Updated dependencies [204c626] -- Updated dependencies [63be0a5] - - @modern-js/core@1.0.0 - - @modern-js/eslint-config@1.0.0 - - @modern-js-app/eslint-config@1.0.0 - - @modern-js/tsconfig@1.0.0 - - @modern-js/utils@1.0.0 - -## 1.0.0-rc.25 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 0fd196e: feat: fix bugs -- 204c626: feat: initial -- 63be0a5: fix: #118 #104 -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [0fd196e] -- Updated dependencies [204c626] -- Updated dependencies [63be0a5] - - @modern-js/core@1.0.0-rc.23 - - @modern-js/eslint-config@1.0.0-rc.25 - - @modern-js-app/eslint-config@1.0.0-rc.23 - - @modern-js/tsconfig@1.0.0-rc.23 - - @modern-js/utils@1.0.0-rc.23 - -## 1.0.0-rc.24 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 0fd196e: feat: fix bugs -- 204c626: feat: initial -- 63be0a5: fix: #118 #104 -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [0fd196e] -- Updated dependencies [204c626] -- Updated dependencies [63be0a5] - - @modern-js/core@1.0.0-rc.22 - - @modern-js/eslint-config@1.0.0-rc.24 - - @modern-js-app/eslint-config@1.0.0-rc.22 - - @modern-js/tsconfig@1.0.0-rc.22 - - @modern-js/utils@1.0.0-rc.22 - -## 1.0.0-rc.23 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 0fd196e: feat: fix bugs -- 204c626: feat: initial -- 63be0a5: fix: #118 #104 -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [0fd196e] -- Updated dependencies [204c626] -- Updated dependencies [63be0a5] - - @modern-js/core@1.0.0-rc.21 - - @modern-js/eslint-config@1.0.0-rc.23 - - @modern-js-app/eslint-config@1.0.0-rc.21 - - @modern-js/tsconfig@1.0.0-rc.21 - - @modern-js/utils@1.0.0-rc.21 - -## 1.0.0-rc.22 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- feat: fix bugs -- 204c626: feat: initial -- 63be0a5: fix: #118 #104 -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [undefined] -- Updated dependencies [204c626] -- Updated dependencies [63be0a5] - - @modern-js/core@1.0.0-rc.20 - - @modern-js/eslint-config@1.0.0-rc.22 - - @modern-js-app/eslint-config@1.0.0-rc.20 - - @modern-js/tsconfig@1.0.0-rc.20 - - @modern-js/utils@1.0.0-rc.20 - -## 1.0.0-rc.21 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 204c626: feat: initial -- 63be0a5: fix: #118 #104 -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [204c626] -- Updated dependencies [63be0a5] - - @modern-js/core@1.0.0-rc.19 - - @modern-js/eslint-config@1.0.0-rc.21 - - @modern-js-app/eslint-config@1.0.0-rc.19 - - @modern-js/tsconfig@1.0.0-rc.19 - - @modern-js/utils@1.0.0-rc.19 - -## 1.0.0-rc.20 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 204c626: feat: initial -- 63be0a5: fix: #118 #104 -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [204c626] -- Updated dependencies [63be0a5] - - @modern-js/core@1.0.0-rc.18 - - @modern-js/eslint-config@1.0.0-rc.20 - - @modern-js-app/eslint-config@1.0.0-rc.18 - - @modern-js/tsconfig@1.0.0-rc.18 - - @modern-js/utils@1.0.0-rc.18 - -## 1.0.0-rc.19 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 204c626: feat: initial -- fix: #118 #104 -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [204c626] -- Updated dependencies [undefined] - - @modern-js/core@1.0.0-rc.17 - - @modern-js/eslint-config@1.0.0-rc.19 - - @modern-js-app/eslint-config@1.0.0-rc.17 - - @modern-js/tsconfig@1.0.0-rc.17 - - @modern-js/utils@1.0.0-rc.17 - -## 1.0.0-rc.18 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.16 - - @modern-js/eslint-config@1.0.0-rc.18 - - @modern-js-app/eslint-config@1.0.0-rc.16 - - @modern-js/tsconfig@1.0.0-rc.16 - - @modern-js/utils@1.0.0-rc.16 - -## 1.0.0-rc.17 - -### Patch Changes - -- 224f7fe: fix server route match -- 30ac27c: feat: add generator package description -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [30ac27c] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.15 - - @modern-js/eslint-config@1.0.0-rc.17 - - @modern-js-app/eslint-config@1.0.0-rc.15 - - @modern-js/tsconfig@1.0.0-rc.15 - - @modern-js/utils@1.0.0-rc.15 - -## 1.0.0-rc.16 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.14 - - @modern-js/eslint-config@1.0.0-rc.16 - - @modern-js-app/eslint-config@1.0.0-rc.14 - - @modern-js/tsconfig@1.0.0-rc.14 - - @modern-js/utils@1.0.0-rc.14 - -## 1.0.0-rc.15 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.13 - - @modern-js/eslint-config@1.0.0-rc.15 - - @modern-js-app/eslint-config@1.0.0-rc.13 - - @modern-js/tsconfig@1.0.0-rc.13 - - @modern-js/utils@1.0.0-rc.13 - -## 1.0.0-rc.14 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.12 - - @modern-js/eslint-config@1.0.0-rc.14 - - @modern-js-app/eslint-config@1.0.0-rc.12 - - @modern-js/tsconfig@1.0.0-rc.12 - - @modern-js/utils@1.0.0-rc.12 - -## 1.0.0-rc.13 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.11 - - @modern-js/eslint-config@1.0.0-rc.13 - - @modern-js-app/eslint-config@1.0.0-rc.11 - - @modern-js/tsconfig@1.0.0-rc.11 - - @modern-js/utils@1.0.0-rc.11 - -## 1.0.0-rc.12 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.10 - - @modern-js/eslint-config@1.0.0-rc.12 - - @modern-js-app/eslint-config@1.0.0-rc.10 - - @modern-js/tsconfig@1.0.0-rc.10 - - @modern-js/utils@1.0.0-rc.10 - -## 1.0.0-rc.11 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.9 - - @modern-js/eslint-config@1.0.0-rc.11 - - @modern-js-app/eslint-config@1.0.0-rc.9 - - @modern-js/tsconfig@1.0.0-rc.9 - - @modern-js/utils@1.0.0-rc.9 - -## 1.0.0-rc.10 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.8 - - @modern-js/eslint-config@1.0.0-rc.10 - - @modern-js-app/eslint-config@1.0.0-rc.8 - - @modern-js/tsconfig@1.0.0-rc.8 - - @modern-js/utils@1.0.0-rc.8 - -## 1.0.0-rc.9 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.7 - - @modern-js/eslint-config@1.0.0-rc.9 - - @modern-js-app/eslint-config@1.0.0-rc.7 - - @modern-js/tsconfig@1.0.0-rc.7 - - @modern-js/utils@1.0.0-rc.7 - -## 1.0.0-rc.8 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.6 - - @modern-js/eslint-config@1.0.0-rc.8 - - @modern-js-app/eslint-config@1.0.0-rc.6 - - @modern-js/tsconfig@1.0.0-rc.6 - - @modern-js/utils@1.0.0-rc.6 - -## 1.0.0-rc.7 - -### Patch Changes - -- 224f7fe: fix server route match -- 204c626: feat: initial -- Updated dependencies [224f7fe] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.5 - - @modern-js/eslint-config@1.0.0-rc.7 - - @modern-js-app/eslint-config@1.0.0-rc.5 - - @modern-js/tsconfig@1.0.0-rc.5 - - @modern-js/utils@1.0.0-rc.5 - -## 1.0.0-rc.6 - -### Patch Changes - -- fix server route match -- 204c626: feat: initial -- Updated dependencies [undefined] -- Updated dependencies [204c626] - - @modern-js/core@1.0.0-rc.4 - - @modern-js/eslint-config@1.0.0-rc.6 - - @modern-js-app/eslint-config@1.0.0-rc.4 - - @modern-js/tsconfig@1.0.0-rc.4 - - @modern-js/utils@1.0.0-rc.4 - -## 1.0.0-rc.5 - -### Patch Changes - -- feat: initial -- Updated dependencies [undefined] - - @modern-js/core@1.0.0-rc.3 - - @modern-js/eslint-config@1.0.0-rc.5 - - @modern-js-app/eslint-config@1.0.0-rc.3 - - @modern-js/tsconfig@1.0.0-rc.3 - - @modern-js/utils@1.0.0-rc.3 diff --git a/packages/cli/plugin-lint/LICENSE b/packages/cli/plugin-lint/LICENSE deleted file mode 100644 index 39e3c5971226..000000000000 --- a/packages/cli/plugin-lint/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-present Modern.js - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/packages/cli/plugin-lint/README.md b/packages/cli/plugin-lint/README.md deleted file mode 100644 index f3d407c43230..000000000000 --- a/packages/cli/plugin-lint/README.md +++ /dev/null @@ -1,26 +0,0 @@ -

- Modern.js Logo -

- -

Modern.js

- -

- A Progressive React Framework for modern web development. -

- -## Getting Started - -Please follow [Quick Start](https://modernjs.dev/en/guides/get-started/quick-start) to get started with Modern.js. - -## Documentation - -- [English Documentation](https://modernjs.dev/en/) -- [中文文档](https://modernjs.dev) - -## Contributing - -Please read the [Contributing Guide](https://github.com/web-infra-dev/modern.js/blob/main/CONTRIBUTING.md). - -## License - -Modern.js is [MIT licensed](https://github.com/web-infra-dev/modern.js/blob/main/LICENSE). diff --git a/packages/cli/plugin-lint/jest.config.js b/packages/cli/plugin-lint/jest.config.js deleted file mode 100644 index 5fcd3e5b28bd..000000000000 --- a/packages/cli/plugin-lint/jest.config.js +++ /dev/null @@ -1,7 +0,0 @@ -const sharedConfig = require('@scripts/jest-config'); - -/** @type {import('@jest/types').Config.InitialOptions} */ -module.exports = { - ...sharedConfig, - rootDir: __dirname, -}; diff --git a/packages/cli/plugin-lint/modern.config.js b/packages/cli/plugin-lint/modern.config.js deleted file mode 100644 index 5c0331ad0c29..000000000000 --- a/packages/cli/plugin-lint/modern.config.js +++ /dev/null @@ -1,5 +0,0 @@ -const { universalBuildConfig } = require('@scripts/build'); - -module.exports = { - buildConfig: universalBuildConfig, -}; diff --git a/packages/cli/plugin-lint/package.json b/packages/cli/plugin-lint/package.json deleted file mode 100644 index ab4674b77316..000000000000 --- a/packages/cli/plugin-lint/package.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "name": "@modern-js/plugin-lint", - "description": "A Progressive React Framework for modern web development.", - "homepage": "https://modernjs.dev", - "bugs": "https://github.com/web-infra-dev/modern.js/issues", - "repository": { - "type": "git", - "url": "https://github.com/web-infra-dev/modern.js", - "directory": "packages/cli/plugin-lint" - }, - "license": "MIT", - "keywords": [ - "framework", - "modern", - "modern.js" - ], - "version": "2.60.0", - "jsnext:source": "./src/index.ts", - "types": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "exports": { - ".": { - "node": { - "jsnext:source": "./src/index.ts", - "import": "./dist/esm-node/index.js", - "require": "./dist/cjs/index.js" - }, - "default": "./dist/esm/index.js" - }, - "./cli": { - "jsnext:source": "./src/index.ts", - "default": "./dist/cjs/index.js" - } - }, - "scripts": { - "prepublishOnly": "only-allow-pnpm", - "new": "modern-lib new", - "build": "modern-lib build", - "test": "jest --passWithNoTests" - }, - "dependencies": { - "@modern-js/tsconfig": "workspace:*", - "@modern-js/utils": "workspace:*", - "@swc/helpers": "0.5.13", - "cross-spawn": "^7.0.3", - "husky": "^8.0.0" - }, - "devDependencies": { - "@modern-js/core": "workspace:*", - "@scripts/build": "workspace:*", - "@scripts/jest-config": "workspace:*", - "@types/cross-spawn": "^6.0.2", - "@types/jest": "^29", - "@types/node": "^14", - "jest": "^29", - "typescript": "^5" - }, - "peerDependencies": { - "eslint": "^8.28.0" - }, - "peerDependenciesMeta": { - "eslint": { - "optional": true - } - }, - "sideEffects": false, - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public", - "provenance": true, - "types": "./dist/types/index.d.ts" - } -} diff --git a/packages/cli/plugin-lint/src/index.ts b/packages/cli/plugin-lint/src/index.ts deleted file mode 100644 index d32e7bb4749d..000000000000 --- a/packages/cli/plugin-lint/src/index.ts +++ /dev/null @@ -1,34 +0,0 @@ -import type { CliPlugin } from '@modern-js/core'; -import { logger } from '@modern-js/utils/logger'; -import lint from './lint'; - -export const lintPlugin = (): CliPlugin => ({ - name: '@modern-js/plugin-lint', - setup: () => { - return { - commands({ program }) { - program - .command('lint [...files]') - .allowUnknownOption() - .description('Run ESLint and automatically fix problems') - .option('--no-fix', 'disable auto fix source file') - .action(() => { - lint(); - }); - - // @deprecated - // Can be removed in the next major version - program - .command('pre-commit') - .description('Deprecated') - .action(() => { - logger.warn( - 'The "modern pre-commit" command is deprecated, please use "lint-staged" instead.', - ); - }); - }, - }; - }, -}); - -export default lintPlugin; diff --git a/packages/cli/plugin-lint/src/lint.ts b/packages/cli/plugin-lint/src/lint.ts deleted file mode 100644 index 594d29d99366..000000000000 --- a/packages/cli/plugin-lint/src/lint.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { join } from 'path'; -import { chalk, logger, minimist } from '@modern-js/utils'; -import spawn from 'cross-spawn'; - -const ensureOption = ( - args: minimist.ParsedArgs, - name: string, - val: string[] | boolean | string, -) => { - if (!args.hasOwnProperty(name) || args[name].length < 1) { - if (Array.isArray(val)) { - return [`--${name}`, val.join(',')]; - } - if (typeof val === 'boolean') { - return val ? [`--${name}`] : [`--no-${name}`]; - } else { - return [`--${name}`, val]; - } - } - return []; -}; - -export default () => { - const rawArgs = process.argv.slice(3); - const args = minimist(rawArgs); - const exts = ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.mjsx', '.cjs', '.cjsx']; - - rawArgs.push(...ensureOption(args, 'ext', exts)); - rawArgs.push(...ensureOption(args, 'fix', true)); - - // default ignore pattern - ['node_modules/', 'dist/', 'output/', 'output_resource/'].forEach(pattern => { - rawArgs.push(...ensureOption(args, 'ignore-pattern', pattern)); - }); - - if (args?._?.length) { - rawArgs.push(...args._); - } else { - rawArgs.push('./'); - } - - const eslintScript = join( - require.resolve('eslint/package.json'), - '../bin/eslint.js', - ); - - logger.info(chalk.bold('Lint...')); - logger.info( - chalk.bold( - `NODE_OPTIONS="--max-old-space-size=8192" ${eslintScript} ${rawArgs.join( - ' ', - )}`, - ), - ); - - const childprocess = spawn(eslintScript, rawArgs, { - stdio: 'inherit', - }); - - childprocess.on('exit', code => process.exit(code || 0)); -}; diff --git a/packages/cli/plugin-lint/tests/index.test.ts b/packages/cli/plugin-lint/tests/index.test.ts deleted file mode 100644 index 7d28a66dd8dd..000000000000 --- a/packages/cli/plugin-lint/tests/index.test.ts +++ /dev/null @@ -1,7 +0,0 @@ -import plugin from '../src'; - -describe('plugin-lint', () => { - it('default', () => { - expect(plugin).toBeDefined(); - }); -}); diff --git a/packages/cli/plugin-lint/tests/tsconfig.json b/packages/cli/plugin-lint/tests/tsconfig.json deleted file mode 100644 index d168acca56f9..000000000000 --- a/packages/cli/plugin-lint/tests/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "declaration": true, - "jsx": "preserve", - "baseUrl": "./", - "outDir": "./out", - "emitDeclarationOnly": true, - "isolatedModules": true, - "paths": {}, - "types": ["node", "jest"] - } -} diff --git a/packages/cli/plugin-lint/tsconfig.json b/packages/cli/plugin-lint/tsconfig.json deleted file mode 100644 index 32a7aee84b06..000000000000 --- a/packages/cli/plugin-lint/tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "@modern-js/tsconfig/base", - "compilerOptions": { - "declaration": false, - "jsx": "preserve", - "baseUrl": "./", - "paths": {} - }, - "include": ["src"] -} diff --git a/packages/devtools/client/package.json b/packages/devtools/client/package.json index 74f2d15179d8..b16b862ca4d3 100644 --- a/packages/devtools/client/package.json +++ b/packages/devtools/client/package.json @@ -7,7 +7,6 @@ "start": "modern start", "serve": "modern serve", "new": "modern new", - "lint": "modern lint", "upgrade": "modern upgrade", "test": "jest" }, diff --git a/packages/document/main-doc/docs/en/apis/app/commands.mdx b/packages/document/main-doc/docs/en/apis/app/commands.mdx index 93f3869be8ff..b584df032e91 100644 --- a/packages/document/main-doc/docs/en/apis/app/commands.mdx +++ b/packages/document/main-doc/docs/en/apis/app/commands.mdx @@ -249,19 +249,3 @@ Inspect config succeed, open following files to view the content: - Webpack Config (web): /root/my-project/dist/webpack.config.web.mjs - Webpack Config (node): /root/my-project/dist/webpack.config.node.mjs ``` - -## modern lint - -Run ESLint to check the syntax of the code. - -```bash -Usage: modern lint [options] [...files] - -Options: - --no-fix disable auto fix source file - -h, --help display help for command -``` - -Normally, only the part of the code modified by this commit needs to be checked by `lint-staged` during the `git commit` phase. - -- `--no-fix` close auto fix by lint. diff --git a/packages/document/main-doc/docs/zh/apis/app/commands.mdx b/packages/document/main-doc/docs/zh/apis/app/commands.mdx index f835b1370c5c..9befc8467654 100644 --- a/packages/document/main-doc/docs/zh/apis/app/commands.mdx +++ b/packages/document/main-doc/docs/zh/apis/app/commands.mdx @@ -249,21 +249,3 @@ Inspect config succeed, open following files to view the content: - Webpack Config (web): /root/my-project/dist/webpack.config.web.mjs - Webpack Config (node): /root/my-project/dist/webpack.config.node.mjs ``` - -## modern lint - -运行 `ESLint` 进行代码语法检查。 - -```bash -Usage: modern lint [options] [...files] - -lint and fix source files - -Options: - --no-fix disable auto fix source file - -h, --help display help for command -``` - -通常情况下,我们只需要在 `git commit` 阶段通过 `lint-staged` 检查本次提交修改的部分代码。 - -- 设置 `--no-fix` 参数后可以关闭自动修复 lint 错误代码的能力。 diff --git a/packages/document/module-doc/docs/en/guide/basic/command-preview.md b/packages/document/module-doc/docs/en/guide/basic/command-preview.md index 4bfce8e4eb26..6849e4a30a8b 100644 --- a/packages/document/module-doc/docs/en/guide/basic/command-preview.md +++ b/packages/document/module-doc/docs/en/guide/basic/command-preview.md @@ -69,22 +69,6 @@ The Modern.js Module provides the ability to use debugging tools, which can be s The officially supported debugging tool is [Rspress](https://rspress.dev/), so you can run `modern dev` or `modern dev doc` to execute it after you run `modern new` to enable it. -## `modern lint` - -```bash -Usage: modern lint [options] [. .files] - -lint and fix source files - -Options: - --no-fix disable auto fix source file - -h, --help display help for command -``` - -Run [ESLint](https://eslint.org/) to check the syntax of the code. Usually, we only need to check the part of the code that was changed in this commit with [lint-staged](https://github.com/okonet/lint-staged) during the `-git commit` phase. - -- The `-no-fix` argument turns off the ability to automatically fix lint error code. - ## `modern change` ```bash diff --git a/packages/document/module-doc/docs/en/guide/intro/welcome.md b/packages/document/module-doc/docs/en/guide/intro/welcome.md index 4e9dea0bf1bd..3e27bdf83005 100644 --- a/packages/document/module-doc/docs/en/guide/intro/welcome.md +++ b/packages/document/module-doc/docs/en/guide/intro/welcome.md @@ -9,7 +9,6 @@ Modern.js Module is a modules engineering solution for Modern.js, as well as a c If you are planning to develop a project of the npm package type, then you came to the right place! Modern.js provides a professional Modern.js Module. It gives you: - **Simple project initialization**: simply execute the `npx @modern-js/create project-dir` command, followed by a few interactive questions, to create a complete module type project. The created project also supports the choice of two package managers, [**pnpm**](https://pnpm.io/) and [**Yarn**](https://classic.yarnpkg.com/). -- **Code formatting**: In Modern.js Module, you can execute `modern lint` to format the code. The initialized module project includes the [ESLint](https://eslint.org/docs/latest/user-guide/core-concepts#what-is-eslint) ruleset for Modern.js for most scenarios. - **Comprehensive build capabilities and faster builds**: Modern.js Module provides high-performance build capabilities based on [esbuild](https://esbuild.github.io/getting-started/) and [SWC](https://swc.rs/), and provides rich configurations for different build scenarios. - **Storybook debugging tools**: Modern.js Module provides [Storybook](https://storybook.js.org/) debugging tools for debugging module projects. After installing the Storybook plugin for Modern.js Module, you can start it with the `storybook dev` command. You can use Storybook not only for debugging components, but also for other types of modules. - **Versioning based on Changesets**: When you need to record changes to a project, you can use the `modern change` command to generate a Markdown file containing the changes; when you need to upgrade a project, you can use the `modern bump` command to analyze and upgrade the version through the Markdown file; when you need to release a project, you can use the `modern release` command to release the project; Modern.js Module implements these commands based on [Changesets](https://github.com/changesets/changesets). diff --git a/packages/document/module-doc/docs/zh/guide/basic/command-preview.md b/packages/document/module-doc/docs/zh/guide/basic/command-preview.md index 11a3eb06bbf4..22d7823e9b35 100644 --- a/packages/document/module-doc/docs/zh/guide/basic/command-preview.md +++ b/packages/document/module-doc/docs/zh/guide/basic/command-preview.md @@ -69,22 +69,6 @@ Modern.js Module 提供了使用调试工具的能力,可以通过 `modern dev 目前官方支持的调试工具有 [Rspress](https://rspress.dev/),因此在你执行 `modern new` 命令开启它后,就可以执行 `modern dev` 或者 `modern dev doc` 执行它。 -## `modern lint` - -```bash -Usage: modern lint [options] [...files] - -lint and fix source files - -Options: - --no-fix disable auto fix source file - -h, --help display help for command -``` - -运行 [ESLint](https://eslint.org/) 检查代码语法情况。通常情况下,我们只需要在 `git commit` 阶段通过 [lint-staged](https://github.com/okonet/lint-staged) 检查本次提交修改的部分代码。 - -- `--no-fix` 参数设置后可以关闭自动修复 lint 错误代码的能力。 - ## `modern change` ```bash diff --git a/packages/document/module-doc/docs/zh/guide/intro/welcome.md b/packages/document/module-doc/docs/zh/guide/intro/welcome.md index 2ab4eb0f354a..e5d7b90f68a8 100644 --- a/packages/document/module-doc/docs/zh/guide/intro/welcome.md +++ b/packages/document/module-doc/docs/zh/guide/intro/welcome.md @@ -9,7 +9,6 @@ Modern.js Module 是 Modern.js 的模块工程解决方案,同时也是核心 如果你正打算开发一个 npm 包类型的项目,那么你就来对地方了!Modern.js 提供了专业的模块工程解决方案。它带来了: - **简单的项目初始化**:仅需执行 `npx @modern-js/create project-dir` 命令,然后进行几个交互问题,就可以创建一个完整的模块类型项目。创建的项目还支持选择 [**pnpm**](https://pnpm.io/)、[**Yarn**](https://classic.yarnpkg.com/) 两种包管理器。 -- **代码格式化**:在模块工程项目中,你可以执行 `modern lint` 来对代码进行格式化。同时初始化的模块工程项目里包含了 Modern.js 的 [ESLint](https://eslint.org/docs/latest/user-guide/core-concepts#what-is-eslint) 规则集,可以满足大部分场景下的需求。 - **全面的构建能力和更快的构建速度**:Modern.js Module 基于 [esbuild](https://esbuild.github.io/getting-started/) 和 [SWC](https://swc.rs/) 提供了高性能的构建能力,并且为不同构建模块的场景提供了丰富的配置。 - **Storybook 调试工具**:Modern.js Module 为调试模块项目提供了 [Storybook](https://storybook.js.org/) 调试工具。在安装了 Modern.js Module 的 Storybook 插件后,你可以使用 `storybook dev` 命令来启动它。你不仅可以使用 Storybook 对组件进行调试,也可以使用在其他类型的模块上。 - **基于 Changesets 实现的版本管理**:当需要对项目记录变更内容的时候,可以使用 `modern change` 命令生成包含变更内容的 Markdown 文件;当需要对项目进行版本升级的时候,可以使用 `modern bump` 命令通过 Markdown 文件分析并升级版本;当需要发布项目的时候,可以使用 `modern release` 命令对项目进行发布。Modern.js Module 基于 [Changesets](https://github.com/changesets/changesets) 实现了这些命令。 diff --git a/packages/generator/generator-plugin/package.json b/packages/generator/generator-plugin/package.json index 2e84fe352e78..8908efc77d43 100644 --- a/packages/generator/generator-plugin/package.json +++ b/packages/generator/generator-plugin/package.json @@ -33,7 +33,6 @@ "handlebars": "^4.7.7" }, "devDependencies": { - "@modern-js/plugin-lint": "workspace:*", "@scripts/build": "workspace:*", "@scripts/jest-config": "workspace:*", "@types/ejs": "^3.1.2", diff --git a/packages/server/server/tests/fixtures/pure/package.json b/packages/server/server/tests/fixtures/pure/package.json index 3799e0cded31..793b7c986dad 100644 --- a/packages/server/server/tests/fixtures/pure/package.json +++ b/packages/server/server/tests/fixtures/pure/package.json @@ -6,7 +6,6 @@ "build": "modern build", "serve": "modern serve", "new": "modern new", - "lint": "modern lint", "deploy": "modern deploy" }, "dependencies": {}, diff --git a/packages/solutions/app-tools/package.json b/packages/solutions/app-tools/package.json index 690dae4fcdad..e76e849803ed 100644 --- a/packages/solutions/app-tools/package.json +++ b/packages/solutions/app-tools/package.json @@ -89,7 +89,6 @@ "@modern-js/plugin": "workspace:*", "@modern-js/plugin-data-loader": "workspace:*", "@modern-js/plugin-i18n": "workspace:*", - "@modern-js/plugin-lint": "workspace:*", "@modern-js/prod-server": "workspace:*", "@modern-js/rsbuild-plugin-esbuild": "workspace:*", "@modern-js/server": "workspace:*", diff --git a/packages/solutions/app-tools/src/index.ts b/packages/solutions/app-tools/src/index.ts index 406ea70a2e89..939ce8913a57 100644 --- a/packages/solutions/app-tools/src/index.ts +++ b/packages/solutions/app-tools/src/index.ts @@ -1,9 +1,9 @@ import path from 'path'; import type { CliPlugin } from '@modern-js/core'; import { getLocaleLanguage } from '@modern-js/plugin-i18n/language-detector'; -import { lintPlugin } from '@modern-js/plugin-lint'; import { cleanRequireCache, + deprecatedCommands, emptyDir, getArgv, getCommand, @@ -84,7 +84,6 @@ export const appTools = ( : 'webpack', }), serverBuildPlugin(), - lintPlugin(), deployPlugin(), ], @@ -120,6 +119,7 @@ export const appTools = ( newCommand(program, locale); inspectCommand(program, api); upgradeCommand(program); + deprecatedCommands(program); }, async prepare() { diff --git a/packages/solutions/module-tools/package.json b/packages/solutions/module-tools/package.json index e7f2a27a38da..35f889ff3f25 100644 --- a/packages/solutions/module-tools/package.json +++ b/packages/solutions/module-tools/package.json @@ -70,7 +70,6 @@ "@modern-js/plugin": "workspace:*", "@modern-js/plugin-changeset": "workspace:*", "@modern-js/plugin-i18n": "workspace:*", - "@modern-js/plugin-lint": "workspace:*", "@modern-js/swc-plugins": "0.6.11", "@modern-js/types": "workspace:*", "@modern-js/utils": "workspace:*", diff --git a/packages/solutions/module-tools/src/cli.ts b/packages/solutions/module-tools/src/cli.ts index cff80acddbd5..00a5ababef84 100644 --- a/packages/solutions/module-tools/src/cli.ts +++ b/packages/solutions/module-tools/src/cli.ts @@ -1,5 +1,5 @@ import type { CliPlugin } from '@modern-js/core'; -import { fs, dotenv } from '@modern-js/utils'; +import { fs, deprecatedCommands, dotenv } from '@modern-js/utils'; import { buildCommand, devCommand, @@ -53,6 +53,7 @@ const setup: CliPlugin['setup'] = async api => { await devCommand(program, api); await newCommand(program); await upgradeCommand(program); + deprecatedCommands(program); }, }; }; diff --git a/packages/solutions/module-tools/src/plugins.ts b/packages/solutions/module-tools/src/plugins.ts index 7f2a3830122d..811ad2cac2fc 100644 --- a/packages/solutions/module-tools/src/plugins.ts +++ b/packages/solutions/module-tools/src/plugins.ts @@ -1,6 +1,5 @@ import type { CliPlugin } from '@modern-js/core'; import { changesetPlugin } from '@modern-js/plugin-changeset'; -import { lintPlugin } from '@modern-js/plugin-lint'; export const getPlugins = (runningCmd: string) => { let plugins: CliPlugin[] = []; @@ -9,9 +8,6 @@ export const getPlugins = (runningCmd: string) => { case 'build': plugins = []; break; - case 'lint': - plugins = [lintPlugin()]; - break; case 'change': case 'release': case 'bump': diff --git a/packages/solutions/module-tools/tests/plugins.test.ts b/packages/solutions/module-tools/tests/plugins.test.ts index 660c974d53bf..e5e9b30e5405 100644 --- a/packages/solutions/module-tools/tests/plugins.test.ts +++ b/packages/solutions/module-tools/tests/plugins.test.ts @@ -2,7 +2,6 @@ import { getPlugins } from '../src/plugins'; describe('plugin.ts', () => { it('getPlugins', () => { - expect(getPlugins('lint')[0].name).toBe('@modern-js/plugin-lint'); expect(getPlugins('change')[0].name).toBe('@modern-js/plugin-changeset'); expect(getPlugins('release')[0].name).toBe('@modern-js/plugin-changeset'); expect(getPlugins('bump')[0].name).toBe('@modern-js/plugin-changeset'); diff --git a/packages/solutions/monorepo-tools/package.json b/packages/solutions/monorepo-tools/package.json index 0515b3742bc6..75590bcc184f 100644 --- a/packages/solutions/monorepo-tools/package.json +++ b/packages/solutions/monorepo-tools/package.json @@ -47,7 +47,6 @@ "@modern-js/plugin": "workspace:*", "@modern-js/plugin-changeset": "workspace:*", "@modern-js/plugin-i18n": "workspace:*", - "@modern-js/plugin-lint": "workspace:*", "@modern-js/utils": "workspace:*", "@rushstack/node-core-library": "^3.39.1", "@rushstack/package-deps-hash": "^3.0.54", diff --git a/packages/solutions/monorepo-tools/src/index.ts b/packages/solutions/monorepo-tools/src/index.ts index 018a87e0ab46..616c3727a17b 100644 --- a/packages/solutions/monorepo-tools/src/index.ts +++ b/packages/solutions/monorepo-tools/src/index.ts @@ -1,7 +1,7 @@ import type { CliPlugin } from '@modern-js/core'; import { changesetPlugin } from '@modern-js/plugin-changeset'; import { getLocaleLanguage } from '@modern-js/plugin-i18n/language-detector'; -import { lintPlugin } from '@modern-js/plugin-lint'; +import { deprecatedCommands } from '@modern-js/utils'; import { clearCli, deployCli, newCli, upgradeCli } from './cli'; import { hooks } from './hooks'; import { i18n } from './locale'; @@ -11,7 +11,7 @@ export * from './projects/getProjects'; export const monorepoTools = (): CliPlugin => ({ name: '@modern-js/monorepo-tools', - usePlugins: [changesetPlugin(), lintPlugin()], + usePlugins: [changesetPlugin()], registerHook: hooks, setup: api => { const appContext = api.useAppContext(); @@ -29,6 +29,7 @@ export const monorepoTools = (): CliPlugin => ({ deployCli(program, api); newCli(program); upgradeCli(program); + deprecatedCommands(program); }, }; }, diff --git a/packages/toolkit/utils/src/cli/commands.ts b/packages/toolkit/utils/src/cli/commands.ts index 9036c631c080..9d548d7d3ead 100644 --- a/packages/toolkit/utils/src/cli/commands.ts +++ b/packages/toolkit/utils/src/cli/commands.ts @@ -1,3 +1,6 @@ +import type { Command } from '../../compiled/commander'; +import { logger } from './logger'; + export const getFullArgv = () => { return process.env.MODERN_ARGV?.split(' ') || process.argv; }; @@ -16,3 +19,33 @@ export const isDevCommand = () => { const command = getCommand(); return command === 'dev' || command === 'start'; }; + +// @deprecated +// Can be removed in the next major version +export const deprecatedCommands = ( + program: Command & { commandsMap?: Map }, +) => { + const lintCommand = program.commandsMap?.get('lint'); + if (!lintCommand) { + program + .command('lint [...files]') + .allowUnknownOption() + .description('Deprecated') + .action(() => { + logger.warn( + 'The "modern lint" command is deprecated, please use "eslint" or "biome" instead.', + ); + }); + } + const preCommitCommand = program.commandsMap?.get('pre-commit'); + if (!preCommitCommand) { + program + .command('pre-commit') + .description('Deprecated') + .action(() => { + logger.warn( + 'The "modern pre-commit" command is deprecated, please use "lint-staged" instead.', + ); + }); + } +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 09bbe488e837..b49d43838923 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -400,52 +400,6 @@ importers: specifier: ^5 version: 5.3.3 - packages/cli/plugin-lint: - dependencies: - '@modern-js/tsconfig': - specifier: workspace:* - version: link:../../tsconfig - '@modern-js/utils': - specifier: workspace:* - version: link:../../toolkit/utils - '@swc/helpers': - specifier: 0.5.13 - version: 0.5.13 - cross-spawn: - specifier: ^7.0.3 - version: 7.0.3 - eslint: - specifier: ^8.28.0 - version: 8.28.0 - husky: - specifier: ^8.0.0 - version: 8.0.1 - devDependencies: - '@modern-js/core': - specifier: workspace:* - version: link:../core - '@scripts/build': - specifier: workspace:* - version: link:../../../scripts/build - '@scripts/jest-config': - specifier: workspace:* - version: link:../../../scripts/jest-config - '@types/cross-spawn': - specifier: ^6.0.2 - version: 6.0.2 - '@types/jest': - specifier: ^29 - version: 29.2.6 - '@types/node': - specifier: ^14 - version: 14.18.35 - jest: - specifier: ^29 - version: 29.5.0(@types/node@14.18.35)(ts-node@10.9.2) - typescript: - specifier: ^5 - version: 5.3.3 - packages/cli/plugin-proxy: dependencies: '@modern-js/utils': @@ -1352,9 +1306,6 @@ importers: specifier: ^4.7.7 version: 4.7.7 devDependencies: - '@modern-js/plugin-lint': - specifier: workspace:* - version: link:../../cli/plugin-lint '@scripts/build': specifier: workspace:* version: link:../../../scripts/build @@ -3812,9 +3763,6 @@ importers: '@modern-js/plugin-i18n': specifier: workspace:* version: link:../../cli/plugin-i18n - '@modern-js/plugin-lint': - specifier: workspace:* - version: link:../../cli/plugin-lint '@modern-js/prod-server': specifier: workspace:* version: link:../../server/prod-server @@ -3933,9 +3881,6 @@ importers: '@modern-js/plugin-i18n': specifier: workspace:* version: link:../../cli/plugin-i18n - '@modern-js/plugin-lint': - specifier: workspace:* - version: link:../../cli/plugin-lint '@modern-js/swc-plugins': specifier: 0.6.11 version: 0.6.11(@swc/helpers@0.5.13) @@ -4027,9 +3972,6 @@ importers: '@modern-js/plugin-i18n': specifier: workspace:* version: link:../../cli/plugin-i18n - '@modern-js/plugin-lint': - specifier: workspace:* - version: link:../../cli/plugin-lint '@modern-js/utils': specifier: workspace:* version: link:../../toolkit/utils @@ -10590,7 +10532,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.25.2 - '@babel/helper-plugin-utils': 7.24.8 + '@babel/helper-plugin-utils': 7.24.7 regenerator-transform: 0.15.2 /@babel/plugin-transform-reserved-words@7.24.7(@babel/core@7.24.7): @@ -12492,23 +12434,6 @@ packages: dev: false optional: true - /@eslint/eslintrc@1.3.3: - resolution: {integrity: sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - ajv: 6.12.6 - debug: 4.3.4(supports-color@9.3.1) - espree: 9.4.1 - globals: 13.17.0 - ignore: 5.3.0 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - dev: false - /@fal-works/esbuild-plugin-global-externals@2.1.2: resolution: {integrity: sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==} dev: false @@ -12746,26 +12671,6 @@ packages: engines: {node: '>=18.14.1'} dev: false - /@humanwhocodes/config-array@0.11.7: - resolution: {integrity: sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==} - engines: {node: '>=10.10.0'} - dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4(supports-color@9.3.1) - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - dev: false - - /@humanwhocodes/module-importer@1.0.1: - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} - dev: false - - /@humanwhocodes/object-schema@1.2.1: - resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} - dev: false - /@isaacs/cliui@8.0.2: resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -18174,6 +18079,7 @@ packages: resolution: {integrity: sha512-KuwNhp3eza+Rhu8IFI5HUXRP0LIhqH5cAjubUvGXXthh4YYBuP2ntwEX+Cz8GJoZUHlKo247wPWOfA9LYEq4cw==} dependencies: '@types/node': 18.11.17 + dev: false /@types/debug@0.0.30: resolution: {integrity: sha512-orGL5LXERPYsLov6CWs3Fh6203+dXzJkR7OnddIr2514Hsecwc8xRpzCapshBbKFImCsvS/mk6+FWiN5LyZJAQ==} @@ -19272,14 +19178,6 @@ packages: acorn: 7.4.1 dev: false - /acorn-jsx@5.3.2(acorn@8.11.2): - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 8.11.2 - dev: false - /acorn-jsx@5.3.2(acorn@8.12.1): resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -19320,6 +19218,7 @@ packages: resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} engines: {node: '>=0.4.0'} hasBin: true + dev: true /acorn@8.11.3: resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} @@ -22987,6 +22886,7 @@ packages: /escape-string-regexp@4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} + dev: true /escape-string-regexp@5.0.0: resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} @@ -23011,103 +22911,11 @@ packages: esrecurse: 4.3.0 estraverse: 4.3.0 - /eslint-scope@7.1.1: - resolution: {integrity: sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - dev: false - - /eslint-utils@3.0.0(eslint@8.28.0): - resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} - engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} - peerDependencies: - eslint: '>=5' - dependencies: - eslint: 8.28.0 - eslint-visitor-keys: 2.1.0 - dev: false - - /eslint-visitor-keys@2.1.0: - resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} - engines: {node: '>=10'} - dev: false - - /eslint-visitor-keys@3.3.0: - resolution: {integrity: sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: false - - /eslint@8.28.0: - resolution: {integrity: sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - hasBin: true - dependencies: - '@eslint/eslintrc': 1.3.3 - '@humanwhocodes/config-array': 0.11.7 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.3 - debug: 4.3.4(supports-color@9.3.1) - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.1.1 - eslint-utils: 3.0.0(eslint@8.28.0) - eslint-visitor-keys: 3.3.0 - espree: 9.4.1 - esquery: 1.4.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.17.0 - grapheme-splitter: 1.0.4 - ignore: 5.3.0 - import-fresh: 3.3.0 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-sdsl: 4.2.0 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.1 - regexpp: 3.2.0 - strip-ansi: 6.0.1 - strip-json-comments: 3.1.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - dev: false - - /espree@9.4.1: - resolution: {integrity: sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.11.2 - acorn-jsx: 5.3.2(acorn@8.11.2) - eslint-visitor-keys: 3.3.0 - dev: false - /esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} hasBin: true - /esquery@1.4.0: - resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} - engines: {node: '>=0.10'} - dependencies: - estraverse: 5.3.0 - dev: false - /esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} @@ -23434,10 +23242,6 @@ packages: /fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - /fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - dev: false - /fast-loops@1.1.3: resolution: {integrity: sha512-8EZzEP0eKkEEVX+drtd9mtuQ+/QrlfW/5MlwcwK5Nds6EkZ/tRzEexkzUY2mIssnAyVLT+TKHuRXmFNNXYUd6g==} dev: true @@ -23533,13 +23337,6 @@ packages: dependencies: escape-string-regexp: 1.0.5 - /file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} - dependencies: - flat-cache: 3.0.4 - dev: false - /file-system-cache@2.3.0: resolution: {integrity: sha512-l4DMNdsIPsVnKrgEXbJwDJsA5mB8rGwHYERMgqQx/xAUtChPJMre1bXBzDEqqVbWv9AIbFezXMxeEkZDSrXUOQ==} dependencies: @@ -24237,13 +24034,6 @@ packages: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} - /globals@13.17.0: - resolution: {integrity: sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.20.2 - dev: false - /globalthis@1.0.3: resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} engines: {node: '>= 0.4'} @@ -24925,6 +24715,7 @@ packages: resolution: {integrity: sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==} engines: {node: '>=14'} hasBin: true + dev: true /hyphenate-style-name@1.0.4: resolution: {integrity: sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==} @@ -26362,10 +26153,6 @@ packages: deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. dev: false - /js-sdsl@4.2.0: - resolution: {integrity: sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==} - dev: false - /js-stringify@1.0.2: resolution: {integrity: sha512-rtS5ATOo2Q5k1G+DADISilDA6lv79zIiwFd6CcjuIxGKLFm5C+RLImRscVap9k55i+MOZwgliw+NejvkLuGD5g==} dev: false @@ -26489,10 +26276,6 @@ packages: /json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - /json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - dev: false - /json-stream-stringify@3.0.1: resolution: {integrity: sha512-vuxs3G1ocFDiAQ/SX0okcZbtqXwgj1g71qE9+vrjJ2EkjKQlEFDAcUNRxRU8O+GekV4v5cM2qXP0Wyt/EMDBiQ==} @@ -26695,14 +26478,6 @@ packages: resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} engines: {node: '>=6'} - /levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - type-check: 0.4.0 - dev: false - /lilconfig@2.1.0: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} engines: {node: '>=10'} @@ -28372,18 +28147,6 @@ packages: hasBin: true dev: true - /optionator@0.9.1: - resolution: {integrity: sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==} - engines: {node: '>= 0.8.0'} - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.4.1 - prelude-ls: 1.2.1 - type-check: 0.4.0 - word-wrap: 1.2.3 - dev: false - /ora@5.4.1: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} engines: {node: '>=10'} @@ -29727,11 +29490,6 @@ packages: which-pm: 2.0.0 dev: false - /prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} - dev: false - /prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -32343,11 +32101,6 @@ packages: functions-have-names: 1.2.3 dev: false - /regexpp@3.2.0: - resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} - engines: {node: '>=8'} - dev: false - /regexpu-core@5.3.2: resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} engines: {node: '>=4'} @@ -34283,10 +34036,6 @@ packages: engines: {node: '>=0.10'} dev: true - /text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - dev: false - /thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} @@ -34848,13 +34597,6 @@ packages: tailwindcss: 3.3.3(ts-node@10.9.2) dev: false - /type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} - dependencies: - prelude-ls: 1.2.1 - dev: false - /type-detect@4.0.8: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} @@ -34874,11 +34616,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - dev: false - /type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} @@ -36088,11 +35825,6 @@ packages: babel-walk: 3.0.0-canary-5 dev: false - /word-wrap@1.2.3: - resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} - engines: {node: '>=0.10.0'} - dev: false - /wordwrap@0.0.2: resolution: {integrity: sha512-xSBsCeh+g+dinoBv3GAOWM4LcVVO68wLXRanibtBSdUvkGWQRGeE9P7IwU9EmDDi4jA6L44lz15CGMwdw9N5+Q==} engines: {node: '>=0.4.0'} diff --git a/tests/e2e/garfish/fixtures/dashboard-router-v6/package.json b/tests/e2e/garfish/fixtures/dashboard-router-v6/package.json index e6d8317303c9..57ead5284b94 100644 --- a/tests/e2e/garfish/fixtures/dashboard-router-v6/package.json +++ b/tests/e2e/garfish/fixtures/dashboard-router-v6/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "start": "modern start", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/e2e/garfish/fixtures/dashboard/package.json b/tests/e2e/garfish/fixtures/dashboard/package.json index 5eb5512f9f90..86ffef110798 100644 --- a/tests/e2e/garfish/fixtures/dashboard/package.json +++ b/tests/e2e/garfish/fixtures/dashboard/package.json @@ -6,8 +6,7 @@ "dev": "DEBUG=modern-js:plugin-garfish modern dev", "build": "DEBUG=modern-js:plugin-garfish modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/e2e/garfish/fixtures/main-router-v6/package.json b/tests/e2e/garfish/fixtures/main-router-v6/package.json index a51bcc7e7d00..ead969505779 100644 --- a/tests/e2e/garfish/fixtures/main-router-v6/package.json +++ b/tests/e2e/garfish/fixtures/main-router-v6/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "start": "modern start", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/e2e/garfish/fixtures/main/package.json b/tests/e2e/garfish/fixtures/main/package.json index 76460642b391..b0028fc9dbfd 100644 --- a/tests/e2e/garfish/fixtures/main/package.json +++ b/tests/e2e/garfish/fixtures/main/package.json @@ -6,8 +6,7 @@ "dev": "DEBUG=modern-js:plugin-garfish modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/e2e/garfish/fixtures/table/package.json b/tests/e2e/garfish/fixtures/table/package.json index 835d96e6c80c..eda08210bf66 100644 --- a/tests/e2e/garfish/fixtures/table/package.json +++ b/tests/e2e/garfish/fixtures/table/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/api-service-koa/package.json b/tests/integration/api-service-koa/package.json index e3066d9e14b3..3eddda315aa9 100644 --- a/tests/integration/api-service-koa/package.json +++ b/tests/integration/api-service-koa/package.json @@ -6,9 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint", - "test": "modern test" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/app-document/package.json b/tests/integration/app-document/package.json index 9a23d7bc1b9c..362af0a1c815 100644 --- a/tests/integration/app-document/package.json +++ b/tests/integration/app-document/package.json @@ -7,8 +7,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/async-entry/package.json b/tests/integration/async-entry/package.json index 4f5446c4c6d2..b6d38509de26 100644 --- a/tests/integration/async-entry/package.json +++ b/tests/integration/async-entry/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/basic-app/package.json b/tests/integration/basic-app/package.json index 50cc35e7e322..106ef8ee059a 100644 --- a/tests/integration/basic-app/package.json +++ b/tests/integration/basic-app/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/bff-express/package.json b/tests/integration/bff-express/package.json index cb80d1ae5851..3c45f8c14be9 100644 --- a/tests/integration/bff-express/package.json +++ b/tests/integration/bff-express/package.json @@ -8,8 +8,7 @@ "build": "modern build", "serve": "modern serve", "start:bff": "modern serve --api-only", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/bff-koa/package.json b/tests/integration/bff-koa/package.json index bef35a7ea7bf..2cca09b42dec 100644 --- a/tests/integration/bff-koa/package.json +++ b/tests/integration/bff-koa/package.json @@ -9,8 +9,7 @@ "build": "modern build", "serve": "modern serve", "start:bff": "modern serve --api-only", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=18.19.0" diff --git a/tests/integration/compatibility/package.json b/tests/integration/compatibility/package.json index f6bd99def2fd..b2d3080cf90a 100644 --- a/tests/integration/compatibility/package.json +++ b/tests/integration/compatibility/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/custom-file-system-entry/package.json b/tests/integration/custom-file-system-entry/package.json index d5046e834062..08403c9342f3 100644 --- a/tests/integration/custom-file-system-entry/package.json +++ b/tests/integration/custom-file-system-entry/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/custom-render/package.json b/tests/integration/custom-render/package.json index 37fac9eed6c9..469c7d861550 100644 --- a/tests/integration/custom-render/package.json +++ b/tests/integration/custom-render/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/custom-template/package.json b/tests/integration/custom-template/package.json index eb221f1ed16e..974fb51c0875 100644 --- a/tests/integration/custom-template/package.json +++ b/tests/integration/custom-template/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/deploy-csr/package.json b/tests/integration/deploy-csr/package.json index 9755c204a1b9..0d0c43abd56a 100644 --- a/tests/integration/deploy-csr/package.json +++ b/tests/integration/deploy-csr/package.json @@ -8,8 +8,7 @@ "build": "modern build", "serve": "modern serve", "start:bff": "modern serve --api-only", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/deploy-server/package.json b/tests/integration/deploy-server/package.json index 0e87ba909dab..fde7d399c56c 100644 --- a/tests/integration/deploy-server/package.json +++ b/tests/integration/deploy-server/package.json @@ -8,8 +8,7 @@ "build": "modern build", "serve": "modern serve", "start:bff": "modern serve --api-only", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/dev-server/package.json b/tests/integration/dev-server/package.json index a11b736af2df..704bd71c7cb0 100644 --- a/tests/integration/dev-server/package.json +++ b/tests/integration/dev-server/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/disable-html/package.json b/tests/integration/disable-html/package.json index 385c4b1277b9..f444767eed08 100644 --- a/tests/integration/disable-html/package.json +++ b/tests/integration/disable-html/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/main-entry-name/package.json b/tests/integration/main-entry-name/package.json index 662c0d8bc53e..708ff532a686 100644 --- a/tests/integration/main-entry-name/package.json +++ b/tests/integration/main-entry-name/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/nonce/package.json b/tests/integration/nonce/package.json index a0328006dfbc..ebe161e3877d 100644 --- a/tests/integration/nonce/package.json +++ b/tests/integration/nonce/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/pure-esm-project/package.json b/tests/integration/pure-esm-project/package.json index 42679bff297b..ec2d14cf2700 100644 --- a/tests/integration/pure-esm-project/package.json +++ b/tests/integration/pure-esm-project/package.json @@ -9,8 +9,7 @@ "build": "modern build", "serve": "modern serve", "start:bff": "modern serve --api-only", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=18.19.0" diff --git a/tests/integration/routes-match/package.json b/tests/integration/routes-match/package.json index 5120fc93ffda..04c0cc94716a 100644 --- a/tests/integration/routes-match/package.json +++ b/tests/integration/routes-match/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/routes/package.json b/tests/integration/routes/package.json index 68de1d525be5..4855f433c78c 100644 --- a/tests/integration/routes/package.json +++ b/tests/integration/routes/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/select-entry/fixtures/select-mul-entry/package.json b/tests/integration/select-entry/fixtures/select-mul-entry/package.json index d931ef24cb1e..61eede41911c 100644 --- a/tests/integration/select-entry/fixtures/select-mul-entry/package.json +++ b/tests/integration/select-entry/fixtures/select-mul-entry/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/select-entry/fixtures/select-one-entry/package.json b/tests/integration/select-entry/fixtures/select-one-entry/package.json index 87d2f53a3493..8aea23c31a9b 100644 --- a/tests/integration/select-entry/fixtures/select-one-entry/package.json +++ b/tests/integration/select-entry/fixtures/select-one-entry/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/server-config-v2/package.json b/tests/integration/server-config-v2/package.json index 5c49eaf6e690..f978fb508536 100644 --- a/tests/integration/server-config-v2/package.json +++ b/tests/integration/server-config-v2/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/server-config/package.json b/tests/integration/server-config/package.json index 54a67f649a19..74fb9bc2a967 100644 --- a/tests/integration/server-config/package.json +++ b/tests/integration/server-config/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/source-code-build/app-ts-loader/package.json b/tests/integration/source-code-build/app-ts-loader/package.json index 5a1ca1def009..ffc79e341c5e 100644 --- a/tests/integration/source-code-build/app-ts-loader/package.json +++ b/tests/integration/source-code-build/app-ts-loader/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/source-code-build/app/package.json b/tests/integration/source-code-build/app/package.json index a592aa1e616f..9aec1b886c4b 100644 --- a/tests/integration/source-code-build/app/package.json +++ b/tests/integration/source-code-build/app/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/temp-dir/package.json b/tests/integration/temp-dir/package.json index bbf367581487..6cb907e9d40e 100644 --- a/tests/integration/temp-dir/package.json +++ b/tests/integration/temp-dir/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/transform-import/package.json b/tests/integration/transform-import/package.json index 7abf2ec13874..c94866595c7f 100644 --- a/tests/integration/transform-import/package.json +++ b/tests/integration/transform-import/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/transform-lodash-import/package.json b/tests/integration/transform-lodash-import/package.json index a6f5326fc34b..f43a596c0e74 100644 --- a/tests/integration/transform-lodash-import/package.json +++ b/tests/integration/transform-lodash-import/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6" diff --git a/tests/integration/write-to-dist/package.json b/tests/integration/write-to-dist/package.json index 5070b4641071..d5d598d8f382 100644 --- a/tests/integration/write-to-dist/package.json +++ b/tests/integration/write-to-dist/package.json @@ -6,8 +6,7 @@ "dev": "modern dev", "build": "modern build", "serve": "modern serve", - "new": "modern new", - "lint": "modern lint" + "new": "modern new" }, "engines": { "node": ">=14.17.6"