@xyd-js/plugin-docs 0.1.0-xyd.4 → 0.1.0-xyd.5
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/dist/index.d.ts +42 -0
- package/dist/index.js +4307 -0
- package/dist/index.js.map +1 -0
- package/package.json +17 -6
- package/CHANGELOG.md +0 -47
- package/TODO.md +0 -1
- package/tsconfig.json +0 -51
- package/tsup.config.ts +0 -74
package/package.json
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyd-js/plugin-docs",
|
|
3
|
-
"version": "0.1.0-xyd.
|
|
3
|
+
"version": "0.1.0-xyd.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
"./package.json": "./package.json",
|
|
10
|
+
".": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"src",
|
|
15
|
+
"package.json"
|
|
16
|
+
],
|
|
6
17
|
"dependencies": {
|
|
7
18
|
"codehike": "^1.0.3",
|
|
8
19
|
"@code-hike/lighter": "^1.0.3",
|
|
20
|
+
"@xyd-js/openapi": "0.1.0-xyd.13",
|
|
9
21
|
"@xyd-js/gql": "0.1.0-xyd.15",
|
|
10
|
-
"@xyd-js/uniform": "0.1.0-xyd.17",
|
|
11
22
|
"@xyd-js/sources": "0.1.1-xyd.5",
|
|
12
|
-
"@xyd-js/
|
|
23
|
+
"@xyd-js/uniform": "0.1.0-xyd.17"
|
|
13
24
|
},
|
|
14
25
|
"peerDependencies": {
|
|
15
26
|
"@react-router/dev": "^7.5.0",
|
|
@@ -19,11 +30,11 @@
|
|
|
19
30
|
"react-dom": "^19.0.0",
|
|
20
31
|
"react-router": "^7.5.0",
|
|
21
32
|
"@xyd-js/framework": "0.1.0-xyd.34",
|
|
33
|
+
"@xyd-js/components": "0.1.0-xyd.13",
|
|
22
34
|
"@xyd-js/composer": "0.1.0-xyd.2",
|
|
23
|
-
"@xyd-js/content": "0.1.0-xyd.16",
|
|
24
|
-
"@xyd-js/core": "0.1.0-xyd.15",
|
|
25
35
|
"@xyd-js/themes": "0.1.1-xyd.5",
|
|
26
|
-
"@xyd-js/
|
|
36
|
+
"@xyd-js/content": "0.1.0-xyd.16",
|
|
37
|
+
"@xyd-js/core": "0.1.0-xyd.15"
|
|
27
38
|
},
|
|
28
39
|
"devDependencies": {
|
|
29
40
|
"@types/react-dom": "^19.0.0",
|
package/CHANGELOG.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# @xyd-js/plugin-docs
|
|
2
|
-
|
|
3
|
-
## 0.1.0-xyd.4
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- update
|
|
8
|
-
|
|
9
|
-
## 0.1.0-xyd.3
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- documan + plugin-docs
|
|
14
|
-
|
|
15
|
-
## 0.1.0-xyd.2
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- test
|
|
20
|
-
- Updated dependencies
|
|
21
|
-
- @xyd-js/components@0.1.0-xyd.13
|
|
22
|
-
- @xyd-js/composer@0.1.0-xyd.2
|
|
23
|
-
- @xyd-js/content@0.1.0-xyd.16
|
|
24
|
-
- @xyd-js/core@0.1.0-xyd.15
|
|
25
|
-
- @xyd-js/framework@0.1.0-xyd.34
|
|
26
|
-
- @xyd-js/gql@0.1.0-xyd.15
|
|
27
|
-
- @xyd-js/openapi@0.1.0-xyd.13
|
|
28
|
-
- @xyd-js/sources@0.1.1-xyd.5
|
|
29
|
-
- @xyd-js/themes@0.1.1-xyd.5
|
|
30
|
-
- @xyd-js/uniform@0.1.0-xyd.17
|
|
31
|
-
|
|
32
|
-
## 0.1.0-xyd.1
|
|
33
|
-
|
|
34
|
-
### Patch Changes
|
|
35
|
-
|
|
36
|
-
- update packages
|
|
37
|
-
- Updated dependencies
|
|
38
|
-
- @xyd-js/components@0.1.0-xyd.12
|
|
39
|
-
- @xyd-js/composer@0.1.0-xyd.1
|
|
40
|
-
- @xyd-js/content@0.1.0-xyd.15
|
|
41
|
-
- @xyd-js/core@0.1.0-xyd.14
|
|
42
|
-
- @xyd-js/framework@0.1.0-xyd.33
|
|
43
|
-
- @xyd-js/gql@0.1.0-xyd.14
|
|
44
|
-
- @xyd-js/openapi@0.1.0-xyd.12
|
|
45
|
-
- @xyd-js/sources@0.1.1-xyd.4
|
|
46
|
-
- @xyd-js/themes@0.1.1-xyd.4
|
|
47
|
-
- @xyd-js/uniform@0.1.0-xyd.16
|
package/TODO.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1. better API
|
package/tsconfig.json
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"paths": {
|
|
4
|
-
"@xyd-js/atlas": [
|
|
5
|
-
"../xyd-atlas"
|
|
6
|
-
],
|
|
7
|
-
"@xyd-js/core": [
|
|
8
|
-
"../xyd-core/index.ts"
|
|
9
|
-
],
|
|
10
|
-
"@xyd-js/themes": [
|
|
11
|
-
"../xyd-themes/src/index.ts"
|
|
12
|
-
],
|
|
13
|
-
"@xyd-js/components/content": [
|
|
14
|
-
"../xyd-components/content.ts"
|
|
15
|
-
],
|
|
16
|
-
"@xyd-js/framework/react": [
|
|
17
|
-
"../xyd-framework/packages/react/index.ts"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"types": [
|
|
21
|
-
"unplugin-icons/types/react"
|
|
22
|
-
],
|
|
23
|
-
"module": "esnext",
|
|
24
|
-
"esModuleInterop": true,
|
|
25
|
-
"moduleResolution": "bundler",
|
|
26
|
-
"target": "esnext",
|
|
27
|
-
"baseUrl": ".",
|
|
28
|
-
"lib": [
|
|
29
|
-
"dom",
|
|
30
|
-
"dom.iterable",
|
|
31
|
-
"esnext"
|
|
32
|
-
],
|
|
33
|
-
"allowJs": true,
|
|
34
|
-
"skipLibCheck": true,
|
|
35
|
-
"strict": false,
|
|
36
|
-
"noEmit": true,
|
|
37
|
-
"incremental": false,
|
|
38
|
-
"resolveJsonModule": true,
|
|
39
|
-
"isolatedModules": true,
|
|
40
|
-
"jsx": "preserve",
|
|
41
|
-
"plugins": [],
|
|
42
|
-
"strictNullChecks": true
|
|
43
|
-
},
|
|
44
|
-
"include": [
|
|
45
|
-
"src/**/*.ts",
|
|
46
|
-
"src/**/*.tsx"
|
|
47
|
-
],
|
|
48
|
-
"exclude": [
|
|
49
|
-
"node_modules"
|
|
50
|
-
]
|
|
51
|
-
}
|
package/tsup.config.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import {defineConfig, Options} from 'tsup';
|
|
2
|
-
|
|
3
|
-
import pkg from './package.json';
|
|
4
|
-
|
|
5
|
-
const deps = [
|
|
6
|
-
...Object.keys(pkg.dependencies || {}),
|
|
7
|
-
...Object.keys(pkg.devDependencies || {}),
|
|
8
|
-
].filter((dep) => [
|
|
9
|
-
|
|
10
|
-
].indexOf(dep) === -1)
|
|
11
|
-
|
|
12
|
-
const config: Options = {
|
|
13
|
-
entry: {
|
|
14
|
-
index: 'src/index.ts',
|
|
15
|
-
},
|
|
16
|
-
dts: {
|
|
17
|
-
entry: {
|
|
18
|
-
index: 'src/index.ts',
|
|
19
|
-
},
|
|
20
|
-
resolve: true, // Resolve external types
|
|
21
|
-
},
|
|
22
|
-
format: ['esm'],
|
|
23
|
-
platform: 'node',
|
|
24
|
-
shims: false,
|
|
25
|
-
splitting: false,
|
|
26
|
-
sourcemap: true,
|
|
27
|
-
clean: true,
|
|
28
|
-
external: [
|
|
29
|
-
...deps,
|
|
30
|
-
|
|
31
|
-
// "@graphql-markdown/core": "^1.12.0",
|
|
32
|
-
// "@graphql-markdown/graphql": "^1.1.4",
|
|
33
|
-
// "@graphql-markdown/types": "^1.4.0",
|
|
34
|
-
// "graphql-config": "^5.1.2",
|
|
35
|
-
// "gray-matter": "^4.0.3",
|
|
36
|
-
// "json-to-graphql-query": "^2.3.0"
|
|
37
|
-
|
|
38
|
-
// Externalize gql modules
|
|
39
|
-
// '@graphql-markdown/core',
|
|
40
|
-
// '@graphql-markdown/graphql',
|
|
41
|
-
// '@graphql-markdown/types',
|
|
42
|
-
// 'graphql-config',
|
|
43
|
-
// 'gray-matter',
|
|
44
|
-
// 'json-to-graphql-query',
|
|
45
|
-
|
|
46
|
-
// Externalize Node.js built-in modules
|
|
47
|
-
/^node:.*/,
|
|
48
|
-
'fs',
|
|
49
|
-
'path',
|
|
50
|
-
'url',
|
|
51
|
-
'os',
|
|
52
|
-
'http',
|
|
53
|
-
'https',
|
|
54
|
-
'stream',
|
|
55
|
-
'zlib',
|
|
56
|
-
'util',
|
|
57
|
-
'crypto',
|
|
58
|
-
'tty',
|
|
59
|
-
// Add other built-in modules as needed
|
|
60
|
-
],
|
|
61
|
-
esbuildPlugins: [
|
|
62
|
-
{
|
|
63
|
-
name: 'external-node-builtins',
|
|
64
|
-
setup(build) {
|
|
65
|
-
const filter = /^node:/;
|
|
66
|
-
build.onResolve({filter}, args => {
|
|
67
|
-
return {path: args.path, external: true};
|
|
68
|
-
});
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
],
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export default defineConfig(config);
|