@asterism-app/sdk 1.0.0 → 1.0.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/docs/getting-started.md +2 -0
- package/package.json +2 -2
package/docs/getting-started.md
CHANGED
|
@@ -18,6 +18,8 @@ The `asterism` field declares a namespaced `id` and the needed `runtime`, `rende
|
|
|
18
18
|
|
|
19
19
|
Keep shared declarations separate from executable backend and frontend code. Backend work can use local system capabilities; frontend code works through the host's view and communication facilities.
|
|
20
20
|
|
|
21
|
+
The `.test.` filename marker is reserved for tests, such as `count.test.ts` or `card.test.tsx`. Tests can remain alongside implementation files. Automatic shared-module discovery and application/package distribution exclude `*.test.*`; runtime entries and their imports contain application code only. Plugin compilation reports explicit imports of test files or Vitest instead of silently removing dependencies.
|
|
22
|
+
|
|
21
23
|
Start with one capability that demonstrates the plugin's purpose. Add further parts when that capability needs them rather than creating an empty framework in advance.
|
|
22
24
|
|
|
23
25
|
## Load and verify
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asterism-app/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Public contracts and host capabilities for Asterism plugins",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Chien Zhang",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"src",
|
|
36
|
-
"
|
|
36
|
+
"!**/*.test.*",
|
|
37
37
|
"docs",
|
|
38
38
|
"examples",
|
|
39
39
|
"README.md"
|