@electrolux-oss/sanity-plugin-media 1.0.1 → 1.0.3

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 CHANGED
@@ -56,13 +56,13 @@ _Asset details tab_ | _Asset alt texts tab_
56
56
 
57
57
  In your Sanity project folder:
58
58
 
59
- ```sh
59
+ ```zsh
60
60
  npm install --save sanity-plugin-media
61
61
  ```
62
62
 
63
63
  or
64
64
 
65
- ```sh
65
+ ```zsh
66
66
  yarn add sanity-plugin-media
67
67
  ```
68
68
 
@@ -147,26 +147,26 @@ export default defineConfig({
147
147
  ### Test your plugin locally
148
148
 
149
149
  In the plugin directory run this command:
150
- ```sh
150
+ ```zsh
151
151
  npm run link-watch
152
152
  ```
153
153
 
154
154
  This will set up your plugin to build whenever the code changes, and publish the package to a local yalc repository.
155
155
 
156
- In the command log, there should be a note that reads something like this:
156
+ Run the command in the studio project directory:
157
157
 
158
- ```sh
159
- npx yalc add sanity-plugin-media && npx yalc link sanity-plugin-media && npm install
158
+ ```zsh
159
+ npx yalc add @electrolux-oss/sanity-plugin-media && npx yalc link @electrolux-oss/sanity-plugin-media && npm install
160
160
  ```
161
161
 
162
- Run this command in the studio project directory and you should see something like this in the `package.json` file:
162
+ You should see something like this in the `package.json` file:
163
163
 
164
164
  ```
165
- "sanity-plugin-media": "file:.yalc/sanity-plugin-media",
165
+ "@electrolux-oss/sanity-plugin-media": "file:.yalc/@electrolux-oss/sanity-plugin-media",
166
166
  ```
167
167
 
168
168
  Which means you can safely use the local version of the plugin with this import:
169
169
 
170
170
  ```
171
- import { media } from 'sanity-plugin-media'
171
+ import { media } from '@electrolux-oss/sanity-plugin-media'
172
172
  ```