@absolutejs/absolute 0.1.10 → 0.1.12

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.
@@ -7,5 +7,5 @@ type BuildConfig = {
7
7
  reactPagesDir?: string;
8
8
  htmlDir?: string;
9
9
  };
10
- export declare const build: ({ buildDir, assetsDir, reactIndexDir, javascriptDir, typeScriptDir, reactPagesDir, htmlDir }?: BuildConfig) => Promise<Record<string, string>>;
10
+ export declare const build: ({ buildDir, assetsDir, reactIndexDir, javascriptDir, typeScriptDir, reactPagesDir, htmlDir }: BuildConfig) => Promise<Record<string, string>>;
11
11
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/absolute",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "A fullstack meta-framework for building web applications with TypeScript",
5
5
  "repository": {
6
6
  "type": "git",
package/src/core/build.ts CHANGED
@@ -27,7 +27,7 @@ export const build = async ({
27
27
  typeScriptDir,
28
28
  reactPagesDir,
29
29
  htmlDir
30
- }: BuildConfig = {}) => {
30
+ }: BuildConfig) => {
31
31
  const start = performance.now();
32
32
  console.log("Building start");
33
33
 
@@ -45,6 +45,14 @@ export const build = async ({
45
45
  reactPagesDir && join(projectRoot, reactPagesDir);
46
46
  const htmlDirAbsolute = htmlDir && join(projectRoot, htmlDir);
47
47
 
48
+ console.log("buildDirAbsolute:", buildDirAbsolute);
49
+ console.log("assetsDirAbsolute:", assetsDirAbsolute);
50
+ console.log("reactIndexDirAbsolute:", reactIndexDirAbsolute);
51
+ console.log("javascriptDirAbsolute:", javascriptDirAbsolute);
52
+ console.log("typeScriptDirAbsolute:", typeScriptDirAbsolute);
53
+ console.log("reactPagesDirAbsolute:", reactPagesDirAbsolute);
54
+ console.log("htmlDirAbsolute:", htmlDirAbsolute);
55
+
48
56
  console.log("Cleaning build directory");
49
57
  await rm(buildDirAbsolute, { force: true, recursive: true });
50
58
  await mkdir(buildDirAbsolute);
@@ -1,3 +1,3 @@
1
1
  import { build } from "../core/build";
2
2
 
3
- const manifest = await build();
3
+ const manifest = await build({});