lol-constants 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/assets/index.js +1 -1
  2. package/package.json +1 -1
  3. package/dist/assets/StatRunes.d.ts +0 -11
  4. package/dist/assets/StatRunes.js +0 -14
  5. package/dist/assets/champion.json +0 -1
  6. package/dist/assets/index.d.ts +0 -17216
  7. package/dist/assets/index.js +0 -17
  8. package/dist/assets/item.json +0 -1
  9. package/dist/assets/runesReforged.json +0 -1
  10. package/dist/assets/summoner.json +0 -1
  11. package/dist/scripts/Helpers/getExportStatement.d.ts +0 -6
  12. package/dist/scripts/Helpers/getExportStatement.js +0 -10
  13. package/dist/scripts/generate-all.d.ts +0 -16
  14. package/dist/scripts/generate-all.js +0 -18
  15. package/dist/scripts/generate-champion-ids-by-name.d.ts +0 -1
  16. package/dist/scripts/generate-champion-ids-by-name.js +0 -20
  17. package/dist/scripts/generate-champion-ids.d.ts +0 -1
  18. package/dist/scripts/generate-champion-ids.js +0 -20
  19. package/dist/scripts/generate-champion-keys.d.ts +0 -1
  20. package/dist/scripts/generate-champion-keys.js +0 -20
  21. package/dist/scripts/generate-champion-names.d.ts +0 -1
  22. package/dist/scripts/generate-champion-names.js +0 -20
  23. package/dist/scripts/generate-item-keys.d.ts +0 -1
  24. package/dist/scripts/generate-item-keys.js +0 -21
  25. package/dist/scripts/generate-item-names.d.ts +0 -1
  26. package/dist/scripts/generate-item-names.js +0 -21
  27. package/dist/scripts/generate-rune-ids.d.ts +0 -1
  28. package/dist/scripts/generate-rune-ids.js +0 -29
  29. package/dist/scripts/generate-rune-names.d.ts +0 -1
  30. package/dist/scripts/generate-rune-names.js +0 -29
  31. package/dist/scripts/generate-spell-ids-by-name.d.ts +0 -1
  32. package/dist/scripts/generate-spell-ids-by-name.js +0 -20
  33. package/dist/scripts/generate-spell-ids.d.ts +0 -1
  34. package/dist/scripts/generate-spell-ids.js +0 -20
  35. package/dist/scripts/generate-spell-keys.d.ts +0 -1
  36. package/dist/scripts/generate-spell-keys.js +0 -20
  37. package/dist/scripts/generate-spell-names.d.ts +0 -1
  38. package/dist/scripts/generate-spell-names.js +0 -20
  39. package/dist/scripts/generate-stat-rune-ids.d.ts +0 -1
  40. package/dist/scripts/generate-stat-rune-ids.js +0 -20
  41. package/dist/scripts/generate-stat-rune-names.d.ts +0 -1
  42. package/dist/scripts/generate-stat-rune-names.js +0 -20
  43. package/dist/scripts/generate-tree-rune-ids.d.ts +0 -1
  44. package/dist/scripts/generate-tree-rune-ids.js +0 -22
  45. package/dist/scripts/generate-tree-rune-names.d.ts +0 -1
  46. package/dist/scripts/generate-tree-rune-names.js +0 -22
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const fs_1 = __importDefault(require("fs"));
7
- const runesReforged_json_1 = __importDefault(require("../assets/runesReforged.json"));
8
- const getExportStatement_1 = require("./Helpers/getExportStatement");
9
- (async () => {
10
- const runeIds = {};
11
- // Construct the new data and assign it to product object
12
- for (const runeTree of runesReforged_json_1.default) {
13
- for (const { runes } of runeTree.slots) {
14
- for (const rune of runes) {
15
- runeIds[rune.name] = String(rune.id);
16
- }
17
- }
18
- }
19
- // Write to file
20
- const constName = 'TreeRuneIds';
21
- fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, runeIds));
22
- })();
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const fs_1 = __importDefault(require("fs"));
7
- const runesReforged_json_1 = __importDefault(require("../assets/runesReforged.json"));
8
- const getExportStatement_1 = require("./Helpers/getExportStatement");
9
- (async () => {
10
- const runeIds = {};
11
- // Construct the new data and assign it to product object
12
- for (const runeTree of runesReforged_json_1.default) {
13
- for (const { runes } of runeTree.slots) {
14
- for (const rune of runes) {
15
- runeIds[rune.id] = rune.name;
16
- }
17
- }
18
- }
19
- // Write to file
20
- const constName = 'TreeRuneNames';
21
- fs_1.default.writeFileSync(`tmp/${constName}.ts`, (0, getExportStatement_1.getExportStatement)(constName, runeIds));
22
- })();