@rxap/plugin-storybook 19.0.10-dev.0 → 20.0.0-dev.1

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 CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [20.0.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/plugin-storybook@19.0.10-dev.0...@rxap/plugin-storybook@20.0.0-dev.1) (2024-12-11)
7
+
8
+ **Note:** Version bump only for package @rxap/plugin-storybook
9
+
6
10
  ## [19.0.10-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/plugin-storybook@19.0.9...@rxap/plugin-storybook@19.0.10-dev.0) (2024-12-10)
7
11
 
8
12
  **Note:** Version bump only for package @rxap/plugin-storybook
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
- "version": "19.0.10-dev.0",
2
+ "version": "20.0.0-dev.1",
3
3
  "name": "@rxap/plugin-storybook",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
- "@nx/angular": "19.8.14",
7
- "@nx/devkit": "19.8.14",
8
- "@nx/eslint": "19.8.14",
9
- "@rxap/ts-morph": "^1.5.2-dev.0",
10
- "@rxap/utilities": "^16.4.1-dev.0",
11
- "@rxap/workspace-ts-morph": "^19.1.8-dev.0",
12
- "@rxap/workspace-utilities": "^19.5.1-dev.0",
6
+ "@nx/angular": "20.2.1",
7
+ "@nx/devkit": "20.2.1",
8
+ "@nx/eslint": "20.2.1",
9
+ "@rxap/ts-morph": "^1.5.2-dev.1",
10
+ "@rxap/utilities": "^16.4.1-dev.1",
11
+ "@rxap/workspace-ts-morph": "^19.1.8-dev.1",
12
+ "@rxap/workspace-utilities": "^19.5.1-dev.1",
13
13
  "colors": "1.4.0",
14
14
  "ts-morph": "18.0.0",
15
15
  "tslib": "2.6.2"
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "schematics": "./generators.json",
45
45
  "type": "commonjs",
46
- "gitHead": "5844fe366e2b05fecc4f482cd21cb6d0a77225fa",
47
- "main": "./src/index.js",
48
- "types": "./src/index.d.ts"
46
+ "gitHead": "87d776dc933f5f1b640f7a7c9ecc4d264187c090",
47
+ "types": "./src/index.d.ts",
48
+ "main": "./src/index.js"
49
49
  }
@@ -9,18 +9,16 @@ require("colors");
9
9
  const workspace_utilities_1 = require("@rxap/workspace-utilities");
