@vixt/vue 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/package.json +2 -8
  2. package/bin/cli.mjs +0 -40
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vixt/vue",
3
3
  "type": "module",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "author": "SoulLyoko<https://github.com/SoulLyoko>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/SoulLyoko/vixt#readme",
@@ -10,16 +10,10 @@
10
10
  ".": {
11
11
  "types": "./dist/index.d.ts",
12
12
  "import": "./dist/index.mjs"
13
- },
14
- "./cli": {
15
- "import": "./bin/cli.mjs"
16
13
  }
17
14
  },
18
15
  "main": "dist/index.mjs",
19
16
  "types": "dist/index.d.ts",
20
- "bin": {
21
- "vixt": "bin/cli.mjs"
22
- },
23
17
  "files": [
24
18
  "dist"
25
19
  ],
@@ -37,7 +31,7 @@
37
31
  "vite-plugin-vue-layouts": "^0.11.0",
38
32
  "vue": "^3.4.31",
39
33
  "vue-router": "^4.4.0",
40
- "@vixt/core": "0.0.1"
34
+ "@vixt/core": "0.0.2"
41
35
  },
42
36
  "scripts": {
43
37
  "build": "unbuild"
package/bin/cli.mjs DELETED
@@ -1,40 +0,0 @@
1
- #!/usr/bin/env
2
- import { argv } from 'node:process'
3
- import { execSync } from 'node:child_process'
4
-
5
- import { resolvePathSync } from 'mlly'
6
- import path from 'pathe'
7
- // import { createServer, build as viteBuild, preview as vitePreview } from 'vite'
8
-
9
- const vite = path.resolve(resolvePathSync('vite'), '../../../bin/vite.js')
10
-
11
- const args = argv.slice(2).join(' ')
12
-
13
- execSync(`node --import=tsx ${vite} ${args} `, { stdio: 'inherit' })
14
-
15
- // async function start() {
16
- // const server = await createServer({
17
- // configFile: './vite.config.ts',
18
- // })
19
-
20
- // await server.listen()
21
-
22
- // server.printUrls()
23
- // }
24
-
25
- // async function build() {
26
- // await viteBuild({
27
- // configFile: './vite.config.ts',
28
- // })
29
- // }
30
-
31
- // async function preview() {
32
- // const server = await vitePreview({
33
- // configFile: './vite.config.ts',
34
- // })
35
-
36
- // server.printUrls()
37
- // server.bindCLIShortcuts({ print: true })
38
- // }
39
-
40
- // await start()