@pleger/esa-js 0.2.0 → 0.2.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/NPM_PUBLISH.md CHANGED
@@ -3,10 +3,11 @@
3
3
  This project is configured for npm packaging, with:
4
4
  - `main` entry (`aspectscript.js`)
5
5
  - `types` entry (`index.d.ts`)
6
- - `bin` command (`aspectscript`)
6
+ - `bin` commands (`aspectscript`, `esa`)
7
7
 
8
8
  Current state:
9
9
  - `package.json` is publish-ready (`"private": false`).
10
+ - Package name is scoped: `@pleger/esa-js`.
10
11
 
11
12
  ## Checklist
12
13
 
@@ -15,7 +16,7 @@ Current state:
15
16
  ```json
16
17
  {
17
18
  "name": "@pleger/esa-js",
18
- "version": "0.2.0",
19
+ "version": "0.2.1",
19
20
  "description": "ESA-JS and AspectScript runtime and tooling",
20
21
  "license": "MIT",
21
22
  "repository": {
@@ -45,6 +46,13 @@ npx aspectscript --help
45
46
  npm publish --access public
46
47
  ```
47
48
 
49
+ 5. Verify published page
50
+
51
+ ```bash
52
+ npm view @pleger/esa-js version
53
+ open https://www.npmjs.com/package/@pleger/esa-js
54
+ ```
55
+
48
56
  ## Optional hardening
49
57
 
50
58
  - Add `"files"` in `package.json` to control published artifacts explicitly.
package/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  An implementation of ESA-JS (Expressive Stateful Aspects) and AspectScript for JavaScript.
4
4
 
5
+ ## Links
6
+
7
+ - Playground: https://pleger.github.io/esajs/
8
+ - GitHub: https://github.com/pleger/ESA
9
+ - npm: https://www.npmjs.com/package/@pleger/esa-js
10
+
5
11
  ## Quick start (npm)
6
12
 
7
13
  Install:
@@ -81,6 +87,12 @@ const handler = ESA.deploy({
81
87
  - execution output
82
88
  - join point tracing
83
89
 
90
+ ## Online playground
91
+
92
+ You can run ESA examples directly in the browser at:
93
+
94
+ https://pleger.github.io/esajs/
95
+
84
96
  ## Local usage
85
97
 
86
98
  Install dependencies:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pleger/esa-js",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "ESA-JS and AspectScript runtime, instrumentation, and CLI tooling",
5
5
  "main": "aspectscript.js",
6
6
  "types": "index.d.ts",