Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
vanvianen committed Sep 17, 2024
1 parent 45dc8fc commit a7c69e6
Show file tree
Hide file tree
Showing 23 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/tests/DirectoryCreator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// Import
// ============================================================================

import DirectoryCreator from '../ts/directory/DirectoryCreator';
import DirectoryCreator from '../ts/class/directory/DirectoryCreator';
import fs from 'fs';
import path from 'path';

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import { minify } from "terser";
import { promises as fs } from "fs";
import terserConfig from "../config/terser.config.js"
import terserConfig from "../../config/terser.config.js"


// ============================================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import ts from 'typescript';
import path from 'path';
import tsConfig from "../config/ts.config.js"
import tsConfig from "../../config/ts.config.js"
import fs from 'fs';


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import fs from "fs/promises";
import path from "path";
import packageConfig from "../config/package.config.js"
import packageConfig from "../../config/package.config.js"


// ============================================================================
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { promises as fs } from "fs";
import path from "path";
import { NodePackageImporter } from "sass"; // Update this path based on the actual source of NodePackageImporter

import postcssConfigExpanded from "../config/postcss.config.expanded.js";
import postcssConfigCompressed from "../config/postcss.config.compressed.js";
import postcssConfigExpanded from "../../config/postcss.config.expanded.js";
import postcssConfigCompressed from "../../config/postcss.config.compressed.js";


// ============================================================================
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 19 additions & 19 deletions src/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,36 @@
// ============================================================================

// Import | Utility Classes
import DirectoryScanner from './directory/DirectoryScanner';
import DirectoryCleaner from './directory/DirectoryCleaner';
import DirectoryCopier from './directory/DirectoryCopier';
import DirectoryCreator from './directory/DirectoryCreator';
import FileCopier from './file/FileCopier';
import FileRenamer from './file/FileRenamer';
import FilenameExtractor from './file/FilenameExtractor';
import DirectoryScanner from './class/directory/DirectoryScanner';
import DirectoryCleaner from './class/directory/DirectoryCleaner';
import DirectoryCopier from './class/directory/DirectoryCopier';
import DirectoryCreator from './class/directory/DirectoryCreator';
import FileCopier from './class/file/FileCopier';
import FileRenamer from './class/file/FileRenamer';
import FilenameExtractor from './class/file/FilenameExtractor';

// Import | Internal Classes
import FontGenerator from './class/FontGenerator.js';
import PackageCreator from './package/PackageCreator.js';
import StyleProcessor from "./sass/StyleProcessor.js";
import VersionManager from './version/VersionManager.js';
import VersionWriter from './version/VersionWriter.js';
import PackageCreator from './class/package/PackageCreator.js';
import StyleProcessor from "./class/sass/StyleProcessor.js";
import VersionManager from './class/version/VersionManager.js';
import VersionWriter from './class/version/VersionWriter.js';


import TypeScriptCompiler from './javascript/TypeScriptCompiler.js';
import JavaScriptMinifier from './javascript/JavaScriptMinifier.js';
import TypeScriptCompiler from './class/javascript/TypeScriptCompiler.js';
import JavaScriptMinifier from './class/javascript/JavaScriptMinifier.js';
import NpmCommandRunner from './class/NpmCommandRunner.js';
import StylizedLogger from './class/StylizedLogger.js';
import TemplateWriter from './class/TemplateWriter.js';

import SvgReader from './svg/SvgReader.js';
import SvgToPngConverter from './svg/SvgToPngConverter.js';
import SvgSpriteGenerator from "./svg/SvgSpriteGenerator.js";
import SvgPackager from "./svg/SvgPackager.js";
import SvgReader from './class/svg/SvgReader.js';
import SvgToPngConverter from './class/svg/SvgToPngConverter.js';
import SvgSpriteGenerator from "./class/svg/SvgSpriteGenerator.js";
import SvgPackager from "./class/svg/SvgPackager.js";

import TestRunner from './class/TestRunner.js';
import DocumentationGenerator from './javascript/DocumentationGenerator.js';
import CodeLinter from './javascript/CodeLinter.js';
import DocumentationGenerator from './class/javascript/DocumentationGenerator.js';
import CodeLinter from './class/javascript/CodeLinter.js';
import JSONLoader from './class/JSONLoader.js';


Expand Down
2 changes: 1 addition & 1 deletion src/ts/utils/clean_directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Import
// ============================================================================

import DirectoryCleaner from '../directory/DirectoryCleaner.js';
import DirectoryCleaner from '../class/directory/DirectoryCleaner.js';
import StylizedLogger from '../class/StylizedLogger.js';


Expand Down

0 comments on commit a7c69e6

Please sign in to comment.