Cleaned up repo inital templated repo

This commit is contained in:
Joe Grigg
2025-05-27 16:27:34 +01:00
parent 15599cd83d
commit efe8131c4f
8 changed files with 1 additions and 3686 deletions

View File

@@ -1,6 +0,0 @@
module.exports = {
plugins: ['ghost'],
extends: [
'plugin:ghost/node'
]
};

View File

@@ -1,23 +0,0 @@
name: Test
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16, 18 ]
env:
FORCE_COLOR: 1
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: yarn
- run: yarn test

View File

@@ -2,31 +2,6 @@
Configuration to run Ghost and its services with Docker Compose
## Usage
## Develop
1. `git clone` this repo & `cd` into it as usual
2. Run `yarn` to install top-level dependencies.
## Run
- `yarn dev`
- View: [http://localhost:9999](http://localhost:9999)
## Test
- `yarn lint` run just eslint
- `yarn test` run lint and tests
## Publish
- `yarn ship`
# Copyright & License
Copyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).
Copyright (c) 2013-2025 Ghost Foundation - Released under the [MIT license](LICENSE).

1
app.js
View File

@@ -1 +0,0 @@
// Main module file

View File

@@ -1,29 +0,0 @@
{
"name": "ghost-docker",
"version": "0.0.0",
"repository": "git@github.com:TryGhost/ghost-docker.git",
"author": "Ghost Foundation",
"license": "MIT",
"main": "app.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'",
"test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code",
"preship": "yarn test",
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; fi"
},
"files": [
"app.js",
"lib"
],
"devDependencies": {
"c8": "10.1.3",
"eslint": "9.27.0",
"eslint-plugin-ghost": "3.4.0",
"mocha": "11.5.0",
"sinon": "20.0.0"
},
"dependencies": {}
}

View File

@@ -1,6 +0,0 @@
module.exports = {
plugins: ['ghost'],
extends: [
'plugin:ghost/test'
]
};

View File

@@ -1,8 +0,0 @@
const assert = require('assert/strict');
describe('Hello world', function () {
it('Runs a test', function () {
// TODO: Write me!
assert.ok(require('../index'));
});
});

3587
yarn.lock

File diff suppressed because it is too large Load Diff