1a4952720f
* Early work defining CLI framework support * WIP moving CLI init logic to the Framework class * Installing files should now work for Nextjs * Some fixes * WIP creating unit tests for Next.js project detection * Delete old jest config * Latest lockfile * Detect use of src directory test * Tests for detection pages/app directory * Correct detection of Next.js project * Renamed test file * Create install files from template files with replacements. With tests * Added multiple uses of the same replacement * Created a test for the install step (it fails right now with JS) * Removed unused import * Another test that should pass but currently fails… * Path alias fixed and now has tests * New pathAlias function used * Nextjs page install tests * Fixed app directory install (with tests) * Removed e2e CLI test, switched to unit testing strategy instead * Latest lockfile * The install files are now actual files that are copied and transformed * Got the template files working correctly after building * Next steps are now framework specific * createFileFromTemplate now works with a path again. Uses mock if specified. * Renamed apiRoute.js to pagesApiRoute.js * Simplified pages file generation * Next.js app API route template * Next.js App routing support, with common files logic shared * Dev command now uses framework default values if they exist and aren’t overridden * Unused import * pathAlias now works for all frameworks * Added a test to detect Next from the next.config.js * WIP on Remix framework support * Tests for Remix install * Replaced references to Next.js * Use a green ✔️ instead of ✅ in the CLI * Support for multiple hostnames * Tunneling can now use the hostname and port * Work on multiple ports * Improved the error messages. Added some extra pots to Next.js * Update the Remix templates to have .server in the imports * Remix updated to use server-runtime instead of node. Node v18+ * Frameworks can specify the watch paths and ignore paths * Define the watch variables above, so we can easily log them for debugging * Don’t wait for outdated package checking when running the dev command * Improved the Remix manual setup guide * Rewriting docs for quickstart * Updated the Next.js quickstart * Remix quick start * Added a changeset * Improved the Next.js manual setup
89 lines
1.9 KiB
JSON
89 lines
1.9 KiB
JSON
{
|
|
"name": "@trigger.dev/cli",
|
|
"version": "2.1.3",
|
|
"description": "The Trigger.dev CLI",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/triggerdotdev/trigger.dev.git",
|
|
"directory": "packages/cli"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"typescript",
|
|
"trigger.dev",
|
|
"workflows",
|
|
"orchestration",
|
|
"events",
|
|
"webhooks",
|
|
"integrations",
|
|
"apis",
|
|
"jobs",
|
|
"background-jobs",
|
|
"nextjs"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"type": "module",
|
|
"exports": "./dist/index.js",
|
|
"bin": {
|
|
"trigger-cli": "./dist/index.js"
|
|
},
|
|
"devDependencies": {
|
|
"@trigger.dev/tsconfig": "workspace:*",
|
|
"@types/gradient-string": "^1.1.2",
|
|
"@types/inquirer": "^9.0.3",
|
|
"@types/mock-fs": "^4.13.1",
|
|
"@types/node": "16",
|
|
"@types/node-fetch": "^2.6.2",
|
|
"rimraf": "^3.0.2",
|
|
"tsup": "^6.5.0",
|
|
"type-fest": "^3.6.0",
|
|
"typescript": "^4.9.5",
|
|
"vitest": "^0.34.4"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"clean": "rimraf dist",
|
|
"start": "node dist/index.js",
|
|
"test": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@types/degit": "^2.8.3",
|
|
"chalk": "^5.2.0",
|
|
"chokidar": "^3.5.3",
|
|
"commander": "^9.4.1",
|
|
"degit": "^2.8.4",
|
|
"dotenv": "^16.3.1",
|
|
"execa": "^7.0.0",
|
|
"gradient-string": "^2.0.2",
|
|
"inquirer": "^9.1.4",
|
|
"localtunnel": "^2.0.2",
|
|
"mock-fs": "^5.2.0",
|
|
"nanoid": "^4.0.2",
|
|
"ngrok": "5.0.0-beta.2",
|
|
"node-fetch": "^3.3.0",
|
|
"npm-check-updates": "^16.12.2",
|
|
"openai": "^4.5.0",
|
|
"ora": "^6.1.2",
|
|
"path-to-regexp": "^6.2.1",
|
|
"posthog-node": "^3.1.1",
|
|
"proxy-agent": "^6.3.0",
|
|
"simple-git": "^3.19.0",
|
|
"terminal-link": "^3.0.0",
|
|
"tsconfck": "^2.1.2",
|
|
"url": "^0.11.1",
|
|
"zod": "3.21.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.8.0"
|
|
}
|
|
}
|