@datapos/datapos-shared 0.3.139 → 0.3.140
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 +10 -5
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/module/index.d.ts +1 -1
- package/package.json +4 -6
package/README.md
CHANGED
|
@@ -15,7 +15,9 @@ npm install @datapos/datapos-shared
|
|
|
15
15
|
|
|
16
16
|
## Declarations
|
|
17
17
|
|
|
18
|
-
###
|
|
18
|
+
### Components
|
|
19
|
+
|
|
20
|
+
#### Component Types
|
|
19
21
|
|
|
20
22
|
| Item | Notes |
|
|
21
23
|
| ------------------------------------- | ------------------------------------------------------------ |
|
|
@@ -26,14 +28,14 @@ npm install @datapos/datapos-shared
|
|
|
26
28
|
| ComponentTypeId | |
|
|
27
29
|
| StatusColorId | |
|
|
28
30
|
|
|
29
|
-
|
|
31
|
+
#### Connector and Connection Types
|
|
30
32
|
|
|
31
33
|
| Item | Notes |
|
|
32
34
|
| --------------------------------------- | ----------------------------------------------------------------- |
|
|
33
35
|
| [Connector Types](./src/connector.ts) | Connector types. The Connector type extends the Component type. |
|
|
34
36
|
| [Connection Types](./src/connection.ts) | Connection types. The Connection type extends the Component type. |
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
#### Context Types
|
|
37
39
|
|
|
38
40
|
| Item | Notes |
|
|
39
41
|
| ------------------------------------------- | --------------------------------------------------------------------- |
|
|
@@ -70,14 +72,17 @@ For detailed implementation, see the `scripts` section in the `package.json` fil
|
|
|
70
72
|
| ------------------ | ---------------- | ---------------------------------------------------------------------------------------------------------- |
|
|
71
73
|
| audit | alt+ctrl+shift+a | Audit the project's dependencies for known security vulnerabilities. |
|
|
72
74
|
| build | alt+ctrl+shift+b | Build the package using Vite. |
|
|
75
|
+
| build...Config | | |
|
|
76
|
+
| bumpVersion | alt+ctrl+shift+v | |
|
|
73
77
|
| check | alt+ctrl+shift+c | List outdated dependencies and run retire scanner. |
|
|
74
78
|
| document | alt+ctrl+shift+d | Identify licenses of the project's production and peer dependencies. See [LICENSES.json](./LICENSES.json). |
|
|
75
79
|
| format | alt+ctrl+shift+f | Enforce formatting style rules. |
|
|
76
80
|
| lint | alt+ctrl+shift+l | Check the code for errors and enforce coding style rules. |
|
|
81
|
+
| publishToNPM | alt+ctrl+shift+p | |
|
|
77
82
|
| release | alt+ctrl+shift+r | Bump version, synchronise local repository with the main GitHub repository, build and publish to npm. |
|
|
78
83
|
| syncWithGitHub | alt+ctrl+shift+s | Bump version and synchronise local repository with the main GitHub repository. |
|
|
79
|
-
| test | alt+ctrl+shift+t |
|
|
80
|
-
| updateDependencies | alt+ctrl+shift+
|
|
84
|
+
| test | alt+ctrl+shift+t | ❌ Not implemented. |
|
|
85
|
+
| updateDependencies | alt+ctrl+shift+l | Install the latest version of all Data Positioning dependencies. |
|
|
81
86
|
|
|
82
87
|
## Compliance
|
|
83
88
|
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
export type LocaleCode = 'en-au' | 'en-gb' | 'en-us' | 'es-es';
|
|
5
5
|
export type LocalisedString = Record<LocaleCode, string>;
|
|
6
6
|
export type StatusColorId = 'amber' | 'green' | 'red' | 'other';
|
|
7
|
+
export type { ModuleConfig } from './module';
|
|
7
8
|
export type { AppModuleConfig } from './module';
|
|
8
9
|
export type { ConnectorModuleConfig, ConnectorModuleOperation, ConnectorModuleUsageId } from './module';
|
|
9
10
|
export type { ContextModuleConfig, ContextModuleOperation } from './module';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.140",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
"npm-check-updates": "^19.1.2",
|
|
35
35
|
"prettier": "^3.6.2",
|
|
36
36
|
"retire": "^5.3.0",
|
|
37
|
-
"type-fest": "^5.2.0",
|
|
38
37
|
"typescript": "^5.9.3",
|
|
39
38
|
"vite": "^7.2.1",
|
|
40
39
|
"vite-plugin-dts": "^4.5.4"
|
|
@@ -45,13 +44,12 @@
|
|
|
45
44
|
"bumpVersion": "node -e \"import('@datapos/datapos-development').then(m => m.bumpVersion())\"",
|
|
46
45
|
"check": "npm outdated; npm-check-updates -i && retire",
|
|
47
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",
|
|
48
|
-
"format": "prettier --write
|
|
49
|
-
"lint": "eslint
|
|
47
|
+
"format": "prettier --write src/",
|
|
48
|
+
"lint": "eslint .",
|
|
50
49
|
"publishToNPM": "npm publish --access public",
|
|
51
50
|
"release": "npm run syncWithGitHub && npm run build && npm run publishToNPM",
|
|
52
51
|
"syncWithGitHub": "npm run bumpVersion && node -e \"require('@datapos/datapos-development').syncWithGitHub()\"",
|
|
53
52
|
"test": "echo \"***** TEST SCRIPT NOT IMPLEMENTED. *****\"",
|
|
54
|
-
"updateDependencies": "npm
|
|
55
|
-
"updateOperations": "npm install -D @datapos/datapos-development@latest"
|
|
53
|
+
"updateDependencies": "npm install -D @datapos/datapos-development@latest"
|
|
56
54
|
}
|
|
57
55
|
}
|