@webex/plugin-presence 0.0.0-next.258 → 0.0.0-next.259
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 +2 -4
- package/dist/presence.js +1 -1
- package/docs/getting-started.md +1 -10
- 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/plugin-presence build",
|
|
12
11
|
"build": "yarn workspace @webex/plugin-presence build:src",
|
|
13
12
|
"unit-test": "yarn workspace @webex/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/plugin-presence build",
|
|
25
20
|
"source_file": "package.json",
|
package/AGENTS.md
CHANGED
|
@@ -42,10 +42,11 @@ entry and the types in `src/interface.ts`. It serves no HTTP, so no OpenAPI appl
|
|
|
42
42
|
|
|
43
43
|
Use only documented commands. Do not invent alternatives when a command is missing. Run workspace
|
|
44
44
|
commands from the monorepo root.
|
|
45
|
+
Fresh-checkout workspace setup (building `webex-legacy-tools` and sibling `dist/`) is owned by the workspace root; see [Prebuilding](../../../CONTRIBUTING.md#prebuilding).
|
|
45
46
|
|
|
46
47
|
| Task | Command |
|
|
47
48
|
| ---------------------- | ------- |
|
|
48
|
-
| Install dependencies | `yarn` (workspace root; the deploy workflow runs the same command)
|
|
49
|
+
| Install dependencies | `yarn` (workspace root; the deploy workflow runs the same command) |
|
|
49
50
|
| Start dev environment | N/A — library package with no start script in `package.json` |
|
|
50
51
|
| Run tests | `yarn workspace @webex/plugin-presence test:unit` (after `build:src`; the specs import the package by name, so they test `dist/`) |
|
|
51
52
|
| Run linters | `yarn workspace @webex/plugin-presence test:style` |
|
|
@@ -128,9 +129,6 @@ Run checks in this order:
|
|
|
128
129
|
2. `yarn workspace @webex/plugin-presence test:unit`
|
|
129
130
|
3. `yarn workspace @webex/plugin-presence test:style`
|
|
130
131
|
|
|
131
|
-
Run `yarn prebuild:modules` once on a fresh checkout so `webex-legacy-tools` and the sibling packages'
|
|
132
|
-
`dist/` exist.
|
|
133
|
-
|
|
134
132
|
Testing rules:
|
|
135
133
|
|
|
136
134
|
- Add or update cases in `test/unit/spec/presence.ts` or `test/unit/spec/presence-worker.ts` 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: "0.0.0-next.
|
|
280
|
+
version: "0.0.0-next.259"
|
|
281
281
|
});
|
|
282
282
|
var _default2 = exports.default = Presence;
|
|
283
283
|
//# sourceMappingURL=presence.js.map
|
package/docs/getting-started.md
CHANGED
|
@@ -34,16 +34,7 @@ yarn
|
|
|
34
34
|
|
|
35
35
|
The workspace `deploy.yml` workflow installs with the same command.
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
`@webex/legacy-tools`, whose `webex-legacy-tools` binary runs this package's build and tests, or the
|
|
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 [Prebuilding](../../../../CONTRIBUTING.md#prebuilding).
|
|
47
38
|
|
|
48
39
|
## Build
|
|
49
40
|
|
package/package.json
CHANGED
|
@@ -25,23 +25,23 @@
|
|
|
25
25
|
"@webex/eslint-config-legacy": "0.0.0",
|
|
26
26
|
"@webex/jest-config-legacy": "0.0.0",
|
|
27
27
|
"@webex/legacy-tools": "0.0.0",
|
|
28
|
-
"@webex/test-helper-chai": "3.13.0-next.
|
|
29
|
-
"@webex/test-helper-mocha": "3.13.0-next.
|
|
30
|
-
"@webex/test-helper-mock-webex": "3.13.0-next.
|
|
31
|
-
"@webex/test-helper-test-users": "3.13.0-next.
|
|
28
|
+
"@webex/test-helper-chai": "3.13.0-next.2",
|
|
29
|
+
"@webex/test-helper-mocha": "3.13.0-next.2",
|
|
30
|
+
"@webex/test-helper-mock-webex": "3.13.0-next.2",
|
|
31
|
+
"@webex/test-helper-test-users": "3.13.0-next.2",
|
|
32
32
|
"eslint": "8.24.0",
|
|
33
33
|
"prettier": "2.7.1",
|
|
34
34
|
"sinon": "9.2.4",
|
|
35
35
|
"typedoc": "0.23.26"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@webex/internal-plugin-device": "3.13.0-next.
|
|
39
|
-
"@webex/internal-plugin-mercury": "3.13.0-next.
|
|
40
|
-
"@webex/test-helper-chai": "3.13.0-next.
|
|
41
|
-
"@webex/test-helper-mocha": "3.13.0-next.
|
|
42
|
-
"@webex/test-helper-mock-webex": "3.13.0-next.
|
|
43
|
-
"@webex/test-helper-test-users": "3.13.0-next.
|
|
44
|
-
"@webex/webex-core": "3.13.0-next.
|
|
38
|
+
"@webex/internal-plugin-device": "3.13.0-next.6",
|
|
39
|
+
"@webex/internal-plugin-mercury": "3.13.0-next.6",
|
|
40
|
+
"@webex/test-helper-chai": "3.13.0-next.2",
|
|
41
|
+
"@webex/test-helper-mocha": "3.13.0-next.2",
|
|
42
|
+
"@webex/test-helper-mock-webex": "3.13.0-next.2",
|
|
43
|
+
"@webex/test-helper-test-users": "3.13.0-next.2",
|
|
44
|
+
"@webex/webex-core": "3.13.0-next.6",
|
|
45
45
|
"lodash": "4.17.21"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"test:style": "eslint ./src/**/*.*",
|
|
55
55
|
"test:unit": "webex-legacy-tools test --unit --runner jest"
|
|
56
56
|
},
|
|
57
|
-
"version": "0.0.0-next.
|
|
57
|
+
"version": "0.0.0-next.259"
|
|
58
58
|
}
|