Skip to content

Commit

Permalink
Include templates in published app and remove unused template (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjreinhart authored Oct 22, 2024
1 parent 5a810d8 commit 9b94f4d
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 244 deletions.
5 changes: 5 additions & 0 deletions .changeset/rotten-planes-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@srcbook/api': patch
---

Include templates in published app and remove unused template
38 changes: 0 additions & 38 deletions packages/api/apps/templates/react-javascript/eslint.config.js

This file was deleted.

13 changes: 0 additions & 13 deletions packages/api/apps/templates/react-javascript/index.html

This file was deleted.

28 changes: 0 additions & 28 deletions packages/api/apps/templates/react-javascript/package.json

This file was deleted.

This file was deleted.

42 changes: 0 additions & 42 deletions packages/api/apps/templates/react-javascript/src/App.css

This file was deleted.

35 changes: 0 additions & 35 deletions packages/api/apps/templates/react-javascript/src/App.jsx

This file was deleted.

This file was deleted.

68 changes: 0 additions & 68 deletions packages/api/apps/templates/react-javascript/src/index.css

This file was deleted.

10 changes: 0 additions & 10 deletions packages/api/apps/templates/react-javascript/src/main.jsx

This file was deleted.

7 changes: 0 additions & 7 deletions packages/api/apps/templates/react-javascript/vite.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dev": "vite-node -w dev-server.mts",
"test": "vitest",
"prebuild": "rm -rf ./dist",
"build": "tsc && cp -R ./drizzle ./dist/drizzle && cp -R ./srcbook/examples ./dist/srcbook/examples && cp -R ./prompts ./dist/prompts",
"build": "tsc && cp -R ./drizzle ./dist/drizzle && cp -R ./srcbook/examples ./dist/srcbook/examples && cp -R ./prompts ./dist/prompts && cp -R ./apps/templates ./dist/apps/templates",
"lint": "eslint . --max-warnings 0",
"check-types": "tsc",
"depcheck": "depcheck",
Expand Down

0 comments on commit 9b94f4d

Please sign in to comment.