10
10
  function coerceStorybook(tree, projectName, project, options) {
11
11
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
12
- var _a, _b, _c, _d, _e, _f, _g;
12
+ var _a, _b, _c, _d, _e;
13
13
  if ((_a = project.targets) === null || _a === void 0 ? void 0 : _a.storybook) {
14
14
  console.log(`storybook target already exists for project: ${projectName}`.yellow);
15
15
  return;
16
16
  }
17
17
  const storybookOptions = Object.assign(Object.assign({}, options), { project: projectName });
18
- (_b = storybookOptions.configureCypress) !== null && _b !== void 0 ? _b : (storybookOptions.configureCypress = false);
19
- (_c = storybookOptions.generateCypressSpecs) !== null && _c !== void 0 ? _c : (storybookOptions.generateCypressSpecs = false);
20
- (_d = storybookOptions.generateStories) !== null && _d !== void 0 ? _d : (storybookOptions.generateStories = true);
21
- (_e = storybookOptions.configureStaticServe) !== null && _e !== void 0 ? _e : (storybookOptions.configureStaticServe = true);
22
- (_f = storybookOptions.tsConfiguration) !== null && _f !== void 0 ? _f : (storybookOptions.tsConfiguration = true);
23
- (_g = storybookOptions.linter) !== null && _g !== void 0 ? _g : (storybookOptions.linter = eslint_1.Linter.EsLint);
18
+ (_b = storybookOptions.generateStories) !== null && _b !== void 0 ? _b : (storybookOptions.generateStories = true);
19
+ (_c = storybookOptions.configureStaticServe) !== null && _c !== void 0 ? _c : (storybookOptions.configureStaticServe = true);
20
+ (_d = storybookOptions.tsConfiguration) !== null && _d !== void 0 ? _d : (storybookOptions.tsConfiguration = true);
21
+ (_e = storybookOptions.linter) !== null && _e !== void 0 ? _e : (storybookOptions.linter = eslint_1.Linter.EsLint);
24
22
  yield (0, generators_1.storybookConfigurationGenerator)(tree, storybookOptions);
25
23
  // the external generator does not update the project configuration
26
24
  // to reflect the changes made in the current project object we need to merge the changes
@@ -1 +1 @@
1
- {"version":3,"file":"coerce-storybook.js","sourceRoot":"","sources":["../../../../../../packages/plugin/storybook/src/lib/coerce-storybook.ts"],"names":[],"mappings":";;AAWA,0CAiCC;;AA5CD,uDAAyE;AAEzE,uCAIoB;AACpB,uCAAoC;AACpC,kBAAgB;AAChB,mEAAyD;AAEzD,SAAsB,eAAe,CACnC,IAAU,EACV,WAAmB,EACnB,OAA6B,EAC7B,OAAiF;;;QAEjF,IAAI,MAAA,OAAO,CAAC,OAAO,0CAAE,SAAS,EAAE,CAAC;YAC/B,OAAO,CAAC,GAAG,CACT,gDAAgD,WAAW,EAAE,CAAC,MAAM,CACrE,CAAC;YACF,OAAO;QACT,CAAC;QAED,MAAM,gBAAgB,mCACjB,OAAO,KACV,OAAO,EAAE,WAAW,GACrB,CAAC;QAEF,MAAA,gBAAgB,CAAC,gBAAgB,oCAAjC,gBAAgB,CAAC,gBAAgB,GAAK,KAAK,EAAC;QAC5C,MAAA,gBAAgB,CAAC,oBAAoB,oCAArC,gBAAgB,CAAC,oBAAoB,GAAK,KAAK,EAAC;QAChD,MAAA,gBAAgB,CAAC,eAAe,oCAAhC,gBAAgB,CAAC,eAAe,GAAK,IAAI,EAAC;QAC1C,MAAA,gBAAgB,CAAC,oBAAoB,oCAArC,gBAAgB,CAAC,oBAAoB,GAAK,IAAI,EAAC;QAC/C,MAAA,gBAAgB,CAAC,eAAe,oCAAhC,gBAAgB,CAAC,eAAe,GAAK,IAAI,EAAC;QAC1C,MAAA,gBAAgB,CAAC,MAAM,oCAAvB,gBAAgB,CAAC,MAAM,GAAK,eAAM,CAAC,MAAM,EAAC;QAE1C,MAAM,IAAA,4CAA+B,EAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAE9D,mEAAmE;QACnE,yFAAyF;QACzF,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,iCAAwB,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QAChE,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YACrD,IAAA,kCAAY,EAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;CAAA"}
1
+ {"version":3,"file":"coerce-storybook.js","sourceRoot":"","sources":["../../../../../../packages/plugin/storybook/src/lib/coerce-storybook.ts"],"names":[],"mappings":";;AAWA,0CA+BC;;AA1CD,uDAAyE;AAEzE,uCAIoB;AACpB,uCAAoC;AACpC,kBAAgB;AAChB,mEAAyD;AAEzD,SAAsB,eAAe,CACnC,IAAU,EACV,WAAmB,EACnB,OAA6B,EAC7B,OAAiF;;;QAEjF,IAAI,MAAA,OAAO,CAAC,OAAO,0CAAE,SAAS,EAAE,CAAC;YAC/B,OAAO,CAAC,GAAG,CACT,gDAAgD,WAAW,EAAE,CAAC,MAAM,CACrE,CAAC;YACF,OAAO;QACT,CAAC;QAED,MAAM,gBAAgB,mCACjB,OAAO,KACV,OAAO,EAAE,WAAW,GACrB,CAAC;QAEF,MAAA,gBAAgB,CAAC,eAAe,oCAAhC,gBAAgB,CAAC,eAAe,GAAK,IAAI,EAAC;QAC1C,MAAA,gBAAgB,CAAC,oBAAoB,oCAArC,gBAAgB,CAAC,oBAAoB,GAAK,IAAI,EAAC;QAC/C,MAAA,gBAAgB,CAAC,eAAe,oCAAhC,gBAAgB,CAAC,eAAe,GAAK,IAAI,EAAC;QAC1C,MAAA,gBAAgB,CAAC,MAAM,oCAAvB,gBAAgB,CAAC,MAAM,GAAK,eAAM,CAAC,MAAM,EAAC;QAE1C,MAAM,IAAA,4CAA+B,EAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAE9D,mEAAmE;QACnE,yFAAyF;QACzF,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,iCAAwB,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QAChE,KAAK,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YACrD,IAAA,kCAAY,EAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;CAAA"}