Erisu [Tue, 19 May 2020 00:23:43 +0000 (09:23 +0900)]
Increment package version to 3.0.2-dev
Erisu [Fri, 15 May 2020 05:05:51 +0000 (14:05 +0900)]
Updated RELEASENOTES.md & version for release 3.0.1 (node-xcode-3.0.1)
Niklas Merz [Thu, 14 May 2020 06:37:08 +0000 (08:37 +0200)]
Add targetName to paramter to getBuildProperty (#109)
* Add targetName to parameter to getBuildProperty
* Update lib/pbxProject.js
Co-authored-by: Tim Brust <github@timbrust.de>
Erisu [Wed, 22 Apr 2020 04:37:06 +0000 (13:37 +0900)]
chore(asf): update git notification settings
Niklas Merz [Mon, 13 Apr 2020 12:50:57 +0000 (14:50 +0200)]
Update CONTRIBUTING.md
Erisu [Mon, 13 Apr 2020 01:50:53 +0000 (10:50 +0900)]
Increment package version to 3.0.1-dev
Erisu [Thu, 9 Apr 2020 08:20:49 +0000 (17:20 +0900)]
node-xcode-3.0.0 Updated version and RELEASENOTES.md for release 3.0.0
Erisu [Thu, 9 Apr 2020 08:11:12 +0000 (17:11 +0900)]
node-xcode-3.0.0 Added NOTICE for release
エリス [Thu, 9 Apr 2020 07:50:35 +0000 (16:50 +0900)]
doc(README): fix CI badge url (#107)
Niklas Merz [Thu, 9 Apr 2020 07:43:58 +0000 (09:43 +0200)]
Update build property by targetname (#106)
* feature: update build property by target name
* fix update build property by target name
* Add tests for 'updateBuildProperty' with multiple targets
Co-authored-by: Erisu <ellis.bryan@gmail.com>
Niklas Merz [Thu, 9 Apr 2020 07:42:12 +0000 (09:42 +0200)]
[MAJOR] Add new optional paramter to pbxProject.addTarget (#79)
Allows plugins to set bundle ids for extensions.
エリス [Thu, 9 Apr 2020 07:38:15 +0000 (16:38 +0900)]
ci: switch travis ci for github actions (#96)
* ci(npm): add package-lock for npm cit command
* ci(npm): add nyc coverage dependecy
* ci(travis): drop service
* ci(github-actions): add workflow
エリス [Thu, 2 Apr 2020 11:02:58 +0000 (20:02 +0900)]
breaking(npm): bump dependencies (#94)
* simple-plist@^1.1.0
* uuid@^7.0.3
エリス [Thu, 2 Apr 2020 08:24:52 +0000 (17:24 +0900)]
chore(npm): use short notation for repo & bugs (#93)
Tim Brust [Mon, 30 Mar 2020 10:43:09 +0000 (10:43 +0000)]
ci(travis): removes Node.js v6 and v8 from testing (#90)
Tim Brust [Mon, 30 Mar 2020 10:42:43 +0000 (10:42 +0000)]
chore: bump node requirement (>=10) (#92)
Tim Brust [Mon, 30 Mar 2020 08:28:57 +0000 (08:28 +0000)]
chore: bump version to 3.0.0-dev (#91)
Tim Brust [Sat, 28 Mar 2020 15:31:30 +0000 (15:31 +0000)]
chore(npm): improve ignore list (#89)
Christopher J. Brody [Fri, 13 Dec 2019 00:27:35 +0000 (19:27 -0500)]
Increment package version to -dev (2.1.1-dev)
Christopher J. Brody [Fri, 13 Dec 2019 00:24:20 +0000 (19:24 -0500)]
Update version & RELEASENOTES.md for release 2.1.0
l3ender [Tue, 12 Nov 2019 16:40:31 +0000 (10:40 -0600)]
Add target test coverage (#82)
* addTarget coverage - target name
* addTarget coverage - validate target type
* addTarget coverage - build configuration validation
* addTarget coverage - target name
* addTarget coverage - target type/name error validation
* addTarget coverage - strict match for build config comment
* addTarget coverage - debug/release build config
l3ender [Mon, 11 Nov 2019 22:58:45 +0000 (16:58 -0600)]
ensure coverage for addTargetDependency with invalid input (#81)
* ensure coverage for addTargetDependency with invalid input
* ensure coverage for addTargetDependency with correct PBX validation
* coverage for dependency target comments in addTargetDependency
* addTargetDependency coverage for proxy container items
* addTargetDependency proxy item container portal comment validation
l3ender [Mon, 21 Oct 2019 17:43:56 +0000 (12:43 -0500)]
Support watch2 apps/extensions (#56)
* adds watch2 target/product types
* support adding watch2 app/extension targets
* add watch app/extension test coverage
* project formatting consistency
* coverage for correct watch app extension path name
* coverage for target type
* ensure non-watch2 extensions additions don't modify watch2 app
* add test coverage for watch2 product types
* watch2 file/product type test coverage
* watch2 coverage for target name/extension
* clarify watch2 test descriptions
* update comment to keep consistent w/ project
l3ender [Mon, 21 Oct 2019 17:14:58 +0000 (12:14 -0500)]
Test coverage: `addTarget` add to main project as dependency (#76)
* add coverage for main project target dependency
* handle old env w/o support for object.entries
Chris Brody [Fri, 18 Oct 2019 13:26:20 +0000 (09:26 -0400)]
remove internal propReplace function not needed (#69)
l3ender [Fri, 18 Oct 2019 13:23:53 +0000 (08:23 -0500)]
Add proper `filetypeForProducttype` test coverage (#72)
* ensure filetypeForProducttype coverage
* cleaner test target descriptions
Chris Brody [Fri, 18 Oct 2019 13:06:37 +0000 (09:06 -0400)]
Test existing WatchKit support (#71)
* add watch app/extension test coverage
* updated to test existing WatchKit support
* refactor to check watchapp product type in the beginning (and remove some extra test code)
Co-authored-by: Ross Bender <rbender@rbfcu.org>
Co-Authored-By: Chris Brody <chris@brody.consulting>
Chris Brody [Thu, 17 Oct 2019 15:19:19 +0000 (11:19 -0400)]
fix a comment in lib/pbxProject.js (#68)
Co-authored-by: Ross Bender <rbender@rbfcu.org>
Co-authored-by: Christopher J. Brody <chris@brody.consulting>
l3ender [Thu, 17 Oct 2019 03:20:13 +0000 (22:20 -0500)]
Test coverage for `app_extension` target types (#66)
* tests for app_extension build phase additions
* coverage for pbxCopyFilesBuildPhaseObj func
Co-authored-by: Ross Bender <rbender@rbfcu.org>
Co-Authored-By: Chris Brody <chris@brody.consulting>
l3ender [Thu, 17 Oct 2019 03:14:52 +0000 (22:14 -0500)]
add dependencies for per-file testing (#67)
Christopher J. Brody [Thu, 26 Sep 2019 15:01:05 +0000 (11:01 -0400)]
Travis CI now on Linux & macOS ("osx")
エリス [Tue, 18 Jun 2019 11:09:53 +0000 (20:09 +0900)]
Add Node.js 12 to CI Services (#51)
Frederic Barthelemy [Sun, 10 Mar 2019 20:55:37 +0000 (13:55 -0700)]
Update writeObjectsSections to match current Xcode format (#46)
Tested on Xcode Version 10.1 (10B61)
MINOR fix
エリス [Tue, 15 Jan 2019 05:18:25 +0000 (14:18 +0900)]
GH-10 Incremented package version to -dev
エリス [Tue, 15 Jan 2019 04:43:17 +0000 (13:43 +0900)]
GH-10 Updated version and RELEASENOTES.md for release 2.0.0
Mark Atkinson [Wed, 19 Dec 2018 19:48:59 +0000 (19:48 +0000)]
Updated to use ECMAScript 2015 Object.assign. (#14)
Updated pbxproj.js to use ECMAScript 2015 Object.assign to avoid
Maximum call stack size exceeded error when running
react-native link.
Laurin Quast [Wed, 19 Dec 2018 19:36:03 +0000 (20:36 +0100)]
fix: simple-plist@1 update in dependencies (#30)
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Laurin Quast [Wed, 19 Dec 2018 19:28:24 +0000 (20:28 +0100)]
drop support for Node.js pre-6.0 (#29)
* chore: remove node versions prior to 6 from travis build
* chore: bump node engine to lowest LTS version
* chore: remove redundant console output
resolves #17
Christopher J. Brody [Wed, 19 Dec 2018 16:53:34 +0000 (11:53 -0500)]
Increment package version to 2.0.0-dev
Christopher J. Brody [Wed, 19 Dec 2018 16:40:14 +0000 (11:40 -0500)]
Update version & RELEASENOTES.md for release 1.1.0
Chris Brody [Wed, 19 Dec 2018 15:25:14 +0000 (10:25 -0500)]
uuid@3 update (#40)
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
Chris Brody [Wed, 12 Dec 2018 00:30:17 +0000 (19:30 -0500)]
Remove trailing whitespace from lib/pbxWriter.js (#35)
Chris Brody [Wed, 12 Dec 2018 00:09:47 +0000 (19:09 -0500)]
Remove trailing whitespace from test/*.js (#34)
Chris Brody [Wed, 12 Dec 2018 00:05:26 +0000 (19:05 -0500)]
Remove trailing space from test pbxproj (#33)
test/parser/projects/comments.pbxproj
Chris Brody [Tue, 11 Dec 2018 21:38:35 +0000 (16:38 -0500)]
git ignore package-lock.json (#32)
Chris Brody [Tue, 11 Dec 2018 21:13:50 +0000 (16:13 -0500)]
Resolve issue with pbxFile extension (#31)
where pbxFile extension was being set to 'undefined'
and add new test case to verify the bug fix
with a quick test fix by @brodybits (Christopher J. Brody)
for the sake of consistency with the other test cases
NOTE: These changes were originally part of
apache/cordova-node-xcode#12 (cordova-node-xcode PR #12),
extracted here by @brodybits.
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
Co-authored-by: Christopher J. Brody <brodybits@litehelpers.net>
Laurin Quast [Sun, 9 Dec 2018 20:48:47 +0000 (21:48 +0100)]
feat: omit objects with empty values (#24)
and add tests
Chris Brody [Sun, 9 Dec 2018 18:06:41 +0000 (13:06 -0500)]
Add npm badge; fix title & description (#26)
with some fixes as suggested by @janpio
Co-authored-by: Christopher Brody <chris.brody@gmail.com>
Co-authored-by: Jan P <janpio@users.noreply.github.com>
Laurin Quast [Fri, 7 Dec 2018 15:13:28 +0000 (16:13 +0100)]
docs(readme): highlight code example (#25)
Chris Brody [Thu, 6 Dec 2018 16:15:23 +0000 (11:15 -0500)]
Add Travis CI badge (#22)
Chris Brody [Thu, 6 Dec 2018 16:06:07 +0000 (11:06 -0500)]
.travis.yml remove comment (#21)
that is not 100% correct
and extra blank line
Chris Brody [Wed, 5 Dec 2018 17:41:21 +0000 (12:41 -0500)]
Introduce .travis.yml (#19)
from cordova-common, with some changes
Testing of this package on old Node.js versions is included,
since some non-Cordova users may still expect this to work.
nvm install --latest-npm is used for Node.js 0.8, as long as needed;
thanks for guidance:
* https://stackoverflow.com/questions/
9755841/how-can-i-change-the-version-of-npm-using-nvm/
47519162#
47519162
* https://github.com/browserify/browserify/blob/master/.travis.yml
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Co-authored-by: Darryl Pogue <darryl@dpogue.ca>
Co-authored-by: Audrey So <audreyso@apache.org>
Co-authored-by: filmaj <maj.fil@gmail.com>
Co-authored-by: Steve Gill <stevengill97@gmail.com>
Chris Brody [Wed, 5 Dec 2018 16:29:58 +0000 (11:29 -0500)]
test/knownRegions.js let -> var (quick fix) (#18)
needed to pass on older Node.js versions
Christopher J. Brody [Mon, 9 Jul 2018 16:16:17 +0000 (12:16 -0400)]
pegjs updates
package.json
- move pegjs to devDependencies in package.json
- add pegjs script to package.json
- update README.md with easier pegjs instructions & reminder notice
Christopher J. Brody [Mon, 9 Jul 2018 16:04:33 +0000 (12:04 -0400)]
CB-14145 explicit nodeunit@^0.11.3 update
Christopher J. Brody [Mon, 9 Jul 2018 15:58:19 +0000 (11:58 -0400)]
package.json remove extra blank lines
kelvinhokk [Tue, 22 May 2018 06:35:52 +0000 (14:35 +0800)]
Fixed bug where comment is not removed on removing embedded frameworks. (#5)
Shazron Abdullah [Sun, 11 Feb 2018 16:12:08 +0000 (00:12 +0800)]
Merge pull request #8 from ikhattab/patch-1
update invalid link of PEGjs on README
Ihab Khattab [Sat, 10 Feb 2018 12:40:59 +0000 (14:40 +0200)]
update invalid link of PEGjs on README
Steve Gill [Fri, 6 Oct 2017 22:28:29 +0000 (15:28 -0700)]
CB-13380 Incremented package version to -dev
Steve Gill [Fri, 6 Oct 2017 00:34:46 +0000 (17:34 -0700)]
CB-13380 added missing license headers
Steve Gill [Thu, 5 Oct 2017 19:18:30 +0000 (12:18 -0700)]
CB-13380 Updated version and RELEASENOTES.md for release 1.0.0
ZauberNerd [Thu, 1 Jun 2017 12:21:50 +0000 (14:21 +0200)]
Fix null-access errors in "addTo/removeFrom*PbxGroup" methods
The project exposes a few methods to add/remove children from PbxGroups
* `addToPluginsPbxGroup` / `removeFromPluginsPbxGroup`
* `addToResourcesPbxGroup` / `removeFromResourcesPbxGroup`
* `addToFrameworksPbxGroup` / `removeFromFrameworksPbxGroup`
* `addToProductsPbxGroup` / `removeFromProductsPbxGroup`
which are used internally in:
* `addPluginFile` / `removePluginFile`
* `addResourceFile` / `removeResourceFile`
* `addProductFile` / `removeProductFile`
* `addFramework` / `removeFramework`
But neither of these methods do a check whether the `PbxGroup` actually
exists before trying to modify it - this can result in a possible
null-access error.
I ran into this problem when trying to add a framework to a project
which didn't have a `Frameworks` `PbxGroup`.
This commit adds checks to these methods to test for existence of the
`PbxGroup`s and creates them if they don't exist or does an early exit
in the case of removal.
This closes #3
ZauberNerd [Thu, 4 May 2017 13:24:06 +0000 (15:24 +0200)]
Fix possible null-access error in "removeFromFrameworksPbxGroup"
The method `project.removeFromFrameworksPbxGroup` directly tries to
access `children` on `project.pbxGroupByName` - but this method might
return `null` if no such group exists.
To prevent a runtime error when trying to access a property on `null` we
can add a check whether the requested group "Frameworks" does exist in
the project and only then continue with the removal of the file.
This closes #1
Paul Dixon [Sun, 24 Sep 2017 11:07:54 +0000 (12:07 +0100)]
add check for isArray so that strings don't cause an error when calling .filter
This closes #4
Andrew Lunny [Tue, 11 Apr 2017 20:54:25 +0000 (13:54 -0700)]
Merge pull request #128 from purplecabbage/ContributeToApacheCordova
Updated License, Copyright, Contributors and repo url
Jesse MacFadyen [Tue, 11 Apr 2017 20:50:45 +0000 (13:50 -0700)]
Updated License, Copyright, Contributors and repo url, in prep for contributing this project to Apache Cordova
imhotep [Fri, 7 Apr 2017 13:49:27 +0000 (14:49 +0100)]
bumping to 0.9.3
imhotep [Fri, 7 Apr 2017 13:38:36 +0000 (14:38 +0100)]
Merge branch 'zhuangya-upgrade'
imhotep [Fri, 7 Apr 2017 13:33:05 +0000 (14:33 +0100)]
Merge branch 'upgrade' of https://github.com/zhuangya/node-xcode into zhuangya-upgrade
imhotep [Fri, 31 Mar 2017 23:06:47 +0000 (16:06 -0700)]
bumping version to 0.9.2
Ya Zhuang [Wed, 8 Feb 2017 14:57:36 +0000 (22:57 +0800)]
chore: upgrade PEG, simple-plist and nodeunit
Anis Kadri [Tue, 3 Jan 2017 22:40:52 +0000 (14:40 -0800)]
Merge branch 'freiserg-master'
Anis Kadri [Tue, 3 Jan 2017 22:40:12 +0000 (14:40 -0800)]
Merge branch 'master' of https://github.com/freiserg/node-xcode into freiserg-master
Anis Kadri [Tue, 3 Jan 2017 22:10:12 +0000 (14:10 -0800)]
Bumping to 0.9.1
Anis Kadri [Tue, 3 Jan 2017 22:09:11 +0000 (14:09 -0800)]
Merge branch 'AbnerZheng-master'
Anis Kadri [Tue, 3 Jan 2017 22:08:36 +0000 (14:08 -0800)]
Merge branch 'master' of https://github.com/AbnerZheng/node-xcode into AbnerZheng-master
freiserg [Thu, 22 Dec 2016 11:35:16 +0000 (15:35 +0400)]
Update a uuid module
Anis Kadri [Tue, 20 Dec 2016 17:24:24 +0000 (18:24 +0100)]
Merge branch 'innovative1-master'
John Warmann [Fri, 16 Dec 2016 23:57:51 +0000 (18:57 -0500)]
Tests for knownRegions
John Warmann [Fri, 16 Dec 2016 23:57:10 +0000 (18:57 -0500)]
Adding and removing knownRegions to/from PBXProject section
Anis Kadri [Sun, 11 Dec 2016 06:57:13 +0000 (07:57 +0100)]
Merge branch 'kelvinhokk-master'
Anis Kadri [Sun, 11 Dec 2016 06:56:58 +0000 (07:56 +0100)]
Merge branch 'master' of https://github.com/kelvinhokk/node-xcode into kelvinhokk-master
Anis Kadri [Sun, 11 Dec 2016 06:42:26 +0000 (07:42 +0100)]
Merge branch 'superserg8-master'
Sergey [Sat, 10 Dec 2016 13:48:52 +0000 (16:48 +0300)]
pbxProject removeTargetAttribute
Sergey [Fri, 9 Dec 2016 12:24:35 +0000 (15:24 +0300)]
pbxProject addTargetAttribute
zhenglu.zl [Fri, 9 Dec 2016 09:24:02 +0000 (17:24 +0800)]
change tail recursive -> iterate
kelvinho [Fri, 2 Dec 2016 19:44:49 +0000 (03:44 +0800)]
added PBXVariantGroup for localization and nodeunit test cases
Anis Kadri [Thu, 17 Nov 2016 22:09:07 +0000 (14:09 -0800)]
Merge branch 'sundbry-shell-step'
Ryan Sundberg [Thu, 27 Oct 2016 18:29:51 +0000 (11:29 -0700)]
Test case for PBXShellScriptBuildPhase
Ryan Sundberg [Wed, 26 Oct 2016 20:35:40 +0000 (13:35 -0700)]
Upgrade to 0.9.0
Ryan Sundberg [Thu, 27 Oct 2016 18:25:46 +0000 (11:25 -0700)]
RM debug logs
Ryan Sundberg [Wed, 26 Oct 2016 20:34:55 +0000 (13:34 -0700)]
Add support for PBXShellScriptBuildPhase
Anis Kadri [Thu, 18 Aug 2016 17:07:31 +0000 (10:07 -0700)]
Merge pull request #103 from shazron/license-key-fix
Added license key to package.json (Apache-2.0)
Shazron Abdullah [Thu, 18 Aug 2016 00:08:52 +0000 (17:08 -0700)]
Added license key to package.json (Apache-2.0)
Anis Kadri [Wed, 17 Aug 2016 22:00:34 +0000 (15:00 -0700)]
Issue #102 Changing license in README.md
Anis Kadri [Thu, 21 Jul 2016 21:46:51 +0000 (14:46 -0700)]
bumping version to 0.8.9
Anis Kadri [Mon, 6 Jun 2016 12:36:01 +0000 (14:36 +0200)]
Issue #97 removing unused self reference
Anis Kadri [Sun, 5 Jun 2016 12:23:48 +0000 (14:23 +0200)]
minor change to pbxFile
Anis Kadri [Wed, 1 Jun 2016 17:26:08 +0000 (19:26 +0200)]
Bumping to 0.8.8