@vixt/core 0.1.19 → 0.1.21
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.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +4 -2
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as c12 from 'c12';
|
|
2
|
-
import { LoadConfigOptions } from 'c12';
|
|
3
1
|
import { V as VixtOptions, a as VixtConfigLayer, b as VixtConfigLayerMeta, M as ModuleOptions, c as ModuleDefinition, d as VixtModule, e as Vixt } from './shared/core.b103189b.mjs';
|
|
4
2
|
export { g as ModuleMeta, P as PluginOptions, f as VixtAppConfig } from './shared/core.b103189b.mjs';
|
|
3
|
+
import * as c12 from 'c12';
|
|
4
|
+
import { LoadConfigOptions } from 'c12';
|
|
5
5
|
import { RawVueCompilerOptions } from '@vue/language-core';
|
|
6
6
|
import { TSConfig } from 'pkg-types';
|
|
7
7
|
import Checker from 'vite-plugin-checker';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as c12 from 'c12';
|
|
2
|
-
import { LoadConfigOptions } from 'c12';
|
|
3
1
|
import { V as VixtOptions, a as VixtConfigLayer, b as VixtConfigLayerMeta, M as ModuleOptions, c as ModuleDefinition, d as VixtModule, e as Vixt } from './shared/core.b103189b.js';
|
|
4
2
|
export { g as ModuleMeta, P as PluginOptions, f as VixtAppConfig } from './shared/core.b103189b.js';
|
|
3
|
+
import * as c12 from 'c12';
|
|
4
|
+
import { LoadConfigOptions } from 'c12';
|
|
5
5
|
import { RawVueCompilerOptions } from '@vue/language-core';
|
|
6
6
|
import { TSConfig } from 'pkg-types';
|
|
7
7
|
import Checker from 'vite-plugin-checker';
|
package/dist/index.mjs
CHANGED
|
@@ -68,9 +68,11 @@ function resolveLayersDirs(layers = [], config) {
|
|
|
68
68
|
const { srcDirName } = config;
|
|
69
69
|
const dirs = {};
|
|
70
70
|
for (const layer of layers) {
|
|
71
|
-
const
|
|
71
|
+
const srcPath = path.resolve(layer.cwd, srcDirName);
|
|
72
|
+
const isExist = fs.existsSync(srcPath);
|
|
73
|
+
const contents = isExist ? fs.readdirSync(srcPath) : [];
|
|
72
74
|
for (const content of contents) {
|
|
73
|
-
const fileOrDirPath = path.resolve(
|
|
75
|
+
const fileOrDirPath = path.resolve(srcPath, content);
|
|
74
76
|
if (fs.statSync(fileOrDirPath).isDirectory()) {
|
|
75
77
|
dirs[content] ?? (dirs[content] = []);
|
|
76
78
|
dirs[content].push(fileOrDirPath);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.21",
|
|
5
5
|
"author": "SoulLyoko<https://github.com/SoulLyoko>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/SoulLyoko/vixt#readme",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@types/fs-extra": "^11.0.4",
|
|
29
29
|
"@vue/tsconfig": "^0.5.1",
|
|
30
|
-
"c12": "^
|
|
30
|
+
"c12": "^2.0.1",
|
|
31
31
|
"cac": "^6.7.14",
|
|
32
32
|
"defu": "^6.1.4",
|
|
33
33
|
"find-up": "^7.0.0",
|
|
34
34
|
"fs-extra": "^11.2.0",
|
|
35
|
-
"mlly": "1.7.
|
|
35
|
+
"mlly": "^1.7.2",
|
|
36
36
|
"pathe": "^1.1.2",
|
|
37
|
-
"pkg-types": "^1.2.
|
|
38
|
-
"tsx": "^4.19.
|
|
39
|
-
"vite": "^5.4.
|
|
40
|
-
"vite-plugin-checker": "^0.
|
|
41
|
-
"vue-tsc": "2.
|
|
37
|
+
"pkg-types": "^1.2.1",
|
|
38
|
+
"tsx": "^4.19.1",
|
|
39
|
+
"vite": "^5.4.9",
|
|
40
|
+
"vite-plugin-checker": "^0.8.0",
|
|
41
|
+
"vue-tsc": "2.1.6"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "unbuild"
|