@cssints/devtools 0.3.0 → 0.3.1
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 +10 -3
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -78,9 +78,16 @@ the box gets focus and after a send that found none, so starting OpenCode later
|
|
|
78
78
|
|
|
79
79
|
### The command `/cssints-devtools`
|
|
80
80
|
|
|
81
|
-
The box does not choose a session: an OpenCode command attaches the session it runs in to a dev server.
|
|
82
|
-
this package
|
|
83
|
-
|
|
81
|
+
The box does not choose a session: an OpenCode command attaches the session it runs in to a dev server. The plugin is the
|
|
82
|
+
main entry of this package, so OpenCode loads it by the package name (checked on 2.0.27: it installs the package and finds
|
|
83
|
+
the entry; a package subpath, `@cssints/devtools/opencode`, is not loaded as a plugin):
|
|
84
|
+
|
|
85
|
+
```jsonc
|
|
86
|
+
// opencode.jsonc of the repository of the app (or ~/.config/opencode/opencode.jsonc)
|
|
87
|
+
{ "plugins": ["@cssints/devtools"] }
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Or, with the package installed in the app, a file of the repository (OpenCode loads the `.ts` files of `.opencode/plugins/`):
|
|
84
91
|
|
|
85
92
|
```ts
|
|
86
93
|
// .opencode/plugins/cssints-devtools.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cssints/devtools",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "A dev overlay inspector for cssints: an element's classes by the call that made them, the cascade of the sheet, checked against the browser",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"type": "module",
|
|
17
17
|
"sideEffects": false,
|
|
18
18
|
"exports": {
|
|
19
|
+
".": "./dist/opencode.js",
|
|
19
20
|
"./overlay": "./dist/overlay.js",
|
|
20
21
|
"./opencode": "./dist/opencode.js",
|
|
21
22
|
"./core": {
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"./inject": "./src/core/inject.ts"
|
|
30
31
|
},
|
|
31
32
|
"dependencies": {
|
|
32
|
-
"@cssints/css-grammar": "^0.3.
|
|
33
|
+
"@cssints/css-grammar": "^0.3.1",
|
|
33
34
|
"effect": "4.0.0"
|
|
34
35
|
},
|
|
35
36
|
"peerDependencies": {
|