@dpuse/dpuse-development 0.3.754 → 0.3.758
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 +17 -11
- package/dist/dpuse-development.es.js +1160 -988
- package/dist/dpuse-development.es.js.map +1 -1
- package/dist/types/src/actions/documentApiReference.d.ts +3 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/utilities/index.d.ts +1 -0
- package/package.json +5 -2
- package/vitest.config.ts +3 -3
package/README.md
CHANGED
|
@@ -80,19 +80,20 @@ The package implements the following actions:
|
|
|
80
80
|
|
|
81
81
|
| Name | Notes |
|
|
82
82
|
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
83
|
-
| auditDependencies | Audit the project's dependencies for known security vulnerabilities.
|
|
83
|
+
| auditDependencies | Audit the project's dependencies for known security vulnerabilities. Also runs the `npm outdated` command. |
|
|
84
84
|
| checkConfigFiles | |
|
|
85
85
|
| checkDependencies | Identifies outdated dependencies using npm `outdated` and `npm-check-updates` with option to automatically install latest versions. |
|
|
86
86
|
| documentBundleSizes | |
|
|
87
87
|
| documentDependencies | Identify licenses of the project's production and peer dependencies. Updates the table in the **Dependency Licenses** section of this page and summary files licenses.json and licenseTree.json in th licenses directory of this repository. Also downloads a copy of dependency license to `licenses/downloads'.. |
|
|
88
88
|
| documentGovernance | |
|
|
89
89
|
| documentActions | |
|
|
90
|
+
| documentAPIReference | Lists every export of each import path in `API_REFERENCE.md`. Runs on each build where the project has that file. |
|
|
90
91
|
| documentOpening | |
|
|
91
92
|
| documentUsage | |
|
|
92
93
|
| formatCode | Uses `prettier` to enforce formatting style rules. |
|
|
93
94
|
| lintCode | Uses `eslint` to check the code for potential errors and enforces coding style rules. |
|
|
94
95
|
| uploadDirectoryToR2 | |
|
|
95
|
-
| buildProject | Builds the package using Vite. Output to '/dist' directory.
|
|
96
|
+
| buildProject | Builds the package using Vite. Output to '/dist' directory. Builds bundle analysis reports. |
|
|
96
97
|
| publishProject | |
|
|
97
98
|
| releaseProject | Bump version, builds config, builds project, synchronise with `GitHub` and publish to `npm` or Cloudflare. |
|
|
98
99
|
| syncProjectWithGitHub | Synchronise the local repository with the main GitHub repository. |
|
|
@@ -100,6 +101,10 @@ The package implements the following actions:
|
|
|
100
101
|
|
|
101
102
|
All actions are designed to be run from `package.json` scripts and assume that the project follows the standard DPUse directory structure and that it includes a `config.json` file in the root directory.
|
|
102
103
|
|
|
104
|
+
## API Reference
|
|
105
|
+
|
|
106
|
+
See [API_REFERENCE.md](./API_REFERENCE.md) for the complete API reference, including every exported action and type.
|
|
107
|
+
|
|
103
108
|
<!-- DEPENDENCY_LICENSES_START -->
|
|
104
109
|
|
|
105
110
|
## Dependency Licenses
|
|
@@ -119,15 +124,16 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
119
124
|
|
|
120
125
|
|Chunk/Module/File|Composition|
|
|
121
126
|
|:------ |:-----------|
|
|
122
|
-
| dist/dpuse-development.es.js |
|
|
123
|
-
| acorn → dist/acorn.mjs | `████████░░░░░░░░░░░░`
|
|
124
|
-
| acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░`
|
|
125
|
-
| src | `███░░░░░░░░░░░░░░░░░`
|
|
127
|
+
| dist/dpuse-development.es.js | 330.6 kB · gzip 85.5 kB |
|
|
128
|
+
| acorn → dist/acorn.mjs | `████████░░░░░░░░░░░░` 39.6% |
|
|
129
|
+
| acorn-typescript → lib/index.mjs | `███████░░░░░░░░░░░░░` 34.7% |
|
|
130
|
+
| src | `███░░░░░░░░░░░░░░░░░` 15.6% |
|
|
126
131
|
| documentGovernance.ts | `█░░░░░░░░░░░░░░░░░░░` 2.7% |
|
|
132
|
+
| documentApiReference.ts | `░░░░░░░░░░░░░░░░░░░░` 2.1% |
|
|
127
133
|
| documentDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 1.7% |
|
|
128
134
|
| manageProject.ts | `░░░░░░░░░░░░░░░░░░░░` 1.7% |
|
|
129
|
-
| index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.
|
|
130
|
-
| documentUsage.ts | `░░░░░░░░░░░░░░░░░░░░` 1.
|
|
135
|
+
| index.ts | `░░░░░░░░░░░░░░░░░░░░` 1.6% |
|
|
136
|
+
| documentUsage.ts | `░░░░░░░░░░░░░░░░░░░░` 1.3% |
|
|
131
137
|
| documentBundleSizes.ts | `░░░░░░░░░░░░░░░░░░░░` 1.3% |
|
|
132
138
|
| checkConfigFiles.ts | `░░░░░░░░░░░░░░░░░░░░` 1.1% |
|
|
133
139
|
| documentActions.ts | `░░░░░░░░░░░░░░░░░░░░` 0.5% |
|
|
@@ -137,8 +143,8 @@ _Note: Sonda's Vite reports currently exclude CSS files, since Vite does not gen
|
|
|
137
143
|
| formatCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
138
144
|
| auditDependencies.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
139
145
|
| lintCode.ts | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
140
|
-
| (bundler output, whitespace & JSON) | `█░░░░░░░░░░░░░░░░░░░` 6.
|
|
141
|
-
| @dpuse/dpuse-shared | `█░░░░░░░░░░░░░░░░░░░` 3.
|
|
146
|
+
| (bundler output, whitespace & JSON) | `█░░░░░░░░░░░░░░░░░░░` 6.6% |
|
|
147
|
+
| @dpuse/dpuse-shared | `█░░░░░░░░░░░░░░░░░░░` 3.4% |
|
|
142
148
|
| dist/componentConfig.schema-DT3mO5rS.js | `█░░░░░░░░░░░░░░░░░░░` 2.6% |
|
|
143
149
|
| dist/dpuse-shared-componentModuleConnector.es.js | `░░░░░░░░░░░░░░░░░░░░` 0.7% |
|
|
144
150
|
| dist/moduleConfig.schema-aYmFWSrn.js | `░░░░░░░░░░░░░░░░░░░░` 0.1% |
|
|
@@ -161,7 +167,7 @@ This section is updated each time `npm run document` is run. Settings come from
|
|
|
161
167
|
|:-|:-|:-|
|
|
162
168
|
|Unit tests|✅ On|Run in CI on every push to `main`.|
|
|
163
169
|
|Property-based tests|✅ fast-check|Fuzz testing: many random inputs per test to find edge cases, run with the unit tests.|
|
|
164
|
-
|Test coverage|✅ 99.
|
|
170
|
+
|Test coverage|✅ 99.7% of lines|Share of source lines the unit tests run. The target is 80%.|
|
|
165
171
|
|
|
166
172
|
### Code Quality
|
|
167
173
|
|