@modern-js/plugin-polyfill 2.0.0-beta.1 → 2.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +58 -0
- package/dist/types/cli.d.ts +5 -1
- package/package.json +10 -10
    
        package/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,63 @@ | |
| 1 1 | 
             
            # @modern-js/plugin-polyfill
         | 
| 2 2 |  | 
| 3 | 
            +
            ## 2.0.0-beta.3
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            ### Major Changes
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            - dda38c9c3e: chore: v2
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            ### Patch Changes
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            - ebbeed1ece: fix(plugin-polyfill): failed to join flags when restart CLI
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              fix(plugin-polyfill): 修复重启 CLI 时报错 join flags 失败的问题
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            - Updated dependencies [6aca875]
         | 
| 16 | 
            +
            - Updated dependencies [2e60319]
         | 
| 17 | 
            +
            - Updated dependencies [92f0eade39]
         | 
| 18 | 
            +
            - Updated dependencies [edd1cfb1af]
         | 
| 19 | 
            +
            - Updated dependencies [cc971eabfc]
         | 
| 20 | 
            +
            - Updated dependencies [5b9049f2e9]
         | 
| 21 | 
            +
            - Updated dependencies [92004d1906]
         | 
| 22 | 
            +
            - Updated dependencies [b8bbe036c7]
         | 
| 23 | 
            +
            - Updated dependencies [d5a31df781]
         | 
| 24 | 
            +
            - Updated dependencies [dda38c9c3e]
         | 
| 25 | 
            +
            - Updated dependencies [3bbea92b2a]
         | 
| 26 | 
            +
            - Updated dependencies [b710adb]
         | 
| 27 | 
            +
            - Updated dependencies [ea7cf06]
         | 
| 28 | 
            +
            - Updated dependencies [bbe4c4a]
         | 
| 29 | 
            +
            - Updated dependencies [e4558a0]
         | 
| 30 | 
            +
            - Updated dependencies [abf3421a75]
         | 
| 31 | 
            +
            - Updated dependencies [543be9558e]
         | 
| 32 | 
            +
            - Updated dependencies [14b712da84]
         | 
| 33 | 
            +
              - @modern-js/utils@2.0.0-beta.3
         | 
| 34 | 
            +
             | 
| 35 | 
            +
            ## 2.0.0-beta.2
         | 
| 36 | 
            +
             | 
| 37 | 
            +
            ### Major Changes
         | 
| 38 | 
            +
             | 
| 39 | 
            +
            - dda38c9c3e: chore: v2
         | 
| 40 | 
            +
             | 
| 41 | 
            +
            ### Patch Changes
         | 
| 42 | 
            +
             | 
| 43 | 
            +
            - ebbeed1: fix(plugin-polyfill): failed to join flags when restart CLI
         | 
| 44 | 
            +
             | 
| 45 | 
            +
              fix(plugin-polyfill): 修复重启 CLI 时报错 join flags 失败的问题
         | 
| 46 | 
            +
             | 
| 47 | 
            +
            - Updated dependencies [92f0ead]
         | 
| 48 | 
            +
            - Updated dependencies [edd1cfb1af]
         | 
| 49 | 
            +
            - Updated dependencies [cc971eabfc]
         | 
| 50 | 
            +
            - Updated dependencies [5b9049f2e9]
         | 
| 51 | 
            +
            - Updated dependencies [92004d1]
         | 
| 52 | 
            +
            - Updated dependencies [b8bbe036c7]
         | 
| 53 | 
            +
            - Updated dependencies [d5a31df781]
         | 
| 54 | 
            +
            - Updated dependencies [dda38c9c3e]
         | 
| 55 | 
            +
            - Updated dependencies [3bbea92b2a]
         | 
| 56 | 
            +
            - Updated dependencies [abf3421a75]
         | 
| 57 | 
            +
            - Updated dependencies [543be9558e]
         | 
| 58 | 
            +
            - Updated dependencies [14b712da84]
         | 
| 59 | 
            +
              - @modern-js/utils@2.0.0-beta.2
         | 
| 60 | 
            +
             | 
| 3 61 | 
             
            ## 2.0.0-beta.1
         | 
