Skip to content

Commit b7032e1

Browse files
committed
2.6.0: trial mode, runtime license activation, 3 free warnings, data-x-data
feat: trial mode & in-extension license activation feat: hide __root_value for stores + measure it feat: update footer display (icons) feat: support data-x-data attribute feat: implement 3-warning limit for free users feat: improve early access copy fix: ensure array mutations are detected by devtools refactor: decompose state.ts test: simulator Chrome API mocks chore: add agents.md chore: disable v1 E2Es
1 parent 0713ae5 commit b7032e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+3577
-985
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ root = true
22

33
[*]
44
indent_style = space
5-
indent_size = 4
5+
indent_size = 2
66
charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ jobs:
7070
command: node --run cy:run
7171
working-directory: packages/shell-chrome-v3
7272
install: false
73-
- name: Devtools@v1 E2E
74-
uses: cypress-io/github-action@v6
75-
with:
76-
start: node --run start:ci
77-
command: node --run cy:run
78-
install: false
73+
# - name: Devtools@v1 E2E
74+
# uses: cypress-io/github-action@v6
75+
# with:
76+
# start: node --run start:ci
77+
# command: node --run cy:run
78+
# install: false

AGENTS.md

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,46 @@
1-
This is a SolidJS application.
1+
# Alpine.js Devtools
22

3-
The main application to work on is in `packages/shell-chrome-v3`. This is a Chrome extension using Manifest v3.
3+
The main application to work on is in `packages/shell-chrome-v3`. This is a Chrome/Firefox extension using Manifest v3. The panel is built with SolidJS.
44

5-
We want to support Firefox and Safari in the future.
5+
We want to support Safari in the future.
66

7-
A note on coding style: signals should be left outside of components.
7+
## Coding style
88

9-
As the last step of any plan, run `npm run format`.
9+
You **MUST** leave signals outside of components.
10+
Components **SHOULD** import signals directly, rather than receiving them as props.
11+
12+
## Styling
13+
14+
This project uses Tailwind CSS v4. You can find the configuration in `tailwind.config.js`.
15+
16+
We also use `basecoat-ui` for some base styles. You can find more information about it here: https://basecoatui.com/kitchen-sink/, based on possible elements you should look at the code on their individual documentation page eg. for Badge, use https://basecoatui.com/components/badge/ and so on.
17+
18+
## Required plan steps
19+
20+
As the last step of any plan, you **MUST** run the following checks and ensure they pass
21+
22+
- `npm run format` (run formatter)
23+
- `npm run typecheck`
24+
- `npm t` (unit tests)
25+
26+
When making changes to the UI, you **SHOULD** propose to run the cypress tests (see next section).
27+
28+
## Running Cypress Tests
29+
30+
To run the Cypress tests for the `shell-chrome-v3` package, you **SHOULD** use the `jules-test` script. This script will start the development server and then run the tests.
31+
32+
To run the Cypress tests you **MUST** run from the root of the project (`/app` for Jules),
33+
34+
```bash
35+
npm run --prefix=packages/shell-chrome-v3 jules-test
36+
```
37+
38+
**Note for agent Jules:** You **SHOULD** be aware that when working in the shell, the current working directory is often `/app/packages/shell-chrome-v3`. If you are having trouble with file paths, you **SHOULD** run `pwd` to confirm your location.
39+
40+
This will run all the Cypress tests in headless mode.
41+
42+
**Note:** If you are running the tests in a headless environment, you **SHOULD** be aware that you may need to install `xvfb`. On Debian-based systems, you can install it with:
43+
44+
```bash
45+
sudo apt-get update && sudo apt-get install -y xvfb
46+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"early-access": "rm -rf dist && npm --prefix packages/shell-chrome-v3 run build && node --run postpackage",
1515
"ea": "npm run early-access",
1616
"watch": "npm start",
17-
"test": "node --test tests/* && node --experimental-strip-types --test **/*.test.ts",
17+
"test": "node --test \"{tests/*,**/*.test.ts}\"",
1818
"cy:run": "cypress run",
1919
"cy:open": "cypress open",
2020
"archive:v3": "git archive -o ./dist/alpine-devtools-source-archive-v2.zip HEAD:packages/shell-chrome-v3",

0 commit comments

Comments
 (0)