@webex/plugin-people 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.
@@ -7,13 +7,12 @@
7
7
  },
8
8
  "commands": {
9
9
  "install": "yarn",
10
- "prebuild": "yarn prebuild:modules",
11
- "compile": "yarn build",
12
- "build": "yarn build:src",
13
- "unit-test": "yarn test:unit",
14
- "lint": "yarn test:style",
15
- "browser-test": "yarn test:browser:broken",
16
- "deploy": "yarn deploy:npm"
10
+ "compile": "yarn workspace @webex/plugin-people build",
11
+ "build": "yarn workspace @webex/plugin-people build:src",
12
+ "unit-test": "yarn workspace @webex/plugin-people test:unit",
13
+ "lint": "yarn workspace @webex/plugin-people test:style",
14
+ "browser-test": "yarn workspace @webex/plugin-people test:browser:broken",
15
+ "deploy": "yarn workspace @webex/plugin-people deploy:npm"
17
16
  },
18
17
  "public_interfaces": [
19
18
  {
@@ -69,11 +68,11 @@
69
68
  "dist"
70
69
  ],
71
70
  "refresh_with": [
72
- "yarn build:src"
71
+ "yarn workspace @webex/plugin-people build:src"
73
72
  ],
74
73
  "validate_with": [
75
- "yarn test:unit",
76
- "yarn test:style"
74
+ "yarn workspace @webex/plugin-people test:unit",
75
+ "yarn workspace @webex/plugin-people test:style"
77
76
  ]
78
77
  },
79
78
  {
@@ -94,7 +93,7 @@
94
93
  {
95
94
  "path": "dist",
96
95
  "generated_from": "src",
97
- "refresh_with": "yarn build:src"
96
+ "refresh_with": "yarn workspace @webex/plugin-people build:src"
98
97
  },
99
98
  {
100
99
  "path": "../../../.sdd/templates/repo-standards/template-map.json",
@@ -108,9 +107,9 @@
108
107
  "src/**"
109
108
  ],
110
109
  "minimum": [
111
- "yarn build:src",
112
- "yarn test:unit",
113
- "yarn test:style"
110
+ "yarn workspace @webex/plugin-people build:src",
111
+ "yarn workspace @webex/plugin-people test:unit",
112
+ "yarn workspace @webex/plugin-people test:style"
114
113
  ],
115
114
  "recommended": [
116
115
  "add or update cases in test/unit/spec/people.js or test/unit/spec/people-batcher.js for the changed behavior"
@@ -122,9 +121,9 @@
122
121
  "src/config.js"
123
122
  ],
124
123
  "minimum": [
125
- "yarn build:src",
126
- "yarn test:unit",
127
- "yarn test:style"
124
+ "yarn workspace @webex/plugin-people build:src",
125
+ "yarn workspace @webex/plugin-people test:unit",
126
+ "yarn workspace @webex/plugin-people test:style"
128
127
  ],
129
128
  "recommended": [
130
129
  "keep a uuid and its hydra id on one fingerprint (INV-002) and add a unit case that a burst of get calls sends one request (INV-001); the only cases asserting batching today are in the integration spec, which no script runs"
@@ -135,9 +134,9 @@
135
134
  "src/people.js"
136
135
  ],
137
136
  "minimum": [
138
- "yarn build:src",
139
- "yarn test:unit",
140
- "yarn test:style"
137
+ "yarn workspace @webex/plugin-people build:src",
138
+ "yarn workspace @webex/plugin-people test:unit",
139
+ "yarn workspace @webex/plugin-people test:style"
141
140
  ],
142
141
  "recommended": [
143
142
  "add unit cases for get('me'), both list paths, and inferPersonIdFromUuid before changing them; check @webex/common event-envelope, @webex/plugin-meetings meeting-info/utilv2, and @webex/calling src/common/Utils.ts, which read list results and get('me')"
@@ -148,9 +147,9 @@
148
147
  "src/index.js"
149
148
  ],
150
149
  "minimum": [
151
- "yarn build:src",
152
- "yarn test:unit",
153
- "yarn test:style"
150
+ "yarn workspace @webex/plugin-people build:src",
151
+ "yarn workspace @webex/plugin-people test:unit",
152
+ "yarn workspace @webex/plugin-people test:style"
154
153
  ],
155
154
  "recommended": [
156
155
  "check the bundles that register the plugin (webex, webex-node, recipe-private-web-client) when the registered name or the config changes"
@@ -168,11 +167,11 @@
168
167
  "the uuid to hydra id inference"
169
168
  ],
170
169
  "refresh_with": [
171
- "yarn build:src"
170
+ "yarn workspace @webex/plugin-people build:src"
172
171
  ],
173
172
  "validate_with": [
174
- "yarn test:unit",
175
- "yarn test:style"
173
+ "yarn workspace @webex/plugin-people test:unit",
174
+ "yarn workspace @webex/plugin-people test:style"
176
175
  ],
177
176
  "avoid_direct_edits": [
178
177
  "dist"
@@ -189,11 +188,11 @@
189
188
  "item success and notFoundIds handling"
190
189
  ],
191
190
  "refresh_with": [
192
- "yarn build:src"
191
+ "yarn workspace @webex/plugin-people build:src"
193
192
  ],
194
193
  "validate_with": [
195
- "yarn test:unit",
196
- "yarn test:style"
194
+ "yarn workspace @webex/plugin-people test:unit",
195
+ "yarn workspace @webex/plugin-people test:style"
197
196
  ],
198
197
  "avoid_direct_edits": [
199
198
  "dist"
@@ -210,11 +209,11 @@
210
209
  "the batcher timings and showAllTypes default"
211
210
  ],
212
211
  "refresh_with": [
213
- "yarn build:src"
212
+ "yarn workspace @webex/plugin-people build:src"
214
213
  ],
215
214
  "validate_with": [
216
- "yarn test:unit",
217
- "yarn test:style"
215
+ "yarn workspace @webex/plugin-people test:unit",
216
+ "yarn workspace @webex/plugin-people test:style"
218
217
  ],
219
218
  "avoid_direct_edits": [
220
219
  "dist"
@@ -332,7 +331,7 @@
332
331
  "dist"
333
332
  ],
334
333
  "generated_from": "src",
335
- "refresh_with": "yarn build:src",
334
+ "refresh_with": "yarn workspace @webex/plugin-people build:src",
336
335
  "notes": "JavaScript and source maps from webex-legacy-tools; no type declarations. Do not edit by hand."
337
336
  },
