Skip to content

Commit 0467324

Browse files
Initialize FileSystem Plugin repo
0 parents  commit 0467324

35 files changed

+5828
-0
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build
2+
dist

.gitignore

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# node files
2+
dist
3+
node_modules
4+
5+
# iOS files
6+
Pods
7+
Podfile.lock
8+
Package.resolved
9+
Build
10+
xcuserdata
11+
/.build
12+
/Packages
13+
xcuserdata/
14+
DerivedData/
15+
.swiftpm/configuration/registries.json
16+
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
17+
.netrc
18+
19+
# macOS files
20+
.DS_Store
21+
22+
23+
24+
# Based on Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore
25+
26+
# Built application files
27+
*.apk
28+
*.ap_
29+
30+
# Files for the ART/Dalvik VM
31+
*.dex
32+
33+
# Java class files
34+
*.class
35+
36+
# Generated files
37+
bin
38+
gen
39+
out
40+
41+
# Gradle files
42+
.gradle
43+
build
44+
45+
# Local configuration file (sdk path, etc)
46+
local.properties
47+
48+
# Proguard folder generated by Eclipse
49+
proguard
50+
51+
# Log Files
52+
*.log
53+
54+
# Android Studio Navigation editor temp files
55+
.navigation
56+
57+
# Android Studio captures folder
58+
captures
59+
60+
# IntelliJ
61+
*.iml
62+
.idea
63+
64+
# Keystore files
65+
# Uncomment the following line if you do not want to check your keystore files in.
66+
#*.jks
67+
68+
# External native build folder generated in Android Studio 2.2 and later
69+
.externalNativeBuild

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build
2+
dist

CHANGELOG.md

Lines changed: 375 additions & 0 deletions
Large diffs are not rendered by default.

CapacitorFilesystem.podspec

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
require 'json'
2+
3+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4+
5+
Pod::Spec.new do |s|
6+
s.name = 'CapacitorFilesystem'
7+
s.version = package['version']
8+
s.summary = package['description']
9+
s.license = package['license']
10+
s.homepage = 'https://capacitorjs.com'
11+
s.author = package['author']
12+
s.source = { :git => 'https://github.com/ionic-team/capacitor-plugins.git', :tag => package['name'] + '@' + package['version'] }
13+
s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}', 'filesystem/ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14+
s.ios.deployment_target = '14.0'
15+
s.dependency 'Capacitor'
16+
s.swift_version = '5.1'
17+
end

LICENSE

Lines changed: 700 additions & 0 deletions
Large diffs are not rendered by default.

Package.swift

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// swift-tools-version: 5.9
2+
import PackageDescription
3+
4+
let package = Package(
5+
name: "CapacitorFilesystem",
6+
platforms: [.iOS(.v14)],
7+
products: [
8+
.library(
9+
name: "CapacitorFilesystem",
10+
targets: ["FilesystemPlugin"])
11+
],
12+
dependencies: [
13+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
14+
],
15+
targets: [
16+
.target(
17+
name: "FilesystemPlugin",
18+
dependencies: [
19+
.product(name: "Capacitor", package: "capacitor-swift-pm"),
20+
.product(name: "Cordova", package: "capacitor-swift-pm")
21+
],
22+
path: "ios/Sources/FilesystemPlugin"),
23+
.testTarget(
24+
name: "FilesystemPluginTests",
25+
dependencies: ["FilesystemPlugin"],
26+
path: "ios/Tests/FilesystemPluginTests")
27+
]
28+
)

0 commit comments

Comments
 (0)