diff --git a/ghost/sodo-search/.editorconfig b/ghost/sodo-search/.editorconfig new file mode 100644 index 0000000000..a2a28b4a01 --- /dev/null +++ b/ghost/sodo-search/.editorconfig @@ -0,0 +1,26 @@ +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.hbs] +insert_final_newline = false + +[*.json] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false + +[*.{yml,yaml}] +indent_size = 2 + +[Makefile] +indent_style = tab diff --git a/ghost/sodo-search/.gitignore b/ghost/sodo-search/.gitignore index 4d29575de8..50d4e07afc 100644 --- a/ghost/sodo-search/.gitignore +++ b/ghost/sodo-search/.gitignore @@ -1,23 +1,71 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# production -/build - -# misc -.DS_Store -.env.local -.env.development.local -.env.test.local -.env.production.local +# Node template +# Logs +logs +*.log npm-debug.log* yarn-debug.log* yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Typescript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# IDE +.idea/* +*.iml +*.sublime-* +.vscode/* + +# OSX +.DS_Store + +# Sodo Search Custom diff --git a/ghost/sodo-search/LICENSE b/ghost/sodo-search/LICENSE new file mode 100644 index 0000000000..19bcb01bef --- /dev/null +++ b/ghost/sodo-search/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2013-2022 Ghost Foundation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/ghost/sodo-search/README.md b/ghost/sodo-search/README.md index c0541f9c04..a88001b3a1 100644 --- a/ghost/sodo-search/README.md +++ b/ghost/sodo-search/README.md @@ -1,3 +1,5 @@ +# Sodo Search + # Getting Started with Create React App This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). @@ -68,3 +70,8 @@ This section has moved here: [https://facebook.github.io/create-react-app/docs/d ### `yarn build` fails to minify This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) + + +# Copyright & License + +Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE). \ No newline at end of file diff --git a/ghost/sodo-search/package.json b/ghost/sodo-search/package.json index d0e8069d00..7ed9619e94 100644 --- a/ghost/sodo-search/package.json +++ b/ghost/sodo-search/package.json @@ -1,7 +1,9 @@ { "name": "sodo-search", "version": "0.1.0", - "private": true, + "license": "MIT", + "repository": "git@github.com:TryGhost/sodo-search.git", + "author": "Ghost Foundation", "dependencies": { "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^13.0.0",