This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-lib.git
The following commit(s) were added to refs/heads/master by this push:
new 34a8a207 feat!: remove osx & windows platform (#896)
34a8a207 is described below
commit 34a8a207e3429bbb80dd34ed04d9826ae2b2d34b
Author: エリス <[email protected]>
AuthorDate: Wed Apr 19 16:20:25 2023 +0900
feat!: remove osx & windows platform (#896)
* feat!: remove osx & windows platform
* test: remove windows & osx from spec
---
spec/cordova/platforms/platforms.spec.js | 2 +-
src/platforms/platformsConfig.json | 12 ------------
2 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/spec/cordova/platforms/platforms.spec.js
b/spec/cordova/platforms/platforms.spec.js
index 412c9c8f..b68ff108 100644
--- a/spec/cordova/platforms/platforms.spec.js
+++ b/spec/cordova/platforms/platforms.spec.js
@@ -38,7 +38,7 @@ describe('platforms/platforms', () => {
it('should have all and only the supported platforms', function () {
expect(Object.keys(platforms)).toEqual(jasmine.arrayWithExactContents([
- 'android', 'browser', 'ios', 'osx', 'windows', 'electron'
+ 'android', 'browser', 'ios', 'electron'
]));
});
diff --git a/src/platforms/platformsConfig.json
b/src/platforms/platformsConfig.json
index 169b4c26..134be956 100644
--- a/src/platforms/platformsConfig.json
+++ b/src/platforms/platformsConfig.json
@@ -5,23 +5,11 @@
"version": "^6.2.0",
"deprecated": false
},
- "osx": {
- "hostos": ["darwin"],
- "url": "https://github.com/apache/cordova-osx.git",
- "version": "^6.0.0",
- "deprecated": true
- },
"android": {
"url": "https://github.com/apache/cordova-android.git",
"version": "^10.1.1",
"deprecated": false
},
- "windows": {
- "hostos": ["win32"],
- "url": "https://github.com/apache/cordova-windows.git",
- "version": "^7.0.0",
- "deprecated": true
- },
"browser": {
"parser_file": "../cordova/metadata/browser_parser",
"handler_file": "../plugman/platforms/browser",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]