@sanity/plugin-kit 4.0.17 → 4.0.18-fix-semantic-release.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/assets/inject/semver-workflow/.husky/commit-msg +0 -3
- package/assets/inject/semver-workflow/.husky/pre-commit +0 -3
- package/dist/_chunks-cjs/init.js +1 -1
- package/dist/_chunks-cjs/init.js.map +1 -1
- package/dist/_chunks-cjs/package.js +2 -1
- package/dist/_chunks-cjs/package.js.map +1 -1
- package/dist/_chunks-cjs/package2.js +19 -16
- package/dist/_chunks-cjs/package2.js.map +1 -1
- package/package.json +18 -15
- package/src/npm/resolveLatestVersions.ts +2 -1
- package/src/presets/semver-workflow.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var name = "@sanity/plugin-kit", version = "4.0.
|
|
2
|
+
var name = "@sanity/plugin-kit", version = "4.0.18-fix-semantic-release.1", description = "Enhanced Sanity.io plugin development experience", keywords = [
|
|
3
3
|
"sanity-io",
|
|
4
4
|
"sanity",
|
|
5
5
|
"plugin",
|
|
@@ -50,13 +50,13 @@ var name = "@sanity/plugin-kit", version = "4.0.17", description = "Enhanced San
|
|
|
50
50
|
ts: !0
|
|
51
51
|
}, dependencies = {
|
|
52
52
|
"@rexxars/choosealicense-list": "1.1.2",
|
|
53
|
-
"@sanity/pkg-utils": "6.
|
|
53
|
+
"@sanity/pkg-utils": "6.10.7",
|
|
54
54
|
chalk: "4.1.2",
|
|
55
55
|
concurrently: "8.2.2",
|
|
56
56
|
"discover-path": "1.0.0",
|
|
57
57
|
"email-validator": "2.0.4",
|
|
58
58
|
execa: "5.1.1",
|
|
59
|
-
"get-it": "8.
|
|
59
|
+
"get-it": "8.6.3",
|
|
60
60
|
"get-latest-version": "5.1.0",
|
|
61
61
|
"git-remote-origin-url": "3.1.0",
|
|
62
62
|
"git-user-info": "2.0.3",
|
|
@@ -69,7 +69,7 @@ var name = "@sanity/plugin-kit", version = "4.0.17", description = "Enhanced San
|
|
|
69
69
|
outdent: "0.8.0",
|
|
70
70
|
"p-any": "3.0.0",
|
|
71
71
|
"p-props": "4.0.0",
|
|
72
|
-
postcss: "8.4.
|
|
72
|
+
postcss: "8.4.40",
|
|
73
73
|
semver: "7.5.4",
|
|
74
74
|
"spdx-license-ids": "3.0.18",
|
|
75
75
|
"validate-npm-package-name": "5.0.0",
|
|
@@ -78,41 +78,43 @@ var name = "@sanity/plugin-kit", version = "4.0.17", description = "Enhanced San
|
|
|
78
78
|
}, devDependencies = {
|
|
79
79
|
"@commitlint/cli": "19.3.0",
|
|
80
80
|
"@commitlint/config-conventional": "19.2.2",
|
|
81
|
-
"@sanity/semantic-release-preset": "
|
|
82
|
-
"@sanity/ui-workshop": "^2.0.
|
|
83
|
-
"@types/eslint": "^8.56.
|
|
81
|
+
"@sanity/semantic-release-preset": "5.0.0",
|
|
82
|
+
"@sanity/ui-workshop": "^2.0.16",
|
|
83
|
+
"@types/eslint": "^8.56.11",
|
|
84
84
|
"@types/fs-extra": "^11.0.4",
|
|
85
85
|
"@types/inquirer": "^9.0.3",
|
|
86
86
|
"@types/node": "^18.17.4",
|
|
87
87
|
"@types/nodemon": "^1.19.6",
|
|
88
88
|
"@types/tap": "^15.0.11",
|
|
89
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
90
|
-
"@typescript-eslint/parser": "^7.
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
90
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
91
91
|
eslint: "^8.57.0",
|
|
92
92
|
"eslint-config-prettier": "^9.1.0",
|
|
93
93
|
"eslint-config-sanity": "^7.1.2",
|
|
94
|
-
"eslint-plugin-prettier": "^5.1
|
|
94
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
95
95
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
96
96
|
"fs-extra": "^11.2.0",
|
|
97
97
|
husky: "^8.0.3",
|
|
98
98
|
json5: "2.2.3",
|
|
99
99
|
"lint-staged": "^13.3.0",
|
|
100
|
-
prettier: "^3.3.
|
|
101
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
100
|
+
prettier: "^3.3.3",
|
|
101
|
+
"prettier-plugin-packagejson": "^2.5.1",
|
|
102
102
|
readdirp: "^3.6.0",
|
|
103
103
|
rimraf: "^4.4.1",
|
|
104
|
-
sanity: "3.
|
|
104
|
+
sanity: "3.52.4",
|
|
105
105
|
sinon: "^17.0.2",
|
|
106
106
|
tap: "^16.3.10",
|
|
107
107
|
"ts-node": "^10.9.2",
|
|
108
|
-
typescript: "5.
|
|
108
|
+
typescript: "5.5.3"
|
|
109
109
|
}, peerDependencies = {
|
|
110
110
|
eslint: ">=8.0.0"
|
|
111
111
|
}, engines = {
|
|
112
112
|
node: ">=18"
|
|
113
113
|
}, publishConfig = {
|
|
114
114
|
access: "public"
|
|
115
|
-
}, binname = "sanity-plugin",
|
|
115
|
+
}, binname = "sanity-plugin", overrides = {
|
|
116
|
+
"conventional-changelog-conventionalcommits": ">= 8.0.0"
|
|
117
|
+
}, pkg = {
|
|
116
118
|
name,
|
|
117
119
|
version,
|
|
118
120
|
description,
|
|
@@ -137,7 +139,8 @@ var name = "@sanity/plugin-kit", version = "4.0.17", description = "Enhanced San
|
|
|
137
139
|
peerDependencies,
|
|
138
140
|
engines,
|
|
139
141
|
publishConfig,
|
|
140
|
-
binname
|
|
142
|
+
binname,
|
|
143
|
+
overrides
|
|
141
144
|
};
|
|
142
145
|
exports.pkg = pkg;
|
|
143
146
|
//# sourceMappingURL=package2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package2.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/plugin-kit",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.18-fix-semantic-release.1",
|
|
4
4
|
"description": "Enhanced Sanity.io plugin development experience",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity-io",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@rexxars/choosealicense-list": "1.1.2",
|
|
72
|
-
"@sanity/pkg-utils": "6.
|
|
72
|
+
"@sanity/pkg-utils": "6.10.7",
|
|
73
73
|
"chalk": "4.1.2",
|
|
74
74
|
"concurrently": "8.2.2",
|
|
75
75
|
"discover-path": "1.0.0",
|
|
76
76
|
"email-validator": "2.0.4",
|
|
77
77
|
"execa": "5.1.1",
|
|
78
|
-
"get-it": "8.
|
|
78
|
+
"get-it": "8.6.3",
|
|
79
79
|
"get-latest-version": "5.1.0",
|
|
80
80
|
"git-remote-origin-url": "3.1.0",
|
|
81
81
|
"git-user-info": "2.0.3",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"outdent": "0.8.0",
|
|
89
89
|
"p-any": "3.0.0",
|
|
90
90
|
"p-props": "4.0.0",
|
|
91
|
-
"postcss": "8.4.
|
|
91
|
+
"postcss": "8.4.40",
|
|
92
92
|
"semver": "7.5.4",
|
|
93
93
|
"spdx-license-ids": "3.0.18",
|
|
94
94
|
"validate-npm-package-name": "5.0.0",
|
|
@@ -98,34 +98,34 @@
|
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@commitlint/cli": "19.3.0",
|
|
100
100
|
"@commitlint/config-conventional": "19.2.2",
|
|
101
|
-
"@sanity/semantic-release-preset": "
|
|
102
|
-
"@sanity/ui-workshop": "^2.0.
|
|
103
|
-
"@types/eslint": "^8.56.
|
|
101
|
+
"@sanity/semantic-release-preset": "5.0.0",
|
|
102
|
+
"@sanity/ui-workshop": "^2.0.16",
|
|
103
|
+
"@types/eslint": "^8.56.11",
|
|
104
104
|
"@types/fs-extra": "^11.0.4",
|
|
105
105
|
"@types/inquirer": "^9.0.3",
|
|
106
106
|
"@types/node": "^18.17.4",
|
|
107
107
|
"@types/nodemon": "^1.19.6",
|
|
108
108
|
"@types/tap": "^15.0.11",
|
|
109
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
110
|
-
"@typescript-eslint/parser": "^7.
|
|
109
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
110
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
111
111
|
"eslint": "^8.57.0",
|
|
112
112
|
"eslint-config-prettier": "^9.1.0",
|
|
113
113
|
"eslint-config-sanity": "^7.1.2",
|
|
114
|
-
"eslint-plugin-prettier": "^5.1
|
|
114
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
115
115
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
116
116
|
"fs-extra": "^11.2.0",
|
|
117
117
|
"husky": "^8.0.3",
|
|
118
118
|
"json5": "2.2.3",
|
|
119
119
|
"lint-staged": "^13.3.0",
|
|
120
|
-
"prettier": "^3.3.
|
|
121
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
120
|
+
"prettier": "^3.3.3",
|
|
121
|
+
"prettier-plugin-packagejson": "^2.5.1",
|
|
122
122
|
"readdirp": "^3.6.0",
|
|
123
123
|
"rimraf": "^4.4.1",
|
|
124
|
-
"sanity": "3.
|
|
124
|
+
"sanity": "3.52.4",
|
|
125
125
|
"sinon": "^17.0.2",
|
|
126
126
|
"tap": "^16.3.10",
|
|
127
127
|
"ts-node": "^10.9.2",
|
|
128
|
-
"typescript": "5.
|
|
128
|
+
"typescript": "5.5.3"
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
131
|
"eslint": ">=8.0.0"
|
|
@@ -136,5 +136,8 @@
|
|
|
136
136
|
"publishConfig": {
|
|
137
137
|
"access": "public"
|
|
138
138
|
},
|
|
139
|
-
"binname": "sanity-plugin"
|
|
139
|
+
"binname": "sanity-plugin",
|
|
140
|
+
"overrides": {
|
|
141
|
+
"conventional-changelog-conventionalcommits": ">= 8.0.0"
|
|
142
|
+
}
|
|
140
143
|
}
|
|
@@ -3,7 +3,8 @@ import getLatestVersion from 'get-latest-version'
|
|
|
3
3
|
|
|
4
4
|
// We may want to lock certain dependencies to specific versions
|
|
5
5
|
const lockedDependencies: Record<string, string> = {
|
|
6
|
-
'styled-components': '^
|
|
6
|
+
'styled-components': '^6.1',
|
|
7
|
+
eslint: '^8.57.0',
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
export function resolveLatestVersions(packages: string[]) {
|
|
@@ -42,7 +42,7 @@ async function applyPreset(options: InjectOptions) {
|
|
|
42
42
|
async function addPrepareScript(options: InjectOptions) {
|
|
43
43
|
const pkg = await getPackage(options)
|
|
44
44
|
const didWrite = await addPackageJsonScripts(pkg, options, (scripts) => {
|
|
45
|
-
scripts.prepare = addScript(`husky
|
|
45
|
+
scripts.prepare = addScript(`husky`, scripts.prepare)
|
|
46
46
|
return scripts
|
|
47
47
|
})
|
|
48
48
|
info(didWrite, 'Added prepare script to package.json')
|