@sanity/plugin-kit 0.1.0-v3-studio.1 → 1.0.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/LICENSE CHANGED
@@ -1,6 +1,5 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Espen Hovlandsdal
4
3
  Copyright (c) 2022 Sanity.io
5
4
 
6
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
package/README.md CHANGED
@@ -49,7 +49,7 @@ Parcel uses a build cache, you probably want to put `.parcel-cache` into `.gitig
49
49
  First, run the init command:
50
50
  ```bash
51
51
  # Initialize a new plugin (outside of your Sanity studio folder)
52
- npx @sanity/plugin-kit@latest init sanity-plugin-testing-it-out
52
+ npx @sanity/plugin-kit init sanity-plugin-testing-it-out
53
53
 
54
54
  # Make your plugin linkable, and compile an initial version
55
55
  cd sanity-plugin-testing-it-out
@@ -86,7 +86,7 @@ Since the plugin is running in watch mode, any changes you make to the plugin co
86
86
 
87
87
  Verify that the plugin package is configured correctly by running:
88
88
 
89
- > npx @sanity/plugin-kit@latest verify-package
89
+ > npx @sanity/plugin-kit verify-package
90
90
 
91
91
  ### What does it do?
92
92
 
@@ -116,7 +116,7 @@ Simply use the `verify-package` command in a v2 plugin package, and it will noti
116
116
  plugin to v3.
117
117
 
118
118
  ```sh
119
- npx @sanity/plugin-kit@latest verify-package
119
+ npx @sanity/plugin-kit verify-package
120
120
  ```
121
121
 
122
122
  ## Upgrade help in V2 Studio
@@ -125,7 +125,7 @@ You can use the `verify-studio` command in a v2 Sanity Studio to get some of the
125
125
  to v3.
126
126
 
127
127
  ```sh
128
- npx @sanity/plugin-kit@latest verify-studio
128
+ npx @sanity/plugin-kit verify-studio
129
129
  ```
130
130
 
131
131
  This will:
@@ -138,10 +138,10 @@ This will:
138
138
 
139
139
  ```sh
140
140
  ## for plugins
141
- npx @sanity/plugin-kit@latest verify-package --single
141
+ npx @sanity/plugin-kit verify-package --single
142
142
 
143
143
  ## for studio
144
- npx @sanity/plugin-kit@latest verify-package --studio --single
144
+ npx @sanity/plugin-kit verify-package --studio --single
145
145
  ```
146
146
 
147
147
  This will only output the first validation that fails. Useful when working through the list of issues by fixing and rerunning the command.
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/plugin-kit",
3
- "version": "0.1.0-v3-studio.1",
3
+ "version": "1.0.0",
4
4
  "description": "Enhanced Sanity.io plugin development experience",
5
5
  "scripts": {
6
6
  "clean": "rimraf lib",
@@ -14,7 +14,6 @@
14
14
  "lint": "eslint .",
15
15
  "compile": "tsc --noEmit",
16
16
  "format": "prettier src -w",
17
- "semantic-release": "semantic-release",
18
17
  "prepublishOnly": "npm run test && npm run build"
19
18
  },
20
19
  "binname": "sanity-plugin",
@@ -30,7 +29,7 @@
30
29
  ],
31
30
  "repository": {
32
31
  "type": "git",
33
- "url": "git+ssh://git@github.com/rexxars/sanipack.git"
32
+ "url": "git+ssh://git@github.com/sanity-io/plugin-kit.git"
34
33
  },
35
34
  "engines": {
36
35
  "node": ">=14.0.0"
@@ -47,9 +46,9 @@
47
46
  "author": "Sanity.io <hello@sanity.io>",
48
47
  "license": "MIT",
49
48
  "bugs": {
50
- "url": "https://github.com/rexxars/sanipack/issues"
49
+ "url": "https://github.com/sanity-io/plugin-kit/issues"
51
50
  },
52
- "homepage": "https://github.com/rexxars/sanipack#readme",
51
+ "homepage": "https://github.com/sanity-io/plugin-kit#readme",
53
52
  "dependencies": {
54
53
  "@rexxars/choosealicense-list": "^1.1.2",
55
54
  "chalk": "^4.1.2",
@@ -87,6 +86,7 @@
87
86
  "@commitlint/config-conventional": "^16.2.1",
88
87
  "@parcel/packager-ts": "^2.6.0",
89
88
  "@parcel/transformer-typescript-types": "^2.6.0",
89
+ "@sanity/semantic-release-preset": "^1.1.3",
90
90
  "@types/eslint": "^8.4.3",
91
91
  "@types/inquirer": "^8.2.1",
92
92
  "@types/node": "^17.0.40",
@@ -105,7 +105,6 @@
105
105
  "prettier": "^2.6.2",
106
106
  "readdirp": "^3.6.0",
107
107
  "rimraf": "^3.0.2",
108
- "semantic-release": "^19.0.2",
109
108
  "sanity": "^3.0.0-dev-preview.7",
110
109
  "sinon": "^14.0.0",
111
110
  "tap": "^16.2.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/plugin-kit",
3
- "version": "0.1.0-v3-studio.1",
3
+ "version": "1.0.0",
4
4
  "description": "Enhanced Sanity.io plugin development experience",
5
5
  "scripts": {
6
6
  "clean": "rimraf lib",
@@ -14,7 +14,6 @@
14
14
  "lint": "eslint .",
15
15
  "compile": "tsc --noEmit",
16
16
  "format": "prettier src -w",
17
- "semantic-release": "semantic-release",
18
17
  "prepublishOnly": "npm run test && npm run build"
19
18
  },
20
19
  "binname": "sanity-plugin",
@@ -30,7 +29,7 @@
30
29
  ],
31
30
  "repository": {
32
31
  "type": "git",
33
- "url": "git+ssh://git@github.com/rexxars/sanipack.git"
32
+ "url": "git+ssh://git@github.com/sanity-io/plugin-kit.git"
34
33
  },
35
34
  "engines": {
36
35
  "node": ">=14.0.0"
@@ -47,9 +46,9 @@
47
46
  "author": "Sanity.io <hello@sanity.io>",
48
47
  "license": "MIT",
49
48
  "bugs": {
50
- "url": "https://github.com/rexxars/sanipack/issues"
49
+ "url": "https://github.com/sanity-io/plugin-kit/issues"
51
50
  },
52
- "homepage": "https://github.com/rexxars/sanipack#readme",
51
+ "homepage": "https://github.com/sanity-io/plugin-kit#readme",
53
52
  "dependencies": {
54
53
  "@rexxars/choosealicense-list": "^1.1.2",
55
54
  "chalk": "^4.1.2",
@@ -87,6 +86,7 @@
87
86
  "@commitlint/config-conventional": "^16.2.1",
88
87
  "@parcel/packager-ts": "^2.6.0",
89
88
  "@parcel/transformer-typescript-types": "^2.6.0",
89
+ "@sanity/semantic-release-preset": "^1.1.3",
90
90
  "@types/eslint": "^8.4.3",
91
91
  "@types/inquirer": "^8.2.1",
92
92
  "@types/node": "^17.0.40",
@@ -105,7 +105,6 @@
105
105
  "prettier": "^2.6.2",
106
106
  "readdirp": "^3.6.0",
107
107
  "rimraf": "^3.0.2",
108
- "semantic-release": "^19.0.2",
109
108
  "sanity": "^3.0.0-dev-preview.7",
110
109
  "sinon": "^14.0.0",
111
110
  "tap": "^16.2.0",