@xyd-js/documan 0.1.0-xyd.6 → 0.1.0-xyd.73
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/LICENSE +21 -0
- package/dist/index.d.ts +6 -3
- package/dist/index.js +1064 -169
- package/dist/index.js.map +1 -1
- package/package.json +22 -39
- package/dist/build.d.ts +0 -2
- package/dist/build.js +0 -106
- package/dist/build.js.map +0 -1
- package/dist/dev.d.ts +0 -2
- package/dist/dev.js +0 -96
- package/dist/dev.js.map +0 -1
- package/dist/serve.d.ts +0 -2
- package/dist/serve.js +0 -110
- package/dist/serve.js.map +0 -1
- package/host/app/root.tsx +0 -23
- package/host/app/routes.ts +0 -5
- package/host/package.json +0 -43
- package/host/postcss.config.cjs +0 -5
- package/host/react-router.config.ts +0 -8
- package/host/tsconfig.json +0 -22
- package/host/vite.config.ts +0 -9
- package/src/commands/build.ts +0 -4
- package/src/commands/dev.ts +0 -5
- package/src/commands/serve.ts +0 -5
- package/src/index.ts +0 -7
- package/src/run/build.ts +0 -98
- package/src/run/dev.ts +0 -76
- package/src/run/index.ts +0 -6
- package/src/run/serve.ts +0 -106
- package/tsconfig.json +0 -22
- package/tsup.config.ts +0 -81
package/tsup.config.ts
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import {defineConfig} from 'tsup';
|
|
2
|
-
import pkg from './package.json';
|
|
3
|
-
|
|
4
|
-
const deps = [
|
|
5
|
-
...Object.keys(pkg.dependencies || {}),
|
|
6
|
-
...Object.keys(pkg.devDependencies || {}),
|
|
7
|
-
].filter((dep) => [
|
|
8
|
-
"@xyd-js/core",
|
|
9
|
-
"@xyd-js/content",
|
|
10
|
-
"@xyd-js/framework",
|
|
11
|
-
"@xyd-js/ui",
|
|
12
|
-
"@xyd-js/openapi",
|
|
13
|
-
"@xyd-js/uniform",
|
|
14
|
-
"@xyd-js/theme-gusto",
|
|
15
|
-
// "@xyd-js/plugin-zero", // TODO: because plugin-zero has react-router dependency
|
|
16
|
-
].indexOf(dep) === -1)
|
|
17
|
-
|
|
18
|
-
export default defineConfig({
|
|
19
|
-
entry: {
|
|
20
|
-
index: 'src/index.ts',
|
|
21
|
-
dev: 'src/commands/dev.ts',
|
|
22
|
-
build: 'src/commands/build.ts',
|
|
23
|
-
serve: 'src/commands/serve.ts',
|
|
24
|
-
},
|
|
25
|
-
dts: {
|
|
26
|
-
entry: {
|
|
27
|
-
index: 'src/index.ts',
|
|
28
|
-
dev: 'src/commands/dev.ts',
|
|
29
|
-
build: 'src/commands/build.ts',
|
|
30
|
-
serve: 'src/commands/serve.ts',
|
|
31
|
-
},
|
|
32
|
-
resolve: true, // Resolve external types
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
format: ["esm"],
|
|
36
|
-
platform: 'node',
|
|
37
|
-
shims: false,
|
|
38
|
-
splitting: false,
|
|
39
|
-
sourcemap: true,
|
|
40
|
-
clean: true,
|
|
41
|
-
bundle: true, // Enable bundling
|
|
42
|
-
external: [
|
|
43
|
-
...deps,
|
|
44
|
-
|
|
45
|
-
// needed by @xyd-js/plugin-zero
|
|
46
|
-
"react-router",
|
|
47
|
-
"@react-router/dev",
|
|
48
|
-
"@react-router/express",
|
|
49
|
-
|
|
50
|
-
"@xyd-js/react-router-dev",
|
|
51
|
-
|
|
52
|
-
"@readme/json-schema-ref-parser",
|
|
53
|
-
"@apidevtools/json-schema-ref-parser",
|
|
54
|
-
//
|
|
55
|
-
|
|
56
|
-
//
|
|
57
|
-
// Externalize Node.js built-in modules
|
|
58
|
-
/^node:.*/,
|
|
59
|
-
'fs',
|
|
60
|
-
'path',
|
|
61
|
-
'url',
|
|
62
|
-
'os',
|
|
63
|
-
'http',
|
|
64
|
-
'https',
|
|
65
|
-
'stream',
|
|
66
|
-
'zlib',
|
|
67
|
-
'util',
|
|
68
|
-
'crypto',
|
|
69
|
-
'tty',
|
|
70
|
-
|
|
71
|
-
// "lightningcss",
|
|
72
|
-
// "vite",
|
|
73
|
-
// "vite-tsconfig-paths",
|
|
74
|
-
// "react-router",
|
|
75
|
-
// "@react-router/serve",
|
|
76
|
-
// "@react-router/dev",
|
|
77
|
-
// "@xydjs/react-router-dev",
|
|
78
|
-
// "@mdx-js/rollup",
|
|
79
|
-
// "@graphql-markdown"
|
|
80
|
-
], // Ensure no dependencies are marked as external
|
|
81
|
-
})
|