[pve-devel] [PATCH v2 1/3] ship proper nodejs module 'pve-eslint'

Dominik Csapak d.csapak at proxmox.com
Mon Aug 30 12:06:36 CEST 2021


On 8/30/21 11:25, Thomas Lamprecht wrote:
> Am 8/30/21 um 11:17 AM schrieb Dominik Csapak:
>> On 8/25/21 18:38, Thomas Lamprecht wrote:
>>> On 19/07/2021 12:31, Dominik Csapak wrote:
>>>> instead of concatenating the eslint module into our app.js, ship
>>>> a 'pve-eslint' module that exports the built eslint module
>>>>
>>>> to do this, we have to leave the module type on 'umd' instead of
>>>> changing to 'var' so that nodejs can properly import it.
>>>>
>>>> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
>>>> ---
>>>>    Makefile                                |  2 +-
>>>
>>> Does not applies here, did not really investigated yet though:
>>>
>>> Applying: ship proper nodejs module 'pve-eslint'
>>> Using index info to reconstruct a base tree...
>>> error: removal patch leaves file contents
>>> error: src/Makefile: patch does not apply
>>>
>>>
>>
>> ah yes, sorry, i created the patches with '-D'
>> since the second patch would not fit on the mailing list
>>
>> shall i send 1/3 and 3/3 again with out -D ?
>> the only conflict is that src/Makefile is deleted
>> (2/3 can be done separately anyway)
>>
>>
> 
> I can also pull this from a staff repo if you prefer that?
> 

ok, its the 'nodejs' branch of my staff repo for 'pve-eslint'





More information about the pve-devel mailing list