@stacksjs/build 0.52.0 → 0.52.1
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/stacks.d.ts +2 -2
- package/dist/stacks.mjs +4 -13
- package/dist/vue-components.mjs +6 -4
- package/package.json +12 -12
package/dist/stacks.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { PluginOption } from 'vite';
|
|
2
|
-
import type { AutoImportsOptions, ComponentOptions, InspectOptions, LayoutOptions, MarkdownOptions,
|
|
2
|
+
import type { AutoImportsOptions, ComponentOptions, InspectOptions, LayoutOptions, MarkdownOptions, PagesOption } from '@stacksjs/types';
|
|
3
3
|
import { resolve } from '@stacksjs/path';
|
|
4
4
|
declare function inspect(options?: InspectOptions): import("vite").Plugin;
|
|
5
5
|
declare function layouts(options?: LayoutOptions): import("vite").Plugin;
|
|
6
6
|
declare function components(options?: ComponentOptions): PluginOption;
|
|
7
|
-
declare function pages(options?:
|
|
7
|
+
declare function pages(options?: PagesOption): import("vite").Plugin;
|
|
8
8
|
declare function markdown(options?: MarkdownOptions): import("vite").Plugin;
|
|
9
9
|
declare function autoImports(options?: AutoImportsOptions): any;
|
|
10
10
|
declare function cssEngine(isWebComponent?: boolean): import("vite").Plugin[];
|
package/dist/stacks.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import LinkAttributes from "markdown-it-link-attributes";
|
|
|
10
10
|
import Shiki from "markdown-it-shiki";
|
|
11
11
|
import { VitePWA } from "vite-plugin-pwa";
|
|
12
12
|
import { defu } from "defu";
|
|
13
|
-
import p,
|
|
13
|
+
import { path as p, resolve } from "@stacksjs/path";
|
|
14
14
|
function inspect(options) {
|
|
15
15
|
return Inspect(options);
|
|
16
16
|
}
|
|
@@ -67,29 +67,22 @@ function autoImports(options) {
|
|
|
67
67
|
"vue",
|
|
68
68
|
"vue-router",
|
|
69
69
|
"vue/macros",
|
|
70
|
-
"@vueuse/core",
|
|
71
|
-
"@vueuse/head",
|
|
72
|
-
"@vueuse/math",
|
|
73
70
|
"vitest",
|
|
74
|
-
{ "@
|
|
71
|
+
{ "@stacksjs/ui": ["CssEngine", "UiEngine", "Store", "presetForms", "transformerCompileClass"] }
|
|
75
72
|
],
|
|
76
73
|
dirs: [
|
|
77
|
-
p.
|
|
78
|
-
p.
|
|
74
|
+
p.projectPath("functions"),
|
|
75
|
+
p.projectPath("components"),
|
|
79
76
|
p.projectPath("config"),
|
|
80
77
|
// auto imported utilities start here
|
|
81
78
|
p.aiPath("src"),
|
|
82
79
|
p.arraysPath("src"),
|
|
83
80
|
p.authPath("src"),
|
|
84
|
-
p.authPath("src"),
|
|
85
81
|
p.cachePath("src"),
|
|
86
82
|
p.chatPath("src"),
|
|
87
|
-
p.collectionsPath("src"),
|
|
88
83
|
p.databasePath("src"),
|
|
89
84
|
p.desktopPath("src"),
|
|
90
|
-
p.emailPath("src"),
|
|
91
85
|
p.errorHandlingPath("src"),
|
|
92
|
-
p.eventsPath("src"),
|
|
93
86
|
p.healthPath("src"),
|
|
94
87
|
p.lintPath("src"),
|
|
95
88
|
p.loggingPath("src"),
|
|
@@ -107,9 +100,7 @@ function autoImports(options) {
|
|
|
107
100
|
p.storagePath("src"),
|
|
108
101
|
p.stringsPath("src"),
|
|
109
102
|
p.tablesPath("src"),
|
|
110
|
-
p.stringsPath("src"),
|
|
111
103
|
p.testingPath("src"),
|
|
112
|
-
p.uiPath("src"),
|
|
113
104
|
p.utilsPath("src"),
|
|
114
105
|
p.validationPath("src")
|
|
115
106
|
],
|
package/dist/vue-components.mjs
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { defineConfig } from "vite";
|
|
2
2
|
import { buildEntriesPath, frameworkPath, projectPath } from "@stacksjs/path";
|
|
3
3
|
import { library } from "@stacksjs/config";
|
|
4
|
-
import { server } from "@stacksjs/server";
|
|
5
4
|
import { alias } from "@stacksjs/alias";
|
|
6
5
|
import { autoImports, components, cssEngine, inspect, uiEngine } from "./stacks.mjs";
|
|
7
6
|
export const vueComponentsConfig = {
|
|
8
7
|
root: frameworkPath("components/vue"),
|
|
9
8
|
envDir: projectPath(),
|
|
10
9
|
envPrefix: "APP_",
|
|
11
|
-
server
|
|
10
|
+
server: {
|
|
11
|
+
port: 3333,
|
|
12
|
+
open: true
|
|
13
|
+
},
|
|
12
14
|
resolve: {
|
|
13
15
|
dedupe: ["vue"],
|
|
14
16
|
alias
|
|
15
17
|
},
|
|
16
18
|
optimizeDeps: {
|
|
17
|
-
exclude: ["vue"]
|
|
19
|
+
exclude: ["vue", "fsevents", "@novu/mandrill", "@maizzle/framework", "browser-sync-ui"]
|
|
18
20
|
},
|
|
19
21
|
plugins: [
|
|
20
22
|
// preview(),
|
|
@@ -32,7 +34,7 @@ export function vueComponentsBuildOptions() {
|
|
|
32
34
|
emptyOutDir: true,
|
|
33
35
|
lib: {
|
|
34
36
|
entry: buildEntriesPath("vue-components.ts"),
|
|
35
|
-
name: library.vueComponents
|
|
37
|
+
name: library.vueComponents?.name,
|
|
36
38
|
formats: ["cjs", "es"],
|
|
37
39
|
fileName: (format) => {
|
|
38
40
|
if (format === "es")
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/build",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.1",
|
|
5
5
|
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks framework build tools and configurations.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -48,24 +48,24 @@
|
|
|
48
48
|
"unbuild": "^1.2.1",
|
|
49
49
|
"unplugin-auto-import": "^0.16.0",
|
|
50
50
|
"unplugin-vue-components": "^0.24.1",
|
|
51
|
-
"vite": "^4.3.
|
|
51
|
+
"vite": "^4.3.8",
|
|
52
52
|
"vite-plugin-inspect": "^0.7.26",
|
|
53
|
-
"vite-plugin-pages": "^0.
|
|
54
|
-
"vite-plugin-pwa": "^0.
|
|
53
|
+
"vite-plugin-pages": "^0.30.1",
|
|
54
|
+
"vite-plugin-pwa": "^0.15.0",
|
|
55
55
|
"vite-plugin-vue-layouts": "^0.8.0",
|
|
56
|
-
"vite-plugin-vue-markdown": "^0.23.
|
|
56
|
+
"vite-plugin-vue-markdown": "^0.23.5",
|
|
57
57
|
"vite-ssg": "^0.22.2",
|
|
58
58
|
"vite-ssg-sitemap": "^0.5.1",
|
|
59
59
|
"vue-docgen-web-types": "^0.1.8",
|
|
60
|
-
"@stacksjs/alias": "0.52.
|
|
61
|
-
"@stacksjs/config": "0.52.
|
|
62
|
-
"@stacksjs/path": "0.52.
|
|
63
|
-
"@stacksjs/server": "0.52.
|
|
64
|
-
"@stacksjs/types": "0.52.
|
|
65
|
-
"@stacksjs/utils": "0.52.
|
|
60
|
+
"@stacksjs/alias": "0.52.1",
|
|
61
|
+
"@stacksjs/config": "0.52.1",
|
|
62
|
+
"@stacksjs/path": "0.52.1",
|
|
63
|
+
"@stacksjs/server": "0.52.1",
|
|
64
|
+
"@stacksjs/types": "0.52.1",
|
|
65
|
+
"@stacksjs/utils": "0.52.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@stacksjs/development": "0.52.
|
|
68
|
+
"@stacksjs/development": "0.52.1"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "unbuild",
|