@dpuse/dpuse-development 0.3.733 → 0.3.740
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/README.md +12 -72
- package/dist/dpuse-development.es.js +599 -615
- package/dist/dpuse-development.es.js.map +1 -1
- package/dist/types/src/utilities/index.d.ts +6 -0
- package/package.json +1 -1
- package/vite.config.default.ts +1 -1
- package/vite.config.tool.ts +1 -1
- package/vite.config.wasm.ts +1 -1
package/README.md
CHANGED
|
@@ -103,61 +103,44 @@ All utilities are designed to be run from `package.json` scripts and assume that
|
|
|
103
103
|
|
|
104
104
|
Please see other DPUse repositories for actual usage.
|
|
105
105
|
|
|
106
|
-
## Dependency Licenses
|
|
107
|
-
|
|
108
106
|
<!-- DEPENDENCY_LICENSES_START -->
|
|
109
107
|
|
|
108
|
+
## Dependency Licenses
|
|
109
|
+
|
|
110
110
|
> [!WARNING]
|
|
111
111
|
> Dependency licenses are not documented here: @dpuse/dpuse-development is a development-only tool and is never part of a production release.
|
|
112
112
|
|
|
113
113
|
<!-- DEPENDENCY_LICENSES_END -->
|
|
114
114
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
<!-- DEPENDENCY_TREE_START -->
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
<!-- DEPENDENCY_TREE_END -->
|
|
115
|
+
<!-- BUNDLE_START -->
|
|
122
116
|
|
|
123
117
|
## Bundle Analysis
|
|
124
118
|
|
|
125
|
-
The Bundle Analysis Reports provide detailed breakdowns of the bundle's composition and module sizes, helping to identify which modules contribute most to the final build. Two complementary reports are generated automatically on each release:
|
|
126
|
-
|
|
127
|
-
- **[rollup-plugin-visualizer](https://github.com/btd/rollup-plugin-visualizer/tree/master)** — generates a static treemap/sunburst view based on pre-build module estimates, useful for a quick visual scan of overall bundle composition, including CSS assets.
|
|
128
|
-
- **[Sonda](https://sonda.dev/)** — analyses final source maps to capture the effects of tree-shaking and minification, rather than relying on pre-build estimates. This gives a more accurate picture of what's actually shipped, traces module-level dependencies, and shows the size of each module after tree-shaking and minification for more precise insight into what's driving bundle size. Note: Sonda's Vite reports currently exclude CSS files, since Vite does not generate source maps for CSS.
|
|
129
|
-
|
|
130
|
-
[View the rollup-plugin-visualizer Report](https://dpuse.github.io/dpuse-connector-file-store-emulator/bundle-analysis-reports/rollup-visualiser/index.html).
|
|
131
|
-
|
|
132
|
-
[View the Sonda Report](https://dpuse.github.io/dpuse-connector-file-store-emulator/bundle-analysis-reports/sonda/index.html).
|
|
133
|
-
|
|
134
|
-
<!-- BUNDLE_START -->
|
|
135
|
-
|
|
136
119
|
The Bundle Analysis Report is generated automatically on each release using [Sonda](https://sonda.dev/), which analyses final source maps to reveal the actual effects of tree-shaking and minification rather than relying on pre-build estimates.
|
|
137
120
|
|
|
138
121
|
_Note: Sonda's Vite reports currently exclude CSS files, since Vite does not generate source maps for CSS._
|
|
139
122
|
|
|
140
123
|
|Chunk/Module/File|Composition|
|
|
141
124
|
|:------ |:-----------|
|
|
142
|
-
| dist/dpuse-development.es.js |
|
|
125
|
+
| dist/dpuse-development.es.js | 312.7 kB · gzip 79.7 kB |
|
|
143
126
|
| acorn → dist/acorn.mjs | `████████░░░░░░░░░░░░` 41.8% |
|
|
144
127
|
| acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 36.6% |
|
|
145
|
-
| src | `██░░░░░░░░░░░░░░░░░░` 10.
|
|
146
|
-
| manageProject.ts | `░░░░░░░░░░░░░░░░░░░░` 1.8% |
|
|
128
|
+
| src | `██░░░░░░░░░░░░░░░░░░` 10.6% |
|
|
147
129
|
| documentDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 1.8% |
|
|
148
|
-
|
|
|
149
|
-
|
|
|
130
|
+
| manageProject.ts | `░░░░░░░░░░░░░░░░░░░░` 1.7% |
|
|
131
|
+
| index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.7% |
|
|
132
|
+
| documentBundleSizes.ts | `░░░░░░░░░░░░░░░░░░░░` 1.4% |
|
|
150
133
|
| checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 0.9% |
|
|
151
|
-
| documentGovernance.ts | `░░░░░░░░░░░░░░░░░░░░` 0.
|
|
134
|
+
| documentGovernance.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
|
|
152
135
|
| documentActions.ts | `░░░░░░░░░░░░░░░░░░░░` 0.6% |
|
|
153
|
-
| documentOpening.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
|
|
154
136
|
| cloudflare.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
|
|
155
137
|
| checkDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
|
|
156
138
|
| documentUsage.ts | `░░░░░░░░░░░░░░░░░░░░` 0.4% |
|
|
139
|
+
| documentOpening.ts | `░░░░░░░░░░░░░░░░░░░░` 0.4% |
|
|
157
140
|
| formatCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
158
141
|
| auditDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
159
142
|
| lintCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
160
|
-
| (
|
|
143
|
+
| (bundler output, whitespace & JSON) | `█░░░░░░░░░░░░░░░░░░░` 7.2% |
|
|
161
144
|
| @dpuse/dpuse-shared | `█░░░░░░░░░░░░░░░░░░░` 3.6% |
|
|
162
145
|
| dist/componentConfig.schema-DT3mO5rS.js | `█░░░░░░░░░░░░░░░░░░░` 2.7% |
|
|
163
146
|
| dist/dpuse-shared-componentModuleConnector.es.js | `░░░░░░░░░░░░░░░░░░░░` 0.7% |
|
|
@@ -165,53 +148,10 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
165
148
|
| dist/dpuse-shared-componentModulePresenter.es.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
166
149
|
| valibot → dist/index.mjs | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
167
150
|
|
|
168
|
-
(
|
|
151
|
+
(bundler output, whitespace & JSON) = bytes Sonda can't trace to a source file: whitespace (indentation and line breaks), code the bundler generates (region comments, the combined import/export lines, its small runtime helper and wrappers), and imported JSON such as `config.json`, which the bundler doesn't map. The JSON and the generated code are real bytes that ship; the whitespace mostly disappears once compressed.
|
|
169
152
|
|
|
170
153
|
<!-- BUNDLE_END -->
|
|
171
154
|
|
|
172
|
-
## Security & Quality
|
|
173
|
-
|
|
174
|
-
### CodeQL
|
|
175
|
-
|
|
176
|
-
[CodeQL](https://github.com/dpuse/dpuse-development/security/code-scanning) static analysis runs on every push to `main` and on a weekly schedule, scanning TypeScript, JavaScript, Rust, and GitHub Actions workflow files for security vulnerabilities and coding errors.
|
|
177
|
-
|
|
178
|
-
### SonarCloud
|
|
179
|
-
|
|
180
|
-
[SonarCloud](https://sonarcloud.io/summary/new_code?id=dpuse_dpuse_development) performs continuous code quality and security analysis on every push, detecting bugs, code smells, and security vulnerabilities in the TypeScript source.
|
|
181
|
-
|
|
182
|
-
### Vulnerability Scanning
|
|
183
|
-
|
|
184
|
-
Two complementary tools continuously monitor dependencies for known vulnerabilities:
|
|
185
|
-
|
|
186
|
-
- **[GitHub Dependabot](https://docs.github.com/en/code-security/dependabot)** automatically raises pull requests to update vulnerable dependencies, drawing on the GitHub Advisory Database which combines NVD and npm-specific advisories.
|
|
187
|
-
- **npm audit** runs on every push to `main` via the CI workflow, failing the build if any high or critical severity vulnerabilities are detected.
|
|
188
|
-
|
|
189
|
-
### Supply Chain Security
|
|
190
|
-
|
|
191
|
-
[Socket.dev](https://socket.dev) monitors all dependencies for supply chain risk — detecting malicious packages, dependency confusion, typosquatting, and suspicious behaviour that may not yet have a CVE.
|
|
192
|
-
|
|
193
|
-
### Reporting Vulnerabilities
|
|
194
|
-
|
|
195
|
-
Please do not open public GitHub issues for security vulnerabilities. Use [GitHub private vulnerability reporting](https://github.com/dpuse/dpuse-development/security/advisories/new) instead. See [SECURITY.md](./SECURITY.md) for the full disclosure policy, contact details, and expected response times.
|
|
196
|
-
|
|
197
|
-
### OpenSSF 🚧
|
|
198
|
-
|
|
199
|
-
[](https://scorecard.dev/viewer/?uri=github.com/dpuse/dpuse-development)
|
|
200
|
-
|
|
201
|
-
This project is working towards the [OpenSSF Best Practices](https://www.bestpractices.dev) Passing badge, a self-certification covering security policy, vulnerability reporting, build processes, code quality, and more. The [OpenSSF Scorecard](https://scorecard.dev/viewer/?uri=github.com/dpuse/dpuse-development) provides an independent automated assessment of the project's security practices and is an ongoing area of improvement.
|
|
202
|
-
|
|
203
|
-
## Contributing
|
|
204
|
-
|
|
205
|
-
This repository is maintained solely by its owner and does not accept external contributions. It is part of a larger closed application suite and is published for informational and cloning purposes only.
|
|
206
|
-
|
|
207
|
-
If you find a security vulnerability, see [Reporting Vulnerabilities](#reporting-vulnerabilities). For bugs, inconsistencies, or other feedback, you are welcome to [open a GitHub issue](https://github.com/dpuse/dpuse-development/issues) — feedback is read, but responses and fixes are at the maintainer's discretion.
|
|
208
|
-
|
|
209
|
-
## License
|
|
210
|
-
|
|
211
|
-
This project is licensed under the MIT License, permitting free use, modification, and distribution.
|
|
212
|
-
|
|
213
|
-
[MIT](./LICENSE) © 2026-present Jonathan Terrell
|
|
214
|
-
|
|
215
155
|
<!-- GOVERNANCE_START -->
|
|
216
156
|
|
|
217
157
|
## Security & Quality
|