@randstad-uca/design-system 1.0.5 → 1.0.7

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/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "@randstad-uca/design-system",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "main": "dist/index.js",
5
- "files": ["dist"],
5
+ "files": [
6
+ "dist"
7
+ ],
6
8
  "scripts": {
7
9
  "test": "echo \"Error: no test specified\" && exit 1",
8
10
  "storybook-live": "storybook dev -p 6006",
9
11
  "build-test": "storybook build",
10
12
  "generate-icons": "node src/utils/generateIconList.js",
11
- "build": "rollup -c"
13
+ "build": "rm -rf dist && rollup -c"
12
14
  },
13
15
  "keywords": [],
14
16
  "author": "",
@@ -1,19 +1,6 @@
1
- import { Meta, StoryObj } from '@storybook/web-components';
1
+ import type { Meta, StoryObj } from '@storybook/web-components';
2
2
  import '../components/Modal';
3
- type CustomModalArgs = {
4
- open: boolean;
5
- type: 'default' | 'yesno';
6
- title: string;
7
- description: string;
8
- width: string;
9
- buttonText: string;
10
- confirmText: string;
11
- cancelText: string;
12
- slotContent?: any;
13
- };
14
- declare const meta: Meta<CustomModalArgs>;
3
+ declare const meta: Meta;
15
4
  export default meta;
16
- export declare const Default: StoryObj<CustomModalArgs>;
17
- export declare const YesNo: StoryObj<CustomModalArgs>;
18
- export declare const WithForm: StoryObj<CustomModalArgs>;
19
- export declare const Closed: StoryObj<CustomModalArgs>;
5
+ type Story = StoryObj;
6
+ export declare const Default: Story;
package/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "@randstad-uca/design-system",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "main": "dist/index.js",
5
- "files": ["dist"],
5
+ "files": [
6
+ "dist"
7
+ ],
6
8
  "scripts": {
7
9
  "test": "echo \"Error: no test specified\" && exit 1",
8
10
  "storybook-live": "storybook dev -p 6006",
9
11
  "build-test": "storybook build",
10
12
  "generate-icons": "node src/utils/generateIconList.js",
11
- "build": "rollup -c"
13
+ "build": "rm -rf dist && rollup -c"
12
14
  },
13
15
  "keywords": [],
14
16
  "author": "",
package/readme.md CHANGED
@@ -184,6 +184,21 @@ npm link
184
184
  ```
185
185
  Esto crea un enlace global del paquete.
186
186
 
187
+
188
+ ### Para que se renueve el enlace luego de hacer cambios
189
+ ```bash
190
+ npm unlink @randstad-uca/design-system
191
+ npm run build
192
+ npm link
193
+ ```
194
+
195
+ Luego en el proyecto angular ejecutamos
196
+ ```bash
197
+ rm -rf node_modules/@randstad-uca/design-system package-lock.json
198
+ rm -rf .angular/cache
199
+ npm link @randstad-uca/design-system
200
+ ```
201
+
187
202
  ---
188
203
 
189
204
  ### 2. En la carpeta del **proyecto donde lo vas a usar**: