@webex/plugin-team-memberships 3.13.0-next.5 → 3.13.0-next.6

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,11 @@
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": "[NEEDS HUMAN INPUT] -- package.json defines no test:unit script and the package has no test/unit directory; its only spec, test/integration/spec/team-memberships.js, runs only under test:browser, which currently bundles nothing. Add a unit suite and script before recording a command here.",
14
- "lint": "yarn test:style",
15
- "browser-test": "yarn test:browser",
16
- "deploy": "yarn deploy:npm"
10
+ "compile": "yarn workspace @webex/plugin-team-memberships build",
11
+ "build": "yarn workspace @webex/plugin-team-memberships build:src",
12
+ "lint": "yarn workspace @webex/plugin-team-memberships test:style",
13
+ "browser-test": "yarn workspace @webex/plugin-team-memberships test:browser",
14
+ "deploy": "yarn workspace @webex/plugin-team-memberships deploy:npm"
17
15
  },
18
16
  "public_interfaces": [
19
17
  {
@@ -68,10 +66,10 @@
68
66
  "dist"
69
67
  ],
70
68
  "refresh_with": [
71
- "yarn build:src"
69
+ "yarn workspace @webex/plugin-team-memberships build:src"
72
70
  ],
73
71
  "validate_with": [
74
- "yarn test:style"
72
+ "yarn workspace @webex/plugin-team-memberships test:style"
75
73
  ]
76
74
  },
77
75
  {
@@ -92,7 +90,7 @@
92
90
  {
93
91
  "path": "dist",
94
92
  "generated_from": "src",
95
- "refresh_with": "yarn build:src"
93
+ "refresh_with": "yarn workspace @webex/plugin-team-memberships build:src"
96
94
  },
97
95
  {
98
96
  "path": "../../../.sdd/templates/repo-standards/template-map.json",
@@ -106,8 +104,8 @@
106
104
  "src/**"
107
105
  ],
108
106
  "minimum": [
109
- "yarn build:src",
110
- "yarn test:style"
107
+ "yarn workspace @webex/plugin-team-memberships build:src",
108
+ "yarn workspace @webex/plugin-team-memberships test:style"
111
109
  ],
112
110
  "recommended": [
113
111
  "add a test/unit/spec case and a test:unit script for the changed behavior; the package has no unit tests"
@@ -118,8 +116,8 @@
118
116
  "src/team-memberships.js"
119
117
  ],
120
118
  "minimum": [
121
- "yarn build:src",
122
- "yarn test:style"
119
+ "yarn workspace @webex/plugin-team-memberships build:src",
120
+ "yarn workspace @webex/plugin-team-memberships test:style"
123
121
  ],
124
122
  "recommended": [
125
123
  "pin the request options, the object-or-id rule, and the 204 branch with unit cases before changing them"
@@ -130,8 +128,8 @@
130
128
  "src/index.js"
131
129
  ],
132
130
  "minimum": [
133
- "yarn build:src",
134
- "yarn test:style"
131
+ "yarn workspace @webex/plugin-team-memberships build:src",
132
+ "yarn workspace @webex/plugin-team-memberships test:style"
135
133
  ],
136
134
  "recommended": [
137
135
  "check the bundles that register the plugin (webex, webex-node) and the webex integration spec commonjs.js when the registered name changes"
@@ -149,10 +147,10 @@
149
147
  "the undefined result of remove on 204"
150
148
  ],
151
149
  "refresh_with": [
152
- "yarn build:src"
150
+ "yarn workspace @webex/plugin-team-memberships build:src"
153
151
  ],
154
152
  "validate_with": [
155
- "yarn test:style"
153
+ "yarn workspace @webex/plugin-team-memberships test:style"
156
154
  ],
157
155
  "avoid_direct_edits": [
158
156
  "dist"
@@ -167,10 +165,10 @@
167
165
  "the registered plugin name"
168
166
  ],
169
167
  "refresh_with": [
170
- "yarn build:src"
168
+ "yarn workspace @webex/plugin-team-memberships build:src"
171
169
  ],
172
170
  "validate_with": [
173
- "yarn test:style"
171
+ "yarn workspace @webex/plugin-team-memberships test:style"
174
172
  ],
175
173
  "avoid_direct_edits": [
176
174
  "dist"
@@ -286,7 +284,7 @@
286
284
  "dist"
287
285
  ],
288
286
  "generated_from": "src",
289
- "refresh_with": "yarn build:src",
287
+ "refresh_with": "yarn workspace @webex/plugin-team-memberships build:src",
290
288
  "notes": "JavaScript and source maps from webex-legacy-tools; no type declarations. Do not edit by hand."
291
289
  },
