@anansi/storybook 0.3.2 → 0.3.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +13 -20
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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
+ ### [0.3.3](https://github.com/ntucker/anansi/compare/@anansi/storybook@0.3.2...@anansi/storybook@0.3.3) (2023-03-28)
7
+
8
+ ### 📦 Package
9
+
10
+ * Fix dependencies ([b0f1d45](https://github.com/ntucker/anansi/commit/b0f1d456006a03a73709dcbbe8866d509ccb066a))
11
+
6
12
  ### [0.3.2](https://github.com/ntucker/anansi/compare/@anansi/storybook@0.3.1...@anansi/storybook@0.3.2) (2023-03-27)
7
13
 
8
14
  **Note:** Version bump only for package @anansi/storybook
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anansi/storybook",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Storybook framework for anansi",
5
5
  "homepage": "https://github.com/ntucker/anansi/tree/master/packages/storybook#readme",
6
6
  "repository": {
@@ -35,18 +35,6 @@
35
35
  "storybook",
36
36
  "react"
37
37
  ],
38
- "devDependencies": {
39
- "@anansi/babel-preset": "4.2.0",
40
- "@anansi/browserslist-config": "1.4.2",
41
- "@anansi/webpack-config": "15.0.2",
42
- "@babel/cli": "7.21.0",
43
- "@babel/core": "7.21.3",
44
- "@rest-hooks/react": "^7.2.9",
45
- "@types/react": "^18.0.29",
46
- "jest": "29.5.0",
47
- "react": "^18.2.0",
48
- "rimraf": "4.4.1"
49
- },
50
38
  "dependencies": {
51
39
  "@babel/runtime": "^7.17.0",
52
40
  "@storybook/builder-webpack5": "^7.0.0-rc.8",
@@ -60,25 +48,30 @@
60
48
  "@anansi/webpack-config": "^13.0.0 || ^14.0.0 || ^15.0.0",
61
49
  "@rest-hooks/react": "^6.0.0 || ^7.0.0",
62
50
  "@types/react": "^17.0.40 || ^18.0.0",
63
- "react": "^18.0.0"
51
+ "@types/react-dom": "^17.0.40 || ^18.0.0",
52
+ "react": "^18.0.0",
53
+ "react-dom": "^18.0.0",
54
+ "webpack": "*"
64
55
  },
65
56
  "peerDependenciesMeta": {
66
57
  "@types/react": {
67
58
  "optional": true
59
+ },
60
+ "@types/react-dom": {
61
+ "optional": true
68
62
  }
69
63
  },
70
64
  "engines": {
71
65
  "node": ">=16"
72
66
  },
73
67
  "scripts": {
74
- "pretest": "eslint --ext .ts,.tsx .",
75
- "test": "jest",
76
- "test:ci": "jest",
77
- "test:type": "tsc",
68
+ "test": "yarn g:test",
69
+ "test:ci": "yarn g:test",
70
+ "test:type": "yarn g:tsc",
78
71
  "dev": "run build:lib -w",
79
72
  "build": "run build:lib",
80
- "build:lib": "NODE_ENV=production BROWSERSLIST_ENV=node16 babel --root-mode upward src --out-dir dist --source-maps inline --extensions '.ts,.tsx,.js' --ignore '**/__tests__/**' --ignore '**/*.d.ts'",
81
- "build:clean": "rimraf lib dist ts3.4 legacy dist *.tsbuildinfo",
73
+ "build:lib": "NODE_ENV=production BROWSERSLIST_ENV=node16 yarn g:babel --out-dir dist",
74
+ "build:clean": "yarn g:clean",
82
75
  "prepack": "run build"
83
76
  },
84
77
  "module": "dist/index.js"