@akanjs/devkit 0.0.120 → 0.0.121

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.
@@ -49,6 +49,7 @@ class Builder {
49
49
  return {
50
50
  entryPoints: [
51
51
  ...bundle ? [`${this.#executor.cwdPath}/index.ts`] : [`${this.#executor.cwdPath}/**/*.ts`, `${this.#executor.cwdPath}/**/*.tsx`],
52
+ `${this.#executor.cwdPath}/**/*.template`,
52
53
  ...additionalEntryPoints
53
54
  ],
54
55
  bundle,
@@ -57,7 +58,8 @@ class Builder {
57
58
  platform: this.#pkgJson.esbuild?.platform,
58
59
  format,
59
60
  outdir: `${this.#distExecutor.cwdPath}/${format}`,
60
- logLevel: "error"
61
+ logLevel: "error",
62
+ loader: { ".template": "copy" }
61
63
  };
62
64
  }
63
65
  #getAssetBuildOptions() {
@@ -67,12 +69,11 @@ class Builder {
67
69
  entryPoints: [
68
70
  `${this.#executor.cwdPath}/**/*.css`,
69
71
  `${this.#executor.cwdPath}/**/*.md`,
70
- `${this.#executor.cwdPath}/**/*.template`,
71
72
  `${this.#executor.cwdPath}/**/*.js`
72
73
  ],
73
74
  outdir: this.#distExecutor.cwdPath,
74
75
  logLevel: "error",
75
- loader: { ".css": "copy", ".md": "copy", ".template": "copy", ".js": "copy" }
76
+ loader: { ".css": "copy", ".md": "copy", ".js": "copy" }
76
77
  };
77
78
  }
78
79
  async build(options = {}) {
@@ -17,6 +17,7 @@ class Builder {
17
17
  return {
18
18
  entryPoints: [
19
19
  ...bundle ? [`${this.#executor.cwdPath}/index.ts`] : [`${this.#executor.cwdPath}/**/*.ts`, `${this.#executor.cwdPath}/**/*.tsx`],
20
+ `${this.#executor.cwdPath}/**/*.template`,
20
21
  ...additionalEntryPoints
21
22
  ],
22
23
  bundle,
@@ -25,7 +26,8 @@ class Builder {
25
26
  platform: this.#pkgJson.esbuild?.platform,
26
27
  format,
27
28
  outdir: `${this.#distExecutor.cwdPath}/${format}`,
28
- logLevel: "error"
29
+ logLevel: "error",
30
+ loader: { ".template": "copy" }
29
31
  };
30
32
  }
31
33
  #getAssetBuildOptions() {
@@ -35,12 +37,11 @@ class Builder {
35
37
  entryPoints: [
36
38
  `${this.#executor.cwdPath}/**/*.css`,
37
39
  `${this.#executor.cwdPath}/**/*.md`,
38
- `${this.#executor.cwdPath}/**/*.template`,
39
40
  `${this.#executor.cwdPath}/**/*.js`
40
41
  ],
41
42
  outdir: this.#distExecutor.cwdPath,
42
43
  logLevel: "error",
43
- loader: { ".css": "copy", ".md": "copy", ".template": "copy", ".js": "copy" }
44
+ loader: { ".css": "copy", ".md": "copy", ".js": "copy" }
44
45
  };
45
46
  }
46
47
  async build(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "0.0.120",
3
+ "version": "0.0.121",
4
4
  "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -52,7 +52,7 @@ export declare class WorkspaceExecutor extends Executor {
52
52
  getBaseDevEnv(): {
53
53
  repoName: string;
54
54
  serveDomain: string;
55
- env: "debug" | "testing" | "local" | "develop" | "main";
55
+ env: "testing" | "local" | "debug" | "develop" | "main";
56
56
  name?: string | undefined;
57
57
  };
58
58
  scan(): Promise<WorkspaceScanResult>;