create-gtkx 1.5.0 → 1.6.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/templates/.claude/settings.json.ejs +13 -0
- package/dist/templates/.gitignore.ejs +1 -0
- package/dist/templates/.mcp.json.ejs +8 -0
- package/dist/templates/gtkx.config.ts.ejs +9 -2
- package/package.json +3 -3
- package/src/templates/.claude/settings.json.ejs +13 -0
- package/src/templates/.gitignore.ejs +1 -0
- package/src/templates/.mcp.json.ejs +8 -0
- package/src/templates/gtkx.config.ts.ejs +9 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(npx gtkx codegen:*)",
|
|
5
|
+
"Bash(npx gtkx dev:*)",
|
|
6
|
+
"Bash(npx gtkx build:*)",
|
|
7
|
+
"Bash(npx tsc --noEmit)"<% if (shouldIncludeTesting) { %>,
|
|
8
|
+
"Bash(npx vitest run:*)"<% } %>
|
|
9
|
+
],
|
|
10
|
+
"deny": [],
|
|
11
|
+
"ask": []
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { defineConfig } from "@gtkx/config";
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
|
-
libraries: ["Gtk-4.0"],
|
|
5
4
|
applicationId: "<%= applicationId %>",
|
|
6
5
|
applicationIcon: "data/icons",
|
|
7
|
-
future: {
|
|
6
|
+
future: {
|
|
7
|
+
v2ByteArrays: true,
|
|
8
|
+
v2ValueReturns: true,
|
|
9
|
+
v2FinishResults: true,
|
|
10
|
+
v2InoutReturns: true,
|
|
11
|
+
v2ResourceImports: true,
|
|
12
|
+
v2DefaultLibraries: true,
|
|
13
|
+
v2TreeShaking: true,
|
|
14
|
+
},
|
|
8
15
|
deploy: {
|
|
9
16
|
name: "<%= title %>",
|
|
10
17
|
summary: "A GTK4 application built with GTKX",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-gtkx",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Create a native GTK4 + React desktop app. Real GTK widgets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gtkx",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"citty": "^0.2.2",
|
|
52
52
|
"nypm": "^0.6.9",
|
|
53
53
|
"tinyexec": "^1.3.0",
|
|
54
|
-
"@gtkx/config": "1.
|
|
55
|
-
"@gtkx/utils": "1.
|
|
54
|
+
"@gtkx/config": "1.6.0",
|
|
55
|
+
"@gtkx/utils": "1.6.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/ejs": "^3.1.5",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"Bash(npx gtkx codegen:*)",
|
|
5
|
+
"Bash(npx gtkx dev:*)",
|
|
6
|
+
"Bash(npx gtkx build:*)",
|
|
7
|
+
"Bash(npx tsc --noEmit)"<% if (shouldIncludeTesting) { %>,
|
|
8
|
+
"Bash(npx vitest run:*)"<% } %>
|
|
9
|
+
],
|
|
10
|
+
"deny": [],
|
|
11
|
+
"ask": []
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { defineConfig } from "@gtkx/config";
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
|
-
libraries: ["Gtk-4.0"],
|
|
5
4
|
applicationId: "<%= applicationId %>",
|
|
6
5
|
applicationIcon: "data/icons",
|
|
7
|
-
future: {
|
|
6
|
+
future: {
|
|
7
|
+
v2ByteArrays: true,
|
|
8
|
+
v2ValueReturns: true,
|
|
9
|
+
v2FinishResults: true,
|
|
10
|
+
v2InoutReturns: true,
|
|
11
|
+
v2ResourceImports: true,
|
|
12
|
+
v2DefaultLibraries: true,
|
|
13
|
+
v2TreeShaking: true,
|
|
14
|
+
},
|
|
8
15
|
deploy: {
|
|
9
16
|
name: "<%= title %>",
|
|
10
17
|
summary: "A GTK4 application built with GTKX",
|