Skip to content

Commit

Permalink
Merge branch 'main' into enelson/package-update
Browse files Browse the repository at this point in the history
  • Loading branch information
iclanton committed Feb 1, 2023
2 parents b717c25 + 93f8791 commit 38b5098
Show file tree
Hide file tree
Showing 31 changed files with 1,165 additions and 520 deletions.
Expand Up @@ -11,7 +11,7 @@
"_phase:build": ""
},
"devDependencies": {
"@babel/core": "~7.17.0",
"@babel/core": "~7.20.0",
"@storybook/addon-actions": "~6.4.18",
"@storybook/addon-essentials": "~6.4.18",
"@storybook/addon-links": "~6.4.18",
Expand Down
Expand Up @@ -55,7 +55,9 @@
"plugin": "@rushstack/heft-storybook-plugin",
"options": {
"storykitPackageName": "heft-storybook-react-tutorial-storykit",
"startupModulePath": "@storybook/react/bin/index.js"
"startupModulePath": "@storybook/react/bin/index.js",
"staticBuildModulePath": "@storybook/react/bin/build.js",
"staticBuildOutputFolder": "static-build-dir"
}
}
]
Expand Down
Expand Up @@ -7,6 +7,7 @@
"build": "heft build --clean",
"start": "heft start",
"storybook": "heft start --storybook",
"build-storybook": "heft build --storybook",
"_phase:build": "heft build --clean",
"_phase:test": "heft test --no-build"
},
Expand All @@ -16,12 +17,15 @@
"tslib": "~2.3.1"
},
"devDependencies": {
"@babel/core": "~7.20.0",
"@rushstack/eslint-config": "workspace:*",
"@rushstack/heft-jest-plugin": "workspace:*",
"@rushstack/heft-storybook-plugin": "workspace:*",
"@rushstack/heft-webpack4-plugin": "workspace:*",
"@rushstack/heft": "workspace:*",
"@storybook/react": "~6.4.18",
"@types/heft-jest": "1.0.1",
"@types/node": "14.18.36",
"@types/react-dom": "16.9.14",
"@types/react": "16.14.23",
"@types/webpack-env": "1.18.0",
Expand Down
1 change: 1 addition & 0 deletions build-tests/heft-sass-test/config/sass.json
@@ -1,4 +1,5 @@
{
"cssOutputFolders": ["lib"],
"preserveSCSSExtension": true,
"secondaryGeneratedTsFolders": ["lib"]
}
2 changes: 1 addition & 1 deletion build-tests/heft-sass-test/webpack.config.js
Expand Up @@ -18,7 +18,7 @@ function createWebpackConfig({ production }) {
module: {
rules: [
{
test: /\.css$/,
test: /\.s?css$/,
exclude: /node_modules/,
use: [
// Creates `style` nodes from JS strings
Expand Down
48 changes: 26 additions & 22 deletions build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@rushstack/heft-storybook-plugin",
"comment": "Add support for storybook static build",
"type": "minor"
}
],
"packageName": "@rushstack/heft-storybook-plugin"
}

0 comments on commit 38b5098

Please sign in to comment.