Skip to content

Commit

Permalink
fix: compiled for sanity 3.0.0-rc.0
Browse files Browse the repository at this point in the history
Upgraded with
"npx @sanity/plugin-kit inject --preset semver-workflow --preset renovatebot"
  • Loading branch information
snorrees committed Nov 2, 2022
1 parent eea992f commit 2194095
Show file tree
Hide file tree
Showing 15 changed files with 7,340 additions and 2,123 deletions.
5 changes: 2 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
commitlint.config.js
lib
lint-staged.config.js
node_modules
*.iml
*.js
package.config.ts
*.js
14 changes: 14 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"root": true,
"env": {
"node": true,
"browser": true
},
"extends": [
"sanity",
"sanity/typescript",
"sanity/react",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended"
]
}
17 changes: 7 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
*.tgz
lib
# Logs
logs
*.log
Expand Down Expand Up @@ -44,18 +42,17 @@ jspm_packages
# VS Code settings
.vscode

# Lockfiles
yarn.lock
# IntelliJ
.idea
*.iml

# Cache
.cache

# Compiled plugin
/lib

yalc.lock
# Yalc
.yalc
yalc.lock

.idea
# Compiled plugin
lib

.parcel-cache
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
src
*.tgz
/test
/coverage
.babelrc
.editorconfig
.eslintrc
.gitignore
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
legacy-peer-deps=true
legacy-peer-deps=true
6 changes: 6 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
semi: false,
printWidth: 100,
bracketSpacing: false,
singleQuote: true,
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Rune Botten
Copyright (c) 2022 Sanity.io

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Add it as a plugin in sanity.config.ts (or .js):
```js
import { markdownSchema } from "sanity-plugin-markdown";

export default createConfig({
export default defineConfig({
// ...
plugins: [
markdownSchema(),
Expand Down Expand Up @@ -69,8 +69,7 @@ const myDocument = {

## License

MIT © Sanity.io
See LICENSE
MIT-licensed. See LICENSE.

## Develop & test

Expand All @@ -82,7 +81,7 @@ on how to run this plugin with hotreload in the studio.

### Release new version

Run ["CI & Release" workflow](https://github.com/sanity-io/sanity-plugin-markdown/actions).
Make sure to select the main/v3 branch and check "Release new version".
Run ["CI & Release" workflow](https://github.com/sanity-io/sanity-plugin-markdown/actions/workflows/main.yml).
Make sure to select the main branch and check "Release new version".

Semantic release will only release on configured branches, so it is safe to run release on any branch.
Loading

0 comments on commit 2194095

Please sign in to comment.