@datapos/datapos-shared 0.3.146 → 0.3.152

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
@@ -5,6 +5,15 @@
5
5
 
6
6
  A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.
7
7
 
8
+ ## Requirements
9
+
10
+ Ensure your environment meets the following prerequisites before using this library:
11
+
12
+ - **Node.js** version `>=22.0.0`,
13
+ - **npm** version `>=11.0.0`,
14
+ - A Unix-like shell (for command shortcuts, e.g., `bash`, `zsh`, or Git Bash on Windows),
15
+ - Access to the [npm registry](https://www.npmjs.com/) and [GitHub](https://github.com/) for publishing and syncing.
16
+
8
17
  ## Installation
9
18
 
10
19
  Install as a production dependency:
package/package.json CHANGED
@@ -1,22 +1,31 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
+ "version": "0.3.152",
4
+ "description": "A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.",
3
5
  "license": "MIT",
4
6
  "private": false,
5
7
  "type": "module",
6
- "version": "0.3.146",
7
- "files": [
8
- "dist"
9
- ],
8
+ "homepage": "https://www.datapos.app",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/data-positioning/datapos-shared.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/data-positioning/datapos-shared/issues"
15
+ },
10
16
  "module": "./dist/datapos-shared.es.js",
17
+ "types": "./dist/types/src/index.d.ts",
11
18
  "exports": {
12
19
  ".": {
13
20
  "import": "./dist/datapos-shared.es.js",
14
21
  "types": "./dist/types/src/index.d.ts"
15
22
  }
16
23
  },
17
- "types": "./dist/types/src/index.d.ts",
24
+ "files": [
25
+ "dist"
26
+ ],
18
27
  "devDependencies": {
19
- "@datapos/datapos-development": "^0.3.54",
28
+ "@datapos/datapos-development": "^0.3.63",
20
29
  "@types/markdown-it": "^14.1.2",
21
30
  "@types/node": "^24.10.0",
22
31
  "@typescript-eslint/eslint-plugin": "^8.46.3",
@@ -41,15 +50,22 @@
41
50
  "scripts": {
42
51
  "audit": "npm audit",
43
52
  "build": "vite build",
44
- "bumpVersion": "node -e \"import('@datapos/datapos-development').then(m => m.bumpVersion())\"",
53
+ "bump:version": "node -e \"import('@datapos/datapos-development').then(m => m.bumpVersion())\"",
45
54
  "check": "npm outdated; npm-check-updates -i && retire",
46
- "document": "license-report --only=prod,peer > LICENSES.json && license-report-check --source ./LICENSES.json --allowed 'MIT' --allowed 'n/a' --allowed 'Apache-2.0' --output=table",
55
+ "document": "npm run _document:licenceReport && npm run _document:licenceCheck",
47
56
  "format": "prettier --write src/",
48
57
  "lint": "eslint .",
49
- "publishToNPM": "npm publish --access public",
50
- "release": "npm run syncWithGitHub && npm run build && npm run publishToNPM",
51
- "syncWithGitHub": "npm run bumpVersion && node -e \"import('@datapos/datapos-development').then(m => m.syncWithGitHub())\"",
58
+ "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('@datapos/datapos-development').then(m => m.syncWithGitHub())\"",
52
61
  "test": "echo \"***** TEST SCRIPT NOT IMPLEMENTED. *****\"",
53
- "updateDependencies": "npm install -D @datapos/datapos-development@latest"
62
+ "update:dataPosDeps": "npm run _update:developDeps",
63
+ "_document:licenceReport": "license-report --only=prod,peer > LICENSES.json",
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"
66
+ },
67
+ "engines": {
68
+ "node": ">=22.0.0",
69
+ "npm": ">=11.0.0"
54
70
  }
55
71
  }