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.
- package/assets/index.js +1 -1
- package/package.json +1 -1
- package/dist/assets/StatRunes.d.ts +0 -11
- package/dist/assets/StatRunes.js +0 -14
- package/dist/assets/champion.json +0 -1
- package/dist/assets/index.d.ts +0 -17216
- package/dist/assets/index.js +0 -17
- package/dist/assets/item.json +0 -1
- package/dist/assets/runesReforged.json +0 -1
- package/dist/assets/summoner.json +0 -1
- package/dist/scripts/Helpers/getExportStatement.d.ts +0 -6
- package/dist/scripts/Helpers/getExportStatement.js +0 -10
- package/dist/scripts/generate-all.d.ts +0 -16
- package/dist/scripts/generate-all.js +0 -18
- package/dist/scripts/generate-champion-ids-by-name.d.ts +0 -1
- package/dist/scripts/generate-champion-ids-by-name.js +0 -20
- package/dist/scripts/generate-champion-ids.d.ts +0 -1
- package/dist/scripts/generate-champion-ids.js +0 -20
- package/dist/scripts/generate-champion-keys.d.ts +0 -1
- package/dist/scripts/generate-champion-keys.js +0 -20
- package/dist/scripts/generate-champion-names.d.ts +0 -1
- package/dist/scripts/generate-champion-names.js +0 -20
- package/dist/scripts/generate-item-keys.d.ts +0 -1
- package/dist/scripts/generate-item-keys.js +0 -21
- package/dist/scripts/generate-item-names.d.ts +0 -1
- package/dist/scripts/generate-item-names.js +0 -21
- package/dist/scripts/generate-rune-ids.d.ts +0 -1
- package/dist/scripts/generate-rune-ids.js +0 -29
- package/dist/scripts/generate-rune-names.d.ts +0 -1
- package/dist/scripts/generate-rune-names.js +0 -29
- package/dist/scripts/generate-spell-ids-by-name.d.ts +0 -1
- package/dist/scripts/generate-spell-ids-by-name.js +0 -20
- package/dist/scripts/generate-spell-ids.d.ts +0 -1
- package/dist/scripts/generate-spell-ids.js +0 -20
- package/dist/scripts/generate-spell-keys.d.ts +0 -1
- package/dist/scripts/generate-spell-keys.js +0 -20
- package/dist/scripts/generate-spell-names.d.ts +0 -1
- package/dist/scripts/generate-spell-names.js +0 -20
- package/dist/scripts/generate-stat-rune-ids.d.ts +0 -1
- package/dist/scripts/generate-stat-rune-ids.js +0 -20
- package/dist/scripts/generate-stat-rune-names.d.ts +0 -1
- package/dist/scripts/generate-stat-rune-names.js +0 -20
- package/dist/scripts/generate-tree-rune-ids.d.ts +0 -1
- package/dist/scripts/generate-tree-rune-ids.js +0 -22
- package/dist/scripts/generate-tree-rune-names.d.ts +0 -1
- 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
|
-
})();
|