292
290
  {
@@ -302,13 +300,13 @@
302
300
  "validation_entrypoints": [
303
301
  {
304
302
  "name": "compile",
305
- "command": "yarn build",
303
+ "command": "yarn workspace @webex/plugin-team-memberships build",
306
304
  "scope": "src",
307
305
  "notes": "Runs build:src."
308
306
  },
309
307
  {
310
308
  "name": "lint",
311
- "command": "yarn test:style",
309
+ "command": "yarn workspace @webex/plugin-team-memberships test:style",
312
310
  "scope": "src",
313
311
  "notes": "eslint via the local .eslintrc.js; docs/** and *.md are ignored."
314
312
  }
@@ -15,37 +15,29 @@
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-team-memberships build",
25
20
  "source_file": "package.json",
26
- "role": "compile",
27
- "verified_at": "2026-11-12T17:21:35Z"
21
+ "role": "compile"
28
22
  },
29
23
  "build": {
30
- "command": "yarn build:src",
24
+ "command": "yarn workspace @webex/plugin-team-memberships build:src",
31
25
  "source_file": "package.json",
32
- "role": "package",
33
- "verified_at": "2026-11-12T17:21:33Z"
26
+ "role": "package"
34
27
  },
35
28
  "unit-test": "[NEEDS HUMAN INPUT] -- package.json defines no test:unit script and the package has no test/unit directory; its only spec, test/integration/spec/team-memberships.js, runs only under test:browser, which currently bundles nothing. Add a unit suite and script before recording a command here.",
36
29
  "lint": {
37
- "command": "yarn test:style",
30
+ "command": "yarn workspace @webex/plugin-team-memberships test:style",
38
31
  "source_file": "package.json",
39
- "role": "lint",
40
- "verified_at": "2026-11-12T17:21:37Z"
32
+ "role": "lint"
41
33
  },
42
34
  "browser-test": {
43
- "command": "yarn test:browser",
35
+ "command": "yarn workspace @webex/plugin-team-memberships test:browser",
44
36
  "source_file": "package.json",
45
37
  "role": "other"
46
38
  },
47
39
  "deploy": {
48
- "command": "yarn deploy:npm",
40
+ "command": "yarn workspace @webex/plugin-team-memberships deploy:npm",
49
41
  "source_file": "package.json",
50
42
  "role": "deploy"
51
43
  }
package/AGENTS.md CHANGED
@@ -40,25 +40,25 @@ 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 `yarn` and
44
- `yarn prebuild:modules` at the workspace root, and the package scripts below from this package
45
- directory, `packages/@webex/plugin-team-memberships`, where `package.json` defines them. From the
46
- workspace root, `yarn workspace @webex/plugin-team-memberships <script>` runs the same script.
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/plugin-team-memberships <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).
47
47
 
48
48
  | Task | Command |
49
49
  | ---------------------- | ------- |
