Skip to content

Commit

Permalink
Document Promptl Version (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
csansoon authored Nov 18, 2024
1 parent 98003e7 commit 6702a60
Show file tree
Hide file tree
Showing 90 changed files with 81 additions and 11,373 deletions.
5 changes: 3 additions & 2 deletions apps/gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@
"@latitude-data/constants": "workspace:^",
"@latitude-data/core": "workspace:^",
"@latitude-data/env": "workspace:^",
"@latitude-data/promptl": "^0.0.3",
"@sentry/cli": "^2.37.0",
"@sentry/node": "^8.30.0",
"@t3-oss/env-core": "^0.10.1",
"drizzle-orm": "^0.33.0",
"hono": "^4.5.3",
"lodash-es": "^4.17.21",
"zod": "^3.23.8",
"rate-limiter-flexible": "^5.0.3"
"rate-limiter-flexible": "^5.0.3",
"zod": "^3.23.8"
},
"devDependencies": {
"@latitude-data/eslint-config": "workspace:^",
Expand Down
1 change: 1 addition & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@latitude-data/compiler": "workspace:^",
"@latitude-data/core": "workspace:*",
"@latitude-data/env": "workspace:^",
"@latitude-data/promptl": "^0.0.3",
"@latitude-data/sdk": "workspace:*",
"@latitude-data/web-ui": "workspace:*",
"@lucia-auth/adapter-drizzle": "^1.0.7",
Expand Down
59 changes: 31 additions & 28 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,25 @@
"@aws-sdk/s3-request-presigner": "^3.645.0",
"@faker-js/faker": "^8.4.1",
"@latitude-data/compiler": "workspace:^",
"@latitude-data/env": "workspace:*",
"@latitude-data/constants": "workspace:*",
"@latitude-data/env": "workspace:*",
"@latitude-data/eslint-config": "workspace:*",
"@latitude-data/typescript-config": "workspace:*",
"@plunk/node": "^3.0.2",
"@react-email/components": "^0.0.23",
"@sindresorhus/slugify": "^2.2.1",
"@t3-oss/env-core": "^0.11.1",
"@types/json-schema": "^7.0.15",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.5.0",
"@types/nodemailer": "^6.4.15",
"@types/nodemailer-html-to-text": "^3.1.3",
"@types/nodemailer-mailgun-transport": "^1.4.6",
"@types/pg": "^8.11.6",
"@types/react": "18.3.0",
"@types/react-dom": "18.3.0",
"@types/uuid": "^10.0.0",
"ai": "^3.4.7",
"loops": "^3.3.0",
"argon2": "^0.41.0",
"csv-parse": "^5.5.6",
"drizzle-kit": "^0.22.8",
Expand All @@ -74,30 +80,24 @@
"jose": "^5.8.0",
"json-schema": "^0.4.0",
"lodash-es": "^4.17.21",
"loops": "^3.3.0",
"nanoid": "^5.0.7",
"nodemailer": "^6.9.14",
"nodemailer-html-to-text": "^3.2.0",
"nodemailer-mailgun-transport": "^2.1.5",
"pg": "^8.12.0",
"pg-transactional-tests": "^1.0.9",
"posthog-node": "^4.2.0",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-email": "^3.0.1",
"socket.io-client": "^4.7.5",
"supertest": "^7.0.0",
"svelte": "^4.2.19",
"uuid": "^10.0.0",
"vitest": "^2.0.3",
"vue": "^3.4.38",
"zod": "^3.23.8",
"@plunk/node": "^3.0.2",
"@react-email/components": "^0.0.23",
"@types/nodemailer": "^6.4.15",
"@types/nodemailer-html-to-text": "^3.1.3",
"@types/nodemailer-mailgun-transport": "^1.4.6",
"@types/react": "18.3.0",
"@types/react-dom": "18.3.0",
"nanoid": "^5.0.7",
"nodemailer": "^6.9.14",
"nodemailer-html-to-text": "^3.2.0",
"nodemailer-mailgun-transport": "^2.1.5",
"react-email": "^3.0.1"
"zod": "^3.23.8"
},
"peerDependencies": {
"@ai-sdk/anthropic": "^0.0.48",
Expand All @@ -109,8 +109,15 @@
"@aws-sdk/s3-request-presigner": "^3.645.0",
"@latitude-data/compiler": "workspace:^",
"@latitude-data/env": "workspace:^",
"@plunk/node": "^3.0.2",
"@react-email/components": "^0.0.23",
"@sindresorhus/slugify": "^2.2.1",
"@t3-oss/env-core": "^0.11.1",
"@types/nodemailer": "^6.4.15",
"@types/nodemailer-html-to-text": "^3.1.3",
"@types/nodemailer-mailgun-transport": "^1.4.6",
"@types/react": "18.3.0",
"@types/react-dom": "18.3.0",
"ai": "^3.3.3",
"argon2": "^0.41.0",
"csv-parse": "^5.5.6",
Expand All @@ -119,25 +126,21 @@
"jose": "^5.8.0",
"json-schema": "^0.4.0",
"lodash-es": "^4.17.21",
"nanoid": "^5.0.7",
"nodemailer": "^6.9.14",
"nodemailer-html-to-text": "^3.2.0",
"nodemailer-mailgun-transport": "^2.1.5",
"pg": "^8.12.0",
"posthog-node": "^4.2.0",
"react": "^18.3.1",
"react-email": "^3.0.1",
"socket.io-client": "^4.7.5",
"svelte": "^4.2.19",
"uuid": "^10.0.0",
"vue": "^3.4.38",
"zod": "^3.23.8",
"@plunk/node": "^3.0.2",
"@react-email/components": "^0.0.23",
"@types/nodemailer": "^6.4.15",
"@types/nodemailer-html-to-text": "^3.1.3",
"@types/nodemailer-mailgun-transport": "^1.4.6",
"@types/react": "18.3.0",
"@types/react-dom": "18.3.0",
"nanoid": "^5.0.7",
"nodemailer": "^6.9.14",
"nodemailer-html-to-text": "^3.2.0",
"nodemailer-mailgun-transport": "^2.1.5",
"react-email": "^3.0.1"
"zod": "^3.23.8"
},
"dependencies": {
"@latitude-data/promptl": "^0.0.3"
}
}
2 changes: 2 additions & 0 deletions packages/core/src/schema/models/documentVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import {
bigint,
bigserial,
index,
integer,
text,
timestamp,
uniqueIndex,
Expand All @@ -23,6 +24,7 @@ export const documentVersions = latitudeSchema.table(
content: text('content').notNull().default(''),
resolvedContent: text('resolved_content'),
contentHash: text('content_hash'),
promptlVersion: integer('promptl_version').notNull().default(0),
commitId: bigint('commit_id', { mode: 'number' })
.notNull()
.references(() => commits.id, { onDelete: 'cascade' }),
Expand Down
10 changes: 0 additions & 10 deletions packages/promptl/.eslintrc.json

This file was deleted.

40 changes: 0 additions & 40 deletions packages/promptl/package.json

This file was deleted.

71 changes: 0 additions & 71 deletions packages/promptl/rollup.config.mjs

This file was deleted.

7 changes: 0 additions & 7 deletions packages/promptl/src/compiler/base/nodes/comment.ts

This file was deleted.

11 changes: 0 additions & 11 deletions packages/promptl/src/compiler/base/nodes/config.ts

This file was deleted.

83 changes: 0 additions & 83 deletions packages/promptl/src/compiler/base/nodes/for.test.ts

This file was deleted.

Loading

0 comments on commit 6702a60

Please sign in to comment.