@adonis-agora/media-dashboard 7.0.0 → 8.0.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/CHANGELOG.md +16 -0
- package/dist/provider/media_dashboard_provider.d.ts +15 -4
- package/dist/provider/media_dashboard_provider.d.ts.map +1 -1
- package/dist/provider/media_dashboard_provider.js +19 -9
- package/dist/provider/media_dashboard_provider.js.map +1 -1
- package/dist/spa/assets/index-Bo658_9z.js +83 -0
- package/dist/spa/assets/{index-Dvw2uJpF.js.map → index-Bo658_9z.js.map} +1 -1
- package/dist/spa/index.html +1 -1
- package/package.json +9 -5
- package/skills/media-dashboard-console/SKILL.md +277 -0
- package/dist/spa/assets/index-Dvw2uJpF.js +0 -83
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @adonis-agora/media-dashboard
|
|
2
2
|
|
|
3
|
+
## 8.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#57](https://github.com/DavideCarvalho/adonis-agora-media/pull/57) [`331f53f`](https://github.com/DavideCarvalho/adonis-agora-media/commit/331f53f6294f3b7e4261bdbf65fb8090063aa673) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Ship TanStack Intent agent skills with every package. Each package now publishes a
|
|
8
|
+
`skills/` directory (`media-*` SKILL.md files) that lands in `node_modules` on install, so
|
|
9
|
+
AI coding agents can discover them via `npx @tanstack/intent list`; adds `@tanstack/intent`
|
|
10
|
+
as a devDependency for `intent validate` in CI.
|
|
11
|
+
|
|
12
|
+
## 8.0.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`e2baf99`](https://github.com/DavideCarvalho/adonis-agora-media/commit/e2baf993dae1a7d3574128085abe1cf48087a023)]:
|
|
17
|
+
- @adonis-agora/media@0.12.0
|
|
18
|
+
|
|
3
19
|
## 7.0.0
|
|
4
20
|
|
|
5
21
|
### Major Changes
|
|
@@ -10,10 +10,21 @@ import type { ApplicationService } from '@adonisjs/core/types';
|
|
|
10
10
|
* Delegating via a runtime `import()` of the bare specifier — rather than a static
|
|
11
11
|
* `import ... from '@adonis-agora/media/dashboard_provider'` — is deliberate, not a style choice:
|
|
12
12
|
* `@adonis-agora/media` is a required PEER of this package (real consumers always have it installed),
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* and it must NOT become a workspace dependency here, because that would close a build cycle
|
|
14
|
+
* (`@adonis-agora/media` depends on `@adonis-agora/media-dashboard` at build time, to copy this
|
|
15
|
+
* package's built SPA into its own `dist`). The specifier is therefore resolved at runtime, out of
|
|
16
|
+
* the consumer's own `node_modules`.
|
|
17
|
+
*
|
|
18
|
+
* For TYPES this package pins an exact PUBLISHED `@adonis-agora/media` as a devDependency — the floor
|
|
19
|
+
* of the peer range, resolved from the registry rather than from the workspace, so it adds no
|
|
20
|
+
* workspace-graph edge and no build-cycle risk. It is written as an `npm:` alias
|
|
21
|
+
* (`npm:@adonis-agora/media@<floor>`) because a plain version would be rewritten by changesets, on
|
|
22
|
+
* every release, to the version being published — which is not on the registry yet when the version
|
|
23
|
+
* PR runs its install. That pin is what makes this import resolve, and it
|
|
24
|
+
* makes it resolve deterministically: before it existed, whether this file compiled depended on
|
|
25
|
+
* which published version pnpm's `auto-install-peers` happened to materialise, and the build passed
|
|
26
|
+
* only because the lockfile pinned a version OLD enough to predate the `./dashboard_provider`
|
|
27
|
+
* export. Refreshing the lockfile was enough to break it.
|
|
17
28
|
*
|
|
18
29
|
* ```ts
|
|
19
30
|
* providers: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media_dashboard_provider.d.ts","sourceRoot":"","sources":["../../src/provider/media_dashboard_provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D
|
|
1
|
+
{"version":3,"file":"media_dashboard_provider.d.ts","sourceRoot":"","sources":["../../src/provider/media_dashboard_provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAsB;;IAG7B,SAAS,CAAC,GAAG,EAAE,kBAAkB;gBAAvB,GAAG,EAAE,kBAAkB;IAgBvC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAI5B"}
|
|
@@ -9,10 +9,21 @@
|
|
|
9
9
|
* Delegating via a runtime `import()` of the bare specifier — rather than a static
|
|
10
10
|
* `import ... from '@adonis-agora/media/dashboard_provider'` — is deliberate, not a style choice:
|
|
11
11
|
* `@adonis-agora/media` is a required PEER of this package (real consumers always have it installed),
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
12
|
+
* and it must NOT become a workspace dependency here, because that would close a build cycle
|
|
13
|
+
* (`@adonis-agora/media` depends on `@adonis-agora/media-dashboard` at build time, to copy this
|
|
14
|
+
* package's built SPA into its own `dist`). The specifier is therefore resolved at runtime, out of
|
|
15
|
+
* the consumer's own `node_modules`.
|
|
16
|
+
*
|
|
17
|
+
* For TYPES this package pins an exact PUBLISHED `@adonis-agora/media` as a devDependency — the floor
|
|
18
|
+
* of the peer range, resolved from the registry rather than from the workspace, so it adds no
|
|
19
|
+
* workspace-graph edge and no build-cycle risk. It is written as an `npm:` alias
|
|
20
|
+
* (`npm:@adonis-agora/media@<floor>`) because a plain version would be rewritten by changesets, on
|
|
21
|
+
* every release, to the version being published — which is not on the registry yet when the version
|
|
22
|
+
* PR runs its install. That pin is what makes this import resolve, and it
|
|
23
|
+
* makes it resolve deterministically: before it existed, whether this file compiled depended on
|
|
24
|
+
* which published version pnpm's `auto-install-peers` happened to materialise, and the build passed
|
|
25
|
+
* only because the lockfile pinned a version OLD enough to predate the `./dashboard_provider`
|
|
26
|
+
* export. Refreshing the lockfile was enough to break it.
|
|
16
27
|
*
|
|
17
28
|
* ```ts
|
|
18
29
|
* providers: [
|
|
@@ -29,11 +40,10 @@ export default class MediaDashboardProvider {
|
|
|
29
40
|
}
|
|
30
41
|
async #resolveInner() {
|
|
31
42
|
if (!this.#inner) {
|
|
32
|
-
//
|
|
33
|
-
//
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
// it in tests — see media_dashboard_provider.spec.ts.
|
|
43
|
+
// The specifier stays a literal (rather than going through a variable) so the test config can
|
|
44
|
+
// alias it to a fixture — see media_dashboard_provider.spec.ts. The structural cast keeps this
|
|
45
|
+
// delegate tolerant of every peer version in range, not just the pinned one it typechecks
|
|
46
|
+
// against: all it ever needs is a default-exported class taking the app and exposing `boot`.
|
|
37
47
|
const mod = (await import('@adonis-agora/media/dashboard_provider'));
|
|
38
48
|
this.#inner = new mod.default(this.app);
|
|
39
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media_dashboard_provider.js","sourceRoot":"","sources":["../../src/provider/media_dashboard_provider.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"media_dashboard_provider.js","sourceRoot":"","sources":["../../src/provider/media_dashboard_provider.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAsB;IAGnB;IAFtB,MAAM,CAAsD;IAE5D,YAAsB,GAAuB;QAAvB,QAAG,GAAH,GAAG,CAAoB;IAAG,CAAC;IAEjD,KAAK,CAAC,aAAa;QACjB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,8FAA8F;YAC9F,+FAA+F;YAC/F,0FAA0F;YAC1F,6FAA6F;YAC7F,MAAM,GAAG,GAAG,CAAC,MAAM,MAAM,CAAC,wCAAwC,CAAC,CAElE,CAAC;YACF,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC1C,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,KAAK,CAAC,IAAI;QACR,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE,CAAC;QACzC,MAAM,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;IACvB,CAAC;CACF"}
|