エリス
484c60e483
test(plugins): remove old deprecated android_studio option ( #1815 )
2025-06-24 12:06:00 +09:00
エリス
5dc9c72821
fix(plugins): rename & match removeFileF logic with other platforms ( #1806 )
2025-06-16 21:29:02 +09:00
エリス
e012478537
refactor: replace fs-extra with node:fs ( #1772 )
...
* spec: add devDependencies "tmp"
2025-01-29 10:39:11 +09:00
エリス
9f5518000f
refactor: prefix node:* ( #1769 )
...
* refactor: prefix node:* to path
* refactor: prefix node:* to os
* refactor: prefix node:* to fs
* refactor: prefix node:* to util
2025-01-28 12:13:36 +09:00
エリス
a9d4d4ebd2
feat!: bump Gradle 7.6 & AGP 7.4.2 ( #1539 )
...
* feat: bump gradle 7.6
* feat: bump android gradle plugin 7.3.1
* feat: bump android gradle plugin 7.4.2
* fix!: move android package name to build.gradle namespace
* fix!: remove deprecated package name from AndroidManifest
* fix: package name
* fix: rename CordovaGradleConfigParser's _save to write
* test: fix CordovaGradleConfigParser related specs
* fix: test refactoring for gradle namespace
* fix: accidental variable naming mixing
---------
Co-authored-by: Norman Breau <norman@nbsolutions.ca >
2023-04-12 14:39:47 +09:00
エリス
a2bb7f1173
chore(npm): bump @cordova/eslint-config@^4.0.0 ( #1421 )
...
* chore(npm): bump @cordova/eslint-config@^4.0.0
* style(lint): apply auto corrections
* style(lint): convert hasAndroidHome var to let and hoisted
2022-04-18 10:39:54 +09:00
Raphael von der Grün
16ff6e1b2f
refactor!: do not copy JS lib to platform project ( #1269 )
2021-07-13 11:01:50 +02:00
Raphael von der Grün
8ef8d994df
fix(pluginHandlers): properly check if path is inside another ( #1014 )
2020-07-08 23:31:16 +02:00
Raphael von der Grün
80ad635348
test(pluginHandlers/common): better setup & teardown ( #1013 )
2020-07-08 15:15:53 +02:00
エリス
de105e8651
refactor (eslint): use cordova-eslint ( #910 )
2020-01-31 22:02:48 +09:00
Norman Breau
3712619f5c
refactor: remove shelljs dependency ( #842 )
...
Co-authored-by: エリス <erisu@users.noreply.github.com >
2020-01-29 10:12:55 +09:00
Raphael von der Grün
5dfa995a4b
Ensure to lint as many files as possible ( #854 )
...
* Lint everything, including bins w/out extension
* Apply eslint --fix to all linted files
* Manually fix all remaining lint rule violations
* Remove ESLint inline config
2019-10-21 18:26:17 +02:00
エリス
39bd0d6463
Bumped Dev Dependencies + ESLint Correction
2019-01-15 21:57:08 -08:00
Jule-
8a4ae311ce
Rewrite install dir resolution for legacy plugins ( #589 )
...
* Improve target-dir restriction for detecting new android project structure used in plugin.xml. (#575 )
* Clarify old source-file declaration way from the new one and improve ambiguous code.
* Better check `src/main` forms.
* Replace path search with RegExp vars.
* Fix RegExp in order to match `/` or `EOL`.
* Remove template strings for NodeJS 4 support (wanted in case we port these changes to `7.1.x` at some point).
* Add pointer to deprecation plan in GH-580.
2018-11-28 06:46:45 -05:00
Chris Brody
ef2434188e
Resolve issue with plugin target-dir="app*" subdirs ( #572 )
...
(subdirectories) such as "appco", with unit tests to verify
Needed for @katzer plugins that use de/appplant subdirectory,
for example:
* cordova-plugin-local-notifications
* cordova-plugin-badge
* cordova-plugin-background-mode
Also needed for cordova-plugin-inappbrowser
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com >
Co-authored-by: Julio César <jcesarmobile@gmail.com >
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com >
2018-11-22 08:59:33 -05:00
Christopher J. Brody
a67bc75b93
GH-547 Fix for old plugins with non-Java sources
...
(source-file entries)
including aidl, aar, jar, and so files
2018-11-14 13:19:58 -05:00
Christopher J. Brody
bbb3913a36
Test old plugin aidl & lib mapping - repros GH-547
...
(reproduces GH-547)
2018-11-13 13:06:48 -05:00
Christopher J. Brody
92f07d0418
Check old compat of other extension (CB-14125)
...
of plugin source file installed into app/src/main with
old target-dir scheme
NOTE: These tests do *not* check compatibility of
plugins with old lib target-dir scheme.
2018-11-12 23:27:59 -05:00
Christopher J. Brody
578a642209
Check target-dir mapping of plugin xml source file
...
Possibly related to: CB-13830: Add handlers for plugins
that use non-Java source files, such as Camera
2018-11-12 23:27:53 -05:00
Christopher J. Brody
9d03e4ec0a
Fix tests of plugin files with new app dir scheme
...
(new app target-dir scheme)
2018-11-12 22:54:40 -05:00
Christopher J. Brody
c15312ee70
unit test uninstall of <source-file> with app dest
...
for Java source, JAR, and AAR
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com >
Co-authored-by: Kyle Kirbatski <kkirbatski@gmrmarketing.com >
Co-authored-by: Antonio Facciolo <afdev82@users.noreply.github.com >
2018-11-11 15:19:13 -05:00
Christopher J. Brody
3caefcae49
unit test source-file with custom lib target-dir
...
for JAR and AAR
(GH-540)
Co-Authored-By: Kyle Kirbatski <kkirbatski@gmrmarketing.com >
Co-Authored-By: Christopher J. Brody <chris.brody@gmail.com >
Co-Authored-By: @afdev82 (Antonio Facciolo)
2018-11-11 15:18:00 -05:00
Christopher J. Brody
fb1dfb27df
unit test uninstall of <source-file> with app dest
...
for Java source only (GH-539)
Co-Authored-By: Christopher J. Brody <chris.brody@gmail.com >
Co-Authored-By: Kyle Kirbatski <kkirbatski@gmrmarketing.com >
2018-11-11 15:15:36 -05:00
Kyle Kirbatski
898a6a8d8d
Add a unit test to test source-file target-dir /app/src/main/…
2018-11-11 15:15:35 -05:00
エリス
23b24491c3
Fixes build & run related bugs from builder refactor PR #461 ( #490 )
...
- General Code Refactor
- Removed builder type argument from getBuilder API
- Removed any reference of conditional statements around builder type
- Remove plugin handler install and uninstall option flag android_studio
- Remove --gradle flag references
- Fixed plugin handler install and uninstall pathing issues
- Added parseBuildOptions export so run can get build related options.
- Use the nobuild flag option to control the run build.
- Updated test spec to reflect the changes.
2018-09-06 11:06:18 +09:00
Julio César
fe7629e8fc
CB-14038 (android): fix false positive detecting project type
2018-04-18 13:52:04 +02:00
Joe Bowser
f3c238db1c
CB-11244: Adding specs for resource files inside an Android Studio Project
2017-10-03 14:16:27 -07:00
Audrey So
ac4ac935f6
CB-12895 : added .eslintrc files to set up jasmine environment
2017-06-23 08:07:08 -07:00
Audrey So
d83d49d83b
CB-12895 : fixed eslint errors
2017-06-23 08:07:08 -07:00
audreyso
3fc4daa447
CB-12018 : updated tests to work with jasmine (promise matcher tests commented out for now)
2017-01-11 17:07:17 -08:00
Anis Kadri
f5ab6fc602
adding tests for Android Studio
...
This closes #331
2016-09-20 19:54:38 -07:00
Richard Knoll
9738079c42
CB-11259: Improving build output
...
This closes #305
2016-05-17 13:31:12 -07:00
Vladimir Kotikov
9af7f506f0
CB-11095 Fix plugin add/removal when running on Node v.010
2016-04-18 12:26:39 +03:00
Vladimir Kotikov
9b8558dbde
CB-11022 Duplicate www files to both destinations on plugin operations
...
This closes #289
2016-04-14 12:03:44 +03:00
Vladimir Kotikov
8ab75e7109
CB-10729 Move plugin handlers tests for into platform's repo
2016-03-01 11:31:14 +03:00