338
337
  {
@@ -348,19 +347,19 @@
348
347
  "validation_entrypoints": [
349
348
  {
350
349
  "name": "compile",
351
- "command": "yarn build",
350
+ "command": "yarn workspace @webex/plugin-people build",
352
351
  "scope": "src",
353
352
  "notes": "Runs build:src."
354
353
  },
355
354
  {
356
355
  "name": "unit-test",
357
- "command": "yarn test:unit",
356
+ "command": "yarn workspace @webex/plugin-people test:unit",
358
357
  "scope": "test/unit/spec",
359
358
  "notes": "Run build:src first; the specs test dist."
360
359
  },
361
360
  {
362
361
  "name": "lint",
363
- "command": "yarn test:style",
362
+ "command": "yarn workspace @webex/plugin-people test:style",
364
363
  "scope": "src",
365
364
  "notes": "eslint via the local .eslintrc.js; docs/** and *.md are ignored."
366
365
  }
@@ -15,42 +15,33 @@
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
- "command": "yarn build",
19
+ "command": "yarn workspace @webex/plugin-people build",
25
20
  "source_file": "package.json",
26
- "role": "compile",
27
- "verified_at": "2026-11-12T16:05:42Z"
21
+ "role": "compile"
28
22
  },
29
23
  "build": {
30
- "command": "yarn build:src",
24
+ "command": "yarn workspace @webex/plugin-people build:src",
31
25
  "source_file": "package.json",
32
- "role": "package",
33
- "verified_at": "2026-11-12T16:05:58Z"
26
+ "role": "package"
34
27
  },
35
28
  "unit-test": {
36
- "command": "yarn test:unit",
29
+ "command": "yarn workspace @webex/plugin-people test:unit",
37
30
  "source_file": "package.json",
38
- "role": "unit-test",
39
- "verified_at": "2026-11-12T16:06:01Z"
31
+ "role": "unit-test"
40
32
  },
41
33
  "lint": {
42
- "command": "yarn test:style",
34
+ "command": "yarn workspace @webex/plugin-people test:style",
43
35
  "source_file": "package.json",
44
- "role": "lint",
45
- "verified_at": "2026-11-12T16:06:03Z"
36
+ "role": "lint"
46
37
  },
47
38
  "browser-test": {
48
- "command": "yarn test:browser:broken",
39
+ "command": "yarn workspace @webex/plugin-people test:browser:broken",
49
40
  "source_file": "package.json",
50
41
  "role": "other"
51
42
  },
52
43
  "deploy": {
53
- "command": "yarn deploy:npm",
44
+ "command": "yarn workspace @webex/plugin-people deploy:npm",
54
45
  "source_file": "package.json",
55
46
  "role": "deploy"
56
47
  }
package/AGENTS.md CHANGED
@@ -39,24 +39,24 @@ entry. It serves no HTTP, so no OpenAPI applies.
39
39
 
40
40
  ## 1. Commands (Run First)
41
41
 
42
- Use only documented commands. Do not invent alternatives when a command is missing. Run `yarn` and
43
- `yarn prebuild:modules` at the workspace root, and the package scripts below from this package
44
- directory, `packages/@webex/plugin-people`, where `package.json` defines them. From the workspace root, `yarn workspace @webex/plugin-people <script>` runs the same script.
42
+ Use only documented commands. Do not invent alternatives when a command is missing. Run `yarn` and the package scripts below from the workspace root, as
43
+ `yarn workspace @webex/plugin-people <script>`. Fresh-checkout workspace setup (building `webex-legacy-tools` and sibling
44
+ `dist/`) is owned by the workspace root; see [Prebuilding](../../../CONTRIBUTING.md#prebuilding).
45
45
 
46
46
  | Task | Command |
47
47
  | ---------------------- | ------- |
48
- | Install dependencies | `yarn` (workspace root; the deploy workflow runs the same command); on a fresh checkout run `yarn prebuild:modules` once, because `yarn` does not build `@webex/legacy-tools` or sibling `dist/` |
48
+ | Install dependencies | `yarn` (workspace root; the deploy workflow runs the same command) |
49
49
  | Start dev environment | N/A — library package with no start script in `package.json` |
50
- | Run tests | `yarn test:unit` (after `build:src`; the specs import the package by name, so they test `dist/`) |
51
- | Run linters | `yarn test:style` |
52
- | Build/release artifact | `yarn build:src` (JavaScript and source maps to `dist/`) |
50
+ | Run tests | `yarn workspace @webex/plugin-people test:unit` (after `build:src`; the specs import the package by name, so they test `dist/`) |
51
+ | Run linters | `yarn workspace @webex/plugin-people test:style` |
52
+ | Build/release artifact | `yarn workspace @webex/plugin-people build:src` (JavaScript and source maps to `dist/`) |
53
53
  | Format code | N/A — no format script; `prettier` is a devDependency used through eslint |
54
54
 
55
- `yarn build` runs `yarn build:src` and produces the same output; the package emits no type
55
+ `yarn workspace @webex/plugin-people build` runs the `build:src` script and produces the same output; the package emits no type
56
56
  declarations.
57
57
 
58
58
  Do not use the aggregate `test` script: after lint and unit tests it calls `test:integration`, which
59
- this package does not define, and exits 1. `yarn test:browser:broken` runs `test/integration/spec`
59
+ this package does not define, and exits 1. `yarn workspace @webex/plugin-people test:browser:broken` runs `test/integration/spec`
60
60
  through karma but verifies nothing today; see [Getting started](docs/getting-started.md#tests) for its
61
61
  state.
62
62
 
@@ -121,14 +121,11 @@ Definition of done:
121
121
 
122
122
  ## 4. Testing Workflow
123
123
 
124
- Run checks in this order, from the package directory:
124
+ Run checks in this order, from the workspace root:
125
125
 
126
- 1. `yarn build:src`
127
- 2. `yarn test:unit`
128
- 3. `yarn test:style`
129
-
130
- Run `yarn prebuild:modules` once on a fresh checkout so `webex-legacy-tools` and the sibling packages'
131
- `dist/` exist.
126
+ 1. `yarn workspace @webex/plugin-people build:src`
127
+ 2. `yarn workspace @webex/plugin-people test:unit`
128
+ 3. `yarn workspace @webex/plugin-people test:style`
132
129
 
133
130
  Testing rules:
134
131
 
package/dist/people.js CHANGED
@@ -194,7 +194,7 @@ var People = _webexCore.WebexPlugin.extend((_obj = {
194
194
  return res.body;
195
195
  });
196
196
  },
197
- version: "3.13.0-next.5"
197
+ version: "3.13.0-next.7"
198
198
  }, (0, _applyDecoratedDescriptor2.default)(_obj, "_getMe", [_common.oneFlight], (0, _getOwnPropertyDescriptor.default)(_obj, "_getMe"), _obj), _obj));
