浏览代码

Create `workspace.members` config for Anchor 0.30 (#110)

Steven Luscher 9 月之前
父节点
当前提交
f7b88fb70b
共有 2 个文件被更改,包括 10 次插入0 次删除
  1. 5 0
      .changeset/chilly-hotels-report.md
  2. 5 0
      template/anchor/base/Anchor.toml.njk

+ 5 - 0
.changeset/chilly-hotels-report.md

@@ -0,0 +1,5 @@
+---
+"create-solana-program": patch
+---
+
+Added a `workspace.members` config for Anchor 0.30 compatibility

+ 5 - 0
template/anchor/base/Anchor.toml.njk

@@ -1,3 +1,8 @@
+[workspace]
+members = [
+    "program",
+]
+
 [provider]
 cluster = "localnet"
 wallet = "~/.config/solana/id.json"