@darshandmg/qa-util-package 1.0.0 → 1.5.0
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/lib/index.cjs +11 -0
- package/lib/index.esm.js +10 -1
- package/lib/types/exceloperation.d.ts +2 -0
- package/lib/types/index.d.ts +1 -0
- package/package.json +5 -3
package/lib/index.cjs
CHANGED
|
@@ -10,5 +10,16 @@ const stringManipulation = (input) => {
|
|
|
10
10
|
return input.trim().toUpperCase();
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
+
const excelOperation = (column, row) => {
|
|
14
|
+
const input = `in excel file ${column} and ${row}`;
|
|
15
|
+
return input.trim().toUpperCase();
|
|
16
|
+
};
|
|
17
|
+
const excelOperations = (column, row) => {
|
|
18
|
+
const input = `in excel file ${column} and ${row}`;
|
|
19
|
+
return input.trim().toUpperCase();
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
exports.excelOperation = excelOperation;
|
|
23
|
+
exports.excelOperations = excelOperations;
|
|
13
24
|
exports.formatDate = formatDate;
|
|
14
25
|
exports.stringManipulation = stringManipulation;
|
package/lib/index.esm.js
CHANGED
|
@@ -8,4 +8,13 @@ const stringManipulation = (input) => {
|
|
|
8
8
|
return input.trim().toUpperCase();
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
const excelOperation = (column, row) => {
|
|
12
|
+
const input = `in excel file ${column} and ${row}`;
|
|
13
|
+
return input.trim().toUpperCase();
|
|
14
|
+
};
|
|
15
|
+
const excelOperations = (column, row) => {
|
|
16
|
+
const input = `in excel file ${column} and ${row}`;
|
|
17
|
+
return input.trim().toUpperCase();
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { excelOperation, excelOperations, formatDate, stringManipulation };
|
package/lib/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@darshandmg/qa-util-package",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "This package is created to demonstrate packaging utilities in Node.js.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,14 +22,16 @@
|
|
|
22
22
|
"lib"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"build": "rollup -c"
|
|
25
|
+
"build": "rollup -c",
|
|
26
|
+
"release-package": "npm run build && npx changeset publish"
|
|
26
27
|
},
|
|
27
28
|
"author": "darshandmg",
|
|
28
29
|
"license": "MIT",
|
|
29
30
|
"devDependencies": {
|
|
31
|
+
"@changesets/cli": "^2.29.8",
|
|
30
32
|
"rollup": "^4.55.1",
|
|
31
33
|
"rollup-plugin-delete": "^3.0.2",
|
|
32
34
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
33
35
|
"typescript": "^5.9.3"
|
|
34
36
|
}
|
|
35
|
-
}
|
|
37
|
+
}
|