Skip to content

Commit

Permalink
[clean-studio] Add clean-studio
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored and Thomas Drevon committed May 29, 2019
1 parent 4963164 commit a7469af
Show file tree
Hide file tree
Showing 15 changed files with 118 additions and 6 deletions.
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const STUDIOS = [
{name: 'example-studio', port: '3335'},
{name: 'blog-studio', port: '3336'},
{name: 'ecommerce-studio', port: '3337'},
{name: 'clean-studio', port: '3338'},
{name: 'backstop-test-studio', port: '5000'}
]

Expand Down
13 changes: 7 additions & 6 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@
"ci": false,
"packages": [
"packages/@sanity/*",
"packages/backstop-test-studio",
"packages/blog-studio",
"packages/create-sanity",
"packages/ecommerce-studio",
"packages/eslint-config-sanity",
"packages/example-studio",
"packages/groq",
"packages/movies-studio",
"packages/sanity",
"packages/storybook",
"packages/test-studio"
"packages/test-studio",
"packages/example-studio",
"packages/ecommerce-studio",
"packages/blog-studio",
"packages/movies-studio",
"packages/clean-studio",
"packages/backstop-test-studio"
],
"version": "0.140.25"
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"start": "npm run test-studio",
"ecommerce-studio": "gulp ecommerce-studio",
"test-studio": "gulp test-studio",
"clean-studio": "gulp clean-studio",
"backstop-test-studio": "gulp backstop-test-studio",
"example-studio": "gulp example-studio",
"movies-studio": "gulp movies-studio",
Expand Down
9 changes: 9 additions & 0 deletions packages/clean-studio/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Logs
logs
*.log

# Coverage directory used by tools like istanbul
coverage

# Dependency directories
node_modules
9 changes: 9 additions & 0 deletions packages/clean-studio/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Sanity Clean Content Studio

Congratulations, you have now installed the Sanity Content Studio, an open source real-time content editing environment connected to the Sanity backend.

Now you can do the following things:

- [Read “getting started” in the docs](https://www.sanity.io/docs/introduction/getting-started?utm_source=readme)
- [Join the community Slack](https://slack.sanity.io/?utm_source=readme)
- [Extend and build plugins](https://www.sanity.io/docs/content-studio/extending?utm_source=readme)
6 changes: 6 additions & 0 deletions packages/clean-studio/config/.checksums
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"#": "Used by Sanity to keep track of configuration file checksums, do not delete or modify!",
"@sanity/default-layout": "bb034f391ba508a6ca8cd971967cbedeb131c4d19b17b28a0895f32db5d568ea",
"@sanity/default-login": "6fb6d3800aa71346e1b84d95bbcaa287879456f2922372bb0294e30b968cd37f",
"@sanity/data-aspects": "d199e2c199b3e26cd28b68dc84d7fc01c9186bf5089580f2e2446994d36b3cb6"
}
3 changes: 3 additions & 0 deletions packages/clean-studio/config/@sanity/data-aspects.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"listOptions": {}
}
6 changes: 6 additions & 0 deletions packages/clean-studio/config/@sanity/default-layout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"toolSwitcher": {
"order": [],
"hidden": []
}
}
7 changes: 7 additions & 0 deletions packages/clean-studio/config/@sanity/default-login.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"providers": {
"mode": "append",
"redirectOnSingle": false,
"entries": []
}
}
41 changes: 41 additions & 0 deletions packages/clean-studio/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "clean-studio",
"private": true,
"version": "0.140.25",
"description": "Content studio running with schema from the clean template",
"main": "package.json",
"author": "Sanity.io <hello@sanity.io>",
"license": "MIT",
"scripts": {
"start": "cd ../.. && npm run clean-studio"
},
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content",
"clean-studio"
],
"dependencies": {
"@sanity/base": "0.140.17",
"@sanity/cli": "0.140.17",
"@sanity/components": "0.140.25",
"@sanity/core": "0.140.25",
"@sanity/default-layout": "0.140.25",
"@sanity/default-login": "0.140.15",
"@sanity/desk-tool": "0.140.25",
"@sanity/google-maps-input": "0.140.25",
"@sanity/vision": "0.140.25",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"bugs": {
"url": "https://github.com/sanity-io/sanity/issues"
},
"homepage": "https://www.sanity.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/sanity.git"
}
}
1 change: 1 addition & 0 deletions packages/clean-studio/plugins/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
User-specific packages can be placed here
25 changes: 25 additions & 0 deletions packages/clean-studio/sanity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"root": true,
"project": {
"name": "Clean studio"
},
"api": {
"projectId": "ppsg7ml5",
"dataset": "clean"
},
"plugins": [
"@sanity/base",
"@sanity/components",
"@sanity/default-layout",
"@sanity/default-login",
"@sanity/desk-tool",
"@sanity/vision"

],
"parts": [
{
"name": "part:@sanity/base/schema",
"path": "./schemas/schema.js"
}
]
}
1 change: 1 addition & 0 deletions packages/clean-studio/schemas/schema.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {default} from '@sanity/cli/templates/clean/schemas/schema.js'
1 change: 1 addition & 0 deletions packages/clean-studio/static/.gitkeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Files placed here will be served by the Sanity server under the `/static`-prefix
Binary file added packages/clean-studio/static/favicon.ico
Binary file not shown.

0 comments on commit a7469af

Please sign in to comment.