@australiangreens/ag-internal-components 0.0.67 → 0.0.69

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@australiangreens/ag-internal-components",
3
3
  "private": false,
4
- "version": "0.0.67",
4
+ "version": "0.0.69",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/australiangreens/ag-internal-components#readme",
7
7
  "license": "MIT",
@@ -10,30 +10,17 @@
10
10
  "contributors": [
11
11
  "Anthony Blond <anthony@unfinishedteleporter.com>"
12
12
  ],
13
- "scripts": {
14
- "dev": "vite",
15
- "build": "vite build && sh ./scripts/post-build.sh",
16
- "preview": "vite preview",
17
- "eslint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
18
- "test": "vitest run",
19
- "test:coverage": "vitest run --coverage",
20
- "test:watch": "vitest",
21
- "### LIFECYCLE SCRIPTS ###": "",
22
- "prepare": "husky install",
23
- "prepublishOnly": "pnpm eslint && pnpm test && pnpm build",
24
- "### HUSKY GIT HOOKS ###": "Called by husky pre-commit and pre-push scripts",
25
- "prepush": "sh ./scripts/githooks/pre-push.sh",
26
- "precommit": "sh ./scripts/githooks/pre-commit.sh",
27
- "commitmsg": "sh ./scripts/githooks/commit-msg.sh",
28
- "storybook": "storybook dev -p 6006",
29
- "storybook:no": "storybook dev -p 6006 --no-open",
30
- "build-storybook": "storybook build"
31
- },
32
13
  "files": [
33
14
  "dist/*"
34
15
  ],
35
16
  "main": "./dist/cjs/index.cjs",
36
17
  "module": "./dist/esm/index.js",
18
+ "exports": {
19
+ ".": {
20
+ "import": "./dist/esm/index.js",
21
+ "require": "./dist/cjs/index.cjs"
22
+ }
23
+ },
37
24
  "types": "./dist/index.d.ts",
38
25
  "repository": {
39
26
  "type": "git",
@@ -51,16 +38,16 @@
51
38
  "peerDependencies": {
52
39
  "@emotion/react": "11.11.1",
53
40
  "@emotion/styled": "11.11.0",
54
- "@mui/icons-material": "^5.14.3",
55
- "@mui/material": "^5.14.5",
41
+ "@mui/icons-material": "^5.14.8",
42
+ "@mui/material": "^5.14.8",
56
43
  "react": "^18.2.0",
57
44
  "react-dom": "^18.2.0"
58
45
  },
59
46
  "devDependencies": {
60
47
  "@emotion/react": "^11.11.1",
61
48
  "@emotion/styled": "^11.11.0",
62
- "@mui/icons-material": "^5.14.3",
63
- "@mui/material": "^5.14.5",
49
+ "@mui/icons-material": "^5.14.8",
50
+ "@mui/material": "^5.14.8",
64
51
  "@storybook/addon-essentials": "^7.0.26",
65
52
  "@storybook/addon-interactions": "^7.0.26",
66
53
  "@storybook/addon-links": "^7.0.26",
@@ -94,7 +81,7 @@
94
81
  "eslint-plugin-storybook": "^0.6.12",
95
82
  "eslint-plugin-testing-library": "^5.11.0",
96
83
  "eslint-plugin-tsdoc": "^0.2.17",
97
- "happy-dom": "^9.20.3",
84
+ "happy-dom": "^11.0.2",
98
85
  "husky": "^8.0.3",
99
86
  "lint-staged": "^13.2.2",
100
87
  "prettier": "^2.8.8",
@@ -104,11 +91,11 @@
104
91
  "react-router-dom": "^6.14.2",
105
92
  "storybook": "^7.0.27",
106
93
  "typescript": "^5.0.2",
107
- "vite": "^4.3.9",
94
+ "vite": "^4.4.9",
108
95
  "vite-plugin-dts": "^3.5.2",
109
96
  "vite-plugin-linter": "^2.0.2",
110
97
  "vite-tsconfig-paths": "^4.2.0",
111
- "vitest": "^0.34.1"
98
+ "vitest": "^0.34.4"
112
99
  },
113
100
  "husky": {
114
101
  "hooks": {
@@ -126,5 +113,22 @@
126
113
  },
127
114
  "engines": {
128
115
  "node": ">=16.14.0"
116
+ },
117
+ "scripts": {
118
+ "dev": "vite",
119
+ "build": "vite build && sh ./scripts/post-build.sh",
120
+ "preview": "vite preview",
121
+ "eslint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
122
+ "test": "vitest run",
123
+ "test:coverage": "vitest run --coverage",
124
+ "test:watch": "vitest",
125
+ "### LIFECYCLE SCRIPTS ###": "",
126
+ "### HUSKY GIT HOOKS ###": "Called by husky pre-commit and pre-push scripts",
127
+ "prepush": "sh ./scripts/githooks/pre-push.sh",
128
+ "precommit": "sh ./scripts/githooks/pre-commit.sh",
129
+ "commitmsg": "sh ./scripts/githooks/commit-msg.sh",
130
+ "storybook": "storybook dev -p 6006",
131
+ "storybook:no": "storybook dev -p 6006 --no-open",
132
+ "build-storybook": "storybook build"
129
133
  }
130
- }
134
+ }