@xyd-js/cli 0.1.0-xyd.35 → 0.1.0-xyd.37

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.
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- plugins: {
3
- autoprefixer: {},
4
- },
5
- }
@@ -1,8 +0,0 @@
1
- import type {Config} from "@react-router/dev/config";
2
-
3
- export default {
4
- // return a list of URLs to prerender at build time
5
- async prerender() {
6
- return ["/example"];
7
- },
8
- } satisfies Config;
@@ -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
- }
@@ -1,9 +0,0 @@
1
- import { defineConfig } from 'vite';
2
-
3
- // DO NOT DELETE
4
- // This file is needed for host `vite` to run
5
- export default defineConfig(async () => {
6
- return {
7
- plugins: [],
8
- };
9
- });
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