50
- | 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/` |
50
+ | Install dependencies | `yarn` (workspace root; the deploy workflow runs the same command) |
51
51
  | Start dev environment | N/A — library package with no start script in `package.json` |
52
52
  | Run tests | N/A — the package has no unit tests and no `test:unit` script (see below) |
53
- | Run linters | `yarn test:style` |
54
- | Build/release artifact | `yarn build:src` (JavaScript and source maps to `dist/`) |
53
+ | Run linters | `yarn workspace @webex/plugin-team-memberships test:style` |
54
+ | Build/release artifact | `yarn workspace @webex/plugin-team-memberships build:src` (JavaScript and source maps to `dist/`) |
55
55
  | Format code | N/A — no format script; `prettier` is a devDependency used through eslint |
56
56
 
57
- `yarn build` runs `yarn build:src` and produces the same output; the package emits no type
57
+ `yarn workspace @webex/plugin-team-memberships build` runs `yarn workspace @webex/plugin-team-memberships build:src` and produces the same output; the package emits no type
58
58
  declarations.
59
59
 
60
60
  Do not use the aggregate `test` script: after lint it calls `test:unit`, which this package does not
61
- define, and exits 1. `yarn test:browser` runs `test/integration/spec` through karma but verifies
61
+ define, and exits 1. `yarn workspace @webex/plugin-team-memberships test:browser` runs `test/integration/spec` through karma but verifies
62
62
  nothing today; see [Getting started](docs/getting-started.md#tests) for its state.
63
63
 
64
64
  If a required command is unknown, stop and ask for the exact command.
@@ -116,13 +116,10 @@ Definition of done:
116
116
 
117
117
  ## 4. Testing Workflow
118
118
 
119
- Run checks in this order, from the package directory:
119
+ Run checks in this order, from the workspace root:
120
120
 
121
- 1. `yarn build:src`
122
- 2. `yarn test:style`
123
-
124
- Run `yarn prebuild:modules` once on a fresh checkout so `webex-legacy-tools` and the sibling packages'
125
- `dist/` exist.
121
+ 1. `yarn workspace @webex/plugin-team-memberships build:src`
122
+ 2. `yarn workspace @webex/plugin-team-memberships test:style`
126
123
 
127
124
  Testing rules:
128
125
 
@@ -213,7 +213,7 @@ var TeamMemberships = _webexCore.WebexPlugin.extend({
213
213
  return res.body;
214
214
  });
215
215
  },
216
- version: "3.13.0-next.5"
216
+ version: "3.13.0-next.6"
217
217
  });
218
218
  var _default = exports.default = TeamMemberships;
219
219
  //# sourceMappingURL=team-memberships.js.map
@@ -165,9 +165,9 @@ flowchart LR
165
165
 
166
166
  | Command or artifact | Owner | Inputs | Output or side effect | Compatibility boundary |
167
167
  | ------------------- | ----- | ------ | --------------------- | ---------------------- |
168
- | `yarn build:src` | Package scripts | `src` | Writes `dist/` (JavaScript and source maps) through `webex-legacy-tools` | `dist/` is generated and never edited by hand |
169
- | `yarn build` | Package scripts | `src` | Runs `build:src` | Same output |
170
- | `yarn test:style` | Package scripts | `src` | ESLint run | The shared config ignores `docs/**` and `*.md` |
168
+ | `yarn workspace @webex/plugin-team-memberships build:src` | Package scripts | `src` | Writes `dist/` (JavaScript and source maps) through `webex-legacy-tools` | `dist/` is generated and never edited by hand |
169
+ | `yarn workspace @webex/plugin-team-memberships build` | Package scripts | `src` | Runs `build:src` | Same output |
170
+ | `yarn workspace @webex/plugin-team-memberships test:style` | Package scripts | `src` | ESLint run | The shared config ignores `docs/**` and `*.md` |
171
171
 
172
172
  ## Cross-repository topology
173
173
 
@@ -16,9 +16,8 @@ validation_status: pass
16
16
  # Getting started
17
17
 
18
18
  Onboarding for **@webex/plugin-team-memberships**, a package inside the `webex-js-sdk` Yarn
19
- workspace. Run `yarn` and `yarn prebuild:modules` at the workspace root, and the package scripts from
20
- this package directory, `packages/@webex/plugin-team-memberships`, where `package.json` defines them.
21
- From the workspace root, `yarn workspace @webex/plugin-team-memberships <script>` runs the same script.
19
+ workspace. Run every command from the workspace root: `yarn` to install, and
20
+ `yarn workspace @webex/plugin-team-memberships <script>` for the package scripts, which `package.json` defines.
22
21
 
23
22
  ## Prerequisites
24
23
 
@@ -36,29 +35,21 @@ yarn
36
35
 
37
36
  The workspace `deploy.yml` workflow installs with the same command.
38
37
 
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, or the sibling
41
- 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").
38
+ Fresh-checkout workspace setup (building `webex-legacy-tools` and sibling `dist/`) is owned by the workspace root; see
39
+ [Prebuilding](../../../../CONTRIBUTING.md#prebuilding).
49
40
 
50
41
  ## Build
51
42
 
52
43
  ```bash
53
- yarn build:src
44
+ yarn workspace @webex/plugin-team-memberships build:src
54
45
  ```
55
46
 
56
47
  `build:src` writes JavaScript and source maps for the two source files to `dist/` through
57
- `webex-legacy-tools`. `dist/` is ignored by Git. The `build` script runs `yarn build:src`; the package
48
+ `webex-legacy-tools`. `dist/` is ignored by Git. The `build` script runs `yarn workspace @webex/plugin-team-memberships build:src`; the package
58
49
  emits no type declarations.
59
50
 
60
51
  ```bash
61
- yarn build
52
+ yarn workspace @webex/plugin-team-memberships build
62
53
  ```
63
54
 
64
55
  ## Run
@@ -69,7 +60,7 @@ N/A — this is a library with no start script. Importing `@webex/plugin-team-me
69
60
  ## Tests
70
61
 
71
62
  ```bash
72
- yarn test:style
63
+ yarn workspace @webex/plugin-team-memberships test:style
73
64
  ```
74
65
 
75
66
  | Tier | Command | Test location | Framework | External dependencies |
@@ -87,7 +78,7 @@ This package has no unit tests: `package.json` defines no `test:unit` script and
87
78
  `test/unit` directory. Add both together when you add the first unit case; sibling legacy packages
88
79
  define `test:unit` as `webex-legacy-tools test --unit --runner jest`.
89
80
 
90
- `yarn test:browser` (manifest command `browser-test`) runs `webex-legacy-tools test --integration
81
+ `yarn workspace @webex/plugin-team-memberships test:browser` (manifest command `browser-test`) runs `webex-legacy-tools test --integration
91
82
  --runner karma` over `test/integration/spec/team-memberships.js`, whose 8 cases create test users, a
92
83
  team, and a team room and call the live services. On 2026-11-12 under Node 22.14 the karma bundle
93
84
  failed to parse `isbot` (an ES module in the workspace `node_modules`), so the run reported a bundle
@@ -113,8 +104,8 @@ command; run the commands above instead.
113
104
 
114
105
  ## First-run verification
115
106
 
116
- 1. Run `yarn build:src` and check that it reports `Built plugin-team-memberships: 2 files`.
117
- 2. Run `yarn test:style`.
107
+ 1. Run `yarn workspace @webex/plugin-team-memberships build:src` and check that it reports `Built plugin-team-memberships: 2 files`.
108
+ 2. Run `yarn workspace @webex/plugin-team-memberships test:style`.
118
109
 
119
110
  Expected result: both commands exit zero. `test:style` reports no warning or error in `src/`; it prints
120
111
  "File ignored" for `src/docs/README.md`.
@@ -52,7 +52,7 @@ remains Partial pending a unit suite, a characterization baseline, and promotion
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` and `test:style`, and the module spec |
55
+ | Package boundaries or cross-cutting architecture | `docs/architecture.md` and applicable ADRs | `yarn workspace @webex/plugin-team-memberships build:src` and `test:style`, and the module spec |
56
56
  | A stable code, package, or component boundary | `src/docs/README.md` | Build and lint |
57
57
  | A public method, request path, result handling, or the registration | The owning architecture section, `src/docs/README.md`, and the native definition in `src/team-memberships.js`, `src/index.js`, or `package.json` | Build and lint; add a `test/unit/spec` case and a `test:unit` script for the changed path, since the package has no unit tests and the integration spec is not run |
58
58
 
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.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.2",
28
+ "@webex/test-helper-mocha": "3.13.0-next.2",
29
+ "@webex/test-helper-mock-webex": "3.13.0-next.2",
30
+ "@webex/test-helper-test-users": "3.13.0-next.2",
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.5",
37
- "@webex/webex-core": "3.13.0-next.5"
36
+ "@webex/internal-plugin-device": "3.13.0-next.6",
37
+ "@webex/webex-core": "3.13.0-next.6"
38
38
  },
39
39
  "peerDependencies": {
40
- "@webex/plugin-logger": "3.13.0-next.5",
41
- "@webex/plugin-rooms": "3.13.0-next.9",
42
- "@webex/plugin-teams": "3.13.0-next.5"
40
+ "@webex/plugin-logger": "3.13.0-next.6",
41
+ "@webex/plugin-rooms": "3.13.0-next.10",
42
+ "@webex/plugin-teams": "3.13.0-next.6"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "yarn build:src",
@@ -49,5 +49,5 @@
49
49
  "test:browser": "webex-legacy-tools test --integration --runner karma",
50
50
  "test:style": "eslint ./src/**/*.*"
51
51
  },
52
- "version": "3.13.0-next.5"
52
+ "version": "3.13.0-next.6"
53
53
  }