[/][s]: replace nx with nrwl packages for storybook
This commit is contained in:
3670
package-lock.json
generated
3670
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "portaljs",
|
"name": "portaljs",
|
||||||
"workspaces": ["./packages/*"],
|
"workspaces": [
|
||||||
|
"./packages/*"
|
||||||
|
],
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -18,11 +20,12 @@
|
|||||||
"@nrwl/js": "15.9.2",
|
"@nrwl/js": "15.9.2",
|
||||||
"@nrwl/linter": "15.9.2",
|
"@nrwl/linter": "15.9.2",
|
||||||
"@nrwl/next": "15.9.2",
|
"@nrwl/next": "15.9.2",
|
||||||
"@nrwl/react": "15.9.2",
|
"@nrwl/react": "^15.9.2",
|
||||||
"@nrwl/rollup": "15.9.2",
|
"@nrwl/rollup": "15.9.2",
|
||||||
|
"@nrwl/storybook": "15.9.2",
|
||||||
|
"@nrwl/webpack": "15.9.2",
|
||||||
"@nrwl/workspace": "15.9.2",
|
"@nrwl/workspace": "15.9.2",
|
||||||
"@nx/js": "16.6.0",
|
"@nx/js": "16.6.0",
|
||||||
"@nx/storybook": "16.6.0",
|
|
||||||
"@rollup/plugin-url": "^7.0.0",
|
"@rollup/plugin-url": "^7.0.0",
|
||||||
"@storybook/addon-essentials": "7.0.18",
|
"@storybook/addon-essentials": "7.0.18",
|
||||||
"@storybook/addon-interactions": "7.0.18",
|
"@storybook/addon-interactions": "7.0.18",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const config: StorybookConfig = {
|
|||||||
addons: [
|
addons: [
|
||||||
'@storybook/addon-essentials',
|
'@storybook/addon-essentials',
|
||||||
'@storybook/addon-interactions',
|
'@storybook/addon-interactions',
|
||||||
'@nx/react/plugins/storybook',
|
'@nrwl/react/plugins/storybook',
|
||||||
],
|
],
|
||||||
framework: {
|
framework: {
|
||||||
name: '@storybook/react-webpack5',
|
name: '@storybook/react-webpack5',
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"storybook": {
|
"storybook": {
|
||||||
"executor": "@nx/storybook:storybook",
|
"executor": "@nrwl/storybook:storybook",
|
||||||
"options": {
|
"options": {
|
||||||
"port": 4400,
|
"port": 4400,
|
||||||
"configDir": "packages/core/.storybook"
|
"configDir": "packages/core/.storybook"
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build-storybook": {
|
"build-storybook": {
|
||||||
"executor": "@nx/storybook:build",
|
"executor": "@nrwl/storybook:build",
|
||||||
"outputs": ["{options.outputDir}"],
|
"outputs": ["{options.outputDir}"],
|
||||||
"options": {
|
"options": {
|
||||||
"outputDir": "dist/storybook/core",
|
"outputDir": "dist/storybook/core",
|
||||||
|
|||||||
Reference in New Issue
Block a user