Skip to content

Commit

Permalink
Merge pull request #105 from gadget-inc/GGT-7205
Browse files Browse the repository at this point in the history
Updating all templates to v1.3
  • Loading branch information
DevAOC authored Oct 18, 2024
2 parents 5bd7eb6 + 0fc3833 commit 0cca256
Show file tree
Hide file tree
Showing 103 changed files with 4,420 additions and 3,462 deletions.
6 changes: 3 additions & 3 deletions openai/ai-screenwriter-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"license": "UNLICENSED",
"private": true,
"scripts": {
"vite:build": "NODE_ENV=production vite build"
"build": "NODE_ENV=production vite build"
},
"dependencies": {
"@gadget-client/ai-screenwriter-template": "link:.gadget/client",
"@gadgetinc/react": "^0.16.1",
"@gadgetinc/react": "^0.18.0",
"gadget-server": "link:.gadget/server",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand All @@ -23,6 +23,6 @@
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react-swc": "3.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9"
"vite": "^5.3.5"
}
}
2 changes: 1 addition & 1 deletion openai/ai-screenwriter-template/settings.gadget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { GadgetSettings } from "gadget-server";

export const settings: GadgetSettings = {
type: "gadget/settings/v1",
frameworkVersion: "v1.1.0",
frameworkVersion: "v1.3.0",
plugins: {
connections: { openai: true },
authentications: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import react from "@vitejs/plugin-react-swc";
import { defineConfig } from "vite";
import { gadget } from "gadget-server/vite";

export default defineConfig({
plugins: [react()],
plugins: [gadget(), react()],
clearScreen: false,
});
477 changes: 280 additions & 197 deletions openai/ai-screenwriter-template/yarn.lock

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions openai/chatgpt-template/api/models/user/filters/tenant.gelly

This file was deleted.

6 changes: 3 additions & 3 deletions openai/chatgpt-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "UNLICENSED",
"private": true,
"scripts": {
"vite:build": "NODE_ENV=production vite build"
"build": "NODE_ENV=production vite build"
},
"dependencies": {
"@chakra-ui/react": "^2.8.0",
Expand All @@ -14,7 +14,7 @@
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@gadget-client/chatgpt-template": "link:.gadget/client",
"@gadgetinc/react": "^0.16.1",
"@gadgetinc/react": "^0.18.0",
"framer-motion": "^10.15.0",
"gadget-server": "link:.gadget/server",
"lodash": "^4.17.21",
Expand All @@ -31,6 +31,6 @@
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react-swc": "3.2.0",
"typescript": "^5.2.2",
"vite": "^4.4.9"
"vite": "^5.3.5"
}
}
2 changes: 1 addition & 1 deletion openai/chatgpt-template/settings.gadget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { GadgetSettings } from "gadget-server";

export const settings: GadgetSettings = {
type: "gadget/settings/v1",
frameworkVersion: "v1.1.0",
frameworkVersion: "v1.3.0",
plugins: {
connections: { openai: true },
authentications: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import react from "@vitejs/plugin-react-swc";
import { defineConfig } from "vite";
import { gadget } from "gadget-server/vite";

export default defineConfig({
plugins: [react()],
plugins: [gadget(), react()],
clearScreen: false,
});
Loading

0 comments on commit 0cca256

Please sign in to comment.