@twick/render-server 0.15.20 → 0.15.22

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.
package/tsconfig.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "Node16",
5
- "moduleResolution": "Node16",
6
- "allowSyntheticDefaultImports": true,
7
- "esModuleInterop": true,
8
- "allowJs": true,
9
- "strict": true,
10
- "skipLibCheck": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "outDir": "./dist",
13
- "rootDir": "./src",
14
- "declaration": true,
15
- "declarationMap": true,
16
- "sourceMap": true,
17
- "resolveJsonModule": true,
18
- "noEmit": false
19
- },
20
- "include": ["src/**/*"],
21
- "exclude": ["node_modules", "dist", "src/**/*.test.ts", "src/test-render.ts"]
22
- }
package/tsup.config.ts DELETED
@@ -1,49 +0,0 @@
1
- import { defineConfig } from 'tsup';
2
-
3
- export default defineConfig([
4
- // Build index.ts in both CJS and ESM for library exports
5
- {
6
- entry: ['src/index.ts'],
7
- format: ['cjs', 'esm'],
8
- dts: true,
9
- splitting: false,
10
- sourcemap: true,
11
- clean: true,
12
- outDir: 'dist',
13
- external: [
14
- '@twick/2d',
15
- '@twick/core',
16
- '@twick/ffmpeg',
17
- '@twick/renderer',
18
- '@twick/ui',
19
- '@twick/visualizer',
20
- 'cors',
21
- 'express',
22
- 'express-rate-limit',
23
- 'node-fetch',
24
- 'path'
25
- ],
26
- },
27
- // Build cli.ts and server.ts only as ESM (they use import.meta)
28
- {
29
- entry: ['src/cli.ts', 'src/server.ts'],
30
- format: ['esm'],
31
- dts: false, // No need for declarations for CLI/server files
32
- splitting: false,
33
- sourcemap: true,
34
- outDir: 'dist',
35
- external: [
36
- '@twick/2d',
37
- '@twick/core',
38
- '@twick/ffmpeg',
39
- '@twick/renderer',
40
- '@twick/ui',
41
- '@twick/visualizer',
42
- 'cors',
43
- 'express',
44
- 'express-rate-limit',
45
- 'node-fetch',
46
- 'path'
47
- ],
48
- },
49
- ]);