@alextheman/components 6.2.3 → 6.3.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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +85 -63
- package/dist/index.d.ts +59 -37
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +51 -31
- package/README.md +0 -5
package/package.json
CHANGED
|
@@ -1,46 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alextheman/components",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"description": "A package containing common React components used across my projects",
|
|
3
|
+
"version": "6.3.0",
|
|
4
|
+
"description": "A package containing common React components used across my projects.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/
|
|
7
|
+
"url": "git+https://github.com/alextheman231/components.git"
|
|
8
8
|
},
|
|
9
9
|
"license": "ISC",
|
|
10
10
|
"author": "alextheman",
|
|
11
11
|
"type": "module",
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
15
19
|
"files": [
|
|
16
20
|
"dist"
|
|
17
21
|
],
|
|
18
22
|
"dependencies": {
|
|
19
|
-
"@alextheman/utility": "^
|
|
23
|
+
"@alextheman/utility": "^4.15.0",
|
|
20
24
|
"common-tags": "^1.8.2",
|
|
21
|
-
"react-live": "^4.1.8"
|
|
25
|
+
"react-live": "^4.1.8",
|
|
26
|
+
"zod": "^4.3.6"
|
|
22
27
|
},
|
|
23
28
|
"devDependencies": {
|
|
24
|
-
"@alextheman/eslint-plugin": "^
|
|
29
|
+
"@alextheman/eslint-plugin": "^5.7.0",
|
|
25
30
|
"@emotion/react": "^11.14.0",
|
|
26
31
|
"@emotion/styled": "^11.14.1",
|
|
27
|
-
"@mui/icons-material": "^7.3.
|
|
28
|
-
"@mui/material": "^7.3.
|
|
32
|
+
"@mui/icons-material": "^7.3.8",
|
|
33
|
+
"@mui/material": "^7.3.8",
|
|
34
|
+
"@playwright/test": "^1.58.2",
|
|
29
35
|
"@types/common-tags": "^1.8.4",
|
|
30
|
-
"@types/node": "^25.
|
|
31
|
-
"@types/react": "^19.2.
|
|
36
|
+
"@types/node": "^25.2.3",
|
|
37
|
+
"@types/react": "^19.2.14",
|
|
38
|
+
"@types/react-dom": "^19.2.3",
|
|
39
|
+
"@typescript-eslint/types": "^8.55.0",
|
|
40
|
+
"alex-c-line": "^1.26.2",
|
|
32
41
|
"dotenv-cli": "^11.0.0",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
42
|
+
"esbuild": "^0.27.3",
|
|
43
|
+
"eslint": "^10.0.0",
|
|
44
|
+
"execa": "^9.6.1",
|
|
45
|
+
"globals": "^17.3.0",
|
|
35
46
|
"husky": "^9.1.7",
|
|
36
|
-
"prettier": "^3.
|
|
37
|
-
"react": "^19.2.
|
|
38
|
-
"react-
|
|
39
|
-
"react-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
47
|
+
"prettier": "^3.8.1",
|
|
48
|
+
"react": "^19.2.4",
|
|
49
|
+
"react-dom": "^19.2.4",
|
|
50
|
+
"react-hook-form": "^7.71.1",
|
|
51
|
+
"react-router-dom": "^7.13.0",
|
|
52
|
+
"styled-components": "^6.3.9",
|
|
53
|
+
"tempy": "^3.2.0",
|
|
54
|
+
"tsdown": "^0.18.4",
|
|
42
55
|
"typescript": "^5.9.3",
|
|
43
|
-
"typescript-eslint": "^8.
|
|
56
|
+
"typescript-eslint": "^8.55.0"
|
|
44
57
|
},
|
|
45
58
|
"peerDependencies": {
|
|
46
59
|
"@emotion/react": ">=11.0.0",
|
|
@@ -48,35 +61,42 @@
|
|
|
48
61
|
"@mui/icons-material": ">=7.0.0",
|
|
49
62
|
"@mui/material": ">=7.0.0",
|
|
50
63
|
"react": ">=19.0.0",
|
|
64
|
+
"react-dom": ">=19.0.0",
|
|
51
65
|
"react-hook-form": ">=7.66.0",
|
|
52
66
|
"react-router-dom": ">=7.0.0"
|
|
53
67
|
},
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": ">=22.0.0"
|
|
70
|
+
},
|
|
54
71
|
"scripts": {
|
|
55
72
|
"build": "tsdown",
|
|
56
|
-
"change-major": "pnpm version major -m \"Change version number to v%s\n\nThe changes associated with this version may remove certain features and/or change existing features in such a way that would require users to heavily refactor their code. Please see the associated commits with this pull request for more information on what changed.\"",
|
|
57
|
-
"change-minor": "pnpm version minor -m \"Change version number to v%s\"",
|
|
58
|
-
"change-patch": "pnpm version patch -m \"Change version number to v%s\"",
|
|
59
73
|
"create-local-package": "pnpm run build && rm -f alextheman-components-*.tgz && pnpm pack",
|
|
74
|
+
"create-release-note": "git pull origin main && bash -c 'alex-c-line create-release-note-2 $@' --",
|
|
60
75
|
"format": "pnpm run format-prettier && pnpm run format-eslint",
|
|
61
|
-
"format-eslint": "eslint --fix --suppress-all \"src/**/*.{ts,tsx}\" \"package.json\" && rm -f eslint-suppressions.json",
|
|
62
|
-
"format-prettier": "pnpm run format-prettier-typescript && pnpm run format-prettier-javascript",
|
|
76
|
+
"format-eslint": "eslint --fix --suppress-all \"src/**/*.{ts,tsx}\" \"package.json\" \"tests/**/*.ts\" && rm -f eslint-suppressions.json",
|
|
77
|
+
"format-prettier": "pnpm run format-prettier-typescript && pnpm run format-prettier-javascript && pnpm run format-prettier-yml",
|
|
63
78
|
"format-prettier-javascript": "prettier --write \"./**/*.js\"",
|
|
64
79
|
"format-prettier-typescript": "prettier --write --parser typescript \"./**/*.{ts,tsx}\"",
|
|
80
|
+
"format-prettier-yml": "prettier --write \"./**/*.{yml,yaml}\"",
|
|
65
81
|
"lint": "pnpm run lint-tsc && pnpm run lint-eslint && pnpm run lint-prettier",
|
|
66
|
-
"lint-eslint": "eslint \"src/**/*.{ts,tsx}\" \"package.json\"",
|
|
67
|
-
"lint-prettier": "pnpm run lint-prettier-typescript && pnpm run lint-prettier-javascript",
|
|
82
|
+
"lint-eslint": "eslint \"src/**/*.{ts,tsx}\" \"package.json\" \"tests/**/*.ts\"",
|
|
83
|
+
"lint-prettier": "pnpm run lint-prettier-typescript && pnpm run lint-prettier-javascript && pnpm run lint-prettier-yml",
|
|
68
84
|
"lint-prettier-javascript": "prettier --check \"./**/*.js\"",
|
|
69
85
|
"lint-prettier-typescript": "prettier --check --parser typescript \"./**/*.{ts,tsx}\"",
|
|
86
|
+
"lint-prettier-yml": "prettier --check \"./**/*.{yml,yaml}\"",
|
|
70
87
|
"lint-tsc": "tsc --noEmit",
|
|
88
|
+
"pre-commit": "alex-c-line pre-commit-2",
|
|
71
89
|
"prepare-live-eslint-plugin": "pnpm uninstall @alextheman/eslint-plugin && pnpm install --save-dev @alextheman/eslint-plugin",
|
|
72
90
|
"prepare-live-utility": "pnpm uninstall @alextheman/utility && pnpm install @alextheman/utility",
|
|
73
91
|
"prepare-local-eslint-plugin": "dotenv -e .env -- sh -c 'ESLINT_PLUGIN_PATH=${LOCAL_ESLINT_PLUGIN_PATH:-../eslint-plugin}; pnpm --prefix \"$ESLINT_PLUGIN_PATH\" run build && pnpm uninstall @alextheman/eslint-plugin && pnpm install --save-dev file:\"$ESLINT_PLUGIN_PATH\"'",
|
|
74
92
|
"prepare-local-utility": "dotenv -e .env -- sh -c 'UTILITY_PATH=${LOCAL_UTILITY_PATH:-../utility}; pnpm --prefix \"$UTILITY_PATH\" run build && pnpm uninstall @alextheman/utility && pnpm install file:\"$UTILITY_PATH\"'",
|
|
75
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
76
93
|
"update-dependencies": "pnpm update --latest && pnpm update",
|
|
77
94
|
"use-live-eslint-plugin": "pnpm run prepare-live-eslint-plugin && pnpm run lint",
|
|
78
95
|
"use-live-utility": "pnpm run prepare-live-utility",
|
|
79
96
|
"use-local-eslint-plugin": "pnpm run prepare-local-eslint-plugin && pnpm run lint",
|
|
80
|
-
"use-local-utility": "pnpm run prepare-local-utility"
|
|
97
|
+
"use-local-utility": "pnpm run prepare-local-utility",
|
|
98
|
+
"test": "playwright test",
|
|
99
|
+
"test-update-snapshots": "playwright test --update-snapshots",
|
|
100
|
+
"test-update-ci-snapshots": "docker run --rm -it -v \"$PWD\":/work -v \"$HOME/.pnpm-store\":/pnpm-store -w /work mcr.microsoft.com/playwright:v1.58.2-jammy bash -lc \"npm i -g pnpm@10.29.3 && pnpm config set store-dir /pnpm-store && pnpm install && pnpm test-update-snapshots\""
|
|
81
101
|
}
|
|
82
102
|
}
|
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
### AlexTheMan's Components Library
|
|
2
|
-
|
|
3
|
-
This is the repository for my components library, where I store a bunch of useful general-purpose React components for use across multiple projects.
|
|
4
|
-
|
|
5
|
-
For more information, check out the documentation site: https://alextheman-package-docs.netlify.app/components
|