@genesislcap/foundation-cli 14.240.0 → 14.241.0-FUI-2294.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/plop/actions/component.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,sBAoSlC,CAAC"}
1
+ {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/plop/actions/component.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB,sBAiRlC,CAAC"}
@@ -155,19 +155,6 @@ const getAddComponentActions = (data) => {
155
155
  },
156
156
  force: data.force,
157
157
  },
158
- // Storybook Gen
159
- {
160
- type: 'add',
161
- path: path_1.default.resolve(__dirname, `../../../../../foundation/foundation-ds/${dsName}/src/${nameParamCase}/${nameParamCase}.stories.ts`),
162
- templateFile: path_1.default.resolve(__dirname, '../templates/component/ds/component.stories.ts.hbs'),
163
- data: {
164
- baseComponent: data.baseComponent,
165
- dsName,
166
- name,
167
- isHostDirective,
168
- },
169
- force: data.force,
170
- },
171
158
  // Fixtures Gen
172
159
  {
173
160
  type: 'add',
@@ -1 +1 @@
1
- {"version":3,"file":"designSystem.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/designSystem/designSystem.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAoBrD,eAAO,MAAM,qBAAqB,EAAE,mBA0YnC,CAAC"}
1
+ {"version":3,"file":"designSystem.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/designSystem/designSystem.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAoBrD,eAAO,MAAM,qBAAqB,EAAE,mBAoYnC,CAAC"}
@@ -157,12 +157,6 @@ exports.designSystemGenerator = {
157
157
  });
158
158
  });
159
159
  return [
160
- () => {
161
- const source = path_1.default.resolve(__dirname, `../../templates/design-system/.storybook`);
162
- const target = path_1.default.resolve(__dirname, `${outputDir}/${dsPrefix}-design-system/.storybook`);
163
- (0, utils_1.copyFiles)(source, target);
164
- return `Copied files form ${source} to ${target}`;
165
- },
166
160
  () => {
167
161
  const source = path_1.default.resolve(__dirname, `../../templates/design-system/_common`);
168
162
  const target = path_1.default.resolve(__dirname, `${outputDir}/${dsPrefix}-design-system/src/_common`);
@@ -56,7 +56,3 @@ federation.config.json
56
56
  lerna.json
57
57
  tsconfig.json
58
58
  webpack.config.js
59
-
60
- # Storybook
61
- .storybook
62
- storybook-static
@@ -18,14 +18,10 @@
18
18
  "build": "genx build",
19
19
  "build:rollup": "genx build -b rollup",
20
20
  "build:rollup:stats": "genx analyze -b rollup",
21
- "build-storybook": "genx clean storybook-static && storybook build",
22
21
  "clean": "rimraf dist temp tsconfig.tsbuildinfo",
23
22
  "dev": "npm run dev:tsc",
24
23
  "dev:rollup": "genx dev -b rollup",
25
24
  "dev:tsc": "genx dev -b ts",
26
- "start": "npm run storybook",
27
- "storybook": "storybook dev -p 6006",
28
- "test-storybook": "test-storybook -- --coverage --passWithNoTests"
29
25
  },
30
26
  "devDependencies": {
31
27
  "@genesislcap/genx": "{{baseDsPackageVersion}}",
@@ -35,16 +31,7 @@
35
31
  "@genesislcap/vite-builder": "{{baseDsPackageVersion}}",
36
32
  "@genesislcap/webpack-builder": "{{baseDsPackageVersion}}",
37
33
  "@playwright/test": "^1.46.1,
38
- "@storybook/addon-essentials": "^7.6.7",
39
- "@storybook/addon-links": "^7.6.7",
40
- "@storybook/addons": "^7.6.7",
41
- "@storybook/html": "^7.6.7",
42
- "@storybook/theming": "^7.6.7",
43
- "@storybook/web-components": "^7.6.7",
44
- "@storybook/web-components-vite": "^7.6.7",
45
- "lit-html": "^3.1.0",
46
34
  "rimraf": "^5.0.0",
47
- "storybook": "^7.6.7"
48
35
  },
49
36
  "dependencies": {
50
37
  "{{baseDsPackageName}}": "{{baseDsPackageVersion}}",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-cli",
3
3
  "description": "Genesis Foundation CLI",
4
- "version": "14.240.0",
4
+ "version": "14.241.0-FUI-2294.2",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "dbcec460d84de3d38117feee93e80ca04fcec4e6"
69
+ "gitHead": "56465f65b7a9aac125690e6cb328dadf187b4d51"
70
70
  }
@@ -1,24 +0,0 @@
1
- import type { StorybookConfig } from '@storybook/builder-vite';
2
-
3
- const config: StorybookConfig = {
4
- addons: ['@storybook/addon-coverage', '@storybook/addon-links', '@storybook/addon-essentials'],
5
- core: {
6
- builder: '@storybook/builder-vite',
7
- },
8
- docs: {
9
- autodocs: true
10
- },
11
- framework: {
12
- name: '@storybook/web-components-vite'
13
- },
14
- stories: ['../src'],
15
- async viteFinal(config, options) {
16
- // Add your configuration here
17
-
18
- config.optimizeDeps?.include?.push('./src');
19
- console.log(config);
20
- return config;
21
- },
22
- };
23
-
24
- export default config;
@@ -1,11 +0,0 @@
1
- <style>
2
- html, body, #root {
3
- margin: 0;
4
- display: flex;
5
- flex-direction: column;
6
- height: 100%;
7
- }
8
- </style>
9
- <script>
10
- window.global = window;
11
- </script>
@@ -1,17 +0,0 @@
1
- import { html } from 'lit-html';
2
-
3
- const withThemeProvider = (Story) => html`
4
- ${Story()}
5
- `;
6
-
7
- export const decorators = [withThemeProvider];
8
-
9
- export const parameters = {
10
- actions: { argTypesRegex: "^on[A-Z].*" },
11
- controls: {
12
- matchers: {
13
- color: /(background|color)$/i,
14
- date: /Date$/,
15
- },
16
- },
17
- }