sanity-plugin-graph-view 3.0.0-studio-v3.1 → 3.0.0-v3-studio.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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +8 -15
  3. package/package.json +12 -11
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2016–2020 Sanity.io
3
+ Copyright (c) 2022–2020 Sanity.io
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -98,22 +98,15 @@ MIT © [Sanity.io](https://www.sanity.io/)
98
98
 
99
99
  ## Develop & test
100
100
 
101
- Make sure to run `npm run build` once, then run
102
-
103
- ```bash
104
- npm run link-watch
105
- ```
106
-
107
- In another shell, `cd` to your test studio and run:
101
+ This plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)
102
+ with default configuration for build & watch scripts.
108
103
 
109
- ```bash
110
- npx yalc add @sanity/sanity-plugin-graph-view && yarn install
111
- ```
104
+ See [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)
105
+ on how to run this plugin with hotreload in the studio.
112
106
 
113
- Now, changes in this repo will be automatically built and pushed to the studio,
114
- triggering hotreload. Yalc avoids issues with react-hooks that are typical when using yarn/npm link.
107
+ ### Release new version
115
108
 
116
- ### About build & watch
109
+ Run ["CI & Release" workflow](https://github.com/sanity-io/sanity-plugin-graph-view/actions/workflows/main.yml).
110
+ Make sure to select the v3 branch and check "Release new version".
117
111
 
118
- This plugin uses [@sanity/plugin-sdk](https://github.com/sanity-io/plugin-sdk)
119
- with default configuration for build & watch scripts.
112
+ Semantic release will only release on configured branches, so it is safe to run release on any branch.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sanity-plugin-graph-view",
3
- "version": "3.0.0-studio-v3.1",
3
+ "version": "3.0.0-v3-studio.1",
4
4
  "author": "Sanity.io <hello@sanity.io>",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -33,8 +33,8 @@
33
33
  "dependencies": {
34
34
  "@sanity/client": "^3.3.0",
35
35
  "@sanity/color": "^2.1.10",
36
- "@sanity/incompatible-plugin": "^0.0.1-studio-v3.3",
37
- "@sanity/ui": "^0.37.9",
36
+ "@sanity/incompatible-plugin": "^1.0.1",
37
+ "@sanity/ui": "^0.38.0",
38
38
  "bezier-easing": "^2.1.0",
39
39
  "deep-equal": "^2.0.5",
40
40
  "polished": "^4.2.2",
@@ -43,11 +43,12 @@
43
43
  "uuid": "^8.3.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@commitlint/cli": "^16.1.0",
47
- "@commitlint/config-conventional": "^15.0.0",
46
+ "@commitlint/cli": "^17.1.2",
47
+ "@commitlint/config-conventional": "^17.1.0",
48
48
  "@parcel/packager-ts": "^2.6.0",
49
49
  "@parcel/transformer-typescript-types": "^2.6.0",
50
- "@sanity/plugin-kit": "^0.0.1-studio-v3.4",
50
+ "@sanity/plugin-kit": "^1.1.0-ecosystem-preset.5",
51
+ "@sanity/semantic-release-preset": "^2.0.1",
51
52
  "@types/deep-equal": "^1.0.1",
52
53
  "@types/react": "^17.0.0 || ^18.0.0",
53
54
  "@types/styled-components": "^5.1.25",
@@ -59,18 +60,18 @@
59
60
  "eslint-plugin-prettier": "4.0.0",
60
61
  "eslint-plugin-react": "^7.29.4",
61
62
  "eslint-plugin-react-hooks": "^4.5.0",
62
- "husky": "^7.0.0",
63
- "lint-staged": "^12.4.1",
63
+ "husky": "^8.0.1",
64
+ "lint-staged": "^13.0.3",
64
65
  "parcel": "^2.6.0",
65
66
  "prettier": "^2.6.2",
66
67
  "react": "^17.0.0 || ^18.0.0",
67
68
  "rimraf": "^3.0.2",
68
- "sanity": "^2.30.1-purple-unicorn.964",
69
- "typescript": "^4.6.3"
69
+ "sanity": "3.0.0-dev-preview.15",
70
+ "typescript": "4.7.4"
70
71
  },
71
72
  "peerDependencies": {
72
73
  "react": "^17.0.0 || ^18.0.0",
73
- "sanity": "purple-unicorn"
74
+ "sanity": "dev-preview"
74
75
  },
75
76
  "bugs": {
76
77
  "url": "https://github.com/sanity-io/sanity-plugin-graph-view/issues"