199
199
  var _default = exports.default = People;
200
200
  //# sourceMappingURL=people.js.map
@@ -185,10 +185,10 @@ flowchart LR
185
185
 
186
186
  | Command or artifact | Owner | Inputs | Output or side effect | Compatibility boundary |
187
187
  | ------------------- | ----- | ------ | --------------------- | ---------------------- |
188
- | `yarn build:src` | Package scripts | `src` | Writes `dist/` (JavaScript and source maps) through `webex-legacy-tools` | `dist/` is generated and never edited by hand |
189
- | `yarn build` | Package scripts | `src` | Runs `build:src` | Same output |
190
- | `yarn test:unit` | Package scripts | `test/unit/spec`, `dist/` | Jest run | Run `build:src` first |
191
- | `yarn test:style` | Package scripts | `src` | ESLint run | The shared config ignores `docs/**` and `*.md` |
188
+ | `yarn workspace @webex/plugin-people build:src` | Package scripts | `src` | Writes `dist/` (JavaScript and source maps) through `webex-legacy-tools` | `dist/` is generated and never edited by hand |
189
+ | `yarn workspace @webex/plugin-people build` | Package scripts | `src` | Runs `build:src` | Same output |
190
+ | `yarn workspace @webex/plugin-people test:unit` | Package scripts | `test/unit/spec`, `dist/` | Jest run | Run `build:src` first |
191
+ | `yarn workspace @webex/plugin-people test:style` | Package scripts | `src` | ESLint run | The shared config ignores `docs/**` and `*.md` |
192
192
 
