mirror of
https://github.com/mathuo/dockview
synced 2026-10-08 05:38:52 +00:00
Turn the enterprise tier on by making the feature-module package a separately-published, self-activating package, and decoupling it from the free `dockview` package. Package: - Rename dockview-modules -> dockview-enterprise (directory + manifest); drop `private`, set `sideEffects: true`, depend ONLY on `dockview` at an exact version, re-export it (`export * from 'dockview'`) so the package is a drop-in superset (mirrors ag-grid-enterprise -> ag-grid-community). - Repoint all source off `dockview-core` onto `dockview`; rollup now externalizes `dockview`. - Add LicenseModule to the Modules bundle and self-register on import (registerModules(Modules)) — importing the package activates the feature modules and the license watermark-unless-licensed check. Free dockview: - Remove `registerModules(Modules)` and the dockview-modules devDep + rollup bundling. `dockview` is now a thin re-export of `dockview-core`; the feature modules ship only via `dockview-enterprise`. Consumers/config: - Rename across nx.json, root scripts, tsconfig(s), sonar, jest configs (+ a new `^dockview$` mapper), vite, docusaurus, systemjs, playwright. - Rewire the e2e fixture to load dockview.js + self-registering dockview-enterprise.js. - Repoint the demo with a side-effect `import 'dockview-enterprise'`. Verified: core+dockview+react 1171/1171, enterprise 285/285, e2e green; enterprise bundle stamps the release date + externalizes dockview; the free dockview bundle no longer contains the enterprise modules. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
24 lines
458 B
JSON
24 lines
458 B
JSON
{
|
|
"files": [],
|
|
"references": [
|
|
{
|
|
"path": "./packages/dockview"
|
|
},
|
|
{
|
|
"path": "./packages/dockview-core"
|
|
},
|
|
{
|
|
"path": "./packages/dockview-enterprise"
|
|
},
|
|
{
|
|
"path": "./packages/dockview-vue"
|
|
},
|
|
{
|
|
"path": "./packages/dockview-react"
|
|
},
|
|
{
|
|
"path": "./packages/dockview-angular"
|
|
}
|
|
]
|
|
}
|