Skip to content

Commit 4ff5ba8

Browse files
authored
feat(zip): use spm to support mac catalyst and latest ios, plus android 2.11.5 (#636)
1 parent a503c40 commit 4ff5ba8

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { NativeScriptConfig } from '@nativescript/core';
2+
3+
export default {
4+
ios: {
5+
SPMPackages: [
6+
{
7+
name: 'ZipArchive',
8+
libs: ['ZipArchive'],
9+
repositoryURL: 'https://github.com/ZipArchive/ZipArchive',
10+
version: '2.6.0',
11+
},
12+
],
13+
},
14+
} as NativeScriptConfig;

packages/zip/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/zip",
3-
"version": "6.0.0",
3+
"version": "7.0.0-alpha.0",
44
"description": "A simple utility class for zipping and unzipping files in NativeScript",
55
"main": "index",
66
"typings": "index.d.ts",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
dependencies {
2-
implementation 'net.lingala.zip4j:zip4j:2.10.0'
2+
implementation 'net.lingala.zip4j:zip4j:2.11.5'
33
}

packages/zip/platforms/ios/Podfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/zip/project.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"assets": [
1515
"packages/zip/*.md",
1616
"packages/zip/index.d.ts",
17+
"packages/zip/nativescript.config.ts",
1718
"LICENSE",
1819
{
1920
"glob": "**/*",

packages/zip/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"outDir": "../../dist/out-tsc",
55
"rootDir": "."
66
},
7-
"exclude": ["**/*.spec.ts", "angular"],
7+
"exclude": ["**/*.spec.ts", "angular", "nativescript.config.ts"],
88
"include": ["**/*.ts", "references.d.ts"]
99
}

0 commit comments

Comments
 (0)