193
193
  ## Cross-repository topology
194
194
 
@@ -16,9 +16,7 @@ validation_status: pass-with-warnings
16
16
  # Getting started
17
17
 
18
18
  Onboarding for **@webex/plugin-people**, a package inside the `webex-js-sdk` Yarn workspace.
19
- Run `yarn` and `yarn prebuild:modules` at the workspace root, and the package scripts from this
20
- package directory, `packages/@webex/plugin-people`, where `package.json` defines them.
21
- From the workspace root, `yarn workspace @webex/plugin-people <script>` runs the same script.
19
+ Run `yarn` and the package scripts from the workspace root, as `yarn workspace @webex/plugin-people <script>`.
22
20
 
23
21
  ## Prerequisites
24
22
 
@@ -36,29 +34,20 @@ yarn
36
34
 
37
35
  The workspace `deploy.yml` workflow installs with the same command.
38
36
 
39
- On a fresh checkout, prebuild the workspace before the first package build. `yarn` does not build
40
- `@webex/legacy-tools`, whose `webex-legacy-tools` binary runs this package's build and tests, or the
41
- sibling packages' `dist/`:
42
-
43
- ```bash
44
- yarn prebuild:modules
45
- ```
46
-
47
- It runs `yarn`, then builds the tools, the legacy tools, `@webex/webex-core`, and every package, in
48
- 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).
49
38
 
50
39
  ## Build
51
40
 
52
41
  ```bash
53
- yarn build:src
42
+ yarn workspace @webex/plugin-people build:src
54
43
  ```
55
44
 
56
45
  `build:src` writes JavaScript and source maps for the four source files to `dist/` through
57
- `webex-legacy-tools`. `dist/` is ignored by Git. The `build` script runs `yarn build:src`; the package
46
+ `webex-legacy-tools`. `dist/` is ignored by Git. The `build` script runs `build:src`; the package
58
47
  emits no type declarations.
59
48
 
60
49
  ```bash
61
- yarn build
50
+ yarn workspace @webex/plugin-people build
62
51
  ```
63
52
 
64
53
  ## Run
@@ -69,16 +58,16 @@ N/A — this is a library with no start script. Importing `@webex/plugin-people`
69
58
  ## Tests
70
59
 
71
60
  ```bash
72
- yarn test:unit
61
+ yarn workspace @webex/plugin-people test:unit
73
62
  ```
74
63
 
75
64
  ```bash
76
- yarn test:style
65
+ yarn workspace @webex/plugin-people test:style
77
66
  ```
78
67
 
79
68
  | Tier | Command | Test location | Framework | External dependencies |
80
69
  | ---- | ------- | ------------- | --------- | --------------------- |
