@editframe/create 0.21.0-beta.0 → 0.23.6-beta.0
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.js +1 -2
- package/dist/templates/card-poetry/package.json +3 -3
- package/dist/templates/card-poetry/vite.config.ts +3 -0
- package/dist/templates/react-demo/package.json +3 -3
- package/dist/templates/react-demo/vite.config.ts +3 -0
- package/dist/templates/simple-demo/package.json +3 -3
- package/dist/templates/simple-demo/vite.config.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,6 @@ async function checkDirectoryExists(path$1) {
|
|
|
14
14
|
}
|
|
15
15
|
async function main() {
|
|
16
16
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
17
|
-
const templates = await readdir(path.join(__dirname, "templates"));
|
|
18
17
|
const answers = await prompts([{
|
|
19
18
|
type: "text",
|
|
20
19
|
name: "directoryName",
|
|
@@ -24,7 +23,7 @@ async function main() {
|
|
|
24
23
|
type: "select",
|
|
25
24
|
name: "templateName",
|
|
26
25
|
message: "Choose a starter template:",
|
|
27
|
-
choices: templates.map((template) => ({
|
|
26
|
+
choices: (await readdir(path.join(__dirname, "templates"))).map((template) => ({
|
|
28
27
|
title: template,
|
|
29
28
|
value: template
|
|
30
29
|
}))
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@editframe/cli": "0.
|
|
15
|
-
"@editframe/elements": "0.
|
|
16
|
-
"@editframe/vite-plugin": "0.
|
|
14
|
+
"@editframe/cli": "0.23.6-beta.0",
|
|
15
|
+
"@editframe/elements": "0.23.6-beta.0",
|
|
16
|
+
"@editframe/vite-plugin": "0.23.6-beta.0",
|
|
17
17
|
"tailwindcss": "^3.4.3",
|
|
18
18
|
"vite": "^6.3.5",
|
|
19
19
|
"vite-plugin-singlefile": "^2.0.1"
|
|
@@ -4,6 +4,9 @@ import { defineConfig } from "rolldown-vite";
|
|
|
4
4
|
import { viteSingleFile } from "vite-plugin-singlefile";
|
|
5
5
|
|
|
6
6
|
export default defineConfig({
|
|
7
|
+
define: {
|
|
8
|
+
'globalThis.EF_DEV_WORKBENCH': 'true',
|
|
9
|
+
},
|
|
7
10
|
plugins: [
|
|
8
11
|
vitePluginEditframe({
|
|
9
12
|
root: path.join(__dirname, "src"),
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@editframe/cli": "0.
|
|
15
|
-
"@editframe/react": "0.
|
|
16
|
-
"@editframe/vite-plugin": "0.
|
|
14
|
+
"@editframe/cli": "0.23.6-beta.0",
|
|
15
|
+
"@editframe/react": "0.23.6-beta.0",
|
|
16
|
+
"@editframe/vite-plugin": "0.23.6-beta.0",
|
|
17
17
|
"@vitejs/plugin-react": "^4.3.1",
|
|
18
18
|
"tailwindcss": "^3.4.3",
|
|
19
19
|
"vite": "^6.3.5",
|
|
@@ -5,6 +5,9 @@ import { defineConfig } from "rolldown-vite";
|
|
|
5
5
|
import { viteSingleFile } from "vite-plugin-singlefile";
|
|
6
6
|
|
|
7
7
|
export default defineConfig({
|
|
8
|
+
define: {
|
|
9
|
+
'globalThis.EF_DEV_WORKBENCH': 'true',
|
|
10
|
+
},
|
|
8
11
|
plugins: [
|
|
9
12
|
vitePluginEditframe({
|
|
10
13
|
root: path.join(__dirname, "src"),
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@editframe/cli": "0.
|
|
15
|
-
"@editframe/elements": "0.
|
|
16
|
-
"@editframe/vite-plugin": "0.
|
|
14
|
+
"@editframe/cli": "0.23.6-beta.0",
|
|
15
|
+
"@editframe/elements": "0.23.6-beta.0",
|
|
16
|
+
"@editframe/vite-plugin": "0.23.6-beta.0",
|
|
17
17
|
"tailwindcss": "^3.4.3",
|
|
18
18
|
"vite": "^6.3.5",
|
|
19
19
|
"vite-plugin-singlefile": "^2.0.1"
|
|
@@ -4,6 +4,9 @@ import { defineConfig } from "rolldown-vite";
|
|
|
4
4
|
import { viteSingleFile } from "vite-plugin-singlefile";
|
|
5
5
|
|
|
6
6
|
export default defineConfig({
|
|
7
|
+
define: {
|
|
8
|
+
'globalThis.EF_DEV_WORKBENCH': 'true',
|
|
9
|
+
},
|
|
7
10
|
plugins: [
|
|
8
11
|
vitePluginEditframe({
|
|
9
12
|
root: path.join(__dirname, "src"),
|