Skip to content
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
7 changes: 7 additions & 0 deletions .changeset/empty-books-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@mimicprotocol/lib-ts": patch
"@mimicprotocol/cli": patch
"@mimicprotocol/test-ts": patch
---

Fix ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING for new node versions
1 change: 1 addition & 0 deletions packages/lib-ts/constants.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const RUNNER_TARGET_VERSION: string
File renamed without changes.
9 changes: 7 additions & 2 deletions packages/lib-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@
"files": [
"src",
"index.ts",
"constants.ts",
"constants.js",
"constants.d.ts",
"asconfig.json"
],
"exports": {
".": "./index.ts",
"./constants": "./constants.ts"
"./constants": {
"import": "./constants.js",
"require": "./constants.js",
"types": "./constants.d.ts"
}
},
"devDependencies": {
"@as-pect/cli": "8.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-ts/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "assemblyscript/std/assembly.json",
"include": ["./**/*.ts"]
"include": ["./**/*.ts", "constants.js"]
}