@gusto/embedded-react-sdk 0.5.0 → 0.7.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": "@gusto/embedded-react-sdk",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "homepage": "https://github.com/Gusto/embedded-react-sdk",
5
5
  "bugs": {
6
6
  "url": "https://github.com/Gusto/embedded-react-sdk/issues"
@@ -28,21 +28,19 @@
28
28
  "./CHANGELOG.md"
29
29
  ],
30
30
  "scripts": {
31
- "build": "npm run build:clean && npm run generate && npm run tsc && vite build",
31
+ "build": "npm run build:clean && npm run i18n:generate && vite build",
32
32
  "build:clean": "rm -rf ./dist && mkdir ./dist",
33
33
  "commitlint": "commitlint --edit",
34
- "dev": "node ./build/prompt.js && npm run build && vite build --watch",
35
- "doc": "typedoc",
34
+ "watch:vite": "vite build --watch",
35
+ "watch:translations": "node ./build/translationWatcher.js",
36
+ "dev": "node ./build/prompt.js && npm run build && npm-run-all --parallel watch:vite watch:translations",
37
+ "docs": "npx tsx ./build/eventTypeDocsEmitter.ts",
36
38
  "format": "prettier . --write --log-level error",
37
39
  "format:check": "prettier . --check --log-level error",
38
- "generate": "npm run openapi:generate && npm run i18n:generate",
39
40
  "ladle": "ladle serve",
40
41
  "i18n:generate": "node ./build/interface.js",
41
42
  "lint": "npm run lint:check -- --fix",
42
43
  "lint:check": "eslint .",
43
- "openapi": "npm run openapi:download && npm run openapi:generate",
44
- "openapi:download": "node build/getTargetSpecFromReadme.js",
45
- "openapi:generate": "node build/generateOpenApiFiles.js",
46
44
  "pack": "npm run build && npm pack",
47
45
  "postversion": "git push",
48
46
  "prepare": "husky",
@@ -53,41 +51,40 @@
53
51
  "tsc": "tsc --pretty"
54
52
  },
55
53
  "devDependencies": {
56
- "@commitlint/cli": "^19.5.0",
57
- "@commitlint/config-conventional": "^19.5.0",
54
+ "@commitlint/cli": "^19.8.0",
55
+ "@commitlint/config-conventional": "^19.8.0",
58
56
  "@eslint/js": "^9.13.0",
59
- "@ladle/react": "^5.0.1",
60
- "@tanstack/react-query-devtools": "^5.59.15",
57
+ "@ladle/react": "^5.0.2",
61
58
  "@testing-library/jest-dom": "^6.6.3",
62
- "@testing-library/react": "^16.0.1",
63
- "@testing-library/user-event": "^14.5.2",
59
+ "@testing-library/react": "^16.2.0",
60
+ "@testing-library/user-event": "^14.6.1",
64
61
  "@types/dompurify": "^3.0.5",
65
- "@types/react": "^19.0.7",
66
- "@vitejs/plugin-react-swc": "^3.7.1",
62
+ "@types/react": "^19.0.12",
63
+ "@vitejs/plugin-react-swc": "^3.8.1",
67
64
  "@vitest/coverage-v8": "^2.1.9",
68
- "eslint": "^9.13.0",
69
- "eslint-plugin-jsx-a11y": "^6.10.1",
70
- "eslint-plugin-react": "^7.37.2",
71
- "eslint-plugin-react-hooks": "^5.0.0",
65
+ "eslint": "^9.23.0",
72
66
  "eslint-plugin-import": "^2.31.0",
73
- "globals": "^15.11.0",
74
- "husky": "^9.1.6",
67
+ "eslint-plugin-jsx-a11y": "^6.10.2",
68
+ "eslint-plugin-react": "^7.37.4",
69
+ "eslint-plugin-react-hooks": "^5.2.0",
70
+ "globals": "^15.15.0",
71
+ "husky": "^9.1.7",
75
72
  "i18next-resources-for-ts": "^1.5.0",
76
73
  "jsdom": "^25.0.1",
77
74
  "jsdom-testing-mocks": "^1.13.1",
78
- "lint-staged": "^15.4.1",
79
- "msw": "^2.4.3",
80
- "openapi-typescript": "^7.4.1",
81
- "prettier": "^3.3.3",
82
- "sass-embedded": "^1.80.2",
83
- "ts-node": "^10.9.2",
84
- "typedoc": "^0.26.10",
85
- "typescript-eslint": "^8.11.0",
86
- "vite": "^5.4.9",
87
- "vite-plugin-dts": "^4.3.0",
88
- "vite-plugin-sass-dts": "^1.3.29",
75
+ "lint-staged": "^15.5.0",
76
+ "msw": "^2.7.3",
77
+ "npm-run-all": "^4.1.5",
78
+ "prettier": "^3.5.3",
79
+ "sass-embedded": "^1.86.0",
80
+ "tsx": "^4.19.3",
81
+ "typescript-eslint": "^8.28.0",
82
+ "vite": "^5.4.15",
83
+ "vite-plugin-circular-dependency": "^0.5.0",
84
+ "vite-plugin-dts": "^4.5.3",
85
+ "vite-plugin-sass-dts": "^1.3.31",
89
86
  "vite-plugin-stylelint": "^5.3.1",
90
- "vite-plugin-svgr": "^4.2.0",
87
+ "vite-plugin-svgr": "^4.3.0",
91
88
  "vitest": "^2.1.9"
92
89
  },
93
90
  "peerDependencies": {
@@ -96,24 +93,23 @@
96
93
  "typescript": "^5.6.3"
97
94
  },
98
95
  "dependencies": {
99
- "@gusto/embedded-api": "^0.4.1",
96
+ "@gusto/embedded-api": "^0.5.9",
100
97
  "@hookform/error-message": "^2.0.1",
101
- "@hookform/resolvers": "^3.9.0",
102
- "@internationalized/date": "^3.5.6",
103
- "@internationalized/number": "^3.5.4",
104
- "@tanstack/react-query": "^5.59.15",
98
+ "@hookform/resolvers": "^3.10.0",
99
+ "@internationalized/date": "^3.7.0",
100
+ "@internationalized/number": "^3.6.0",
105
101
  "classnames": "^2.5.1",
106
102
  "deepmerge": "^4.3.1",
107
- "dompurify": "^3.1.7",
108
- "i18next": "^23.11.2",
109
- "openapi-fetch": "^0.12.2",
110
- "react-aria": "^3.35.1",
111
- "react-aria-components": "^1.4.1",
112
- "react-error-boundary": "^4.1.1",
113
- "react-hook-form": "^7.53.0",
114
- "react-i18next": "^15.0.3",
103
+ "dompurify": "^3.2.4",
104
+ "i18next": "^23.16.8",
105
+ "openapi-fetch": "^0.12.5",
106
+ "react-aria": "^3.38.1",
107
+ "react-aria-components": "^1.7.1",
108
+ "react-error-boundary": "^4.1.2",
109
+ "react-hook-form": "^7.54.2",
110
+ "react-i18next": "^15.4.1",
115
111
  "react-robot": "^1.2.0",
116
- "robot3": "^1.1.0",
112
+ "robot3": "^1.1.1",
117
113
  "valibot": "^0.42.1"
118
114
  },
119
115
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"