81
- | Unit | `yarn test:unit` | `test/unit/spec` | jest through `webex-legacy-tools` and `@webex/jest-config-legacy` | None; `@webex/test-helper-mock-webex` and sinon stubs |
70
+ | Unit | `yarn workspace @webex/plugin-people test:unit` | `test/unit/spec` | jest through `webex-legacy-tools` and `@webex/jest-config-legacy` | None; `@webex/test-helper-mock-webex` and sinon stubs |
82
71
 
83
72
  Run `build:src` before `test:unit`. The unit specs import `@webex/plugin-people` by name, which
84
73
  resolves to `dist/index.js`, so a stale build tests old code.
@@ -90,7 +79,7 @@ resolves to `dist/index.js`, so a stale build tests old code.
90
79
  - Enforcement source: N/A
91
80
  - Test environment or QA dependencies: none for unit tests and lint
92
81
 
93
- `yarn test:browser:broken` (manifest command `browser-test`) runs `webex-legacy-tools test
82
+ `yarn workspace @webex/plugin-people test:browser:broken` (manifest command `browser-test`) runs `webex-legacy-tools test
94
83
  --integration --runner karma` over `test/integration/spec/people.js`, whose 13 cases (1 skipped) create
95
84
  test users and call the live service. On 2026-11-12 under Node 22.14 the karma bundle failed to parse
96
85
  `isbot` (an ES module in the workspace `node_modules`), so the run reported "0 tests completed" and
@@ -117,9 +106,9 @@ run the commands above instead.
117
106
 
118
107
  ## First-run verification
119
108
 
120
- 1. Run `yarn build:src` and check that it reports `Built plugin-people: 4 files`.
121
- 2. Run `yarn test:unit`.
122
- 3. Run `yarn test:style`.
109
+ 1. Run `yarn workspace @webex/plugin-people build:src` and check that it reports `Built plugin-people: 4 files`.
110
+ 2. Run `yarn workspace @webex/plugin-people test:unit`.
111
+ 3. Run `yarn workspace @webex/plugin-people test:style`.
123
112
 
124
113
  Expected result: all three commands exit zero. The unit run reports 5 passing tests in 2 suites.
125
114
  `test:style` prints warnings but no errors: 3 in `src/` (missing JSDoc in `src/people-batcher.js` and
@@ -52,7 +52,7 @@ remaining paths, and promotion past Partial remain pending.
52
52
 
53
53
  | Change affects | Load and update | Verification route |
54
54
  | -------------- | --------------- | ------------------ |
55
- | Package boundaries or cross-cutting architecture | `docs/architecture.md` and applicable ADRs | `yarn build:src`, then `test:unit` and `test:style`, and the module spec |
55
+ | Package boundaries or cross-cutting architecture | `docs/architecture.md` and applicable ADRs | `yarn workspace @webex/plugin-people build:src`, then `test:unit` and `test:style`, and the module spec |
56
56
  | A stable code, package, or component boundary | `src/docs/README.md` | Build, unit tests, and lint |
57
57
  | A public method, request path or query, fingerprint, id format, or config default | The owning architecture section, `src/docs/README.md`, and the native definition in `src/people.js`, `src/people-batcher.js`, `src/index.js`, `src/config.js`, or `package.json` | Build, unit tests, and lint; add a unit case for the changed path, since the batching cases live only in the unrun integration spec |
58
58
 
package/package.json CHANGED
@@ -24,18 +24,18 @@
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.1",
28
- "@webex/test-helper-mocha": "3.13.0-next.1",
29
- "@webex/test-helper-mock-webex": "3.13.0-next.1",
30
- "@webex/test-helper-test-users": "3.13.0-next.1",
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/common": "3.13.0-next.1",
37
- "@webex/internal-plugin-mercury": "3.13.0-next.5",
38
- "@webex/webex-core": "3.13.0-next.5"
36
+ "@webex/common": "3.13.0-next.3",
37
+ "@webex/internal-plugin-mercury": "3.13.0-next.7",
38
+ "@webex/webex-core": "3.13.0-next.7"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "yarn build:src",
@@ -46,5 +46,5 @@
46
46
  "test:style": "eslint ./src/**/*.*",
47
47
  "test:unit": "webex-legacy-tools test --unit --runner jest"
48
48
  },
49
- "version": "3.13.0-next.5"
49
+ "version": "3.13.0-next.7"
50
50
  }