@datapos/datapos-development 0.3.91 → 0.3.92

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 CHANGED
@@ -54,21 +54,23 @@ The `src/index.ts' file exposes the following utilities:
54
54
  The table below lists the repository management commands available in this project.
55
55
  For detailed implementation, see the `scripts` section in the `package.json` file.
56
56
 
57
- | Name | Key Code | Notes |
58
- | ------------------ | ---------------- | ---------------------------------------------------------------------------------------------------------- |
59
- | audit | alt+ctrl+shift+a | Audit the project's dependencies for known security vulnerabilities. |
60
- | build | alt+ctrl+shift+b | Build the package using Vite. |
61
- | bump:version | alt+ctrl+shift+v | Increment patch version number. |
62
- | check | alt+ctrl+shift+c | List outdated dependencies and run retire scanner. |
63
- | document | alt+ctrl+shift+d | Identify licenses of the project's production and peer dependencies. See [LICENSES.json](./LICENSES.json). |
64
- | format | alt+ctrl+shift+f | Enforce formatting style rules. |
65
- | lint | alt+ctrl+shift+l | Check the code for errors and enforce coding style rules. |
66
- | publish:toNPM | alt+ctrl+shift+p | Publish the package to npm. |
67
- | release | alt+ctrl+shift+r | Bump version, synchronise local repository with the main GitHub repository and publish to npm. |
68
- | send:deployNotice | alt+ctrl+shift+n | ❌ Not implemented. |
69
- | sync:withGitHub | alt+ctrl+shift+s | Bump version and synchronise local repository with the main GitHub repository. |
70
- | test | alt+ctrl+shift+t | ❌ Not implemented. |
71
- | update:dataPosDeps | alt+ctrl+shift+u | Install the latest version of all Data Positioning dependencies. |
57
+ | Name | Key Code | Notes |
58
+ | ------------------ | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
59
+ | audit | alt+ctrl+shift+a | Audit the project's dependencies for known security vulnerabilities. |
60
+ | build | alt+ctrl+shift+b | Build the package using Vite. Output to '/dist' directory. |
61
+ | check | alt+ctrl+shift+c | Identify outdated dependencies using npm `outdated` and `npm-check-updates` with option to install latest versions. Also runs `retire` scanner. |
62
+ | document | alt+ctrl+shift+d | Identify licenses of the project's production and peer dependencies. See [LICENSES.json](./LICENSES.json). |
63
+ | format | alt+ctrl+shift+f | Use `prettier`to enforce formatting style rules. |
64
+ | lint | alt+ctrl+shift+l | Use `eslint`to check the code for potential errors and enforces coding style rules. |
65
+ | publish | alt+ctrl+shift+p | Publish the package to `npm`. |
66
+ | release | alt+ctrl+shift+r | Bump version, build library, synchronise with `GitHub` and publish to `npm`. |
67
+ | sync:withGitHub | alt+ctrl+shift+s | Synchronise local repository with the main GitHub repository. |
68
+ | test | alt+ctrl+shift+t | ❌ Not implemented. |
69
+ | update:dataPosDeps | alt+ctrl+shift+u | Install the latest version of all Data Positioning dependencies. |
70
+
71
+ ## Bundle Analysis
72
+
73
+ View the [bundle report](https://data-positioning.github.io/datapos-development/stats/index.html) to analyze the bundle composition and module sizes (generated with rollup-plugin-visualizer).
72
74
 
73
75
  ## TODO
74
76
 
@@ -89,7 +89,7 @@ async function C() {
89
89
  console.error("❌ Error building context configuration.", o);
90
90
  }
91
91
  }
92
- async function k() {
92
+ async function E() {
93
93
  try {
94
94
  console.info("🚀 Bumping version...");
95
95
  const o = JSON.parse(await e.readFile("package.json", "utf8"));
@@ -102,7 +102,7 @@ async function k() {
102
102
  console.error("❌ Error bumping package version.", o);
103
103
  }
104
104
  }
105
- function E(o) {
105
+ function k(o) {
106
106
  console.error(`❌ ${o} script not implemented.`);
107
107
  }
108
108
  async function I() {
@@ -192,8 +192,8 @@ export {
192
192
  F as buildInformerConfig,
193
193
  C as buildPresenterConfig,
194
194
  J as buildPublicDirectoryIndex,
195
- k as bumpVersion,
196
- E as echoScriptNotImplemented,
195
+ E as bumpVersion,
196
+ k as echoScriptNotImplemented,
197
197
  I as sendDeploymentNotice,
198
198
  R as syncWithGitHub,
199
199
  P as uploadDirectoryToR2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.91",
3
+ "version": "0.3.92",
4
4
  "description": "A TypeScript library of utilities for managing the Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",
@@ -26,8 +26,7 @@
26
26
  "dist"
27
27
  ],
28
28
  "devDependencies": {
29
- "@datapos/datapos-development": "^0.3.84",
30
- "@datapos/datapos-shared": "^0.3.207",
29
+ "@datapos/datapos-shared": "^0.3.215",
31
30
  "@types/node": "^24.10.1",
32
31
  "@typescript-eslint/eslint-plugin": "^8.46.4",
33
32
  "@typescript-eslint/parser": "^8.46.4",
@@ -40,6 +39,7 @@
40
39
  "npm-check-updates": "^19.1.2",
41
40
  "prettier": "^3.6.2",
42
41
  "retire": "^5.3.0",
42
+ "rollup-plugin-visualizer": "^6.0.5",
43
43
  "ts-to-zod": "^5.0.1",
44
44
  "type-fest": "^5.2.0",
45
45
  "typescript": "^5.9.3",
@@ -50,19 +50,20 @@
50
50
  "scripts": {
51
51
  "audit": "npm audit",
52
52
  "build": "vite build",
53
- "bump:version": "node -e \"import('./dist/datapos-development.es.js').then(m => m.bumpVersion())\"",
54
53
  "check": "npm outdated; npm-check-updates -i && retire",
55
54
  "document": "npm run _document:licenceReport && npm run _document:licenceCheck",
56
55
  "format": "prettier --write src/",
57
56
  "lint": "eslint .",
58
57
  "publish:toNPM": "npm publish --access public",
59
- "release": "npm run sync:withGitHub && npm run build && npm run publish:toNPM",
60
- "sync:withGitHub": "npm run bump:version && node -e \"import('./dist/datapos-development.es.js').then(m => m.syncWithGitHub())\"",
58
+ "release": "npm run _bump:version && npm run build && npm run sync:withGitHub && npm run publish:toNPM",
59
+ "sync:withGitHub": "node -e \"import('./dist/datapos-development.es.js').then(m => m.syncWithGitHub())\"",
61
60
  "test": "node -e \"import('./dist/datapos-development.es.js').then(m => m.echoScriptNotImplemented('Test'))\"",
62
- "update:dataPosDeps": "npm run _update:developDeps",
61
+ "update:dataPosDeps": "npm run _update:developDep && npm run _update:sharedDep",
62
+ "_bump:version": "node -e \"import('./dist/datapos-development.es.js').then(m => m.bumpVersion())\"",
63
63
  "_document:licenceReport": "license-report --only=prod,peer > LICENSES.json",
64
64
  "_document:licenceCheck": "license-report-check --source ./LICENSES.json --allowed 'MIT' --allowed 'n/a' --allowed 'Apache-2.0' --output=table",
65
- "_update:developDeps": "npm install --save-dev @datapos/datapos-development@latest"
65
+ "_update:developDep": "npm install --save-dev @datapos/datapos-development@latest",
66
+ "_update:sharedDep": "npm install --save-dev @datapos/datapos-shared@latest"
66
67
  },
67
68
  "engines": {
68
69
  "node": ">=22.0.0",