@webship.co/workspace-ghost 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ site is built and the builder says that the setup waits at `/ghost`.
|
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
132
|
bash cmd-tools-ghost-cli.sh mysite # version, address, staff accounts
|
|
133
|
-
bash cmd-tools-ghost-cli.sh mysite --run "
|
|
133
|
+
bash cmd-tools-ghost-cli.sh mysite --run "version" # any Ghost-CLI command
|
|
134
134
|
bash cmd-tools-ghost-cli.sh mysite --update # the latest release, then Ghost is started again
|
|
135
135
|
bash cmd-tools-ghost-cli.sh mysite --restart # start Ghost again and wait for it
|
|
136
136
|
bash cmd-tools-ghost-cli.sh mysite --add-users # the default staff accounts
|
|
@@ -69,7 +69,7 @@ workspace account, never a made-up owner.
|
|
|
69
69
|
```bash
|
|
70
70
|
bash cmd-tools-ghost-cli.sh mysite # what it is: version, address, staff accounts
|
|
71
71
|
bash cmd-tools-ghost-cli.sh mysite --run "version"
|
|
72
|
-
bash cmd-tools-ghost-cli.sh mysite --run "doctor"
|
|
72
|
+
bash cmd-tools-ghost-cli.sh mysite --run "doctor" # on a running site it ends with "Port 2368 is in use" and exit 1: Ghost itself holds the port, read the other checks
|
|
73
73
|
bash cmd-tools-ghost-cli.sh mysite --run "config get url"
|
|
74
74
|
bash cmd-tools-ghost-cli.sh mysite --update # the latest release, then Ghost is started again
|
|
75
75
|
bash cmd-tools-ghost-cli.sh mysite --restart # after a change to config.production.json or a theme
|
package/features/ghost.feature
CHANGED
|
@@ -3,28 +3,31 @@ Feature: The Ghost plugin on the dashboard
|
|
|
3
3
|
AI folder lists the items of its kind the plugin ships, and the Plugins page lists the plugin
|
|
4
4
|
with its steps.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# The Plugins page names each plugin; the package is on the plugin's own page (the row shows it on hover only).
|
|
7
|
+
Scenario: The plugin is listed on the Plugins page, and its own page names its package
|
|
7
8
|
Given I am on "/settings/plugins"
|
|
8
9
|
Then I should see "Ghost"
|
|
9
|
-
|
|
10
|
+
When I go to "/settings/plugin/ghost"
|
|
11
|
+
Then I should see "@webship.co/workspace-ghost"
|
|
10
12
|
|
|
11
13
|
Scenario: A sites folder offers the Ghost builder
|
|
12
14
|
Given I am on "/dev"
|
|
13
15
|
Then "option[value='cmd-ghost-project.sh']" should be attached
|
|
14
16
|
|
|
17
|
+
# The AI folders are searched by name: with every plugin on, a folder lists more than one page of items.
|
|
15
18
|
Scenario: The AI Agents folder lists the agents the plugin ships
|
|
16
|
-
Given I am on "/ai-agents"
|
|
19
|
+
Given I am on "/ai-agents?q=ghost-"
|
|
17
20
|
Then I should see "ghost-site-builder"
|
|
18
21
|
And I should see "ghost-tester"
|
|
19
22
|
|
|
20
23
|
Scenario: The AI Skills folder lists the skill the plugin ships
|
|
21
|
-
Given I am on "/ai-skills"
|
|
24
|
+
Given I am on "/ai-skills?q=ghost-scenarios"
|
|
22
25
|
Then I should see "ghost-scenarios"
|
|
23
26
|
|
|
24
27
|
Scenario: The AI Commands folder lists the command the plugin ships
|
|
25
|
-
Given I am on "/ai-commands"
|
|
28
|
+
Given I am on "/ai-commands?q=ghost-test"
|
|
26
29
|
Then I should see "ghost-test"
|
|
27
30
|
|
|
28
31
|
Scenario: The AI Prompts folder lists the prompt the plugin ships
|
|
29
|
-
Given I am on "/ai-prompts"
|
|
32
|
+
Given I am on "/ai-prompts?q=ghost-build-and-test"
|
|
30
33
|
Then I should see "ghost-build-and-test"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webship.co/workspace-ghost",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Ghost for Webship Workspace: the builder (`cmd-ghost-project.sh`) and the Ghost-CLI tool in every sites folder, the default staff accounts, the Ghost step pack wired into the testing setup, and its AI items in their folders: two agents, a skill, a command and a prompt.",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -5,7 +5,7 @@ parser.add_argument('PROJECT_NAME',
|
|
|
5
5
|
help='The Ghost project in this workspace.')
|
|
6
6
|
parser.add_argument('-r', '--run',
|
|
7
7
|
default="_none_",
|
|
8
|
-
help='A Ghost-CLI command to run in the project, without the leading ghost. Example: --run "
|
|
8
|
+
help='A Ghost-CLI command to run in the project, without the leading ghost. Example: --run "version"')
|
|
9
9
|
parser.add_argument('-u', '--update',
|
|
10
10
|
action='store_true',
|
|
11
11
|
default=False,
|