@webship.co/workspace-godaddy 1.0.9 → 1.0.11
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: godaddy-deployer
|
|
3
|
-
description: Use this agent to look after a Webship Workspace site on GoDaddy with the command of the GoDaddy plugin (`@webship.co/workspace-godaddy`), `cmd-tools-godaddy.sh` — say whether the project is linked and to what, list its environments, read its log, bring the live database or files into the local site when asked, test the site before a deploy when it carries a webship-js suite, and hand the person the deploy line. It never deploys on its own
|
|
3
|
+
description: Use this agent to look after a Webship Workspace site on GoDaddy with the command of the GoDaddy plugin (`@webship.co/workspace-godaddy`), `cmd-tools-godaddy.sh` — say whether the project is linked and to what, list its environments, read its log, bring the live database or files into the local site when asked, test the site before a deploy when it carries a webship-js suite, and hand the person the deploy line. It never deploys on its own — a deploy is outward-facing and asks for a confirmation in a terminal. It never prints a token or a key, never relinks a project and never skips the safety backup unless the person said so. Invoke for "is this site linked to GoDaddy", "which environments does it have", "what was deployed last", "get the live database", "is it ready to deploy", or "give me the deploy command".
|
|
4
4
|
model: fable
|
|
5
5
|
tools:
|
|
6
6
|
- Bash
|
package/features/godaddy.feature
CHANGED
|
@@ -2,35 +2,40 @@ Feature: The GoDaddy plugin on a project row
|
|
|
2
2
|
Once the plugin is activated and installed, every site row carries the GODADDY menu, and the Plugins
|
|
3
3
|
page lists the plugin with its four steps.
|
|
4
4
|
|
|
5
|
+
@needs-project-dev
|
|
5
6
|
Scenario: A site row offers the GODADDY menu, captioned with its link state
|
|
6
7
|
Given I am on "/dev"
|
|
7
8
|
Then the element ".act-menu-godaddy" should be displayed
|
|
8
9
|
And I should see "GODADDY"
|
|
9
10
|
And the element ".act-menu-godaddy + .act-status" should be displayed
|
|
10
11
|
|
|
12
|
+
@needs-project-dev
|
|
11
13
|
Scenario: An unlinked project's menu opens and says how to link it
|
|
12
14
|
Given I am on "/dev"
|
|
13
15
|
And I click on the element ".project-row .act-menu-godaddy button"
|
|
14
16
|
Then ".uk-dropdown.uk-open" should be visible
|
|
15
17
|
And I should see "Not linked to GoDaddy"
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
# The Plugins page names each plugin; the package is on the plugin's own page (the row shows it on hover only).
|
|
20
|
+
Scenario: The plugin is listed on the Plugins page, and its own page names its package
|
|
18
21
|
Given I am on "/settings/plugins"
|
|
19
22
|
Then I should see "GoDaddy"
|
|
20
|
-
|
|
23
|
+
When I go to "/settings/plugin/godaddy"
|
|
24
|
+
Then I should see "@webship.co/workspace-godaddy"
|
|
21
25
|
|
|
26
|
+
# The AI folders are searched by name: with every plugin on, a folder lists more than one page of items.
|
|
22
27
|
Scenario: The AI Agents folder lists the agent the plugin ships
|
|
23
|
-
Given I am on "/ai-agents"
|
|
28
|
+
Given I am on "/ai-agents?q=godaddy-deployer"
|
|
24
29
|
Then I should see "godaddy-deployer"
|
|
25
30
|
|
|
26
31
|
Scenario: The AI Skills folder lists the skill the plugin ships
|
|
27
|
-
Given I am on "/ai-skills"
|
|
32
|
+
Given I am on "/ai-skills?q=godaddy-hosting"
|
|
28
33
|
Then I should see "godaddy-hosting"
|
|
29
34
|
|
|
30
35
|
Scenario: The AI Commands folder lists the command the plugin ships
|
|
31
|
-
Given I am on "/ai-commands"
|
|
36
|
+
Given I am on "/ai-commands?q=godaddy-status"
|
|
32
37
|
Then I should see "godaddy-status"
|
|
33
38
|
|
|
34
39
|
Scenario: The AI Prompts folder lists the prompt the plugin ships
|
|
35
|
-
Given I am on "/ai-prompts"
|
|
40
|
+
Given I am on "/ai-prompts?q=godaddy-test-then-deploy"
|
|
36
41
|
Then I should see "godaddy-test-then-deploy"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webship.co/workspace-godaddy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "GoDaddy for Webship Workspace: the GODADDY menu on every site row, the domain and its DNS from the GoDaddy API, the hosting account over SSH (get database and files, deploy with rsync, the error log), the GoDaddy console. It carries its AI items, each placed in the workspace folder of its kind: an agent, a skill, a command and a prompt. A provider of @webship.co/workspace-hosting.",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|