@leroymerlin-ta/common 0.1.0 → 0.1.3
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 +0 -17
- package/dist/core/constants/index.d.ts +3 -1
- package/dist/core/constants/index.d.ts.map +1 -1
- package/dist/core/constants/index.js +3 -1
- package/dist/core/constants/index.js.map +1 -1
- package/dist/utils/bootstrap/index.d.ts +1 -1
- package/dist/utils/bootstrap/index.d.ts.map +1 -1
- package/dist/utils/bootstrap/index.js +4 -1
- package/dist/utils/bootstrap/index.js.map +1 -1
- package/dist/utils/test/index.d.ts +1 -1
- package/dist/utils/test/index.d.ts.map +1 -1
- package/dist/utils/test/index.js +2 -3
- package/dist/utils/test/index.js.map +1 -1
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Common Package
|
|
2
|
-
|
|
3
|
-
## README contents
|
|
4
|
-
|
|
5
|
-
- What this package is
|
|
6
|
-
- What it is NOT
|
|
7
|
-
- Module overview
|
|
8
|
-
- Stability guarantees
|
|
9
|
-
- Versioning rules
|
|
10
|
-
|
|
11
|
-
## Next steps
|
|
12
|
-
|
|
13
|
-
1. Add env helpers (very high ROI)
|
|
14
|
-
2. Add base error classes
|
|
15
|
-
3. Add safe number / boolean parsing
|
|
16
|
-
4. Add retry utility
|
|
17
|
-
5. Publish v0.1.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/constants/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/constants/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;CAExB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/constants/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/constants/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,iBAAiB,EAAE,mBAAmB;CACzC,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare function validatedPort(value: unknown, defaultValue: number): number;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/bootstrap/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/bootstrap/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAC3B,KAAK,EAAE,OAAO,EACd,YAAY,EAAE,MAAM,GACnB,MAAM,CAGR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/bootstrap/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/bootstrap/index.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,aAAa,CAC3B,KAAc,EACd,YAAoB;IAEpB,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;IAC1B,OAAO,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC;AACnD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function test(): boolean;
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/test/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/test/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,IAAI,IAAI,OAAO,CAE9B"}
|
package/dist/utils/test/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/test/index.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/test/index.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,IAAI;IAClB,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leroymerlin-ta/common",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"access": "public",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
9
11
|
"scripts": {
|
|
10
12
|
"build": "tsc -p tsconfig.build.json",
|
|
11
|
-
"prepublishOnly": "npm run build"
|
|
13
|
+
"prepublishOnly": "npm run build",
|
|
14
|
+
"publish:package": "./publish.sh",
|
|
15
|
+
"publish:patch": "npm version patch && npm run publish:package",
|
|
16
|
+
"publish:minor": "npm version minor && npm run publish:package",
|
|
17
|
+
"publish:major": "npm version major && npm run publish:package"
|
|
12
18
|
}
|
|
13
|
-
}
|
|
19
|
+
}
|