@hamak/ui-store-api 0.2.0 → 0.2.2
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/.turbo/turbo-build.log +2 -1
- package/dist/es2015/api/index.js +6 -0
- package/dist/es2015/api/middleware-registry.js +5 -0
- package/dist/es2015/api/reducer-registry.js +5 -0
- package/dist/es2015/api/store-manager.js +5 -0
- package/dist/es2015/index.js +7 -0
- package/dist/es2015/tokens/index.js +4 -0
- package/dist/es2015/tokens/service-tokens.js +7 -0
- package/dist/es2015/types/index.js +6 -0
- package/dist/es2015/types/middleware-types.js +4 -0
- package/dist/es2015/types/reducer-types.js +4 -0
- package/dist/es2015/types/store-types.js +4 -0
- package/package.json +9 -3
- package/tsconfig.es2015.json +23 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
[0m[2m[35m$[0m [2m[1mtsc -p tsconfig.json && tsc -p tsconfig.es2015.json[0m
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dependency Injection Tokens
|
|
3
|
+
* Used for service resolution in the microkernel
|
|
4
|
+
*/
|
|
5
|
+
export const STORE_MANAGER_TOKEN = Symbol('StoreManager');
|
|
6
|
+
export const MIDDLEWARE_REGISTRY_TOKEN = Symbol('MiddlewareRegistry');
|
|
7
|
+
export const REDUCER_REGISTRY_TOKEN = Symbol('ReducerRegistry');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hamak/ui-store-api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "UI Store API - Redux store interfaces and contracts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "tsc -p tsconfig.json",
|
|
19
|
+
"build": "tsc -p tsconfig.json && tsc -p tsconfig.es2015.json",
|
|
20
20
|
"clean": "rm -rf dist",
|
|
21
21
|
"test": "vitest run",
|
|
22
22
|
"test:watch": "vitest"
|
|
@@ -24,7 +24,13 @@
|
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
26
|
"types": "./dist/index.d.ts",
|
|
27
|
-
"import": "./dist/index.js"
|
|
27
|
+
"import": "./dist/index.js",
|
|
28
|
+
"default": "./dist/index.js",
|
|
29
|
+
"legacy": "./dist/es2015/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./es2015": {
|
|
32
|
+
"import": "./dist/es2015/index.js",
|
|
33
|
+
"default": "./dist/es2015/index.js"
|
|
28
34
|
}
|
|
29
35
|
},
|
|
30
36
|
"dependencies": {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "ES2015",
|
|
5
|
+
"lib": [
|
|
6
|
+
"ES2015"
|
|
7
|
+
],
|
|
8
|
+
"outDir": "./dist/es2015",
|
|
9
|
+
"declaration": false,
|
|
10
|
+
"declarationMap": false,
|
|
11
|
+
"sourceMap": false,
|
|
12
|
+
"downlevelIteration": true,
|
|
13
|
+
"composite": false
|
|
14
|
+
},
|
|
15
|
+
"include": [
|
|
16
|
+
"src/**/*"
|
|
17
|
+
],
|
|
18
|
+
"exclude": [
|
|
19
|
+
"node_modules",
|
|
20
|
+
"dist",
|
|
21
|
+
"**/*.test.ts"
|
|
22
|
+
]
|
|
23
|
+
}
|