Skip to content

Commit

Permalink
feat: entity files (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha authored Jul 29, 2024
1 parent 727df0c commit 750133f
Show file tree
Hide file tree
Showing 20 changed files with 705 additions and 26 deletions.
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

0 comments on commit 750133f

Please sign in to comment.