From b1878e5a0624929790a725263143bbb79944e67c Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 20 Sep 2022 14:26:36 +0100 Subject: [PATCH] Cleanup Stats-Service package files - LICENSE is no longer needed as this is an unpublished package in the monorepo - the README has been cut down to reflect the fact that it's unpublished - added `private: true` to package.json config --- ghost/stats-service/LICENSE | 21 --------------------- ghost/stats-service/README.md | 30 ------------------------------ ghost/stats-service/package.json | 4 +--- 3 files changed, 1 insertion(+), 54 deletions(-) delete mode 100644 ghost/stats-service/LICENSE diff --git a/ghost/stats-service/LICENSE b/ghost/stats-service/LICENSE deleted file mode 100644 index 19bcb01bef..0000000000 --- a/ghost/stats-service/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -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/stats-service/README.md b/ghost/stats-service/README.md index 186bcb8ca8..af076e7c2d 100644 --- a/ghost/stats-service/README.md +++ b/ghost/stats-service/README.md @@ -2,40 +2,10 @@ Stats service -## Install - -`npm install @tryghost/stats --save` - -or - -`yarn add @tryghost/stats` - - ## Usage -## Develop - -This is a mono repository, managed with [lerna](https://lernajs.io/). - -Follow the instructions for the top-level repo. -1. `git clone` this repo & `cd` into it as usual -2. Run `yarn` to install top-level dependencies. - - -## Run - -- `yarn dev` - - ## Test - `yarn lint` run just eslint - `yarn test` run lint and tests - - - - -# Copyright & License - -Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE). \ No newline at end of file diff --git a/ghost/stats-service/package.json b/ghost/stats-service/package.json index 9f46138449..651b0b26d8 100644 --- a/ghost/stats-service/package.json +++ b/ghost/stats-service/package.json @@ -2,6 +2,7 @@ "name": "@tryghost/stats-service", "version": "0.0.0", "repository": "https://github.com/TryGhost/Analytics/tree/main/packages/stats", + "private": true, "author": "Ghost Foundation", "license": "MIT", "main": "index.js", @@ -17,9 +18,6 @@ "index.js", "lib" ], - "publishConfig": { - "access": "public" - }, "devDependencies": { "@types/luxon": "^2.3.1", "@types/mocha": "^9.1.0",