@xyd-js/cli 0.1.0-xyd.35 → 0.1.0-xyd.38
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/build.d.ts +2 -0
- package/dist/build.js +5 -0
- package/dist/index.js +248 -0
- package/package.json +38 -39
- package/.cli/app/root.tsx +0 -23
- package/.cli/app/routes.ts +0 -5
- package/.cli/bin.js +0 -3
- package/.cli/index.js +0 -45726
- package/.cli/package.json +0 -38
- package/.cli/plugins/xyd-plugin-zero/src/pages/api-reference-source.tsx +0 -272
- package/.cli/plugins/xyd-plugin-zero/src/pages/api-reference.tsx +0 -285
- package/.cli/plugins/xyd-plugin-zero/src/pages/docs.tsx +0 -194
- package/.cli/plugins/xyd-plugin-zero/src/pages/root.tsx +0 -37
- package/.cli/pnpm-lock.yaml +0 -4425
- package/.cli/postcss.config.cjs +0 -5
- package/.cli/react-router.config.ts +0 -8
- package/.cli/tsconfig.json +0 -22
- package/.cli/vite.config.ts +0 -9
- package/postinstall.js +0 -15
- /package/{.cli → dist}/index.d.ts +0 -0
package/.cli/postcss.config.cjs
DELETED
package/.cli/tsconfig.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"lib": [
|
|
7
|
-
"ES2020",
|
|
8
|
-
"DOM",
|
|
9
|
-
"DOM.Iterable"
|
|
10
|
-
],
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"moduleResolution": "bundler",
|
|
13
|
-
"resolveJsonModule": true,
|
|
14
|
-
"isolatedModules": true,
|
|
15
|
-
"noEmit": false,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noUnusedLocals": true,
|
|
18
|
-
"noUnusedParameters": true,
|
|
19
|
-
"noFallthroughCasesInSwitch": true,
|
|
20
|
-
"jsx": "react-jsx"
|
|
21
|
-
}
|
|
22
|
-
}
|
package/.cli/vite.config.ts
DELETED
package/postinstall.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { execSync } from 'child_process';
|
|
2
|
-
import { existsSync } from 'fs';
|
|
3
|
-
|
|
4
|
-
const cliDir = '.cli';
|
|
5
|
-
|
|
6
|
-
if (existsSync(cliDir)) {
|
|
7
|
-
try {
|
|
8
|
-
execSync(`cd ${cliDir} && npm install`, { stdio: 'inherit' });
|
|
9
|
-
console.log('Dependencies installed successfully in .cli directory.');
|
|
10
|
-
} catch (error) {
|
|
11
|
-
console.error('Failed to install dependencies in .cli directory:', error);
|
|
12
|
-
}
|
|
13
|
-
} else {
|
|
14
|
-
console.log('.cli directory does not exist. Skipping npm install.');
|
|
15
|
-
}
|
|
File without changes
|