Skip to content

Commit b464b84

Browse files
committed
packager: write copyrights field by default
1 parent 10239d9 commit b464b84

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/vscode-extension/src/packager.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,11 @@ export default class Packager {
144144
this.#outArchive.append(
145145
JSON.stringify(
146146
{
147+
// add the below fields if not present to make sure the IDP file is valid.
148+
copyrights: [],
149+
// just copy the package.json.
147150
...packageJson,
151+
// force write the jsar related fields by packager.
148152
jsar: {
149153
versionCode: this.#getVersionCode(),
150154
},

0 commit comments

Comments
 (0)