@webex/internal-plugin-presence 3.13.0-next.5 → 3.13.0-next.7
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/.repo-context.json +0 -1
- package/.sdd/manifest.json +0 -5
- package/AGENTS.md +6 -7
- package/dist/presence.js +1 -1
- package/docs/getting-started.md +3 -11
- package/package.json +12 -12
package/.repo-context.json
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
},
|
|
8
8
|
"commands": {
|
|
9
9
|
"install": "yarn",
|
|
10
|
-
"prebuild": "yarn prebuild:modules",
|
|
11
10
|
"compile": "yarn workspace @webex/internal-plugin-presence build",
|
|
12
11
|
"build": "yarn workspace @webex/internal-plugin-presence build:src",
|
|
13
12
|
"unit-test": "yarn workspace @webex/internal-plugin-presence test:unit",
|
package/.sdd/manifest.json
CHANGED
|
@@ -15,11 +15,6 @@
|
|
|
15
15
|
"source_file": "../../../.github/workflows/deploy.yml",
|
|
16
16
|
"role": "install"
|
|
17
17
|
},
|
|
18
|
-
"prebuild": {
|
|
19
|
-
"command": "yarn prebuild:modules",
|
|
20
|
-
"source_file": "../../../CONTRIBUTING.md",
|
|
21
|
-
"role": "other"
|
|
22
|
-
},
|
|
23
18
|
"compile": {
|
|
24
19
|
"command": "yarn workspace @webex/internal-plugin-presence build",
|
|
25
20
|
"source_file": "package.json",
|
package/AGENTS.md
CHANGED
|
@@ -40,19 +40,21 @@ entry. It serves no HTTP, so no OpenAPI applies.
|
|
|
40
40
|
|
|
41
41
|
## 1. Commands (Run First)
|
|
42
42
|
|
|
43
|
-
Use only documented commands. Do not invent alternatives when a command is missing. Run
|
|
44
|
-
|
|
43
|
+
Use only documented commands. Do not invent alternatives when a command is missing. Run every command from the
|
|
44
|
+
workspace root: `yarn` to install, and `yarn workspace @webex/internal-plugin-presence <script>` for the package scripts below, which `package.json` defines.
|
|
45
|
+
Fresh-checkout workspace setup (building `webex-legacy-tools` and sibling `dist/`) is owned by the workspace root; see
|
|
46
|
+
[Prebuilding](../../../CONTRIBUTING.md#prebuilding).
|
|
45
47
|
|
|
46
48
|
| Task | Command |
|
|
47
49
|
| ---------------------- | ------- |
|
|
48
|
-
| Install dependencies | `yarn` (workspace root; the deploy workflow runs the same command)
|
|
50
|
+
| Install dependencies | `yarn` (workspace root; the deploy workflow runs the same command) |
|
|
49
51
|
| Start dev environment | N/A — library package with no start script in `package.json` |
|
|
50
52
|
| Run tests | `yarn workspace @webex/internal-plugin-presence test:unit` (after `build:src`; the specs import the package by name, so they test `dist/`) |
|
|
51
53
|
| Run linters | `yarn workspace @webex/internal-plugin-presence test:style` |
|
|
52
54
|
| Build/release artifact | `yarn workspace @webex/internal-plugin-presence build:src` (JavaScript and source maps to `dist/`) |
|
|
53
55
|
| Format code | N/A — no format script; `prettier` is a devDependency used through eslint |
|
|
54
56
|
|
|
55
|
-
`yarn workspace @webex/internal-plugin-presence build` runs `yarn build:src` and produces the same
|
|
57
|
+
`yarn workspace @webex/internal-plugin-presence build` runs `yarn workspace @webex/internal-plugin-presence build:src` and produces the same
|
|
56
58
|
output; the package emits no type declarations.
|
|
57
59
|
|
|
58
60
|
Every unit case is skipped today, so `test:unit` passing proves nothing about behavior; see
|
|
@@ -124,9 +126,6 @@ Run checks in this order:
|
|
|
124
126
|
2. `yarn workspace @webex/internal-plugin-presence test:unit`
|
|
125
127
|
3. `yarn workspace @webex/internal-plugin-presence test:style`
|
|
126
128
|
|
|
127
|
-
Run `yarn prebuild:modules` once on a fresh checkout so `webex-legacy-tools` and the sibling packages'
|
|
128
|
-
`dist/` exist.
|
|
129
|
-
|
|
130
129
|
Testing rules:
|
|
131
130
|
|
|
132
131
|
- Add or update cases in `test/unit/spec/presence.js` or `test/unit/spec/presence-worker.js` for every
|
package/dist/presence.js
CHANGED
|
@@ -277,7 +277,7 @@ var Presence = _webexCore.WebexPlugin.extend({
|
|
|
277
277
|
dequeue: function dequeue(id) {
|
|
278
278
|
return this.worker.dequeue(id);
|
|
279
279
|
},
|
|
280
|
-
version: "3.13.0-next.
|
|
280
|
+
version: "3.13.0-next.7"
|
|
281
281
|
});
|
|
282
282
|
var _default2 = exports.default = Presence;
|
|
283
283
|
//# sourceMappingURL=presence.js.map
|
package/docs/getting-started.md
CHANGED
|
@@ -34,16 +34,8 @@ yarn
|
|
|
34
34
|
|
|
35
35
|
The workspace `deploy.yml` workflow installs with the same command.
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
sibling packages' `dist/`:
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
yarn prebuild:modules
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
It runs `yarn`, then builds the tools, the legacy tools, `@webex/webex-core`, and every package, in
|
|
46
|
-
that order (root `package.json`; see the workspace `CONTRIBUTING.md` "Prebuilding").
|
|
37
|
+
Fresh-checkout workspace setup (building `webex-legacy-tools` and sibling `dist/`) is owned by the workspace root; see
|
|
38
|
+
[Prebuilding](../../../../CONTRIBUTING.md#prebuilding).
|
|
47
39
|
|
|
48
40
|
## Build
|
|
49
41
|
|
|
@@ -52,7 +44,7 @@ yarn workspace @webex/internal-plugin-presence build:src
|
|
|
52
44
|
```
|
|
53
45
|
|
|
54
46
|
`build:src` writes JavaScript and source maps for the six source files to `dist/` through
|
|
55
|
-
`webex-legacy-tools`. `dist/` is ignored by Git. The `build` script runs `yarn build:src`; the package
|
|
47
|
+
`webex-legacy-tools`. `dist/` is ignored by Git. The `build` script runs `yarn workspace @webex/internal-plugin-presence build:src`; the package
|
|
56
48
|
emits no type declarations.
|
|
57
49
|
|
|
58
50
|
```bash
|
package/package.json
CHANGED
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"@webex/eslint-config-legacy": "0.0.0",
|
|
25
25
|
"@webex/jest-config-legacy": "0.0.0",
|
|
26
26
|
"@webex/legacy-tools": "0.0.0",
|
|
27
|
-
"@webex/test-helper-chai": "3.13.0-next.
|
|
28
|
-
"@webex/test-helper-mocha": "3.13.0-next.
|
|
29
|
-
"@webex/test-helper-mock-webex": "3.13.0-next.
|
|
30
|
-
"@webex/test-helper-test-users": "3.13.0-next.
|
|
27
|
+
"@webex/test-helper-chai": "3.13.0-next.3",
|
|
28
|
+
"@webex/test-helper-mocha": "3.13.0-next.3",
|
|
29
|
+
"@webex/test-helper-mock-webex": "3.13.0-next.3",
|
|
30
|
+
"@webex/test-helper-test-users": "3.13.0-next.3",
|
|
31
31
|
"eslint": "^8.24.0",
|
|
32
32
|
"prettier": "^2.7.1",
|
|
33
33
|
"sinon": "^9.2.4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@webex/internal-plugin-device": "3.13.0-next.
|
|
37
|
-
"@webex/internal-plugin-mercury": "3.13.0-next.
|
|
38
|
-
"@webex/test-helper-chai": "3.13.0-next.
|
|
39
|
-
"@webex/test-helper-mocha": "3.13.0-next.
|
|
40
|
-
"@webex/test-helper-mock-webex": "3.13.0-next.
|
|
41
|
-
"@webex/test-helper-test-users": "3.13.0-next.
|
|
42
|
-
"@webex/webex-core": "3.13.0-next.
|
|
36
|
+
"@webex/internal-plugin-device": "3.13.0-next.7",
|
|
37
|
+
"@webex/internal-plugin-mercury": "3.13.0-next.7",
|
|
38
|
+
"@webex/test-helper-chai": "3.13.0-next.3",
|
|
39
|
+
"@webex/test-helper-mocha": "3.13.0-next.3",
|
|
40
|
+
"@webex/test-helper-mock-webex": "3.13.0-next.3",
|
|
41
|
+
"@webex/test-helper-test-users": "3.13.0-next.3",
|
|
42
|
+
"@webex/webex-core": "3.13.0-next.7",
|
|
43
43
|
"lodash": "^4.17.21"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"test:style": "eslint ./src/**/*.*",
|
|
52
52
|
"test:unit": "webex-legacy-tools test --unit --runner jest"
|
|
53
53
|
},
|
|
54
|
-
"version": "3.13.0-next.
|
|
54
|
+
"version": "3.13.0-next.7"
|
|
55
55
|
}
|