Skip to content

Commit 291b8af

Browse files
committed
add type:module to anchor bankrun tests
1 parent 0077bf1 commit 291b8af

File tree

47 files changed

+1262
-990
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1262
-990
lines changed

basics/checking-accounts/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@coral-xyz/anchor": "^0.30.0",
45
"@solana/web3.js": "^1.95.2"

basics/create-account/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@coral-xyz/anchor": "^0.30.0",
45
"@solana/web3.js": "^1.95.2"

basics/cross-program-invocation/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"scripts": {
34
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
45
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"

basics/favorites/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"scripts": {
34
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
45
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"

basics/hello-solana/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@coral-xyz/anchor": "^0.30.0",
45
"@solana/web3.js": "^1.95.2"

basics/hello-solana/pinocchio/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"scripts": {
34
"test": "pnpm ts-mocha -p ./tsconfig.json -t 1000000 ./tests/index.test.ts",
45
"build-and-test": "cargo build-sbf --manifest-path=./program/Cargo.toml --sbf-out-dir=./tests/fixtures && pnpm test",

basics/pda-rent-payer/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@coral-xyz/anchor": "^0.30.0",
45
"@solana/web3.js": "^1.95.2"

basics/processing-instructions/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@coral-xyz/anchor": "^0.30.0",
45
"@solana/web3.js": "^1.95.2"

basics/program-derived-addresses/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"dependencies": {
34
"@coral-xyz/anchor": "^0.30.0",
45
"@solana/web3.js": "^1.95.2"

basics/realloc/anchor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"type": "module",
23
"scripts": {
34
"lint:fix": "prettier */*.js \"*/**/*{.js,.ts}\" -w",
45
"lint": "prettier */*.js \"*/**/*{.js,.ts}\" --check"

0 commit comments

Comments
 (0)