Skip to content

Commit e1a8584

Browse files
authored
Merge pull request #10 from usdigitalresponse/kevee/fix-distribution-path
chore: bump version, fix dirname of SDK import
2 parents 782dd59 + a176295 commit e1a8584

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.0.3] - 2025-01-10
11+
12+
### Changed
13+
1014
- Removed the `__sdk.js` developer file from the respoitory.
1115
- Fixed the types for runAirtableScript.
16+
- Made the distribution use a relative path for importing the SDK code.
1217

1318
## [0.0.2] - 2025-01-09
1419

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jest-environment-airtable-script",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "A jest environment for testing Airtable scripts in extensions and automations",
55
"license": "Apache-2.0",
66
"author": "",

src/environment/run-airtable-script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const runAirtableScript = async ({
6666
// The path is dynamically rewritten in the build script
6767
const sdkScriptPath = process.env.JEST_AIRTABLE_TS_DEV
6868
? './src/environment/sdk.js'
69-
: './sdk.js'
69+
: __dirname + '/sdk.js'
7070
sdkScript = fs.readFileSync(sdkScriptPath, 'utf8').toString()
7171
}
7272

0 commit comments

Comments
 (0)