express-fix-any-js 1.3.2 → 1.3.4

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.
Files changed (42) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +77 -77
  3. package/bin/cli.js +11 -11
  4. package/bin/core/getLatestVersion.js +12 -12
  5. package/bin/core/loadRunner.js +8 -8
  6. package/bin/v2/EndPointsJs/UpdateJs/checkLines.json +17 -17
  7. package/bin/v2/EndPointsJs/UpdateJs/common/AlterFile/buildUpdatedContent.js +18 -18
  8. package/bin/v2/EndPointsJs/UpdateJs/common/AlterFile/checkDuplicate.js +20 -20
  9. package/bin/v2/EndPointsJs/UpdateJs/common/AlterFile/findInsertIndex.js +29 -29
  10. package/bin/v2/EndPointsJs/UpdateJs/common/AlterFile/index.js +50 -50
  11. package/bin/v2/EndPointsJs/UpdateJs/common/readFile.js +7 -7
  12. package/bin/v2/EndPointsJs/UpdateJs/common/writeFile.js +9 -9
  13. package/bin/v2/EndPointsJs/UpdateJs/index.js +33 -33
  14. package/bin/v2/EndPointsJs/UpdateJs/validations/validateAppJsPath.js +10 -10
  15. package/bin/v2/EndPointsJs/UpdateJs/validations/validateEndpoint.js +8 -8
  16. package/bin/v2/EndPointsJs/index.js +11 -11
  17. package/bin/v2/UpdateJs/checkLines.json +17 -17
  18. package/bin/v2/UpdateJs/common/AlterFile/buildUpdatedContent.js +18 -18
  19. package/bin/v2/UpdateJs/common/AlterFile/checkDuplicate.js +20 -20
  20. package/bin/v2/UpdateJs/common/AlterFile/findInsertIndex.js +29 -29
  21. package/bin/v2/UpdateJs/common/AlterFile/index.js +49 -49
  22. package/bin/v2/UpdateJs/common/readFile.js +7 -7
  23. package/bin/v2/UpdateJs/common/writeFile.js +9 -9
  24. package/bin/v2/UpdateJs/index.js +30 -30
  25. package/bin/v2/core/createFolder.js +33 -33
  26. package/bin/v2/core/parseInput.js +12 -12
  27. package/bin/v2/core/showUsage.js +49 -49
  28. package/bin/v2/start.js +17 -17
  29. package/bin/v3/UpdateJs/checkLines.json +17 -17
  30. package/bin/v3/UpdateJs/common/AlterFile/buildUpdatedContent.js +18 -18
  31. package/bin/v3/UpdateJs/common/AlterFile/checkDuplicate.js +20 -20
  32. package/bin/v3/UpdateJs/common/AlterFile/findInsertIndex.js +29 -29
  33. package/bin/v3/UpdateJs/common/AlterFile/index.js +55 -49
  34. package/bin/v3/UpdateJs/common/readFile.js +7 -7
  35. package/bin/v3/UpdateJs/common/writeFile.js +9 -9
  36. package/bin/v3/UpdateJs/index.js +30 -30
  37. package/bin/v3/core/createFolder.js +33 -33
  38. package/bin/v3/core/parseInput.js +12 -12
  39. package/bin/v3/core/showUsage.js +49 -49
  40. package/bin/v3/start.js +17 -17
  41. package/index.js +10 -10
  42. package/package.json +34 -34
package/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import getLatestVersion from "./bin/core/getLatestVersion.js";
2
-
3
- const load = async ({ jsFilePath, inCheckLines, showLog }) => {
4
- const v = getLatestVersion();
5
-
6
- const module = await import(`./bin/${v}/start.js`);
7
-
8
- await module.default({ jsFilePath, inCheckLines, showLog });
9
- };
10
-
1
+ import getLatestVersion from "./bin/core/getLatestVersion.js";
2
+
3
+ const load = async ({ jsFilePath, inCheckLines, showLog }) => {
4
+ const v = getLatestVersion();
5
+
6
+ const module = await import(`./bin/${v}/start.js`);
7
+
8
+ await module.default({ jsFilePath, inCheckLines, showLog });
9
+ };
10
+
11
11
  export default load;
package/package.json CHANGED
@@ -1,35 +1,35 @@
1
- {
2
- "name": "express-fix-any-js",
3
- "version": "1.3.2",
4
- "description": "CLI to build for appjs, the endpoints",
5
- "keywords": [
6
- "cli",
7
- "scaffold",
8
- "templates",
9
- "node",
10
- "project-generator"
11
- ],
12
- "dependencies": {
13
- },
14
- "type": "module",
15
- "exports": {
16
- ".": "./index.js"
17
- },
18
- "bin": {
19
- "express-fix-any-js": "./bin/cli.js"
20
- },
21
- "files": [
22
- "bin/",
23
- "index.js",
24
- "README.md",
25
- "LICENSE"
26
- ],
27
- "homepage": "https://cli.keshavsoft.com",
28
- "repository": {
29
- "type": "git",
30
- "url": "https://github.com/keshavsoft/express-fix-any-js"
31
- },
32
- "bugs": {
33
- "url": "https://github.com/keshavsoft/express-fix-any-js/issues"
34
- }
1
+ {
2
+ "name": "express-fix-any-js",
3
+ "version": "1.3.4",
4
+ "description": "CLI to build for appjs, the endpoints",
5
+ "keywords": [
6
+ "cli",
7
+ "scaffold",
8
+ "templates",
9
+ "node",
10
+ "project-generator"
11
+ ],
12
+ "dependencies": {
13
+ },
14
+ "type": "module",
15
+ "exports": {
16
+ ".": "./index.js"
17
+ },
18
+ "bin": {
19
+ "express-fix-any-js": "./bin/cli.js"
20
+ },
21
+ "files": [
22
+ "bin/",
23
+ "index.js",
24
+ "README.md",
25
+ "LICENSE"
26
+ ],
27
+ "homepage": "https://cli.keshavsoft.com",
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://github.com/keshavsoft/express-fix-any-js"
31
+ },
32
+ "bugs": {
33
+ "url": "https://github.com/keshavsoft/express-fix-any-js/issues"
34
+ }
35
35
  }