PGP build fixes

This commit is contained in:
Darren Clarke 2023-05-10 11:10:32 +00:00
parent 60e590f75c
commit 0e0f081a79
9 changed files with 7 additions and 13 deletions

View file

@ -60,7 +60,7 @@ export const createZPM = async ({ name, displayName, version }: Record<string, s
const main = async () => { const main = async () => {
const packageJSON = JSON.parse(await fs.readFile("./package.json", "utf-8")); const packageJSON = JSON.parse(await fs.readFile("./package.json", "utf-8"));
const { name, displayName, version } = packageJSON; const { name, displayName, version } = packageJSON;
console.log(`Building ${displayName} v${version}`); console.log(`Building addon ${displayName} v${version}`);
await createZPM({ name, displayName, version }); await createZPM({ name, displayName, version });
} }

View file

@ -10,5 +10,5 @@
"build": "tsc" "build": "tsc"
}, },
"author": "", "author": "",
"license": "ISC" "license": "AGPL-3.0-or-later"
} }

View file

@ -11,5 +11,5 @@
"zammad-addon-common": "*" "zammad-addon-common": "*"
}, },
"author": "", "author": "",
"license": "ISC" "license": "AGPL-3.0-or-later"
} }

View file

@ -11,5 +11,5 @@
"zammad-addon-common": "*" "zammad-addon-common": "*"
}, },
"author": "", "author": "",
"license": "ISC" "license": "AGPL-3.0-or-later"
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "zammad-addon-pgp", "name": "zammad-addon-pgp",
"displayName": "PGP Support", "displayName": "PGP",
"version": "2.0.0", "version": "2.0.0",
"description": "Adds PGP integration into [Zammad](https://zammad.org) via [Sequoia](https://sequoia-pgp.org).", "description": "Adds PGP integration into [Zammad](https://zammad.org) via [Sequoia](https://sequoia-pgp.org).",
"scripts": { "scripts": {
@ -11,5 +11,5 @@
"zammad-addon-common": "*" "zammad-addon-common": "*"
}, },
"author": "", "author": "",
"license": "ISC" "license": "AGPL-3.0-or-later"
} }

View file

@ -1,4 +1,4 @@
class PGPSupport < ActiveRecord::Migration[5.2] class PGP < ActiveRecord::Migration[5.2]
def self.up def self.up
# return if it's a new setup # return if it's a new setup
# return unless Setting.exists?(name: 'system_init_done') # return unless Setting.exists?(name: 'system_init_done')

View file

@ -1,6 +0,0 @@
{
"compilerOptions": {
"resolveJsonModule": true,
"esModuleInterop": true
}
}