Skip to content

Commit

Permalink
feat: Add CGA (create-grimoire-app) module to build configuration and…
Browse files Browse the repository at this point in the history
… package.json
  • Loading branch information
coffeeorgreentea committed Aug 2, 2024
1 parent 2833f87 commit c0a6254
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
2 changes: 2 additions & 0 deletions grimoire/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export default defineBuildConfig({
{ input: 'src/config/index.ts' },
// Core
{ input: 'src/core/index.ts' },
// CGA
{ input: 'src/cga/index.ts' },
// // Runtime
// { input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm' },
// // Kit
Expand Down
12 changes: 11 additions & 1 deletion grimoire/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"types": "./dist/cli/index.d.ts",
"import": "./dist/cli/index.mjs"
},
"./cga": {
"types": "./dist/cga/index.d.ts",
"import": "./dist/cga/index.mjs"
},
".": {
"types": "./dist/core/index.d.ts",
"import": "./dist/core/index.mjs"
Expand All @@ -28,7 +32,8 @@
"types": "./dist/core/index.d.ts",
"bin": {
"grimoire": "./dist/cli/index.mjs",
"magick": "./dist/cli/index.mjs"
"magick": "./dist/cli/index.mjs",
"create-grimoire-app": "./dist/cga/index.mjs"
},
"files": [
"dist",
Expand All @@ -43,6 +48,8 @@
"lint": "eslint --cache . && biome check .",
"lint:fix": "eslint --cache --fix . && biome check . --write",
"grimoire": "jiti ./src/cli/index.ts",
"create-grimoire-app": "jiti ./src/cga/index.ts",
"cga": "pnpm create-grimoire-app",
"prepack": "pnpm build",
"gen-mirror": "pnpm jiti scripts/gen-mirror.ts",
"gen-presets": "pnpm jiti scripts/gen-presets.ts",
Expand All @@ -59,6 +66,7 @@
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.3.3",
"@magickml/agent-plugin": "^0.0.1",
"@magickml/agent-service": "0.0.1",
"@magickml/core-plugin": "^0.0.1",
"@magickml/discord-plugin": "^0.0.1",
Expand All @@ -69,6 +77,7 @@
"@magickml/slack-plugin": "^0.0.1",
"@magickml/storage": "^0.0.1",
"@magickml/utils": "^0.0.1",
"@magickml/vercel-sdk-core": "^0.0.1",
"@netlify/functions": "^2.7.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
Expand Down Expand Up @@ -99,6 +108,7 @@
"escape-string-regexp": "^5.0.0",
"etag": "^1.8.1",
"fs-extra": "^11.2.0",
"giget": "^1.2.3",
"globby": "^14.0.1",
"gzip-size": "^7.0.0",
"h3": "^1.11.1",
Expand Down
17 changes: 10 additions & 7 deletions grimoire/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c0a6254

Please sign in to comment.