@_tc/template-core 0.0.1-bate.2 → 0.0.1-bate.3

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.
@@ -0,0 +1,6 @@
1
+ declare const pageEntry: Record<string, string>;
2
+ declare const htmlPlugins: object[];
3
+ declare let businessViteConfig: object;
4
+ declare const entryNameToTplName: Record<string, string>;
5
+ declare const sharedAlias: Record<string, string>;
6
+ export { pageEntry, htmlPlugins, entryNameToTplName, sharedAlias, businessViteConfig };
@@ -51,4 +51,3 @@ const sharedAlias = {
51
51
  ]),
52
52
  };
53
53
  export { pageEntry, htmlPlugins, entryNameToTplName, sharedAlias, businessViteConfig };
54
- //# sourceMappingURL=base.js.map
@@ -0,0 +1,3 @@
1
+ declare const frameBasePath: string;
2
+ declare const outputBasePath: string;
3
+ export { frameBasePath, outputBasePath };
@@ -2,4 +2,3 @@ import path from 'path';
2
2
  const frameBasePath = path.resolve(__dirname, '../../../');
3
3
  const outputBasePath = process.cwd();
4
4
  export { frameBasePath, outputBasePath };
5
- //# sourceMappingURL=data.js.map
@@ -0,0 +1,11 @@
1
+ declare const devConfig: {
2
+ build: {
3
+ outDir: string;
4
+ rollupOptions: {
5
+ output: {
6
+ entryFileNames: string;
7
+ };
8
+ };
9
+ };
10
+ };
11
+ export { devConfig };
@@ -10,4 +10,3 @@ const devConfig = {
10
10
  },
11
11
  };
12
12
  export { devConfig };
13
- //# sourceMappingURL=dev.js.map
@@ -0,0 +1,17 @@
1
+ declare const prodConfig: {
2
+ build: {
3
+ outDir: string;
4
+ rollupOptions: {
5
+ output: {
6
+ entryFileNames: string;
7
+ chunkFileNames: string;
8
+ assetFileNames: (info?: {
9
+ name?: string;
10
+ type?: string;
11
+ }) => "css/[name]_[contenthash:8].[contenthash].bundle.css" | "assets/[name]_[contenthash][extname]";
12
+ manualChunks(id: string): "v" | "ep" | "mmt" | "nm" | "ject";
13
+ };
14
+ };
15
+ };
16
+ };
17
+ export { prodConfig };
@@ -29,4 +29,3 @@ const prodConfig = {
29
29
  },
30
30
  };
31
31
  export { prodConfig };
32
- //# sourceMappingURL=prod.js.map
@@ -0,0 +1,2 @@
1
+ import { type ViteDevServer } from 'vite';
2
+ export declare const buildDev: () => Promise<ViteDevServer>;
package/app/vite/dev.js CHANGED
@@ -20,4 +20,3 @@ export const buildDev = async () => {
20
20
  console.log(`Vite dev server listening on http://127.0.0.1:${PROT}`);
21
21
  return server;
22
22
  };
23
- //# sourceMappingURL=dev.js.map
@@ -0,0 +1,2 @@
1
+ export { buildDev } from './dev';
2
+ export { buildProd } from './prod';
package/app/vite/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  export { buildDev } from './dev';
2
2
  export { buildProd } from './prod';
3
- //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ export declare const buildProd: () => Promise<void>;
package/app/vite/prod.js CHANGED
@@ -73,4 +73,3 @@ export const buildProd = async () => {
73
73
  }
74
74
  console.log('\n build complete!');
75
75
  };
76
- //# sourceMappingURL=prod.js.map
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@_tc/template-core",
3
- "version": "0.0.1-bate.2",
3
+ "version": "0.0.1-bate.3",
4
4
  "description": "A TypeScript Koa framework template - Monorepo root",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
7
+ "exports": {
8
+ "./vite": {
9
+ "import": "./app/vite/index.js",
10
+ "types": "./app/vite/index.d.ts"
11
+ }
12
+ },
7
13
  "dependencies": {
8
14
  "ajv": "^8.18.0",
9
15
  "glob": "^10.3.10",