cocoapods-embed-flutter 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +59 -1
- data/README.md +5 -0
- data/Rakefile +14 -2
- data/cocoapods-embed-flutter.gemspec +12 -11
- data/lib/cocoapods-embed-flutter/gem_version.rb +1 -1
- metadata +7 -33
- data/.github/config/config.js +0 -21
- data/.github/config/package-lock.json +0 -223
- data/.github/config/package.json +0 -16
- data/.github/config/pre_changelog_hook.js +0 -27
- data/.github/dependabot.yml +0 -23
- data/.github/workflows/main.yml +0 -146
- data/example/flutter_module/.gitignore +0 -48
- data/example/flutter_module/.metadata +0 -10
- data/example/flutter_module/README.md +0 -11
- data/example/flutter_module/analysis_options.yaml +0 -4
- data/example/flutter_module/flutter_module.iml +0 -18
- data/example/flutter_module/flutter_module_android.iml +0 -27
- data/example/flutter_module/lib/main.dart +0 -112
- data/example/flutter_module/pubspec.lock +0 -174
- data/example/flutter_module/pubspec.yaml +0 -87
- data/example/flutter_module/test/widget_test.dart +0 -30
- data/example/ios_app/Gemfile +0 -4
- data/example/ios_app/Gemfile.lock +0 -110
- data/example/ios_app/Podfile +0 -11
- data/example/ios_app/Podfile.lock +0 -28
- data/example/ios_app/ios_app/Assets.xcassets/AccentColor.colorset/Contents.json +0 -11
- data/example/ios_app/ios_app/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -98
- data/example/ios_app/ios_app/Assets.xcassets/Contents.json +0 -6
- data/example/ios_app/ios_app/ContentView.swift +0 -40
- data/example/ios_app/ios_app/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
- data/example/ios_app/ios_app/ios_appApp.swift +0 -18
- data/example/ios_app/ios_app.xcodeproj/project.pbxproj +0 -426
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2967996d60f14ff19b440e5a75e87b0a6cea80cd5c0c0c656ca64fe724c170c
|
4
|
+
data.tar.gz: 7c370b83a302656f8f7747a51788a202558c2cc11c14067e1866dd30841173c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b92b9b9aa47ee784402cad9ad294c316b148acf4bb0574246f9ed7c4bbf73fb671868559cc0acb1c3d9a3105a6127717e795be1cfe2e93d22b7d9f4277c6f785
|
7
|
+
data.tar.gz: 2ba932ff07f3291cb0797345720c2676b53ddb51ab37086a2b8d13a417fae2112bff668a6f7749f0a1bbb751d747c565edf723b06893b440ee1beafce4367ba2
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
### [0.5.3](https://github.com/DartBuild/cocoapods-embed-flutter/compare/v0.5.2...v0.5.3) (2022-03-18)
|
2
|
+
|
3
|
+
|
4
|
+
### 📚 Documentation
|
5
|
+
|
6
|
+
* **README:** add limitations ([9133edc](https://github.com/DartBuild/cocoapods-embed-flutter/commit/9133edc006973892b2e55ef13a30f6ae8e8b7ad4))
|
7
|
+
|
1
8
|
### [0.5.2](https://github.com/DartBuild/cocoapods-embed-flutter/compare/v0.5.1...v0.5.2) (2022-03-12)
|
2
9
|
|
3
10
|
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cocoapods-embed-flutter (0.5.
|
4
|
+
cocoapods-embed-flutter (0.5.3)
|
5
5
|
cocoapods
|
6
6
|
fileutils
|
7
7
|
yaml
|
@@ -22,8 +22,11 @@ GEM
|
|
22
22
|
algoliasearch (1.27.5)
|
23
23
|
httpclient (~> 2.8, >= 2.8.3)
|
24
24
|
json (>= 1.5.1)
|
25
|
+
ast (2.4.2)
|
25
26
|
atomos (0.1.3)
|
27
|
+
backport (1.2.0)
|
26
28
|
bacon (1.2.0)
|
29
|
+
benchmark (0.2.0)
|
27
30
|
claide (1.1.0)
|
28
31
|
cocoapods (1.11.2)
|
29
32
|
addressable (~> 2.8)
|
@@ -66,6 +69,8 @@ GEM
|
|
66
69
|
concurrent-ruby (1.1.9)
|
67
70
|
descendants_tracker (0.0.4)
|
68
71
|
thread_safe (~> 0.3, >= 0.3.1)
|
72
|
+
diff-lcs (1.5.0)
|
73
|
+
e2mmap (0.1.0)
|
69
74
|
escape (0.0.4)
|
70
75
|
ethon (0.15.0)
|
71
76
|
ffi (>= 1.15.0)
|
@@ -107,8 +112,13 @@ GEM
|
|
107
112
|
httpclient (2.8.3)
|
108
113
|
i18n (1.10.0)
|
109
114
|
concurrent-ruby (~> 1.0)
|
115
|
+
jaro_winkler (1.5.4)
|
110
116
|
json (2.6.1)
|
111
117
|
jwt (2.3.0)
|
118
|
+
kramdown (2.3.1)
|
119
|
+
rexml
|
120
|
+
kramdown-parser-gfm (1.1.0)
|
121
|
+
kramdown (~> 2.0)
|
112
122
|
minitest (5.15.0)
|
113
123
|
mocha (1.13.0)
|
114
124
|
mocha-on-bacon (0.2.3)
|
@@ -120,25 +130,70 @@ GEM
|
|
120
130
|
nanaimo (0.3.0)
|
121
131
|
nap (1.1.0)
|
122
132
|
netrc (0.11.0)
|
133
|
+
nokogiri (1.13.3-arm64-darwin)
|
134
|
+
racc (~> 1.4)
|
135
|
+
nokogiri (1.13.3-x86_64-darwin)
|
136
|
+
racc (~> 1.4)
|
137
|
+
nokogiri (1.13.3-x86_64-linux)
|
138
|
+
racc (~> 1.4)
|
123
139
|
oauth2 (1.4.9)
|
124
140
|
faraday (>= 0.17.3, < 3.0)
|
125
141
|
jwt (>= 1.0, < 3.0)
|
126
142
|
multi_json (~> 1.3)
|
127
143
|
multi_xml (~> 0.5)
|
128
144
|
rack (>= 1.2, < 3)
|
145
|
+
parallel (1.21.0)
|
146
|
+
parser (3.1.1.0)
|
147
|
+
ast (~> 2.4.1)
|
129
148
|
prettybacon (0.0.2)
|
130
149
|
bacon (~> 1.2)
|
131
150
|
public_suffix (4.0.6)
|
151
|
+
racc (1.6.0)
|
132
152
|
rack (2.2.3)
|
153
|
+
rainbow (3.1.1)
|
133
154
|
rake (13.0.6)
|
155
|
+
regexp_parser (2.2.1)
|
156
|
+
reverse_markdown (2.1.1)
|
157
|
+
nokogiri
|
134
158
|
rexml (3.2.5)
|
159
|
+
rubocop (1.26.0)
|
160
|
+
parallel (~> 1.10)
|
161
|
+
parser (>= 3.1.0.0)
|
162
|
+
rainbow (>= 2.2.2, < 4.0)
|
163
|
+
regexp_parser (>= 1.8, < 3.0)
|
164
|
+
rexml
|
165
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
166
|
+
ruby-progressbar (~> 1.7)
|
167
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
168
|
+
rubocop-ast (1.16.0)
|
169
|
+
parser (>= 3.1.1.0)
|
135
170
|
ruby-macho (2.5.1)
|
171
|
+
ruby-progressbar (1.11.0)
|
136
172
|
ruby2_keywords (0.0.5)
|
173
|
+
solargraph (0.44.3)
|
174
|
+
backport (~> 1.2)
|
175
|
+
benchmark
|
176
|
+
bundler (>= 1.17.2)
|
177
|
+
diff-lcs (~> 1.4)
|
178
|
+
e2mmap
|
179
|
+
jaro_winkler (~> 1.5)
|
180
|
+
kramdown (~> 2.3)
|
181
|
+
kramdown-parser-gfm (~> 1.1)
|
182
|
+
parser (~> 3.0)
|
183
|
+
reverse_markdown (>= 1.0.5, < 3)
|
184
|
+
rubocop (>= 0.52)
|
185
|
+
thor (~> 1.0)
|
186
|
+
tilt (~> 2.0)
|
187
|
+
yard (~> 0.9, >= 0.9.24)
|
188
|
+
thor (1.2.1)
|
137
189
|
thread_safe (0.3.6)
|
190
|
+
tilt (2.0.10)
|
138
191
|
typhoeus (1.4.0)
|
139
192
|
ethon (>= 0.9.0)
|
140
193
|
tzinfo (2.0.4)
|
141
194
|
concurrent-ruby (~> 1.0)
|
195
|
+
unicode-display_width (2.1.0)
|
196
|
+
webrick (1.7.0)
|
142
197
|
xcodeproj (1.21.0)
|
143
198
|
CFPropertyList (>= 2.3.3, < 4.0)
|
144
199
|
atomos (~> 0.1.3)
|
@@ -147,6 +202,8 @@ GEM
|
|
147
202
|
nanaimo (~> 0.3.0)
|
148
203
|
rexml (~> 3.2.4)
|
149
204
|
yaml (0.2.0)
|
205
|
+
yard (0.9.27)
|
206
|
+
webrick (~> 1.7.0)
|
150
207
|
zeitwerk (2.5.4)
|
151
208
|
|
152
209
|
PLATFORMS
|
@@ -165,6 +222,7 @@ DEPENDENCIES
|
|
165
222
|
mocha-on-bacon
|
166
223
|
prettybacon
|
167
224
|
rake
|
225
|
+
solargraph
|
168
226
|
|
169
227
|
BUNDLED WITH
|
170
228
|
2.3.7
|
data/README.md
CHANGED
@@ -40,6 +40,11 @@ pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :
|
|
40
40
|
pub 'flutter_module', :git => 'https://github.com/gowalla/flutter_module.git', :commit => '082f8319af'
|
41
41
|
```
|
42
42
|
|
43
|
+
## Limitations
|
44
|
+
|
45
|
+
- You won't be able to add more than one flutter module to a single target. Currently flutter only supports one module per target.
|
46
|
+
- No caching is done for external sources, every time you run `pod install` flutter module will be downloaded each time.
|
47
|
+
|
43
48
|
## Links
|
44
49
|
|
45
50
|
| Link | Description |
|
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ end
|
|
12
12
|
desc 'Setup example project'
|
13
13
|
task :demo do
|
14
14
|
system('bundle install', exception: true)
|
15
|
-
Bundler.
|
15
|
+
Bundler.with_unbundled_env do
|
16
16
|
Dir.chdir('example/ios_app') do |path|
|
17
17
|
system('bundle install', exception: true)
|
18
18
|
system('bundle exec pod install', exception: true)
|
@@ -20,6 +20,16 @@ task :demo do
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
+
desc 'Update lock files'
|
24
|
+
task :update do
|
25
|
+
system('bundle install', exception: true)
|
26
|
+
Bundler.with_unbundled_env do
|
27
|
+
Dir.chdir('example/ios_app') do |path|
|
28
|
+
system('bundle install', exception: true)
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
23
33
|
desc 'Publish to cocoapods plugins if not present'
|
24
34
|
task :publish do
|
25
35
|
require 'rubygems'
|
@@ -31,7 +41,9 @@ task :publish do
|
|
31
41
|
return if known_plugins.one? { |plugin| plugin['gem'] == gem.name }
|
32
42
|
|
33
43
|
require 'github_api'
|
34
|
-
return if Github.search.issues(
|
44
|
+
return if Github.search.issues(
|
45
|
+
q: "#{gem.name} user:CocoaPods repo:CocoaPods/cocoapods-plugins in:title"
|
46
|
+
).items.count > 0
|
35
47
|
system('pod plugins publish', exception: true)
|
36
48
|
end
|
37
49
|
|
@@ -9,28 +9,29 @@ Gem::Specification.new do |spec|
|
|
9
9
|
|
10
10
|
spec.name = 'cocoapods-embed-flutter'
|
11
11
|
spec.version = CocoapodsEmbedFlutter::VERSION
|
12
|
-
spec.authors = ['Soumya Ranjan Mahunt']
|
13
|
-
spec.email = ['devsoumyamahunt@gmail.com']
|
14
|
-
spec.description = %q{Embed flutter modules in iOS projects.}
|
15
|
-
spec.summary = <<-DESC
|
16
|
-
Straight forward way of declaring flutter modules as dependency for targets,
|
17
|
-
just like cocoapods does with pods.
|
18
|
-
DESC
|
19
12
|
spec.homepage = repo_url
|
20
13
|
spec.license = 'MIT'
|
14
|
+
spec.authors = ['Soumya Ranjan Mahunt']
|
15
|
+
spec.email = ['devsoumyamahunt@gmail.com']
|
16
|
+
spec.summary = %q{Embed flutter modules in iOS projects.}
|
17
|
+
spec.description = <<-EOF
|
18
|
+
Straight forward way of declaring flutter modules as dependency for targets,
|
19
|
+
just like cocoapods does with pods.
|
20
|
+
EOF
|
21
21
|
|
22
|
-
spec.files = `git ls-files`.split($/)
|
22
|
+
spec.files = `git ls-files`.split($/).grep_v(%r{^(example|.github)/})
|
23
23
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
24
24
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
25
25
|
spec.require_paths = ['lib']
|
26
26
|
|
27
|
-
spec.
|
28
|
-
spec.
|
29
|
-
spec.
|
27
|
+
spec.add_runtime_dependency 'yaml'
|
28
|
+
spec.add_runtime_dependency 'fileutils'
|
29
|
+
spec.add_runtime_dependency 'cocoapods'
|
30
30
|
|
31
31
|
spec.add_development_dependency 'bundler'
|
32
32
|
spec.add_development_dependency 'rake'
|
33
33
|
|
34
|
+
spec.required_ruby_version = '>= 2.6'
|
34
35
|
spec.metadata = {
|
35
36
|
'bug_tracker_uri' => "#{repo_url}/issues",
|
36
37
|
'changelog_uri' => "#{repo_url}/blob/main/CHANGELOG.md",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-embed-flutter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Soumya Ranjan Mahunt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yaml
|
@@ -80,19 +80,15 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description:
|
83
|
+
description: |2
|
84
|
+
Straight forward way of declaring flutter modules as dependency for targets,
|
85
|
+
just like cocoapods does with pods.
|
84
86
|
email:
|
85
87
|
- devsoumyamahunt@gmail.com
|
86
88
|
executables: []
|
87
89
|
extensions: []
|
88
90
|
extra_rdoc_files: []
|
89
91
|
files:
|
90
|
-
- ".github/config/config.js"
|
91
|
-
- ".github/config/package-lock.json"
|
92
|
-
- ".github/config/package.json"
|
93
|
-
- ".github/config/pre_changelog_hook.js"
|
94
|
-
- ".github/dependabot.yml"
|
95
|
-
- ".github/workflows/main.yml"
|
96
92
|
- ".gitignore"
|
97
93
|
- CHANGELOG.md
|
98
94
|
- CODE_OF_CONDUCT.md
|
@@ -102,27 +98,6 @@ files:
|
|
102
98
|
- README.md
|
103
99
|
- Rakefile
|
104
100
|
- cocoapods-embed-flutter.gemspec
|
105
|
-
- example/flutter_module/.gitignore
|
106
|
-
- example/flutter_module/.metadata
|
107
|
-
- example/flutter_module/README.md
|
108
|
-
- example/flutter_module/analysis_options.yaml
|
109
|
-
- example/flutter_module/flutter_module.iml
|
110
|
-
- example/flutter_module/flutter_module_android.iml
|
111
|
-
- example/flutter_module/lib/main.dart
|
112
|
-
- example/flutter_module/pubspec.lock
|
113
|
-
- example/flutter_module/pubspec.yaml
|
114
|
-
- example/flutter_module/test/widget_test.dart
|
115
|
-
- example/ios_app/Gemfile
|
116
|
-
- example/ios_app/Gemfile.lock
|
117
|
-
- example/ios_app/Podfile
|
118
|
-
- example/ios_app/Podfile.lock
|
119
|
-
- example/ios_app/ios_app.xcodeproj/project.pbxproj
|
120
|
-
- example/ios_app/ios_app/Assets.xcassets/AccentColor.colorset/Contents.json
|
121
|
-
- example/ios_app/ios_app/Assets.xcassets/AppIcon.appiconset/Contents.json
|
122
|
-
- example/ios_app/ios_app/Assets.xcassets/Contents.json
|
123
|
-
- example/ios_app/ios_app/ContentView.swift
|
124
|
-
- example/ios_app/ios_app/Preview Content/Preview Assets.xcassets/Contents.json
|
125
|
-
- example/ios_app/ios_app/ios_appApp.swift
|
126
101
|
- lib/cocoapods-embed-flutter.rb
|
127
102
|
- lib/cocoapods-embed-flutter/flutter.rb
|
128
103
|
- lib/cocoapods-embed-flutter/flutter/dependency.rb
|
@@ -153,7 +128,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
128
|
requirements:
|
154
129
|
- - ">="
|
155
130
|
- !ruby/object:Gem::Version
|
156
|
-
version: '
|
131
|
+
version: '2.6'
|
157
132
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
133
|
requirements:
|
159
134
|
- - ">="
|
@@ -163,8 +138,7 @@ requirements: []
|
|
163
138
|
rubygems_version: 3.0.3.1
|
164
139
|
signing_key:
|
165
140
|
specification_version: 4
|
166
|
-
summary:
|
167
|
-
just like cocoapods does with pods.
|
141
|
+
summary: Embed flutter modules in iOS projects.
|
168
142
|
test_files:
|
169
143
|
- spec/info_spec.rb
|
170
144
|
- spec/spec_helper.rb
|
data/.github/config/config.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
'use strict'
|
2
|
-
const config = require('conventional-changelog-conventionalcommits');
|
3
|
-
|
4
|
-
module.exports = config({
|
5
|
-
"types": [
|
6
|
-
{ type: 'feat', section: '🚀 Features' },
|
7
|
-
{ type: 'fix', section: '🐛 Fixes' },
|
8
|
-
{ type: 'perf', section: '🐎 Performance Improvements' },
|
9
|
-
{ type: 'revert', section: '⏪ Reverts' },
|
10
|
-
{ type: 'build', section: '🛠 Build System' },
|
11
|
-
{ type: 'deps', section: '🛠 Dependency' },
|
12
|
-
{ type: 'ci', section: '💡 Continuous Integration' },
|
13
|
-
{ type: 'refactor', section: '🔥 Refactorings' },
|
14
|
-
{ type: 'doc', section: '📚 Documentation' },
|
15
|
-
{ type: 'docs', section: '📚 Documentation' },
|
16
|
-
{ type: 'style', section: '💄 Styles' },
|
17
|
-
{ type: 'test', section: '✅ Tests' },
|
18
|
-
{ type: 'wip', hidden: true },
|
19
|
-
{ type: 'chore', hidden: true },
|
20
|
-
]
|
21
|
-
})
|
@@ -1,223 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "config",
|
3
|
-
"version": "1.0.0",
|
4
|
-
"lockfileVersion": 2,
|
5
|
-
"requires": true,
|
6
|
-
"packages": {
|
7
|
-
"": {
|
8
|
-
"name": "config",
|
9
|
-
"version": "1.0.0",
|
10
|
-
"license": "MIT",
|
11
|
-
"dependencies": {
|
12
|
-
"@actions/core": "1.6.0",
|
13
|
-
"conventional-changelog-conventionalcommits": "^4.6.3",
|
14
|
-
"semver": "^7.3.5"
|
15
|
-
}
|
16
|
-
},
|
17
|
-
"node_modules/@actions/core": {
|
18
|
-
"version": "1.6.0",
|
19
|
-
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.6.0.tgz",
|
20
|
-
"integrity": "sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==",
|
21
|
-
"dependencies": {
|
22
|
-
"@actions/http-client": "^1.0.11"
|
23
|
-
}
|
24
|
-
},
|
25
|
-
"node_modules/@actions/http-client": {
|
26
|
-
"version": "1.0.11",
|
27
|
-
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz",
|
28
|
-
"integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==",
|
29
|
-
"dependencies": {
|
30
|
-
"tunnel": "0.0.6"
|
31
|
-
}
|
32
|
-
},
|
33
|
-
"node_modules/array-ify": {
|
34
|
-
"version": "1.0.0",
|
35
|
-
"resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz",
|
36
|
-
"integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4="
|
37
|
-
},
|
38
|
-
"node_modules/compare-func": {
|
39
|
-
"version": "2.0.0",
|
40
|
-
"resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz",
|
41
|
-
"integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==",
|
42
|
-
"dependencies": {
|
43
|
-
"array-ify": "^1.0.0",
|
44
|
-
"dot-prop": "^5.1.0"
|
45
|
-
}
|
46
|
-
},
|
47
|
-
"node_modules/conventional-changelog-conventionalcommits": {
|
48
|
-
"version": "4.6.3",
|
49
|
-
"resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz",
|
50
|
-
"integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==",
|
51
|
-
"dependencies": {
|
52
|
-
"compare-func": "^2.0.0",
|
53
|
-
"lodash": "^4.17.15",
|
54
|
-
"q": "^1.5.1"
|
55
|
-
},
|
56
|
-
"engines": {
|
57
|
-
"node": ">=10"
|
58
|
-
}
|
59
|
-
},
|
60
|
-
"node_modules/dot-prop": {
|
61
|
-
"version": "5.3.0",
|
62
|
-
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz",
|
63
|
-
"integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==",
|
64
|
-
"dependencies": {
|
65
|
-
"is-obj": "^2.0.0"
|
66
|
-
},
|
67
|
-
"engines": {
|
68
|
-
"node": ">=8"
|
69
|
-
}
|
70
|
-
},
|
71
|
-
"node_modules/is-obj": {
|
72
|
-
"version": "2.0.0",
|
73
|
-
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
|
74
|
-
"integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==",
|
75
|
-
"engines": {
|
76
|
-
"node": ">=8"
|
77
|
-
}
|
78
|
-
},
|
79
|
-
"node_modules/lodash": {
|
80
|
-
"version": "4.17.21",
|
81
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
82
|
-
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
83
|
-
},
|
84
|
-
"node_modules/lru-cache": {
|
85
|
-
"version": "6.0.0",
|
86
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
87
|
-
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
|
88
|
-
"dependencies": {
|
89
|
-
"yallist": "^4.0.0"
|
90
|
-
},
|
91
|
-
"engines": {
|
92
|
-
"node": ">=10"
|
93
|
-
}
|
94
|
-
},
|
95
|
-
"node_modules/q": {
|
96
|
-
"version": "1.5.1",
|
97
|
-
"resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
|
98
|
-
"integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",
|
99
|
-
"engines": {
|
100
|
-
"node": ">=0.6.0",
|
101
|
-
"teleport": ">=0.2.0"
|
102
|
-
}
|
103
|
-
},
|
104
|
-
"node_modules/semver": {
|
105
|
-
"version": "7.3.5",
|
106
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
|
107
|
-
"integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
|
108
|
-
"dependencies": {
|
109
|
-
"lru-cache": "^6.0.0"
|
110
|
-
},
|
111
|
-
"bin": {
|
112
|
-
"semver": "bin/semver.js"
|
113
|
-
},
|
114
|
-
"engines": {
|
115
|
-
"node": ">=10"
|
116
|
-
}
|
117
|
-
},
|
118
|
-
"node_modules/tunnel": {
|
119
|
-
"version": "0.0.6",
|
120
|
-
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
|
121
|
-
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==",
|
122
|
-
"engines": {
|
123
|
-
"node": ">=0.6.11 <=0.7.0 || >=0.7.3"
|
124
|
-
}
|
125
|
-
},
|
126
|
-
"node_modules/yallist": {
|
127
|
-
"version": "4.0.0",
|
128
|
-
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
129
|
-
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
130
|
-
}
|
131
|
-
},
|
132
|
-
"dependencies": {
|
133
|
-
"@actions/core": {
|
134
|
-
"version": "1.6.0",
|
135
|
-
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.6.0.tgz",
|
136
|
-
"integrity": "sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==",
|
137
|
-
"requires": {
|
138
|
-
"@actions/http-client": "^1.0.11"
|
139
|
-
}
|
140
|
-
},
|
141
|
-
"@actions/http-client": {
|
142
|
-
"version": "1.0.11",
|
143
|
-
"resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz",
|
144
|
-
"integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==",
|
145
|
-
"requires": {
|
146
|
-
"tunnel": "0.0.6"
|
147
|
-
}
|
148
|
-
},
|
149
|
-
"array-ify": {
|
150
|
-
"version": "1.0.0",
|
151
|
-
"resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz",
|
152
|
-
"integrity": "sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4="
|
153
|
-
},
|
154
|
-
"compare-func": {
|
155
|
-
"version": "2.0.0",
|
156
|
-
"resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz",
|
157
|
-
"integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==",
|
158
|
-
"requires": {
|
159
|
-
"array-ify": "^1.0.0",
|
160
|
-
"dot-prop": "^5.1.0"
|
161
|
-
}
|
162
|
-
},
|
163
|
-
"conventional-changelog-conventionalcommits": {
|
164
|
-
"version": "4.6.3",
|
165
|
-
"resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz",
|
166
|
-
"integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==",
|
167
|
-
"requires": {
|
168
|
-
"compare-func": "^2.0.0",
|
169
|
-
"lodash": "^4.17.15",
|
170
|
-
"q": "^1.5.1"
|
171
|
-
}
|
172
|
-
},
|
173
|
-
"dot-prop": {
|
174
|
-
"version": "5.3.0",
|
175
|
-
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz",
|
176
|
-
"integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==",
|
177
|
-
"requires": {
|
178
|
-
"is-obj": "^2.0.0"
|
179
|
-
}
|
180
|
-
},
|
181
|
-
"is-obj": {
|
182
|
-
"version": "2.0.0",
|
183
|
-
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz",
|
184
|
-
"integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w=="
|
185
|
-
},
|
186
|
-
"lodash": {
|
187
|
-
"version": "4.17.21",
|
188
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
189
|
-
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
|
190
|
-
},
|
191
|
-
"lru-cache": {
|
192
|
-
"version": "6.0.0",
|
193
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
194
|
-
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
|
195
|
-
"requires": {
|
196
|
-
"yallist": "^4.0.0"
|
197
|
-
}
|
198
|
-
},
|
199
|
-
"q": {
|
200
|
-
"version": "1.5.1",
|
201
|
-
"resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
|
202
|
-
"integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc="
|
203
|
-
},
|
204
|
-
"semver": {
|
205
|
-
"version": "7.3.5",
|
206
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
|
207
|
-
"integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
|
208
|
-
"requires": {
|
209
|
-
"lru-cache": "^6.0.0"
|
210
|
-
}
|
211
|
-
},
|
212
|
-
"tunnel": {
|
213
|
-
"version": "0.0.6",
|
214
|
-
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
|
215
|
-
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="
|
216
|
-
},
|
217
|
-
"yallist": {
|
218
|
-
"version": "4.0.0",
|
219
|
-
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
|
220
|
-
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
221
|
-
}
|
222
|
-
}
|
223
|
-
}
|
data/.github/config/package.json
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "config",
|
3
|
-
"version": "1.0.0",
|
4
|
-
"description": "conventional-changelog-action hooks",
|
5
|
-
"main": "config.js",
|
6
|
-
"license": "MIT",
|
7
|
-
"author": {
|
8
|
-
"name": "Soumya Ranjan Mahunt",
|
9
|
-
"email": "devsoumyamahunt@gmail.com"
|
10
|
-
},
|
11
|
-
"dependencies": {
|
12
|
-
"@actions/core": "1.6.0",
|
13
|
-
"conventional-changelog-conventionalcommits": "^4.6.3",
|
14
|
-
"semver": "^7.3.5"
|
15
|
-
}
|
16
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
const path = require('path');
|
2
|
-
const fs = require('fs');
|
3
|
-
const semver = require('semver');
|
4
|
-
const core = require('@actions/core');
|
5
|
-
const childProcess = require("child_process");
|
6
|
-
|
7
|
-
exports.preVersionGeneration = (version) => {
|
8
|
-
const { GITHUB_WORKSPACE } = process.env;
|
9
|
-
core.info(`Computed version bump: ${version}`);
|
10
|
-
|
11
|
-
const gem_info_file = path.join(GITHUB_WORKSPACE, 'lib/cocoapods-embed-flutter/gem_version.rb');
|
12
|
-
const gem_info = `${fs.readFileSync(gem_info_file)}`;
|
13
|
-
core.info(`Current gem info: ${gem_info}`);
|
14
|
-
|
15
|
-
currentVersion = gem_info.match(/VERSION\s*=\s'(.*)'/)[1];
|
16
|
-
core.info(`Current version: ${currentVersion}`);
|
17
|
-
|
18
|
-
if (semver.lt(version, currentVersion)) { version = currentVersion; }
|
19
|
-
core.info(`Final version: ${version}`);
|
20
|
-
|
21
|
-
const new_gem_info = gem_info.replace(/VERSION\s*=\s*.*/g, `VERSION = '${version}'.freeze`);
|
22
|
-
core.info(`Updated gem info: ${new_gem_info}`);
|
23
|
-
fs.writeFileSync(gem_info_file, new_gem_info);
|
24
|
-
return version;
|
25
|
-
}
|
26
|
-
|
27
|
-
exports.preTagGeneration = (tag) => { }
|
data/.github/dependabot.yml
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
version: 2
|
2
|
-
updates:
|
3
|
-
- package-ecosystem: bundler
|
4
|
-
directory: /
|
5
|
-
insecure-external-code-execution: allow
|
6
|
-
schedule:
|
7
|
-
interval: weekly
|
8
|
-
commit-message:
|
9
|
-
prefix: 'deps: '
|
10
|
-
|
11
|
-
- package-ecosystem: github-actions
|
12
|
-
directory: /
|
13
|
-
schedule:
|
14
|
-
interval: monthly
|
15
|
-
commit-message:
|
16
|
-
prefix: 'ci(Deps): '
|
17
|
-
|
18
|
-
- package-ecosystem: npm
|
19
|
-
directory: .github/config
|
20
|
-
schedule:
|
21
|
-
interval: monthly
|
22
|
-
commit-message:
|
23
|
-
prefix: 'ci(Deps): '
|