Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: entity files #20

Merged
merged 3 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ examples, etc.
- ❌ Interactions
- ❌ Relationship Strengths
- ❌ Notes
- Entity Files
- [Entity Files](src/v1/entity_files.ts)
- ❌ Reminders
- ❌ Webhooks
-[Whoami](src/v1/auth.ts)
Expand Down
4 changes: 3 additions & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"@std/assert": "jsr:@std/assert@^0.226.0",
"@std/fs": "jsr:@std/fs@^0.229.1",
"@std/path": "jsr:@std/path@^0.225.2",
"@std/streams": "jsr:@std/streams@^1.0.0",
"@std/testing": "jsr:@std/testing@^0.225.0",
"axios": "npm:axios@^1.7.2",
"axios-mock-adapter": "https://esm.sh/[email protected]",
Expand All @@ -12,7 +13,8 @@
"tasks": {
"build": "deno run -A scripts/build_npm.ts",
"check": "deno check src/**/*.ts",
"test": "deno test --allow-env=API_KEY,NODE_EXTRA_CA_CERTS --allow-net=api.affinity.co --doc --allow-read=./src/v1/tests/ src/**/tests/",
"test": "deno test --allow-env=API_KEY,NODE_EXTRA_CA_CERTS --allow-net --doc --allow-read=./src/v1/tests/ src/**/tests/",
"test:single": "deno test --allow-env=API_KEY,NODE_EXTRA_CA_CERTS --allow-net --doc --allow-read=./src/v1/tests/",
"test:coverage": "deno task test --coverage=cov_profile && deno coverage cov_profile --html",
"watch": "deno task test --no-clear-screen --watch --shuffle --parallel",
"snapshot-update": "deno task test --allow-write=./src/v1/tests/__snapshots__ -- --update",
Expand Down
58 changes: 55 additions & 3 deletions deno.lock

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

6 changes: 3 additions & 3 deletions flake.lock

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

5 changes: 3 additions & 2 deletions scripts/build_npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ await build({
declaration: 'separate',
outDir: './npm',
importMap: 'deno.jsonc',
skipNpmInstall: true,
skipNpmInstall: false,
skipSourceOutput: true,
// due to: https://github.com/denoland/dnt/issues/254 tests are disabled for now
test: false,
scriptModule: false,
shims: {
// see JS docs for overview and more options
deno: true,
deno: false,
undici: true,
},
rootTestDir: './src/v1/tests',
filterDiagnostic(diagnostic: ts.Diagnostic) {
Expand Down
Loading