storybook-builder-rsbuild 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +3 -3
    
        package/dist/index.js
    CHANGED
    
    | @@ -771,7 +771,8 @@ var build = async ({ options }) => { | |
| 771 771 | 
             
              rsbuildBuild.onAfterBuild((params) => {
         | 
| 772 772 | 
             
                stats = params.stats;
         | 
| 773 773 | 
             
              });
         | 
| 774 | 
            -
              await Promise.all([rsbuildBuild.build(), previewFiles]);
         | 
| 774 | 
            +
              const [{ close }] = await Promise.all([rsbuildBuild.build(), previewFiles]);
         | 
| 775 | 
            +
              await close();
         | 
| 775 776 | 
             
              return stats;
         | 
| 776 777 | 
             
            };
         | 
| 777 778 | 
             
            var corePresets = [(0, import_node_path5.join)(__dirname, "./preview-preset.js")];
         | 
    
        package/dist/index.mjs
    CHANGED
    
    | @@ -713,7 +713,8 @@ var build = async ({ options }) => { | |
| 713 713 | 
             
              rsbuildBuild.onAfterBuild((params) => {
         | 
| 714 714 | 
             
                stats = params.stats;
         | 
| 715 715 | 
             
              });
         | 
| 716 | 
            -
              await Promise.all([rsbuildBuild.build(), previewFiles]);
         | 
| 716 | 
            +
              const [{ close }] = await Promise.all([rsbuildBuild.build(), previewFiles]);
         | 
| 717 | 
            +
              await close();
         | 
| 717 718 | 
             
              return stats;
         | 
| 718 719 | 
             
            };
         | 
| 719 720 | 
             
            var corePresets = [join(__dirname, "./preview-preset.js")];
         | 
    
        package/package.json
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            {
         | 
| 2 2 | 
             
              "name": "storybook-builder-rsbuild",
         | 
| 3 | 
            -
              "version": "0.1. | 
| 3 | 
            +
              "version": "0.1.9",
         | 
| 4 4 | 
             
              "description": "Rsbuild builder for Storybook",
         | 
| 5 5 | 
             
              "keywords": [
         | 
| 6 6 | 
             
                "storybook",
         | 
| @@ -57,7 +57,7 @@ | |
| 57 57 | 
             
                "!src/**/*"
         | 
| 58 58 | 
             
              ],
         | 
| 59 59 | 
             
              "dependencies": {
         | 
| 60 | 
            -
                "@rsbuild/plugin-type-check": "^1.2. | 
| 60 | 
            +
                "@rsbuild/plugin-type-check": "^1.2.1",
         | 
| 61 61 | 
             
                "@storybook/addon-docs": "^8.2.1",
         | 
| 62 62 | 
             
                "@storybook/core-webpack": "^8.2.1",
         | 
| 63 63 | 
             
                "browser-assert": "^1.2.1",
         | 
| @@ -66,7 +66,7 @@ | |
| 66 66 | 
             
                "constants-browserify": "^1.0.0",
         | 
| 67 67 | 
             
                "es-module-lexer": "^1.5.4",
         | 
| 68 68 | 
             
                "find-cache-dir": "^5.0.0",
         | 
| 69 | 
            -
                "fs-extra": "^11. | 
| 69 | 
            +
                "fs-extra": "^11.3.0",
         | 
| 70 70 | 
             
                "magic-string": "^0.30.17",
         | 
| 71 71 | 
             
                "path-browserify": "^1.0.1",
         | 
| 72 72 | 
             
                "process": "^0.11.10",
         |