<commit_before>import Webiny from 'webiny';

import 'Assets/styles.scss';
import 'Assets/images/public/bg-login.png';
import 'Assets/images/public/preloader_2.png';
import 'Assets/images/public/favicon.ico';
import 'Assets/images/public/logo_orange.png';
import UserAccount from './Modules/UserAccount';
import Layout from './Modules/Layout';
import Auth from './Auth';

class Skeleton extends Webiny.App {
    constructor() {
        super('Webiny.Skeleton');
        this.modules = [
            new Layout(this),
            new UserAccount(this)
        ];
    }

    getAuth() {
        return new Auth();
    }
}

Webiny.registerApp(new Skeleton());<commit_msg>Skeleton app now automatically assigns its Auth instance to Webiny.<commit_after>import Webiny from 'webiny';

import 'Assets/styles.scss';
import 'Assets/images/public/bg-login.png';
import 'Assets/images/public/preloader_2.png';
import 'Assets/images/public/favicon.ico';
import 'Assets/images/public/logo_orange.png';
import UserAccount from './Modules/UserAccount';
import Layout from './Modules/Layout';
import Auth from './Auth';

class Skeleton extends Webiny.App {
    constructor() {
        super('Webiny.Skeleton');
        this.modules = [
            new Layout(this),
            new UserAccount(this)
        ];
    }

    run() {
        return super.run().then(() => {
            Webiny.Auth = new Auth();
        });
    }
}

Webiny.registerApp(new Skeleton());
{'fraction_non_alphanumeric': 0.13959917069799585, 'fraction_numerical': 0.00138217000691085, 'mean_word_length': 3.067415730337079, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2050549', 'n_tokens_mistral': 447, 'n_tokens_neox': 450, 'n_words': 96}