@cryptofi/core-ui 0.21.0 → 0.23.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptofi/core-ui",
3
- "version": "0.21.0",
3
+ "version": "0.23.0",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -10,23 +10,25 @@
10
10
  "license": "MIT",
11
11
  "type": "module",
12
12
  "scripts": {
13
- "dev": "yarn storybook",
14
13
  "build": "rm -rf ./dist && rollup -c",
14
+ "build-storybook": "storybook build",
15
+ "chromatic": "dotenv cross-var npx chromatic --project-token=%CHROMATIC_PROJECT_TOKEN%",
16
+ "dev": "yarn storybook",
17
+ "format": "prettier --config ./.prettierrc -w '**/*.{tsx,ts,js,cjs,json,yml}' && git update-index --again",
18
+ "icons:gen": "yarn icons:clean && yarn icons:prefix && npx @svgr/cli --out-dir ./src/icons -- ./svg-icons",
19
+ "icons:clean": "npx rimraf '**/Icon*.tsx' ./src/icons/index.ts",
20
+ "icons:prefix": "node scripts/prefixIcons.cjs",
15
21
  "lint": "eslint src --ext .tsx --ext .ts",
16
22
  "lint:fix": "yarn lint --fix",
17
- "format": "prettier --config ./.prettierrc -w '**/*.{tsx,ts,js,cjs,json,yml}' && git update-index --again",
18
- "pretest": "yarn lint:fix",
19
- "test": "jest --colors --passWithNoTests",
20
23
  "posttest": "npx http-server coverage/lcov-report",
21
- "test:watch": "yarn test --collectCoverage=false --watch",
22
- "storybook": "storybook dev -p 6006",
23
- "build:storybook": "storybook build",
24
+ "pretest": "yarn lint:fix",
24
25
  "publish:local": "yarn build && npx yalc publish --push",
25
- "publish:npm": "npm publish --access public && yarn publish:notifier",
26
- "icons:gen": "yarn icons:clean && yarn icons:prefix && npx @svgr/cli --out-dir ./src/icons -- ./svg-icons",
27
- "icons:clean": "rm -rf src/icons",
28
- "icons:prefix": "node scripts/prefixIcons.cjs",
29
- "publish:notifier": "dotenv cross-var node scripts/npmPublishNotifier.cjs %SLACK_WEBHOOK_URL%"
26
+ "publish:notifier": "dotenv cross-var node scripts/npmPublishNotifier.cjs %SLACK_WEBHOOK_URL%",
27
+ "publish:npm": "yarn build && npm publish --access public && yarn publish:notifier && yarn publish:storybook",
28
+ "publish:storybook": "yarn chromatic",
29
+ "storybook": "storybook dev -p 6006",
30
+ "test": "jest --colors --passWithNoTests",
31
+ "test:watch": "yarn test --collectCoverage=false --watch"
30
32
  },
31
33
  "module": "dist/index.js",
32
34
  "types": "dist/types/index.d.ts",
@@ -38,7 +40,7 @@
38
40
  "@chakra-ui/react": "^2.4.9",
39
41
  "@emotion/react": "^11.11.1",
40
42
  "@emotion/styled": "^11.11.0",
41
- "framer-motion": "^10.16.4",
43
+ "framer-motion": "^11.0.3",
42
44
  "react": "^18.2.0",
43
45
  "react-dom": "^18.2.0"
44
46
  },
@@ -66,9 +68,9 @@
66
68
  "@storybook/addon-interactions": "^7.5.2",
67
69
  "@storybook/addon-links": "^7.5.2",
68
70
  "@storybook/addon-onboarding": "^1.0.8",
69
- "@storybook/blocks": "^7.5.2",
71
+ "@storybook/blocks": "^7.6.12",
70
72
  "@storybook/components": "^7.5.3",
71
- "@storybook/manager-api": "^7.5.3",
73
+ "@storybook/manager-api": "^7.6.12",
72
74
  "@storybook/preview-api": "^7.5.3",
73
75
  "@storybook/react": "^7.5.2",
74
76
  "@storybook/react-vite": "^7.5.2",
@@ -95,7 +97,7 @@
95
97
  "dotenv-cli": "^7.3.0",
96
98
  "eslint": "^8.9.0",
97
99
  "eslint-config-airbnb": "^19.0.4",
98
- "eslint-config-prettier": "^8.4.0",
100
+ "eslint-config-prettier": "^9.1.0",
99
101
  "eslint-import-resolver-typescript": "^3.6.1",
100
102
  "eslint-plugin-import": "^2.29.0",
101
103
  "eslint-plugin-jsx-a11y": "^6.5.1",
@@ -105,7 +107,7 @@
105
107
  "eslint-plugin-simple-import-sort": "^9.0.0",
106
108
  "eslint-plugin-storybook": "^0.6.15",
107
109
  "eslint-plugin-unused-imports": "^3.0.0",
108
- "framer-motion": "^10.16.4",
110
+ "framer-motion": "^11.0.3",
109
111
  "identity-obj-proxy": "^3.0.0",
110
112
  "jest": "^29.4.0",
111
113
  "lodash.isempty": "^4.4.0",
@@ -120,10 +122,10 @@
120
122
  "rollup-plugin-filesize": "^10.0.0",
121
123
  "rollup-plugin-peer-deps-external": "^2.2.4",
122
124
  "rollup-plugin-typescript2": "^0.36.0",
123
- "storybook": "^7.5.2",
125
+ "storybook": "^7.6.12",
124
126
  "stringify-object": "^5.0.0",
125
127
  "ts-jest": "^29.0.5",
126
- "typescript": "^4.5.5",
128
+ "typescript": "^5.3.3",
127
129
  "vite": "^4.5.0"
128
130
  },
129
131
  "packageManager": "yarn@4.0.1"