sanity-plugin-recurring-dates 1.4.1 → 2.0.1
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/README.md +6 -2
- package/dist/index.d.mts +49 -0
- package/dist/index.js +1714 -4161
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2520 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +44 -38
- package/src/components/CustomRule/Monthly.tsx +1 -1
- package/src/utils.ts +1 -0
- package/dist/index.esm.js +0 -4950
- package/dist/index.esm.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sanity-plugin-recurring-dates",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Add a custom input component to your Sanity Studio to manage recurring dates (e.g. for events)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"author": "Tom Smith <tom@sanity.io>",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"type": "commonjs",
|
|
19
21
|
"exports": {
|
|
20
22
|
".": {
|
|
21
|
-
"types": "./dist/index.d.ts",
|
|
22
23
|
"source": "./src/index.ts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
23
25
|
"require": "./dist/index.js",
|
|
24
|
-
"
|
|
25
|
-
"default": "./dist/index.esm.js"
|
|
26
|
+
"default": "./dist/index.js"
|
|
26
27
|
},
|
|
27
28
|
"./package.json": "./package.json"
|
|
28
29
|
},
|
|
29
30
|
"main": "./dist/index.js",
|
|
30
|
-
"module": "./dist/index.
|
|
31
|
-
"source": "./src/index.ts",
|
|
31
|
+
"module": "./dist/index.mjs",
|
|
32
32
|
"types": "./dist/index.d.ts",
|
|
33
33
|
"files": [
|
|
34
34
|
"dist",
|
|
@@ -37,59 +37,65 @@
|
|
|
37
37
|
"v2-incompatible.js"
|
|
38
38
|
],
|
|
39
39
|
"scripts": {
|
|
40
|
-
"build": "
|
|
40
|
+
"build": "plugin-kit verify-package --silent && pkg-utils build --strict --check --clean",
|
|
41
41
|
"clean": "rimraf dist",
|
|
42
42
|
"format": "prettier --write --cache --ignore-unknown .",
|
|
43
43
|
"link-watch": "plugin-kit link-watch",
|
|
44
44
|
"lint": "eslint .",
|
|
45
|
-
"prepublishOnly": "run
|
|
45
|
+
"prepublishOnly": "npm run build",
|
|
46
46
|
"watch": "pkg-utils watch --strict",
|
|
47
47
|
"prepare": "husky install"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@sanity/
|
|
50
|
+
"@sanity/icons": ">= 2",
|
|
51
|
+
"@sanity/incompatible-plugin": "^1.0.5",
|
|
52
|
+
"@sanity/ui": "^3",
|
|
51
53
|
"date-fns-tz": "^3.2.0",
|
|
52
54
|
"lodash": "^4.17.21",
|
|
53
55
|
"rrule": "^2.7.2",
|
|
54
56
|
"sanity-plugin-utils": "^1.6.2"
|
|
55
57
|
},
|
|
56
58
|
"devDependencies": {
|
|
57
|
-
"@commitlint/cli": "^
|
|
58
|
-
"@commitlint/config-conventional": "^
|
|
59
|
-
"@sanity/pkg-utils": "^
|
|
60
|
-
"@sanity/plugin-kit": "^
|
|
61
|
-
"@sanity/semantic-release-preset": "^
|
|
62
|
-
"@types/
|
|
63
|
-
"@
|
|
64
|
-
"@
|
|
65
|
-
"eslint": "^8.
|
|
66
|
-
"eslint
|
|
67
|
-
"eslint
|
|
68
|
-
"eslint-
|
|
69
|
-
"eslint-
|
|
70
|
-
"eslint-plugin-
|
|
59
|
+
"@commitlint/cli": "^19.8.0",
|
|
60
|
+
"@commitlint/config-conventional": "^19.8.0",
|
|
61
|
+
"@sanity/pkg-utils": "^7.1.0",
|
|
62
|
+
"@sanity/plugin-kit": "^4.0.19",
|
|
63
|
+
"@sanity/semantic-release-preset": "^5.0.0",
|
|
64
|
+
"@types/lodash": "^4.17.16",
|
|
65
|
+
"@types/react": "^19",
|
|
66
|
+
"@types/react-dom": "^19",
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
68
|
+
"@typescript-eslint/parser": "^8.26.1",
|
|
69
|
+
"eslint": "^8.57.1",
|
|
70
|
+
"eslint-config-prettier": "^10.1.1",
|
|
71
|
+
"eslint-config-sanity": "^7.1.4",
|
|
72
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
73
|
+
"eslint-plugin-react": "^7.37.4",
|
|
74
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
71
75
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
72
|
-
"husky": "^
|
|
73
|
-
"lint-staged": "^15.
|
|
76
|
+
"husky": "^9.1.7",
|
|
77
|
+
"lint-staged": "^15.5.0",
|
|
74
78
|
"npm-run-all2": "^5.0.0",
|
|
75
|
-
"prettier": "^3.
|
|
76
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
77
|
-
"react": "^
|
|
78
|
-
"react-dom": "^
|
|
79
|
-
"react-is": "^
|
|
79
|
+
"prettier": "^3.5.3",
|
|
80
|
+
"prettier-plugin-packagejson": "^2.5.10",
|
|
81
|
+
"react": "^19.0.0",
|
|
82
|
+
"react-dom": "^19.0.0",
|
|
83
|
+
"react-is": "^19.0.0",
|
|
80
84
|
"rimraf": "^5.0.1",
|
|
81
|
-
"sanity": "^
|
|
82
|
-
"styled-components": "^6.1.
|
|
83
|
-
"typescript": "^5.
|
|
85
|
+
"sanity": "^4",
|
|
86
|
+
"styled-components": "^6.1.15",
|
|
87
|
+
"typescript": "^5.8.2"
|
|
84
88
|
},
|
|
85
89
|
"peerDependencies": {
|
|
86
90
|
"@sanity/icons": ">= 2",
|
|
87
|
-
"@sanity/ui": "
|
|
88
|
-
"@sanity/util": "^
|
|
89
|
-
"react": "^18",
|
|
90
|
-
"
|
|
91
|
+
"@sanity/ui": ">= 2",
|
|
92
|
+
"@sanity/util": "^4",
|
|
93
|
+
"react": "^18.3 || ^19",
|
|
94
|
+
"react-dom": "^18.3 || ^19",
|
|
95
|
+
"react-is": "^18.3 || ^19",
|
|
96
|
+
"sanity": "^3 || ^4"
|
|
91
97
|
},
|
|
92
98
|
"engines": {
|
|
93
|
-
"node": ">=
|
|
99
|
+
"node": ">=18"
|
|
94
100
|
}
|
|
95
101
|
}
|