@webship.co/workspace-gatsby 1.0.8 → 1.0.9

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.
@@ -85,8 +85,9 @@ service that has accounts, that service is tested with its own pack, on its own
85
85
  - **No password and no secret in a feature file.**
86
86
  - **No platform name in a step phrase.** A step says what a person does or sees: `the site should
87
87
  be a production build`, `I should see a hydrated page`, `I click the link "…" without a full
88
- page reload`. The pack also has steps that name the generator of the page; a feature of yours
89
- does not need them, and a custom step you write never names the product.
88
+ page reload`. The name of the generator is a value of a step, never a part of its phrase: `the
89
+ page generator should start with "Gatsby"`, `the page generator version should start with
90
+ "<version>"`. A custom step you write never names the product.
90
91
  - **No CSS selector in a scenario when a step of the pack says it.** `I should see an optimized
91
92
  image`, not a selector of the image wrapper.
92
93
  - **A custom step is the last resort.** Look in the pack and in webship-js first. If one is really
@@ -147,9 +147,10 @@ landmarks and accessibility audits are used as they are and never redefined for
147
147
  ## Rules
148
148
 
149
149
  - **No platform name in a step phrase.** A step says what a person does or sees: `the site should
150
- be a production build`, `I should see a hydrated page`. The pack also has steps that name the
151
- generator of the page; a feature of this workspace leaves them out, and a custom step never
152
- names the product.
150
+ be a production build`, `I should see a hydrated page`. The name of the generator is a value of a
151
+ step, never a part of its phrase: `the page generator should start with "Gatsby"`,
152
+ `the page generator version should start with "<version>"`. A custom step never names the
153
+ product.
153
154
  - **No account, no password, no secret in a feature file.** The site has no accounts, and a
154
155
  service it talks to is tested with its own pack on its own project.
155
156
  - **No selector when a step says it**: `I should see an optimized image`, not a selector of the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webship.co/workspace-gatsby",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Gatsby for Webship Workspace: the builder (`cmd-gatsby-project.sh`) and the Gatsby CLI tool in every sites folder, a starter built to a production build and served in a container, the Gatsby 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",
@@ -19,7 +19,7 @@
19
19
 
20
20
  # The step pack a Gatsby project is tested with, and the release line it is required at.
21
21
  readonly GATSBY_STEPS_PACKAGE='@webship-js/gatsby-steps';
22
- readonly GATSBY_STEPS_VERSION='^2.0.2';
22
+ readonly GATSBY_STEPS_VERSION='^2.1.0';
23
23
 
24
24
  # Where the site lives in the web container, and the port its server listens on.
25
25
  readonly GATSBY_SITE='/var/www/html/site';