Merge javascripts folder into src folder

This commit is contained in:
Andrei Andreev 2023-02-18 20:51:23 +01:00
parent 5ec5dc7b8c
commit 19b6d1e0d6
258 changed files with 77 additions and 81 deletions

View File

@ -1,4 +1,4 @@
public/**/*.js
src/components/SliderComponent.vue
javascripts/supported-browsers.js
src/supported-browsers.js
src/steam/bindings/PlayFabClientApi.js

View File

@ -4,4 +4,4 @@ const browserslist = require("browserslist-useragent-regexp");
const userAgentRegExp = browserslist.getUserAgentRegExp({ allowHigherVersions: true });
const checkFunction = `export const supportedBrowsers = ${userAgentRegExp};`;
fs.writeFileSync(path.resolve(__dirname, "../javascripts/supported-browsers.js"), checkFunction);
fs.writeFileSync(path.resolve(__dirname, "../src/supported-browsers.js"), checkFunction);

View File

@ -1,5 +1,5 @@
<script>
import wordShift from "../../javascripts/core/wordShift";
import wordShift from "@/core/word-shift";
import { isFunction, isString } from "@/utility";

View File

@ -1,5 +1,5 @@
<script>
import { AutomatorBackend } from "../../../javascripts/core/globals";
import { AutomatorBackend } from "@/core/globals";
import ModalWrapperChoice from "@/components/modals/ModalWrapperChoice";
@ -233,4 +233,4 @@ export default {
.c-import-data-name {
padding: 0 1rem;
}
</style>
</style>

View File

@ -1,7 +1,7 @@
<script>
import { STEAM } from "@/env";
import { SteamRuntime } from "@/steam";
import Payments from "../../../javascripts/core/payments";
import Payments from "@/core/payments";
export default {
name: "StdStoreRow",

View File

@ -1,5 +1,5 @@
<script>
import { CatchupResources } from "../../../../javascripts/core/storage/progress-checker";
import { CatchupResources } from "@/core/storage/progress-checker";
import CatchupEntry from "@/components/modals/catchup/CatchupEntry";

View File

@ -1,5 +1,5 @@
<script>
import { GameProgress, ProgressChecker } from "../../../../javascripts/core/storage/progress-checker";
import { GameProgress, ProgressChecker } from "@/core/storage/progress-checker";
import CatchupGroup from "@/components/modals/catchup/CatchupGroup";
import PrimaryButton from "@/components/PrimaryButton";

View File

@ -1,5 +1,5 @@
<script>
import FullScreenAnimationHandler from "../../../../javascripts/core/full-screen-animation-handler";
import FullScreenAnimationHandler from "@/core/full-screen-animation-handler";
import ModalWrapperChoice from "@/components/modals/ModalWrapperChoice";

View File

@ -1,5 +1,5 @@
<script>
import FullScreenAnimationHandler from "../../../../javascripts/core/full-screen-animation-handler";
import FullScreenAnimationHandler from "@/core/full-screen-animation-handler";
import ModalWrapperChoice from "@/components/modals/ModalWrapperChoice";

View File

@ -1,5 +1,5 @@
<script>
import { DC } from "../../../../javascripts/core/constants";
import { DC } from "@/core/constants";
export default {
name: "AntimatterDimensionProgressBar",

View File

@ -1,5 +1,5 @@
<script>
import { Laitela } from "../../../../javascripts/core/globals";
import { Laitela } from "@/core/globals";
import SliderComponent from "@/components/SliderComponent";

View File

@ -1,7 +1,7 @@
<script>
import svgPanZoom from "svg-pan-zoom";
import { CELESTIAL_NAV_DRAW_ORDER } from "../../../../javascripts/core/secret-formula/celestials/navigation";
import { CELESTIAL_NAV_DRAW_ORDER } from "@/core/secret-formula/celestials/navigation";
import NodeBackground from "./NodeBackground";
import NodeOverlay from "./NodeOverlay";

View File

@ -1,5 +1,5 @@
<script>
import wordShift from "../../../../javascripts/core/wordShift";
import wordShift from "@/core/word-shift";
import PelleUpgrade from "./PelleUpgrade";

View File

@ -1,5 +1,5 @@
<script>
import wordShift from "../../../../javascripts/core/wordShift";
import wordShift from "@/core/word-shift";
import PelleRiftBar from "./PelleRiftBar";
import PelleStrike from "./PelleStrike";

View File

@ -1,5 +1,5 @@
<script>
import wordShift from "../../../../javascripts/core/wordShift";
import wordShift from "@/core/word-shift";
import CustomizeableTooltip from "@/components/CustomizeableTooltip";

View File

@ -1,5 +1,5 @@
<script>
import { DC } from "../../../../javascripts/core/constants";
import { DC } from "@/core/constants";
import CelestialQuoteHistory from "@/components/CelestialQuoteHistory";
import CustomizeableTooltip from "@/components/CustomizeableTooltip";

View File

@ -1,5 +1,5 @@
<script>
import wordShift from "../../../../javascripts/core/wordShift";
import wordShift from "@/core/word-shift";
import DescriptionDisplay from "@/components/DescriptionDisplay";
import EffectDisplay from "@/components/EffectDisplay";

View File

@ -1,5 +1,5 @@
<script>
import { DC } from "../../../../javascripts/core/constants";
import { DC } from "@/core/constants";
import TypeSacrifice from "./TypeSacrifice";

View File

@ -1,5 +1,5 @@
<script>
import wordShift from "../../../../javascripts/core/wordShift";
import wordShift from "@/core/word-shift";
import EffectDisplay from "@/components/EffectDisplay";
import HintText from "@/components/HintText";

View File

@ -1,5 +1,5 @@
<script>
import wordShift from "../../../../javascripts/core/wordShift";
import wordShift from "@/core/word-shift";
import ReplicantiUpgradeButton, { ReplicantiUpgradeButtonSetup } from "./ReplicantiUpgradeButton";
import PrimaryButton from "@/components/PrimaryButton";

View File

@ -3,7 +3,7 @@ import "vue-loading-overlay/dist/vue-loading.css";
import Loading from "vue-loading-overlay";
import Payments from "../../../../javascripts/core/payments";
import Payments from "@/core/payments";
import { STEAM } from "@/env";
import { SteamRuntime } from "@/steam";

View File

@ -1,5 +1,5 @@
<script>
import { DC } from "../../../../javascripts/core/constants";
import { DC } from "@/core/constants";
import { BreakdownEntryInfo } from "./breakdown-entry-info";
import { getResourceEntryInfoGroups } from "./breakdown-entry-info-group";

View File

@ -1,6 +1,6 @@
import Vue from "vue";
import { DC } from "../../../../javascripts/core/constants";
import { DC } from "@/core/constants";
export class BreakdownEntryInfo {
constructor(key) {

View File

@ -1,4 +1,4 @@
import { DC } from "../../../../javascripts/core/constants";
import { DC } from "@/core/constants";
export const MatterScale = {
proton: new Decimal("2.82e-45"),

View File

@ -1,5 +1,5 @@
import { SteamRuntime } from "@/steam";
import { GameMechanicState } from "../game-mechanics/index";
import { GameMechanicState } from "../game-mechanics";
class AchievementState extends GameMechanicState {
constructor(config) {

View File

@ -1,4 +1,4 @@
import { GameMechanicState } from "../game-mechanics/index";
import { GameMechanicState } from "../game-mechanics";
class SecretAchievementState extends GameMechanicState {
constructor(config) {

View File

@ -1,4 +1,4 @@
import { AutomatorPanels } from "../../../src/components/tabs/automator/AutomatorDocs";
import { AutomatorPanels } from "@/components/tabs/automator/AutomatorDocs";
/** @abstract */
class AutomatorCommandInterface {

View File

@ -1,4 +1,4 @@
import { RebuyableMechanicState, SetPurchasableMechanicState } from "./game-mechanics/index";
import { RebuyableMechanicState, SetPurchasableMechanicState } from "./game-mechanics";
import { SpeedrunMilestones } from "./speedrun";
export class BreakInfinityUpgradeState extends SetPurchasableMechanicState {

View File

@ -1,4 +1,4 @@
import { BitUpgradeState, GameMechanicState } from "../game-mechanics/index";
import { BitUpgradeState, GameMechanicState } from "../game-mechanics";
import { GameDatabase } from "../secret-formula/game-database";
import { SpeedrunMilestones } from "../speedrun";

View File

@ -1,4 +1,4 @@
import { BitUpgradeState } from "../game-mechanics/index";
import { BitUpgradeState } from "../game-mechanics";
import { GameDatabase } from "../secret-formula/game-database";
import { DC } from "../constants";

View File

@ -1,4 +1,4 @@
import { BitUpgradeState } from "../game-mechanics/index";
import { BitUpgradeState } from "../game-mechanics";
import { GameDatabase } from "../secret-formula/game-database";
import { Quotes } from "./quotes";

View File

@ -1,4 +1,4 @@
import { GameMechanicState } from "../../game-mechanics/index";
import { GameMechanicState } from "../../game-mechanics";
import { deepmergeAll } from "@/utility/deepmerge";

View File

@ -5,7 +5,7 @@ import { SetPurchasableMechanicState } from "../../utils";
import { Quotes } from "../quotes";
import wordShift from "../../wordShift";
import wordShift from "../../word-shift";
import zalgo from "./zalgo";

View File

@ -1,5 +1,5 @@
import { BitUpgradeState } from "../game-mechanics/index";
import wordShift from "../wordShift";
import { BitUpgradeState } from "../game-mechanics";
import wordShift from "../word-shift";
export const Quote = {
addToQueue(quote) {

View File

@ -1,4 +1,4 @@
import { GameMechanicState } from "../../game-mechanics/index";
import { GameMechanicState } from "../../game-mechanics";
/**
* @abstract

View File

@ -1,4 +1,4 @@
import { BitUpgradeState, GameMechanicState } from "../../game-mechanics/index";
import { BitUpgradeState, GameMechanicState } from "../../game-mechanics";
import { Quotes } from "../quotes";
class RaUnlockState extends BitUpgradeState {

View File

@ -1,4 +1,4 @@
import { BitUpgradeState, RebuyableMechanicState } from "../game-mechanics/index";
import { BitUpgradeState, RebuyableMechanicState } from "../game-mechanics";
import { GameDatabase } from "../secret-formula/game-database";
import { Quotes } from "./quotes";

View File

@ -1,4 +1,4 @@
import { RebuyableMechanicState, SetPurchasableMechanicState } from "./game-mechanics/index";
import { RebuyableMechanicState, SetPurchasableMechanicState } from "./game-mechanics";
import { DC } from "./constants";
import FullScreenAnimationHandler from "./full-screen-animation-handler";
import { SpeedrunMilestones } from "./speedrun";

Some files were not shown because too many files have changed in this diff Show More