| 4 62 |  | 
| 5 63 | 
             
            ### Major Changes
         | 
    
        package/dist/types/cli.d.ts
    CHANGED
    
    | @@ -1,3 +1,7 @@ | |
| 1 1 | 
             
            import type { CliPlugin } from '@modern-js/core';
         | 
| 2 | 
            -
             | 
| 2 | 
            +
            import type { UserConfig, ServerOptions } from '@modern-js/server-core';
         | 
| 3 | 
            +
            declare const _default: () => CliPlugin<{
         | 
| 4 | 
            +
              userConfig: UserConfig;
         | 
| 5 | 
            +
              normalizedConfig: ServerOptions;
         | 
| 6 | 
            +
            }>;
         | 
| 3 7 | 
             
            export default _default;
         | 
    
        package/package.json
    CHANGED
    
    | @@ -11,7 +11,7 @@ | |
| 11 11 | 
             
                "modern",
         | 
| 12 12 | 
             
                "modern.js"
         | 
| 13 13 | 
             
              ],
         | 
| 14 | 
            -
              "version": "2.0.0-beta. | 
| 14 | 
            +
              "version": "2.0.0-beta.3",
         | 
| 15 15 | 
             
              "jsnext:source": "./src/index.ts",
         | 
| 16 16 | 
             
              "types": "./dist/types/index.d.ts",
         | 
| 17 17 | 
             
              "main": "./dist/js/node/index.js",
         | 
| @@ -40,7 +40,7 @@ | |
| 40 40 | 
             
                "@modern-js/polyfill-lib": "^1.0.0",
         | 
| 41 41 | 
             
                "lru-cache": "^6.0.0",
         | 
| 42 42 | 
             
                "ua-parser-js": "^0.7.28",
         | 
| 43 | 
            -
                "@modern-js/utils": "2.0.0-beta. | 
| 43 | 
            +
                "@modern-js/utils": "2.0.0-beta.3"
         | 
| 44 44 | 
             
              },
         | 
| 45 45 | 
             
              "devDependencies": {
         | 
| 46 46 | 
             
                "@types/jest": "^27",
         | 
| @@ -49,11 +49,11 @@ | |
| 49 49 | 
             
                "@types/ua-parser-js": "^0.7.36",
         | 
| 50 50 | 
             
                "typescript": "^4",
         | 
| 51 51 | 
             
                "jest": "^27",
         | 
| 52 | 
            -
                "@modern-js/server-core": "2.0.0-beta. | 
| 53 | 
            -
                "@modern-js/types": "2.0.0-beta. | 
| 54 | 
            -
                "@modern-js/core": "2.0.0-beta. | 
| 55 | 
            -
                "@scripts/build": "2.0.0-beta. | 
| 56 | 
            -
                "@scripts/jest-config": "2.0.0-beta. | 
| 52 | 
            +
                "@modern-js/server-core": "2.0.0-beta.3",
         | 
| 53 | 
            +
                "@modern-js/types": "2.0.0-beta.3",
         | 
| 54 | 
            +
                "@modern-js/core": "2.0.0-beta.3",
         | 
| 55 | 
            +
                "@scripts/build": "2.0.0-beta.3",
         | 
| 56 | 
            +
                "@scripts/jest-config": "2.0.0-beta.3"
         | 
| 57 57 | 
             
              },
         | 
| 58 58 | 
             
              "sideEffects": false,
         | 
| 59 59 | 
             
              "modernConfig": {
         | 
| @@ -66,9 +66,9 @@ | |
| 66 66 | 
             
                "access": "public"
         | 
| 67 67 | 
             
              },
         | 
| 68 68 | 
             
              "scripts": {
         | 
| 69 | 
            -
                "new": "modern new",
         | 
| 70 | 
            -
                "build": "modern build",
         | 
| 71 | 
            -
                "dev": "modern build --watch",
         | 
| 69 | 
            +
                "new": "modern-lib new",
         | 
| 70 | 
            +
                "build": "modern-lib build",
         | 
| 71 | 
            +
                "dev": "modern-lib build --watch",
         | 
| 72 72 | 
             
                "test": "jest --passWithNoTests"
         | 
| 73 73 | 
             
              }
         | 
| 74 74 | 
             
            }
         |