Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feat module plugins #3090

Merged
merged 2 commits into from
Mar 9, 2023
Merged

Conversation

targeral
Copy link
Member

@targeral targeral commented Mar 8, 2023

Description

add plugin-import and plugin-banner

Related Issue

Types of changes

  • Docs change / Dependency upgrade
  • Bug fix
  • New feature / Improvement
  • Refactoring
  • Breaking change

Checklist

  • I have added changeset via pnpm run change.
  • I have updated the documentation.
  • I have added tests to cover my changes.

@changeset-bot
Copy link

changeset-bot bot commented Mar 8, 2023

🦋 Changeset detected

Latest commit: 7273389

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 221 packages
Name Type
@modern-js/plugin-module-banner Minor
@modern-js/plugin-module-import Minor
@modern-js/babel-preset-app Minor
@modern-js/babel-preset-base Minor
@modern-js/babel-preset-lib Minor
@modern-js/babel-preset-module Minor
@modern-js/core Minor
@modern-js/doc-core Minor
@modern-js/doc-plugin-auto-sidebar Minor
@modern-js/plugin-bff Minor
@modern-js/plugin-changeset Minor
@modern-js/plugin-data-loader Minor
@modern-js/plugin-i18n Minor
@modern-js/plugin-lint Minor
@modern-js/plugin-module-babel Minor
@modern-js/plugin-module-main-fields Minor
@modern-js/plugin-module-polyfill Minor
@modern-js/plugin-module-target Minor
@modern-js/plugin-proxy Minor
@modern-js/plugin-ssg Minor
@modern-js/plugin-storybook Minor
@modern-js/plugin-swc Minor
@modern-js/plugin-tailwindcss Minor
@modern-js/plugin-garfish Minor
@modern-js/plugin-router-v5 Minor
@modern-js/runtime Minor
@modern-js/plugin-testing Minor
@modern-js/new-action Minor
@modern-js-app/eslint-config Minor
@modern-js/eslint-config Minor
@modern-js/tsconfig Minor
@modern-js/bff-core Minor
@modern-js/bff-runtime Minor
@modern-js/server-core Minor
@modern-js/create-request Minor
@modern-js/plugin-egg Minor
@modern-js/plugin-express Minor
@modern-js/plugin-koa Minor
@modern-js/plugin-nest Minor
@modern-js/plugin-polyfill Minor
@modern-js/plugin-server Minor
@modern-js/plugin-worker Minor
@modern-js/prod-server Minor
@modern-js/server Minor
@modern-js/server-utils Minor
@modern-js/builder-doc Minor
@modern-js/builder-rspack-provider Minor
@modern-js/builder-shared Minor
@modern-js/builder-webpack-provider Minor
@modern-js/builder Minor
@modern-js/builder-plugin-esbuild Minor
@modern-js/builder-plugin-image-compress Minor
@modern-js/builder-plugin-node-polyfill Minor
@modern-js/builder-plugin-stylus Minor
@modern-js/builder-plugin-swc Minor
@modern-js/app-tools Minor
@modern-js/doc-tools Minor
@modern-js/module-tools Minor
@modern-js/monorepo-tools Minor
@modern-js/create Minor
@modern-js/doc-tools-doc Minor
@modern-js/e2e Minor
@modern-js/main-doc Minor
@modern-js/module-tools-docs Minor
@modern-js/node-bundle-require Minor
@modern-js/plugin Minor
@modern-js/remark-container Minor
@modern-js/types Minor
@modern-js/upgrade Minor
@modern-js/utils Minor
@modern-js/babel-compiler Minor
@scripts/build Minor
@scripts/check-changeset Minor
@scripts/codemod Minor
@scripts/jest-config Minor
@scripts/lint-package-json Minor
@scripts/prebundle Minor
@scripts/update-codesmith Minor
@scripts/vitest-config Minor
tests Minor
@integration-test/alias-set Minor
api-service-koa Minor
app-docmuent Minor
integration-dev-asset-prefix Minor
integration-asset-prefix Minor
async-entry-test Minor
bff-express Minor
integration-register-builder-plugins Minor
integration-builder-plugins Minor
builder-rspack Minor
integration-copy-public-html Minor
integration-copy-assets Minor
basic-module Minor
composes-basic Minor
composes-external Minor
dev-module Minor
diff-suffix-module Minor
global-module Minor
prod-module Minor
css Minor
antd-less Minor
bad-nested-npm-import Minor
bad-npm-import Minor
base-import Minor
css-ts-declaration Minor
disable-source-map Minor
exclude-less Minor
exclude-sass Minor
import-common-css Minor
inline-css-url Minor
keep-css-url Minor
less-import Minor
less-inline-js Minor
less-npm-import Minor
multi-css Minor
multi-less Minor
multi-sass Minor
nested-npm-import Minor
npm-import Minor
single-css Minor
single-less Minor
single-sass Minor
integration-tailwindcss-v2 Minor
integration-tailwindcss-v3 Minor
tips-to-install-less-plugin Minor
twin-macro-v2 Minor
twin-macro-v3 Minor
css-modules Minor
integration-custom-render Minor
integration-custom-template Minor
legacy-esbuild-minify-js Minor
esbuild-transform-and-minify Minor
esbuild-integration Minor
@cypress-test/garfish-dashboard-router-v6 Minor
@cypress-test/garfish-dashboard Minor
@cypress-test/garfish-main-router-v6 Minor
@cypress-test/garfish-main Minor
@cypress-test/garfish-table Minor
always-inline Minor
always-url Minor
assets-in-css Minor
inline-limit Minor
integration-config-async-config-test Minor
integration-basic-local-config Minor
integration-config-function-params Minor
integration-local-config-function Minor
integration-load-config Minor
tmp Minor
routes Minor
file-based-router Minor
use-loader Minor
runtime Minor
select-entry-test Minor
server-config Minor
server-middleware Minor
server-hook-reqeust Minor
server-hook-response Minor
server-hook-router Minor
@integration-test/server-hook-reqeust Minor
server-prod Minor
ssg-fixtures-simple Minor
ssg-fixtures-web-server Minor
ssg Minor
ssr-base-test Minor
init Minor
ssr-streaming-test Minor
ssr Minor
swc-minify-css Minor
swc-minify-js Minor
transform-fail Minor
swc-integration Minor
testing-app Minor
webpack-builder-test Minor
worker-test Minor
@e2e/webpack-builder-asset-fallback Minor
@e2e/webpack-builder-basic Minor
@e2e/webpack-builder-cache Minor
@e2e/webpack-builder-css-modules Minor
@e2e/builder-dev-basic Minor
@e2e/builder-dev-hmr Minor
@e2e/webpack-builder-html-tags Minor
@e2e/webpack-builder-app-icon Minor
@e2e/webpack-builder-favicon Minor
@e2e/webpack-builder-ignore-css Minor
@e2e/webpack-builder-image-compress Minor
@e2e/webpack-builder-import-antd-v4 Minor
@e2e/webpack-builder-import-antd-v5 Minor
@e2e/webpack-builder-inline-chunk Minor
@e2e/webpack-builder-inspect-config Minor
@e2e/webpack-builder-polyfill Minor
@e2e/webpack-builder-progress Minor
@e2e/webpack-builder-stylus Minor
@e2e/webpack-builder-ts-loader Minor
@e2e/webpack-builder-typescript Minor
@e2e/builder Minor
@modern-js/main-doc-website Minor
@modern-js/generator-common Patch
@modern-js/generator-plugin Patch
@modern-js/generator-utils Patch
@modern-js/bff-generator Patch
@modern-js/dependence-generator Patch
@modern-js/entry-generator Patch
@modern-js/generator-generator Patch
@modern-js/module-generator Patch
@modern-js/module-test-generator Patch
@modern-js/monorepo-generator Patch
@modern-js/mwa-generator Patch
@modern-js/router-v5-generator Patch
@modern-js/rspack-generator Patch
@modern-js/ssg-generator Patch
@modern-js/storybook-generator Patch
@modern-js/test-generator Patch
@modern-js/upgrade-generator Patch
@modern-js/generator-plugin-plugin Patch
@modern-js/repo-generator Patch
@modern-js/generator-cases Patch
@modern-js/base-generator Patch
@modern-js/changeset-generator Patch
@modern-js/packages-generator Patch
@modern-js/server-generator Patch
@modern-js/tailwindcss-generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@targeral targeral force-pushed the feat-module-plugins branch 4 times, most recently from 4b78400 to 862fb77 Compare March 8, 2023 11:31
@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.07 ⚠️

Comparison is base (9736c6a) 58.43% compared to head (7273389) 58.36%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3090      +/-   ##
==========================================
- Coverage   58.43%   58.36%   -0.07%     
==========================================
  Files         648      650       +2     
  Lines       17160    17179      +19     
  Branches     3728     3731       +3     
==========================================
  Hits        10027    10027              
- Misses       6548     6566      +18     
- Partials      585      586       +1     
Impacted Files Coverage Δ
packages/cli/plugin-module-banner/src/index.ts 0.00% <0.00%> (ø)
packages/cli/plugin-module-import/src/index.ts 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@targeral targeral added this pull request to the merge queue Mar 9, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 9, 2023
@targeral targeral added this pull request to the merge queue Mar 9, 2023
Merged via the queue into web-infra-dev:main with commit 78065ba Mar 9, 2023
@targeral targeral deleted the feat-module-plugins branch March 9, 2023 05:08
---

feat: add banner and plugin-import
feat: 谈价 banner 插件和 import 插件
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

添加

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants