cubing 0.25.1 → 0.25.5
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 +13 -29
- package/dist/esm/{2x2x2.sgs.json-QKP2WRPT.js → 2x2x2.sgs.json-FBJ4RQ4C.js} +2 -2
- package/dist/esm/{2x2x2.sgs.json-QKP2WRPT.js.map → 2x2x2.sgs.json-FBJ4RQ4C.js.map} +0 -0
- package/dist/esm/{3d-dynamic-inside-GKERM3IG.js → 3d-dynamic-TNYERP4O.js} +28 -26
- package/dist/esm/3d-dynamic-TNYERP4O.js.map +7 -0
- package/dist/esm/{gwt-B7CBESZR.js → 3x3x3-min2phase-FPRJ5PCJ.js} +2 -2
- package/dist/esm/{gwt-B7CBESZR.js.map → 3x3x3-min2phase-FPRJ5PCJ.js.map} +1 -1
- package/dist/esm/{scramble_444-FXLLIDCW.js → 444-solver-YZ6PC54L.js} +4 -4
- package/dist/esm/{scramble_444-FXLLIDCW.js.map → 444-solver-YZ6PC54L.js.map} +1 -1
- package/dist/esm/bluetooth/index.js +1 -1
- package/dist/esm/{chunk-GXV3K7MX.js → chunk-4VNM5SER.js} +7 -2
- package/dist/esm/{chunk-GXV3K7MX.js.map → chunk-4VNM5SER.js.map} +2 -2
- package/dist/esm/chunk-BEXHMXCT.js +9 -0
- package/dist/esm/chunk-BEXHMXCT.js.map +7 -0
- package/dist/esm/{chunk-KRL5KQQK.js → chunk-F5WNHV7V.js} +2 -2
- package/dist/esm/{chunk-KRL5KQQK.js.map → chunk-F5WNHV7V.js.map} +2 -2
- package/dist/esm/chunk-IVQ4ITE2.js +33 -0
- package/dist/esm/chunk-IVQ4ITE2.js.map +7 -0
- package/dist/esm/{chunk-Z5INA5XR.js → chunk-JLNFWJIT.js} +30 -22
- package/dist/esm/chunk-JLNFWJIT.js.map +7 -0
- package/dist/esm/{chunk-T5KQKRR3.js → chunk-KJZNEDOV.js} +2 -2
- package/dist/esm/{chunk-T5KQKRR3.js.map → chunk-KJZNEDOV.js.map} +0 -0
- package/dist/esm/{chunk-HCNUMBT5.js → chunk-LGM2HUUG.js} +3 -3
- package/dist/esm/{chunk-HCNUMBT5.js.map → chunk-LGM2HUUG.js.map} +2 -2
- package/dist/esm/{chunk-QMZKTP7F.js → chunk-QEDC2QTN.js} +2 -2
- package/dist/esm/{chunk-QMZKTP7F.js.map → chunk-QEDC2QTN.js.map} +0 -0
- package/dist/esm/{chunk-QUTXXRPT.js → chunk-RJSX2HO4.js} +2 -2
- package/dist/esm/{chunk-QUTXXRPT.js.map → chunk-RJSX2HO4.js.map} +0 -0
- package/dist/esm/{chunk-37NJ765B.js → chunk-V5K5JN2N.js} +83 -26
- package/dist/esm/chunk-V5K5JN2N.js.map +7 -0
- package/dist/esm/chunk-WDJDRVZZ.js +28 -0
- package/dist/esm/chunk-WDJDRVZZ.js.map +7 -0
- package/dist/esm/{ftosolver-smaller-phase3-table-UTQRO776.js → fto-solver-HI6NIV74.js} +2 -2
- package/dist/esm/{ftosolver-smaller-phase3-table-UTQRO776.js.map → fto-solver-HI6NIV74.js.map} +1 -1
- package/dist/esm/{fto.sgs.json-T5WY2HR7.js → fto.dynamic-RAXDXLKL.js} +8 -3
- package/dist/esm/fto.dynamic-RAXDXLKL.js.map +7 -0
- package/dist/esm/kilominx.kpuzzle.svg-7XJBOKFU.js +83 -0
- package/dist/esm/kilominx.kpuzzle.svg-7XJBOKFU.js.map +7 -0
- package/dist/esm/kilosolver-N6JM5PUY.js +713 -0
- package/dist/esm/kilosolver-N6JM5PUY.js.map +7 -0
- package/dist/esm/{masterpyra-QOJCNGZM.js → master_tetraminx-solver-KBQJGW4A.js} +2 -5
- package/dist/esm/{masterpyra-QOJCNGZM.js.map → master_tetraminx-solver-KBQJGW4A.js.map} +3 -3
- package/dist/esm/{megaminx.sgs.json-KKR4VPHV.js → megaminx.sgs.json-3ZEDZMWF.js} +3 -3
- package/dist/esm/{megaminx.sgs.json-KKR4VPHV.js.map → megaminx.sgs.json-3ZEDZMWF.js.map} +0 -0
- package/dist/esm/puzzle-geometry/index.js +1 -1
- package/dist/esm/puzzles/index.js +3 -1
- package/dist/esm/{pyraminx.sgs.json-5HPDQAOM.js → pyraminx.sgs.json-AUUH6ELM.js} +3 -3
- package/dist/esm/{pyraminx.sgs.json-5HPDQAOM.js.map → pyraminx.sgs.json-AUUH6ELM.js.map} +0 -0
- package/dist/esm/scramble/index.js +5 -3
- package/dist/esm/search/index.js +5 -3
- package/dist/esm/{entry-RSZSKW5X.js → search-worker-js-entry-B76LGKC2.js} +32 -19
- package/dist/esm/search-worker-js-entry-B76LGKC2.js.map +7 -0
- package/dist/esm/search-worker-ts-entry-JZTMF3AC.js +22 -0
- package/dist/esm/search-worker-ts-entry-JZTMF3AC.js.map +7 -0
- package/dist/esm/{skewb.sgs.json-MWONK6HT.js → skewb.sgs.json-6NDFH63U.js} +3 -3
- package/dist/esm/{skewb.sgs.json-MWONK6HT.js.map → skewb.sgs.json-6NDFH63U.js.map} +0 -0
- package/dist/esm/{scramble_sq1-OZR6K4WV.js → sq1-solver-P3IWWET7.js} +2 -2
- package/dist/esm/{scramble_sq1-OZR6K4WV.js.map → sq1-solver-P3IWWET7.js.map} +1 -1
- package/dist/esm/twisty/index.js +58 -12
- package/dist/esm/twisty/index.js.map +3 -3
- package/dist/esm/worker-inside-generated-string-QVH4RRM7.js +3522 -0
- package/dist/esm/worker-inside-generated-string-QVH4RRM7.js.map +7 -0
- package/dist/types/puzzles/events.d.ts +8 -0
- package/dist/types/puzzles/implementations/kilominx/index.d.ts +2 -0
- package/dist/types/puzzles/implementations/kilominx/kilominx.kpuzzle.svg.d.ts +1 -0
- package/dist/types/puzzles/index.d.ts +6 -11
- package/dist/types/{esm-test-worker.d.ts → search/inside/search-worker-js-entry.d.ts} +0 -0
- package/dist/types/search/inside/{module-entry-path-getter.d.ts → search-worker-ts-entry-path-getter.d.ts} +0 -0
- package/dist/types/search/inside/{module-entry.d.ts → search-worker-ts-entry.d.ts} +0 -0
- package/dist/types/search/inside/solve/puzzles/{fto.sgs.json.d.ts → fto.dynamic.d.ts} +1 -0
- package/dist/types/search/inside/solve/puzzles/kilominx.d.ts +2 -0
- package/dist/types/search/inside/worker-guard.d.ts +3 -0
- package/dist/types/search/worker-inside-generated-string.d.ts +1 -1
- package/dist/types/twisty/heavy-code-imports/3d.d.ts +1 -1
- package/dist/types/twisty/heavy-code-imports/dynamic-entries/{3d-dynamic-inside.d.ts → 3d-dynamic.d.ts} +0 -0
- package/dist/types/twisty/model/TwistyPlayerModel.d.ts +4 -0
- package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts +1 -2
- package/dist/types/twisty/model/props/general/ArbitraryStringProp.d.ts +4 -0
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts +1 -0
- package/dist/types/twisty/views/TwistyPlayer.d.ts +6 -0
- package/dist/types/twisty/views/TwistyPlayerSettable.d.ts +6 -0
- package/dist/types/twisty/views/twizzle/TwizzleLink.d.ts +1 -1
- package/dist/types/vendor/comlink-everywhere/inside/index.d.ts +4 -1
- package/dist/types/vendor/comlink-everywhere/node-adapter.d.ts +6 -0
- package/dist/types/vendor/comlink-everywhere/outside/index.d.ts +4 -2
- package/dist/types/vendor/cstimer/src/js/scramble/{scramble_444.d.ts → 444-solver.d.ts} +0 -0
- package/dist/types/vendor/min2phase/{gwt.d.ts → 3x3x3-min2phase.d.ts} +0 -0
- package/dist/types/vendor/sq12phase/{scramble_sq1.d.ts → sq1-solver.d.ts} +0 -0
- package/dist/types/vendor/xyzzy/{ftosolver.d.ts → fto-solver-original.d.ts} +0 -26
- package/dist/types/vendor/xyzzy/{ftosolver-smaller-phase3-table.d.ts → fto-solver.d.ts} +0 -0
- package/dist/types/vendor/xyzzy/kilosolver.d.ts +2 -140
- package/dist/types/vendor/xyzzy/{masterpyra.d.ts → master_tetraminx-solver.d.ts} +0 -0
- package/dist/types/vendor/xyzzy/rediscrambler.d.ts +1 -23
- package/package.json +66 -71
- package/dist/esm/3d-dynamic-inside-GKERM3IG.js.map +0 -7
- package/dist/esm/chunk-37NJ765B.js.map +0 -7
- package/dist/esm/chunk-L7W7Q42Q.js +0 -18
- package/dist/esm/chunk-L7W7Q42Q.js.map +0 -7
- package/dist/esm/chunk-Z5INA5XR.js.map +0 -7
- package/dist/esm/entry-RSZSKW5X.js.map +0 -7
- package/dist/esm/esm-test-worker.js +0 -15
- package/dist/esm/esm-test-worker.js.map +0 -7
- package/dist/esm/fto.sgs.json-T5WY2HR7.js.map +0 -7
- package/dist/esm/module-entry-UDFTQHXX.js +0 -18
- package/dist/esm/module-entry-UDFTQHXX.js.map +0 -7
- package/dist/esm/node-KTVORTZB.js +0 -41
- package/dist/esm/node-KTVORTZB.js.map +0 -7
- package/dist/esm/node-LMAS5PGZ.js +0 -14
- package/dist/esm/node-LMAS5PGZ.js.map +0 -7
- package/dist/esm/worker-inside-generated-string-WGUQ4QSO.js +0 -2828
- package/dist/esm/worker-inside-generated-string-WGUQ4QSO.js.map +0 -7
- package/dist/types/search/esm-test-worker.d.ts +0 -3
- package/dist/types/search/inside/entry.d.ts +0 -1
- package/dist/types/vendor/comlink-everywhere/inside/node.d.ts +0 -1
- package/dist/types/vendor/comlink-everywhere/outside/node.d.ts +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function proxy3D(): Promise<typeof import("./dynamic-entries/3d-dynamic
|
|
1
|
+
export declare function proxy3D(): Promise<typeof import("./dynamic-entries/3d-dynamic")>;
|
|
2
2
|
export declare const THREEJS: Promise<typeof import("three")>;
|
|
File without changes
|
|
@@ -42,6 +42,7 @@ import { NaiveMoveCountProp } from "./props/puzzle/state/NaiveMoveCountProp";
|
|
|
42
42
|
import { MovePressInputProp } from "./props/puzzle/state/MovePressInputProp";
|
|
43
43
|
import { FoundationDisplayProp } from "./props/puzzle/display/FoundationDisplayProp";
|
|
44
44
|
import { SetupTransformationProp } from "./props/puzzle/state/SetupTransformationProp";
|
|
45
|
+
import { ArbitraryStringProp } from "./props/general/ArbitraryStringProp";
|
|
45
46
|
export declare class TwistyPlayerModel {
|
|
46
47
|
userVisibleErrorTracker: UserVisibleErrorTracker;
|
|
47
48
|
alg: AlgProp;
|
|
@@ -68,6 +69,9 @@ export declare class TwistyPlayerModel {
|
|
|
68
69
|
timestampRequest: TimestampRequestProp;
|
|
69
70
|
viewerLink: ViewerLinkProp;
|
|
70
71
|
visualizationFormat: VisualizationFormatProp;
|
|
72
|
+
title: ArbitraryStringProp;
|
|
73
|
+
videoURL: URLProp;
|
|
74
|
+
competitionID: ArbitraryStringProp;
|
|
71
75
|
foundationStickerSprite: SpriteProp;
|
|
72
76
|
hintStickerSprite: SpriteProp;
|
|
73
77
|
puzzleLoader: PuzzleLoaderProp;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ManagedCustomElement } from "../../views/ManagedCustomElement";
|
|
2
2
|
import type { TwistyPlayer } from "../../views/TwistyPlayer";
|
|
3
|
-
import
|
|
4
|
-
export declare function splitFieldName(s: string): string;
|
|
3
|
+
import { TwistyPropParent } from "./TwistyProp";
|
|
5
4
|
export declare class TwistyPropDebugger extends ManagedCustomElement {
|
|
6
5
|
#private;
|
|
7
6
|
private name;
|
|
@@ -16,6 +16,7 @@ export declare const puzzleIDs: {
|
|
|
16
16
|
fto: boolean;
|
|
17
17
|
gigaminx: boolean;
|
|
18
18
|
master_tetraminx: boolean;
|
|
19
|
+
kilominx: boolean;
|
|
19
20
|
};
|
|
20
21
|
export declare type PuzzleID = keyof typeof puzzleIDs;
|
|
21
22
|
export declare class PuzzleIDRequestProp extends SimpleTwistyPropSource<PuzzleID | NoValueType> {
|
|
@@ -28,6 +28,9 @@ export declare const twistyPlayerAttributeMap: {
|
|
|
28
28
|
"back-view": string;
|
|
29
29
|
"viewer-link": string;
|
|
30
30
|
"experimental-move-press-input": string;
|
|
31
|
+
"experimental-title": string;
|
|
32
|
+
"experimental-video-url": string;
|
|
33
|
+
"experimental-competition-id": string;
|
|
31
34
|
"camera-latitude": string;
|
|
32
35
|
"camera-longitude": string;
|
|
33
36
|
"camera-distance": string;
|
|
@@ -51,6 +54,9 @@ export interface TwistyPlayerConfig {
|
|
|
51
54
|
backView?: BackViewLayoutWithAuto;
|
|
52
55
|
viewerLink?: ViewerLinkPageWithAuto;
|
|
53
56
|
experimentalMovePressInput?: MovePressInput;
|
|
57
|
+
experimentalTitle?: string;
|
|
58
|
+
experimentalVideoURL?: string;
|
|
59
|
+
experimentalCompetitionID?: string;
|
|
54
60
|
cameraLatitude?: number;
|
|
55
61
|
cameraLongitude?: number;
|
|
56
62
|
cameraDistance?: number;
|
|
@@ -40,6 +40,12 @@ export declare abstract class TwistyPlayerSettable extends ManagedCustomElement
|
|
|
40
40
|
get controlPanel(): never;
|
|
41
41
|
set visualization(visualizationFormat: VisualizationFormatWithAuto);
|
|
42
42
|
get visualization(): never;
|
|
43
|
+
set experimentalTitle(title: string | null);
|
|
44
|
+
get experimentalTitle(): never;
|
|
45
|
+
set experimentalVideoURL(videoURL: string | null);
|
|
46
|
+
get experimentalVideoURL(): never;
|
|
47
|
+
set experimentalCompetitionID(competitionID: string | null);
|
|
48
|
+
get experimentalCompetitionID(): never;
|
|
43
49
|
set viewerLink(viewerLinkPage: ViewerLinkPageWithAuto);
|
|
44
50
|
get viewerLink(): never;
|
|
45
51
|
set experimentalMovePressInput(movePressInput: MovePressInput);
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export function workerFileConstructor(): Promise<any>;
|
|
2
|
-
export function constructWorkerFromString(stringSource: any, options: any): Promise<any>;
|
|
3
1
|
export { wrap } from "comlink";
|
|
2
|
+
export declare function constructWorker(source: string | URL, options?: {
|
|
3
|
+
eval?: boolean;
|
|
4
|
+
type?: WorkerType;
|
|
5
|
+
}): Promise<Worker>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,34 +1,24 @@
|
|
|
1
1
|
declare function counter(A: any): any[];
|
|
2
2
|
declare function counter(A: any): any[];
|
|
3
|
-
declare function counter(A: any): any[];
|
|
4
|
-
declare function factorial(n: any): any;
|
|
5
3
|
declare function factorial(n: any): any;
|
|
6
4
|
declare function factorial(n: any): any;
|
|
7
5
|
declare function C(n: any, k: any): number;
|
|
8
6
|
declare function C(n: any, k: any): number;
|
|
9
|
-
declare function C(n: any, k: any): number;
|
|
10
7
|
declare function C4(n: any, k0: any, k1: any, k2: any, k3?: number): number;
|
|
11
8
|
declare function permutation_to_index(perm: any): number;
|
|
12
9
|
declare function permutation_to_index(perm: any): number;
|
|
13
|
-
declare function permutation_to_index(perm: any): number;
|
|
14
|
-
declare function index_to_permutation(ind: any, n: any): number[];
|
|
15
10
|
declare function index_to_permutation(ind: any, n: any): number[];
|
|
16
11
|
declare function index_to_permutation(ind: any, n: any): number[];
|
|
17
12
|
declare function permutation_parity(A: any): number;
|
|
18
13
|
declare function permutation_parity(A: any): number;
|
|
19
|
-
declare function permutation_parity(A: any): number;
|
|
20
|
-
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
21
14
|
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
22
15
|
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
23
16
|
declare function evenpermutation_to_index(perm: any): number;
|
|
24
17
|
declare function evenpermutation_to_index(perm: any): number;
|
|
25
|
-
declare function evenpermutation_to_index(perm: any): number;
|
|
26
18
|
declare function random_permutation(n: any): number[];
|
|
27
19
|
declare function random_even_permutation(n: any): number[];
|
|
28
20
|
declare function comb_to_index(l: any): number;
|
|
29
21
|
declare function comb_to_index(l: any): number;
|
|
30
|
-
declare function comb_to_index(l: any): number;
|
|
31
|
-
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
32
22
|
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
33
23
|
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
34
24
|
declare function ctz(n: any): number;
|
|
@@ -39,10 +29,8 @@ declare function interleave_bits(x: any, y: any): number;
|
|
|
39
29
|
declare function generate_comb4_lookup_tables(n: any, k0: any, k1: any, k2: any, k3: any): any;
|
|
40
30
|
declare function compose(A: any, B: any): any[];
|
|
41
31
|
declare function compose(A: any, B: any): any[];
|
|
42
|
-
declare function compose(A: any, B: any): any[];
|
|
43
32
|
declare function compose3(A: any, B: any, C: any): any[];
|
|
44
33
|
declare function compose_o(A: any, B: any): any[][];
|
|
45
|
-
declare function compose_o(A: any, B: any): any[][];
|
|
46
34
|
declare function permutation_from_cycles(cycles: any, n: any): any[];
|
|
47
35
|
declare function reduce_permutation(perm: any, keep: any): any[];
|
|
48
36
|
declare function invert_permutation(perm: any): any[];
|
|
@@ -62,21 +50,16 @@ declare function convert_move_to_permutations(move: any): {
|
|
|
62
50
|
bp: number[];
|
|
63
51
|
};
|
|
64
52
|
declare function random_state(): any[];
|
|
65
|
-
declare function random_state(): any[][];
|
|
66
53
|
declare function stringify_move_sequence(move_sequence: any, no_wide?: boolean): any;
|
|
67
54
|
declare function stringify_move_sequence(move_sequence: any): any;
|
|
68
|
-
declare function stringify_move_sequence(move_sequence: any): any;
|
|
69
55
|
declare function print_move_sequence(move_sequence: any): void;
|
|
70
56
|
declare function print_move_sequence(move_sequence: any): void;
|
|
71
|
-
declare function print_move_sequence(move_sequence: any): void;
|
|
72
|
-
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
73
57
|
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
74
58
|
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
75
59
|
declare function invert_move_sequence(move_sequence: any): any;
|
|
76
60
|
declare function simplify_move_sequence(move_sequence: any, make_noise?: boolean): any[][];
|
|
77
61
|
declare function generate_random_state_scramble(): any;
|
|
78
62
|
declare function generate_random_state_scramble(): any;
|
|
79
|
-
declare function generate_random_state_scramble(): any;
|
|
80
63
|
declare function generate_multiple_random_state_scrambles(n: any): any[];
|
|
81
64
|
declare function generate_mtable_comb_generic(n: any, k: any, permutations: any): Uint32Array[];
|
|
82
65
|
declare function generate_mtable_comb4_generic(n: any, k0: any, k1: any, k2: any, k3: any, permutations: any): Uint32Array[];
|
|
@@ -87,13 +70,11 @@ declare function reduce_to_quotient(mtable: any, origins: any): (Int32Array | In
|
|
|
87
70
|
declare function generate_mirrored_coordinate_table(mtable: any, a: any, b: any): Int32Array;
|
|
88
71
|
declare function bfs(mtable: any, goal_states: any): Int8Array;
|
|
89
72
|
declare function bfs(mtable: any, goal_states: any): any[];
|
|
90
|
-
declare function bfs(mtable: any, goal_states: any): any[];
|
|
91
73
|
declare function ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any, commute: any): Generator<any, void, any>;
|
|
92
74
|
declare function ida_solve_gen(indices: any, mtables: any, ptables: any): Generator<any, void, any>;
|
|
93
75
|
declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any, commute: any): any;
|
|
94
76
|
declare function ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
|
|
95
77
|
declare function solve(facelets: any, readable?: boolean): any[][];
|
|
96
|
-
declare function solve(state: any): any[];
|
|
97
78
|
declare function solve(state: any): any;
|
|
98
79
|
declare function index_phase1(facelets: any): any[];
|
|
99
80
|
declare function index_phase1(state: any): number[];
|
|
@@ -108,10 +89,8 @@ declare function solve_phase1_gen(facelets: any): Generator<any, void, any>;
|
|
|
108
89
|
declare function phase1_ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any): Generator<any, void, any>;
|
|
109
90
|
declare function phase1_ida_search_gen(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
|
|
110
91
|
declare function index_phase2(facelets: any): any[];
|
|
111
|
-
declare function index_phase2(state: any): number[];
|
|
112
92
|
declare function solve_phase2_gen(facelets: any): Generator<any, void, any>;
|
|
113
93
|
declare function solve_phase2(facelets: any): any;
|
|
114
|
-
declare function solve_phase2(state: any): any;
|
|
115
94
|
declare function generate_phase2_centre_mtables(): any;
|
|
116
95
|
declare function generate_phase2_edge_mtable(): any;
|
|
117
96
|
declare function generate_phase2_edge_mtable(): any;
|
|
@@ -155,9 +134,6 @@ declare let move_Ui: any[];
|
|
|
155
134
|
declare let move_X: number[];
|
|
156
135
|
declare let move_Y: number[];
|
|
157
136
|
declare let move_Z: number[];
|
|
158
|
-
declare let move_L: any[];
|
|
159
|
-
declare let move_F: any[];
|
|
160
|
-
declare let move_R: any[];
|
|
161
137
|
declare let move_Us: any[];
|
|
162
138
|
declare let move_Uw: any[];
|
|
163
139
|
declare let move_Uwi: any[];
|
|
@@ -169,8 +145,6 @@ declare let corner_piece_facelets: number[][];
|
|
|
169
145
|
declare let edge_piece_facelets: number[][];
|
|
170
146
|
declare let centreA_piece_facelets: number[];
|
|
171
147
|
declare let centreB_piece_facelets: number[];
|
|
172
|
-
declare let moves: any[][];
|
|
173
|
-
declare let move_names: string[];
|
|
174
148
|
declare let move_permutations: {
|
|
175
149
|
cp: number[];
|
|
176
150
|
ep: number[];
|
|
File without changes
|
|
@@ -1,140 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare function counter(A: any): any[];
|
|
4
|
-
declare function factorial(n: any): any;
|
|
5
|
-
declare function factorial(n: any): any;
|
|
6
|
-
declare function factorial(n: any): any;
|
|
7
|
-
declare function C(n: any, k: any): number;
|
|
8
|
-
declare function C(n: any, k: any): number;
|
|
9
|
-
declare function C(n: any, k: any): number;
|
|
10
|
-
declare function permutation_to_index(perm: any): number;
|
|
11
|
-
declare function permutation_to_index(perm: any): number;
|
|
12
|
-
declare function permutation_to_index(perm: any): number;
|
|
13
|
-
declare function index_to_permutation(ind: any, n: any): number[];
|
|
14
|
-
declare function index_to_permutation(ind: any, n: any): number[];
|
|
15
|
-
declare function index_to_permutation(ind: any, n: any): number[];
|
|
16
|
-
declare function permutation_parity(A: any): number;
|
|
17
|
-
declare function permutation_parity(A: any): number;
|
|
18
|
-
declare function permutation_parity(A: any): number;
|
|
19
|
-
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
20
|
-
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
21
|
-
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
22
|
-
declare function evenpermutation_to_index(perm: any): number;
|
|
23
|
-
declare function evenpermutation_to_index(perm: any): number;
|
|
24
|
-
declare function evenpermutation_to_index(perm: any): number;
|
|
25
|
-
declare function comb_to_index(l: any): number;
|
|
26
|
-
declare function comb_to_index(l: any): number;
|
|
27
|
-
declare function comb_to_index(l: any): number;
|
|
28
|
-
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
29
|
-
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
30
|
-
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
31
|
-
declare function compose(A: any, B: any): any[];
|
|
32
|
-
declare function compose(A: any, B: any): any[];
|
|
33
|
-
declare function compose(A: any, B: any): any[];
|
|
34
|
-
declare function compose_o(A: any, B: any): any[][];
|
|
35
|
-
declare function compose_o(A: any, B: any): any[][];
|
|
36
|
-
declare function permutation_from_cycle(cycle: any, n: any): any[];
|
|
37
|
-
declare function permutation_from_cycle(cycle: any, n: any): any[];
|
|
38
|
-
declare function unsparsify_list(d: any, n: any): any[];
|
|
39
|
-
declare function unsparsify_list(d: any, n: any): any[];
|
|
40
|
-
declare function random_state(): any[];
|
|
41
|
-
declare function random_state(): any[][];
|
|
42
|
-
declare function stringify_move_sequence(move_sequence: any, no_wide?: boolean): any;
|
|
43
|
-
declare function stringify_move_sequence(move_sequence: any): any;
|
|
44
|
-
declare function stringify_move_sequence(move_sequence: any): any;
|
|
45
|
-
declare function print_move_sequence(move_sequence: any): void;
|
|
46
|
-
declare function print_move_sequence(move_sequence: any): void;
|
|
47
|
-
declare function print_move_sequence(move_sequence: any): void;
|
|
48
|
-
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
49
|
-
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
50
|
-
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
51
|
-
declare function generate_random_state_scramble(): any;
|
|
52
|
-
declare function generate_random_state_scramble(): any;
|
|
53
|
-
declare function generate_random_state_scramble(): any;
|
|
54
|
-
declare function generate_random_move_scramble(M: any, N: any): number[][];
|
|
55
|
-
declare function map_piece_to_face(loc: any, ori: any): string;
|
|
56
|
-
declare function create_svg_template(state: any, colour_scheme: any): Element;
|
|
57
|
-
declare function draw_state(svgel: any, state: any, colour_scheme: any): any;
|
|
58
|
-
declare function solve_phase1(state: any): any;
|
|
59
|
-
declare function search_phase1(flags: any, depth: any, last: any): any;
|
|
60
|
-
declare function index_phase2(facelets: any): any[];
|
|
61
|
-
declare function index_phase2(state: any): number[];
|
|
62
|
-
declare function solve_phase2(facelets: any): any;
|
|
63
|
-
declare function solve_phase2(state: any): any;
|
|
64
|
-
declare function index_phase3(state: any): number[];
|
|
65
|
-
declare function solve_phase3(state: any): any;
|
|
66
|
-
declare function index_phase4(state: any): number[];
|
|
67
|
-
declare function solve_phase4(state: any): any;
|
|
68
|
-
declare function solve_phase4_fast(state: any): any;
|
|
69
|
-
declare function solve(facelets: any, readable?: boolean): any[][];
|
|
70
|
-
declare function solve(state: any): any[];
|
|
71
|
-
declare function solve(state: any): any;
|
|
72
|
-
declare function cn_solve(state: any): any;
|
|
73
|
-
declare function generate_phase23_orientation_mtable(): any;
|
|
74
|
-
declare function generate_phase2_orientation_ptable(): any;
|
|
75
|
-
declare function generate_phase3_orientation_ptable(): any;
|
|
76
|
-
declare function generate_phase23_permutation_mtable(): any;
|
|
77
|
-
declare function generate_phase2_permutation_ptable(): any;
|
|
78
|
-
declare function generate_phase3_permutation_ptable(): any;
|
|
79
|
-
declare function generate_phase4_orientation_mtable(): any;
|
|
80
|
-
declare function generate_phase4_permutation_mtable(): any;
|
|
81
|
-
declare function generate_phase4_orientation_ptable(): any;
|
|
82
|
-
declare function generate_phase4_permutation_ptable(): any;
|
|
83
|
-
declare function generate_phase4_near_ptable_list(threshold: any): any;
|
|
84
|
-
declare function binary_search(A: any, x: any): boolean;
|
|
85
|
-
declare function cache_all_tables(): void;
|
|
86
|
-
declare function bfs(mtable: any, goal_states: any): Int8Array;
|
|
87
|
-
declare function bfs(mtable: any, goal_states: any): any[];
|
|
88
|
-
declare function bfs(mtable: any, goal_states: any): any[];
|
|
89
|
-
declare function ida_solve(indices: any, mtables: any, ptables: any): any;
|
|
90
|
-
declare function ida_solve(indices: any, mtables: any, ptables: any, max_bound: any): any;
|
|
91
|
-
declare function ida_search(indices: any, mtables: any, ptables: any, bound: any, last: any): number[][] | undefined;
|
|
92
|
-
declare function ida_search(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
|
|
93
|
-
declare function phase4_ida_solve(indices: any): any;
|
|
94
|
-
declare function phase4_ida_search(indices: any, bound: any, last: any, mtable_o: any, mtable_p: any, ptable_o: any, ptable_p: any, ptable_n: any): any;
|
|
95
|
-
declare function phase4_ida_solve_gen(indices: any): Generator<any, void, any>;
|
|
96
|
-
declare function phase4_ida_search_gen(indices: any, bound: any, last: any, mtable_o: any, mtable_p: any, ptable_o: any, ptable_p: any, ptable_n: any): any;
|
|
97
|
-
declare function generate_hs_mtable(): any;
|
|
98
|
-
declare function generate_hs_u_ptable(): any;
|
|
99
|
-
declare function generate_hs_d_ptable(): any;
|
|
100
|
-
declare function index_hs(state: any): number[];
|
|
101
|
-
declare function solve_hs(state: any): any;
|
|
102
|
-
declare function solve_hs_twophase(state: any): any;
|
|
103
|
-
declare function generate_hybrid_scramble(): any[][];
|
|
104
|
-
declare function generate_fullseparate_mtable(): any;
|
|
105
|
-
declare function generate_fullseparate_ptable(): any;
|
|
106
|
-
declare function bfs5(mtable: any, goal_states: any): any[];
|
|
107
|
-
declare let PHASE4_THRESHOLD: number;
|
|
108
|
-
declare function evenpermutation10_to_index(perm: any): number;
|
|
109
|
-
declare function index_to_evenpermutation10(ind: any, perm: any): any;
|
|
110
|
-
declare let move_U: any[][];
|
|
111
|
-
declare let move_R: any[][];
|
|
112
|
-
declare let move_F: any[][];
|
|
113
|
-
declare let move_L: any[][];
|
|
114
|
-
declare let move_BL: any[][];
|
|
115
|
-
declare let move_BR: any[][];
|
|
116
|
-
declare let move_x2: any[][];
|
|
117
|
-
declare let move_y: any[][];
|
|
118
|
-
declare let move_rot: number[][];
|
|
119
|
-
declare let moves: any[][];
|
|
120
|
-
declare let move_names: string[];
|
|
121
|
-
declare let id: any[][];
|
|
122
|
-
declare let moves_full: any[];
|
|
123
|
-
declare namespace default_colour_scheme {
|
|
124
|
-
const U: string;
|
|
125
|
-
const L: string;
|
|
126
|
-
const F: string;
|
|
127
|
-
const R: string;
|
|
128
|
-
const BR: string;
|
|
129
|
-
const BL: string;
|
|
130
|
-
const DBR: string;
|
|
131
|
-
const DB: string;
|
|
132
|
-
const DBL: string;
|
|
133
|
-
const DFL: string;
|
|
134
|
-
const DFR: string;
|
|
135
|
-
const D: string;
|
|
136
|
-
}
|
|
137
|
-
declare let face_names: string[];
|
|
138
|
-
declare let rotation_amounts: number[][];
|
|
139
|
-
declare let translation_amounts: any;
|
|
140
|
-
declare let tables: {};
|
|
1
|
+
export function getRandomKilominxScramble(): Promise<Alg>;
|
|
2
|
+
import { Alg } from "../../alg";
|
|
File without changes
|
|
@@ -1,57 +1,39 @@
|
|
|
1
1
|
declare function counter(A: any): any[];
|
|
2
2
|
declare function counter(A: any): any[];
|
|
3
|
-
declare function counter(A: any): any[];
|
|
4
|
-
declare function factorial(n: any): any;
|
|
5
3
|
declare function factorial(n: any): any;
|
|
6
4
|
declare function factorial(n: any): any;
|
|
7
5
|
declare function C(n: any, k: any): number;
|
|
8
6
|
declare function C(n: any, k: any): number;
|
|
9
|
-
declare function C(n: any, k: any): number;
|
|
10
7
|
declare function permutation_to_index(perm: any): number;
|
|
11
8
|
declare function permutation_to_index(perm: any): number;
|
|
12
|
-
declare function permutation_to_index(perm: any): number;
|
|
13
|
-
declare function index_to_permutation(ind: any, n: any): number[];
|
|
14
9
|
declare function index_to_permutation(ind: any, n: any): number[];
|
|
15
10
|
declare function index_to_permutation(ind: any, n: any): number[];
|
|
16
11
|
declare function permutation_parity(A: any): number;
|
|
17
12
|
declare function permutation_parity(A: any): number;
|
|
18
|
-
declare function permutation_parity(A: any): number;
|
|
19
|
-
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
20
13
|
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
21
14
|
declare function index_to_evenpermutation(ind: any, n: any): number[];
|
|
22
15
|
declare function evenpermutation_to_index(perm: any): number;
|
|
23
16
|
declare function evenpermutation_to_index(perm: any): number;
|
|
24
|
-
declare function evenpermutation_to_index(perm: any): number;
|
|
25
|
-
declare function comb_to_index(l: any): number;
|
|
26
17
|
declare function comb_to_index(l: any): number;
|
|
27
18
|
declare function comb_to_index(l: any): number;
|
|
28
19
|
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
29
20
|
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
30
|
-
declare function index_to_comb(ind: any, ones: any, bits: any): any[];
|
|
31
|
-
declare function compose(A: any, B: any): any[];
|
|
32
21
|
declare function compose(A: any, B: any): any[];
|
|
33
22
|
declare function compose(A: any, B: any): any[];
|
|
34
23
|
declare function permutation_from_cycle(cycle: any, n: any): any[];
|
|
35
|
-
declare function permutation_from_cycle(cycle: any, n: any): any[];
|
|
36
|
-
declare function unsparsify_list(d: any, n: any): any[];
|
|
37
24
|
declare function unsparsify_list(d: any, n: any): any[];
|
|
38
25
|
declare function compose_state(state1: any, state2: any): any[][];
|
|
39
26
|
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
40
27
|
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
41
|
-
declare function apply_move_sequence(state: any, move_sequence: any): any;
|
|
42
28
|
declare function stringify_move_sequence(move_sequence: any, no_wide?: boolean): any;
|
|
43
29
|
declare function stringify_move_sequence(move_sequence: any): any;
|
|
44
|
-
declare function stringify_move_sequence(move_sequence: any): any;
|
|
45
|
-
declare function print_move_sequence(move_sequence: any): void;
|
|
46
30
|
declare function print_move_sequence(move_sequence: any): void;
|
|
47
31
|
declare function print_move_sequence(move_sequence: any): void;
|
|
48
32
|
declare function generate_random_state(): any[][];
|
|
49
33
|
declare function generate_random_state_scramble(): any;
|
|
50
34
|
declare function generate_random_state_scramble(): any;
|
|
51
|
-
declare function generate_random_state_scramble(): any;
|
|
52
35
|
declare function generate_scramble_sequence(): any;
|
|
53
36
|
declare function solve(facelets: any, readable?: boolean): any[][];
|
|
54
|
-
declare function solve(state: any): any[];
|
|
55
37
|
declare function solve(state: any): any;
|
|
56
38
|
declare function index_phase1(facelets: any): any[];
|
|
57
39
|
declare function index_phase1(state: any): number[];
|
|
@@ -70,10 +52,7 @@ declare function generate_phase2_edge_mtable(): any;
|
|
|
70
52
|
declare function generate_phase2_edge_ptable(): any;
|
|
71
53
|
declare function bfs(mtable: any, goal_states: any): Int8Array;
|
|
72
54
|
declare function bfs(mtable: any, goal_states: any): any[];
|
|
73
|
-
declare function bfs(mtable: any, goal_states: any): any[];
|
|
74
|
-
declare function ida_solve(indices: any, mtables: any, ptables: any): any;
|
|
75
55
|
declare function ida_solve(indices: any, mtables: any, ptables: any, max_bound: any): any;
|
|
76
|
-
declare function ida_search(indices: any, mtables: any, ptables: any, bound: any, last: any): number[][] | undefined;
|
|
77
56
|
declare function ida_search(indices: any, mtables: any, ptables: any, bound: any, last: any): any;
|
|
78
57
|
declare function ida_solve_gen(indices: any, mtables: any, ptables: any, moves_left: any, commute: any): Generator<any, void, any>;
|
|
79
58
|
declare function ida_solve_gen(indices: any, mtables: any, ptables: any): Generator<any, void, any>;
|
|
@@ -88,7 +67,6 @@ declare let move_b: any[][];
|
|
|
88
67
|
declare let move_r: any[][];
|
|
89
68
|
declare let move_f: any[][];
|
|
90
69
|
declare let solved: any[][];
|
|
91
|
-
declare let moves: any[][];
|
|
92
|
-
declare let move_names: string[];
|
|
70
|
+
declare let moves: any[][][];
|
|
93
71
|
declare let tetrad: number[];
|
|
94
72
|
declare let tables: {};
|
package/package.json
CHANGED
|
@@ -1,17 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cubing",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.5",
|
|
4
4
|
"description": "A collection of JavaScript cubing libraries.",
|
|
5
5
|
"author": "The js.cubing.net team",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"types": "dist/types/index.d.ts",
|
|
8
7
|
"license": "GPL-3.0-or-later",
|
|
9
8
|
"repository": "github:cubing/cubing.js",
|
|
9
|
+
"exports": {
|
|
10
|
+
"./alg": {
|
|
11
|
+
"import": "./dist/esm/alg/index.js",
|
|
12
|
+
"types": "./dist/types/alg/index.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./bluetooth": {
|
|
15
|
+
"import": "./dist/esm/bluetooth/index.js",
|
|
16
|
+
"types": "./dist/types/bluetooth/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./kpuzzle": {
|
|
19
|
+
"import": "./dist/esm/kpuzzle/index.js",
|
|
20
|
+
"types": "./dist/types/kpuzzle/index.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./notation": {
|
|
23
|
+
"import": "./dist/esm/notation/index.js",
|
|
24
|
+
"types": "./dist/types/notation/index.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./protocol": {
|
|
27
|
+
"import": "./dist/esm/protocol/index.js",
|
|
28
|
+
"types": "./dist/types/protocol/index.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./puzzle-geometry": {
|
|
31
|
+
"import": "./dist/esm/puzzle-geometry/index.js",
|
|
32
|
+
"types": "./dist/esm/types/puzzle-geometry/index.d.ts"
|
|
33
|
+
},
|
|
34
|
+
"./puzzles": {
|
|
35
|
+
"import": "./dist/esm/puzzles/index.js",
|
|
36
|
+
"types": "./dist/esm/types-geometry/index.d.ts"
|
|
37
|
+
},
|
|
38
|
+
"./scramble": {
|
|
39
|
+
"import": "./dist/esm/scramble/index.js",
|
|
40
|
+
"types": "./dist/types/scramble/index.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./search": {
|
|
43
|
+
"import": "./dist/esm/search/index.js",
|
|
44
|
+
"types": "./dist/types/search/index.d.ts"
|
|
45
|
+
},
|
|
46
|
+
"./stream": {
|
|
47
|
+
"import": "./dist/esm/stream/index.js",
|
|
48
|
+
"types": "./dist/types/stream/index.d.ts"
|
|
49
|
+
},
|
|
50
|
+
"./twisty": {
|
|
51
|
+
"import": "./dist/esm/twisty/index.js",
|
|
52
|
+
"types": "./dist/types/twisty/index.d.ts"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
10
55
|
"dependencies": {
|
|
11
56
|
"@types/three": "^0.135.0",
|
|
12
57
|
"@types/web-bluetooth": "^0.0.12",
|
|
13
58
|
"comlink": "^4.3.1",
|
|
14
|
-
"three": "^0.
|
|
59
|
+
"three": "^0.137.2"
|
|
15
60
|
},
|
|
16
61
|
"devDependencies": {
|
|
17
62
|
"@babel/eslint-parser": "^7.15.8",
|
|
@@ -33,7 +78,7 @@
|
|
|
33
78
|
"peggy": "^1.1.0",
|
|
34
79
|
"prettier": "^2.2.1",
|
|
35
80
|
"puppeteer": "^13.1.2",
|
|
36
|
-
"typescript": "^4.
|
|
81
|
+
"typescript": "^4.6.0-dev.20220131",
|
|
37
82
|
"yargs": "^16.2.0"
|
|
38
83
|
},
|
|
39
84
|
"minimalDevDependencies": [
|
|
@@ -41,6 +86,16 @@
|
|
|
41
86
|
"esbuild",
|
|
42
87
|
"jszip"
|
|
43
88
|
],
|
|
89
|
+
"files": [
|
|
90
|
+
"/LICENSE.md",
|
|
91
|
+
"/README.md",
|
|
92
|
+
"/package.json",
|
|
93
|
+
"/package-lock.json",
|
|
94
|
+
"/dist/esm/**/*",
|
|
95
|
+
"/dist/types/**/*",
|
|
96
|
+
"/*/package.json",
|
|
97
|
+
"/*/index.d.ts"
|
|
98
|
+
],
|
|
44
99
|
"scripts": {
|
|
45
100
|
"build": "npm run clean && node ./script/build/main.js all",
|
|
46
101
|
"build-esm": "node ./script/build/main.js esm",
|
|
@@ -72,10 +127,6 @@
|
|
|
72
127
|
"lint": "npx eslint --ext=js,ts src script",
|
|
73
128
|
"prepack": "npm run clean && npm run build && npm run test-dist-esm-node-import"
|
|
74
129
|
},
|
|
75
|
-
"targets": {
|
|
76
|
-
"twizzle-net": {},
|
|
77
|
-
"experiments-cubing-net": {}
|
|
78
|
-
},
|
|
79
130
|
"keywords": [
|
|
80
131
|
"cubing",
|
|
81
132
|
"speedcubing",
|
|
@@ -87,6 +138,12 @@
|
|
|
87
138
|
"rubik",
|
|
88
139
|
"rubik's"
|
|
89
140
|
],
|
|
141
|
+
"prettier": {
|
|
142
|
+
"semi": true,
|
|
143
|
+
"trailingComma": "all",
|
|
144
|
+
"tabWidth": 2,
|
|
145
|
+
"quoteProps": "consistent"
|
|
146
|
+
},
|
|
90
147
|
"eslintConfig": {
|
|
91
148
|
"parser": "@babel/eslint-parser",
|
|
92
149
|
"parserOptions": {
|
|
@@ -159,58 +216,6 @@
|
|
|
159
216
|
"node": true
|
|
160
217
|
}
|
|
161
218
|
},
|
|
162
|
-
"prettier": {
|
|
163
|
-
"semi": true,
|
|
164
|
-
"trailingComma": "all",
|
|
165
|
-
"tabWidth": 2,
|
|
166
|
-
"quoteProps": "consistent"
|
|
167
|
-
},
|
|
168
|
-
"exports": {
|
|
169
|
-
"./alg": {
|
|
170
|
-
"import": "./dist/esm/alg/index.js",
|
|
171
|
-
"types": "./dist/types/alg/index.d.ts"
|
|
172
|
-
},
|
|
173
|
-
"./bluetooth": {
|
|
174
|
-
"import": "./dist/esm/bluetooth/index.js",
|
|
175
|
-
"types": "./dist/types/bluetooth/index.d.ts"
|
|
176
|
-
},
|
|
177
|
-
"./kpuzzle": {
|
|
178
|
-
"import": "./dist/esm/kpuzzle/index.js",
|
|
179
|
-
"types": "./dist/types/kpuzzle/index.d.ts"
|
|
180
|
-
},
|
|
181
|
-
"./notation": {
|
|
182
|
-
"import": "./dist/esm/notation/index.js",
|
|
183
|
-
"types": "./dist/types/notation/index.d.ts"
|
|
184
|
-
},
|
|
185
|
-
"./protocol": {
|
|
186
|
-
"import": "./dist/esm/protocol/index.js",
|
|
187
|
-
"types": "./dist/types/protocol/index.d.ts"
|
|
188
|
-
},
|
|
189
|
-
"./puzzle-geometry": {
|
|
190
|
-
"import": "./dist/esm/puzzle-geometry/index.js",
|
|
191
|
-
"types": "./dist/esm/types/puzzle-geometry/index.d.ts"
|
|
192
|
-
},
|
|
193
|
-
"./puzzles": {
|
|
194
|
-
"import": "./dist/esm/puzzles/index.js",
|
|
195
|
-
"types": "./dist/esm/types-geometry/index.d.ts"
|
|
196
|
-
},
|
|
197
|
-
"./scramble": {
|
|
198
|
-
"import": "./dist/esm/scramble/index.js",
|
|
199
|
-
"types": "./dist/types/scramble/index.d.ts"
|
|
200
|
-
},
|
|
201
|
-
"./search": {
|
|
202
|
-
"import": "./dist/esm/search/index.js",
|
|
203
|
-
"types": "./dist/types/search/index.d.ts"
|
|
204
|
-
},
|
|
205
|
-
"./stream": {
|
|
206
|
-
"import": "./dist/esm/stream/index.js",
|
|
207
|
-
"types": "./dist/types/stream/index.d.ts"
|
|
208
|
-
},
|
|
209
|
-
"./twisty": {
|
|
210
|
-
"import": "./dist/esm/twisty/index.js",
|
|
211
|
-
"types": "./dist/types/twisty/index.d.ts"
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
219
|
"babel": {
|
|
215
220
|
"presets": [
|
|
216
221
|
[
|
|
@@ -230,15 +235,5 @@
|
|
|
230
235
|
"<rootDir>/script"
|
|
231
236
|
],
|
|
232
237
|
"coverageDirectory": "<rootDir>/.temp/coverage"
|
|
233
|
-
}
|
|
234
|
-
"files": [
|
|
235
|
-
"/LICENSE.md",
|
|
236
|
-
"/README.md",
|
|
237
|
-
"/package.json",
|
|
238
|
-
"/package-lock.json",
|
|
239
|
-
"/dist/esm/**/*",
|
|
240
|
-
"/dist/types/**/*",
|
|
241
|
-
"/*/package.json",
|
|
242
|
-
"/*/index.d.ts"
|
|
243
|
-
]
|
|
238
|
+
}
|
|
244
239
|
}
|