Erisu [Tue, 30 Nov 2021 02:48:19 +0000 (11:48 +0900)]
release(4.0.0): updated release notes & version (create-4.0.0)
エリス [Tue, 2 Nov 2021 05:25:49 +0000 (14:25 +0900)]
dep!: update all dependencies (#68)
* dep!: cordova-app-hello-world@^6.0.0
* dep: cordova-common@^4.0.2
* dep: cordova-fetch@^3.0.1
* dep!: fs-extra@^10.0.0
* dep!: globby@^12.0.2
* dep: import-fresh@^3.3.0
* dep: npm-package-arg@^8.1.5
* dep!(dev): @cordova/eslint-config@^4.0.0
* dep(dev): jasmine@^3.10.0
* dep(dev): nyc@^15.1.0
* chore: rebuild package-lock v1
* chore: rebuild package-lock v2
* dep: revert/downgrade globby@^11.0.4
エリス [Mon, 1 Nov 2021 04:57:45 +0000 (13:57 +0900)]
chore: bump 4.0.0-dev (#69)
Raphael von der Grün [Fri, 2 Oct 2020 19:42:52 +0000 (21:42 +0200)]
chore: clean up package.json (#67)
エリス [Fri, 24 Jul 2020 16:57:56 +0000 (01:57 +0900)]
ci: add node 14 to workflow (#66)
Erisu [Tue, 19 May 2020 05:49:25 +0000 (14:49 +0900)]
Updated RELEASENOTES.md & version for release 3.0.0 (create-3.0.0)
エリス [Tue, 19 May 2020 03:13:38 +0000 (12:13 +0900)]
chore(npm): bump dependencies w/ rebuilt package-lock (#65)
Erisu [Wed, 22 Apr 2020 04:33:56 +0000 (13:33 +0900)]
chore(asf): update git notification settings
エリス [Fri, 17 Apr 2020 09:54:18 +0000 (18:54 +0900)]
refactor: small syntax changes (#64)
* refactor: transform var to let & const
* refactor: small formatting changes
* refactor: transform arrow functions
エリス [Thu, 16 Apr 2020 11:07:34 +0000 (20:07 +0900)]
chore: various cleanup changes (#63)
* doc(README.md): update format & added npm install badge
* doc(LICENSE): added missing copyright year
* doc(NOTICE): added missing file
* test(license): added missing licenses and remove ratignore
* test(eslint): add missing newline
エリス [Thu, 16 Apr 2020 08:22:49 +0000 (17:22 +0900)]
chore(eslint): bump package (#60)
エリス [Thu, 16 Apr 2020 06:30:43 +0000 (15:30 +0900)]
breaking(npm): bump dependencies (#59)
* breaking(npm): bump dev dependencies
* nyc@^15.0.1
* rewire@^5.0.0
* breaking(npm): bump dependencies
* cordova-app-hello-world@^5.0.0
* cordova-common@^4.0.0
* cordova-fetch@^3.0.0
* fs-extra@^9.0.0
* globby@^11.0.0
* import-fresh@^3.2.1
* npm-package-arg@^8.0.1
エリス [Thu, 16 Apr 2020 06:26:54 +0000 (15:26 +0900)]
ci: use GitHub Actions (#62)
* ci(github-actions): add workflow
* ci(travis): remove
* ci(appveyor): remove
* ci(doc): add actions & codecov badge to README.md
エリス [Thu, 16 Apr 2020 06:20:29 +0000 (15:20 +0900)]
chore(npm): use short notation in package.json (#58)
Niklas Merz [Mon, 13 Apr 2020 12:40:27 +0000 (14:40 +0200)]
Update CONTRIBUTING.md
エリス [Tue, 19 Nov 2019 06:43:55 +0000 (15:43 +0900)]
chore: eslint config cleanup (#55)
Raphael von der Grün [Fri, 15 Nov 2019 14:43:10 +0000 (15:43 +0100)]
feat: support .gitignore files in generated app (#53)
It is impossible to deploy `.gitignore` files via npm packages.
Instead, Cordova templates should include `gitignore` files that we
rename to `.gitignore`. This PR implements that renaming.
For more details see apache/cordova-discuss#69.
This also bumps the dependency on `cordova-app-hello-world`
to a version that includes apache/cordova-app-hello-world#50.
Closes #8, apache/cordova-app-hello-world#30 and
apache/cordova-discuss#69.
エリス [Fri, 15 Nov 2019 02:09:40 +0000 (11:09 +0900)]
refactor: eslint setup (#54)
* replace dependencies with @cordova/eslint-config
* update eslint config
* eslint corrections
Raphael von der Grün [Wed, 6 Nov 2019 18:36:06 +0000 (19:36 +0100)]
Fix isRemoteUri (#52)
* Add unit tests for isRemoteUri
Including one failing test for paths that include @
* Fix isRemoteUri using npm-package-arg
Fixes #34
* Rename isRemoteUri to needsToBeFetched after switch to npa
The reason for the rename is, that there are also local specs where we
need to call fetch. For example tarballs.
Raphael von der Grün [Wed, 6 Nov 2019 18:33:42 +0000 (19:33 +0100)]
Add syntax highlighting to code samples in README (#51)
エリス [Wed, 6 Nov 2019 03:08:58 +0000 (12:08 +0900)]
chore: update testing (jasmine & nyc) (#48)
* chore: update jasmine dependencies
* chore: update nyc configs
エリス [Tue, 5 Nov 2019 08:52:48 +0000 (17:52 +0900)]
Merge pull request #40 from raphinesse/breaking-changes
Major usability & maintainability improvements
エリス [Tue, 5 Nov 2019 08:26:10 +0000 (17:26 +0900)]
chore: improve npm ignore list (#50)
= BEFORE =
npm notice package size: 36.1 kB
npm notice unpacked size: 151.6 kB
npm notice total files: 28
= AFTER =
npm notice package size: 10.0 kB
npm notice unpacked size: 31.4 kB
npm notice total files: 5
エリス [Tue, 5 Nov 2019 08:25:51 +0000 (17:25 +0900)]
chore: bump production dependencies (#49)
* fs-extra@^8.1.0
* import-fresh@^3.1.0
* isobject@^4.0.0
* tmp@^0.1.0
エリス [Tue, 5 Nov 2019 08:25:06 +0000 (17:25 +0900)]
chore: drop node 6 and 8 support (#47)
エリス [Tue, 5 Nov 2019 08:24:42 +0000 (17:24 +0900)]
chore: bump version to 3.0.0-dev (#46)
dependabot[bot] [Wed, 30 Oct 2019 23:54:38 +0000 (23:54 +0000)]
Bump eslint-utils from 1.3.1 to 1.4.3 (#42)
dependabot[bot] [Wed, 30 Oct 2019 23:48:27 +0000 (23:48 +0000)]
Bump js-yaml from 3.12.0 to 3.13.1 (#44)
dependabot[bot] [Wed, 30 Oct 2019 23:37:01 +0000 (23:37 +0000)]
Bump lodash from 4.17.11 to 4.17.15 (#43)
Raphael von der Grün [Wed, 30 Oct 2019 14:49:16 +0000 (15:49 +0100)]
Replace http URLs in package-lock.json w/ https (#45)
エリス [Wed, 30 Oct 2019 08:54:59 +0000 (17:54 +0900)]
chore: update nyc dev dependency (#41)
Raphael von der Grün [Mon, 21 Oct 2019 12:25:24 +0000 (14:25 +0200)]
Write package.json with indentation of 2
As is the default behavior of npm.
When it's finished, we should use https://github.com/apache/cordova-common/pull/34 here.
Co-Authored-By: エリス <erisu@users.noreply.github.com>
Raphael von der Grün [Tue, 15 Oct 2019 19:02:55 +0000 (21:02 +0200)]
Simplify interface of main export (§1)
Fixes #21
Raphael von der Grün [Tue, 15 Oct 2019 18:38:38 +0000 (20:38 +0200)]
New logic for setting attributes in package.json & config.xml (§3)
Fixes #22
Raphael von der Grün [Mon, 4 Jun 2018 20:10:44 +0000 (22:10 +0200)]
Do not copy "missing" files from default template (§5)
Fixes #24
Also don't create empty platforms & plugins dirs. These will be created
by Cordova when required.
Raphael von der Grün [Sun, 3 Jun 2018 22:59:27 +0000 (00:59 +0200)]
Reduce number of supported template layouts (§7)
- drop support for using www folders as template
- drop support for www/config.xml
- drop support for improper templates
Fixes #25
Raphael von der Grün [Tue, 15 Oct 2019 16:33:40 +0000 (18:33 +0200)]
Drop support for linking (§8)
Fixes #26
Raphael von der Grün [Tue, 15 Oct 2019 16:25:22 +0000 (18:25 +0200)]
Use either opts.events or a no-op for logging (§4)
Fixes #23
エリス [Sun, 21 Jul 2019 04:56:19 +0000 (13:56 +0900)]
chore: add Node.js 12 to CI services (#39)
Jan Piotrowski [Wed, 27 Mar 2019 14:16:05 +0000 (15:16 +0100)]
Remove deprecated engineStrict from package.json
part of https://github.com/apache/cordova/issues/86
Jan Piotrowski [Mon, 11 Feb 2019 17:36:49 +0000 (18:36 +0100)]
Add or update GitHub pull request and issue template
エリス [Mon, 7 Jan 2019 05:41:59 +0000 (14:41 +0900)]
GH-10 Incremented package version to -dev
エリス [Mon, 7 Jan 2019 05:40:38 +0000 (14:40 +0900)]
GH-10 Updated version and RELEASENOTES.md for release 2.0.0
エリス [Mon, 7 Jan 2019 04:04:34 +0000 (13:04 +0900)]
Merge pull request #38 from erisu/cordova9-dep-bump-2
Cordova 9: Cordova & External Dependencies Bump
エリス [Mon, 7 Jan 2019 03:26:18 +0000 (12:26 +0900)]
Bump dev dependencies eslint@^5.12.0 & eslint-plugin-node@^8.0.1
エリス [Mon, 7 Jan 2019 03:23:18 +0000 (12:23 +0900)]
Bump cordova-common@3.1.0 & valid-identifier@0.0.2
エリス [Wed, 26 Dec 2018 12:39:18 +0000 (21:39 +0900)]
Updated Cordova Package Dependencies (#36)
- cordova-app-hello-world@^4.0.0
- cordova-common@^3.0.0
- cordova-fetch@^2.0.0
- Rebuilt package-lock.json
エリス [Wed, 26 Dec 2018 12:18:52 +0000 (21:18 +0900)]
Merge pull request #35 from erisu/dependency-bump
Updated External Package Dependencies
エリス [Wed, 26 Dec 2018 05:27:43 +0000 (14:27 +0900)]
Updated Package Dependencies
- fs-extra@^7.0.1
- import-fresh@^3.0.0
* Rebuilt package-lock.json
エリス [Wed, 26 Dec 2018 05:20:40 +0000 (14:20 +0900)]
Updated Package Dev Dependencies
- eslint@^5.11.0
- eslint-config-semistandard@^13.0.0
- eslint-config-standard@^12.0.0
- eslint-plugin-import@^2.14.0
- eslint-plugin-node@^8.0.0
- eslint-plugin-promise@^4.0.1
- eslint-plugin-standard@^4.0.0
- jasmine@^3.3.1
- nyc@^13.1.0
* Fixed ESLint complaints
* Rebuilt package-lock.json
エリス [Wed, 26 Dec 2018 12:03:50 +0000 (21:03 +0900)]
Updated package.json bug tracker link (#37)
Raphael von der Grün [Sun, 30 Sep 2018 00:28:42 +0000 (02:28 +0200)]
Drop Q, use native promises :tada: (#33)
エリス [Fri, 14 Sep 2018 08:15:19 +0000 (17:15 +0900)]
Update Apache License version in test fixture (#32)
Chris Brody [Wed, 12 Sep 2018 18:35:45 +0000 (14:35 -0400)]
README.md remove trailing whitespace (#29)
Chris Brody [Wed, 12 Sep 2018 17:31:44 +0000 (13:31 -0400)]
Fix version in package-lock.json (#30)
Chris Brody [Wed, 12 Sep 2018 17:21:20 +0000 (13:21 -0400)]
Commit package-lock.json (#28)
As agreed in apache/cordova#4
Chris Brody [Wed, 12 Sep 2018 17:09:49 +0000 (13:09 -0400)]
Mark 2.0.0-dev (major update) (#27)
Jan Piotrowski [Fri, 7 Sep 2018 11:06:48 +0000 (13:06 +0200)]
format/structure README
Jan Piotrowski [Fri, 7 Sep 2018 10:54:08 +0000 (12:54 +0200)]
remove superfluous colon
Raphael von der Grün [Thu, 5 Jul 2018 20:54:59 +0000 (22:54 +0200)]
Merge pull request #20 from raphinesse/cleanup-2
Further non-breaking cleanup & improvements
Raphael von der Grün [Thu, 5 Jul 2018 10:48:42 +0000 (12:48 +0200)]
Do not wrap errors from fetch & remove dead code
The errors from fetch were strongly emphasized (all red) for no obvious
reason. Moreover, everything after the first error event emission never
ran since the error event seems to cause an error to be thrown.
Raphael von der Grün [Thu, 5 Jul 2018 10:48:41 +0000 (12:48 +0200)]
Cleaner check for need of cordova-fetch
This does _not_ change the tests itself, even though they are broken
Raphael von der Grün [Thu, 5 Jul 2018 10:48:40 +0000 (12:48 +0200)]
Fetch templates to a temporary directory
This reduces pollution of user's home directory and definitely makes
the previously performed makeshift cache-busting obsolete since we fetch
into a fresh temp directory every time.
Addresses §6 of https://github.com/apache/cordova-discuss/issues/89
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Raphael von der Grün [Thu, 5 Jul 2018 10:48:39 +0000 (12:48 +0200)]
Use path-is-inside to check for invalid nesting
Raphael von der Grün [Thu, 5 Jul 2018 10:48:38 +0000 (12:48 +0200)]
Simplify main function behind legacy adapter
Including:
- Unwrap deeply nested options object
- Rename options object to `opts`
- Shallow copy `opts` to avoid mutating caller's object
- Make Q-wrapping explicit
Co-authored-by: Christopher J. Brody <chris.brody@gmail.com>
Raphael von der Grün [Sun, 17 Jun 2018 20:29:33 +0000 (22:29 +0200)]
Update nyc and ignore HTML coverage reports
Raphael von der Grün [Sun, 17 Jun 2018 18:53:00 +0000 (20:53 +0200)]
Determine code coverage during tests (#17)
Raphael von der Grün [Sun, 17 Jun 2018 13:26:38 +0000 (15:26 +0200)]
CB-14140 Use fs-extra instead of shelljs (#19)
Co-authored-by: Christopher J. Brody <brodybits@litehelpers.net>
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Raphael von der Grün [Sun, 17 Jun 2018 13:04:24 +0000 (15:04 +0200)]
Drop support for reading from .cordova/config.json (#18)
Resolves §2 from apache/cordova-discuss#89
Raphael von der Grün [Sun, 17 Jun 2018 12:28:38 +0000 (14:28 +0200)]
Refactor tests (#16)
* Factor out common checks
* Check more artifacts
* Simplify Checks
Co-authored-by: Christopher J. Brody <brodybits@litehelpers.net>
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
Raphael von der Grün [Sun, 3 Jun 2018 17:34:13 +0000 (19:34 +0200)]
Fix error messages for toExist matcher (#15)
The message in case of failure was negated.
Steve Gill [Fri, 25 May 2018 05:28:25 +0000 (22:28 -0700)]
Merge pull request #13 from raphinesse/cleanup
Major code cleanup
Raphael von der Grün [Wed, 16 May 2018 21:15:48 +0000 (23:15 +0200)]
Use nicer and unique tmpDir name for tests
Raphael von der Grün [Wed, 16 May 2018 16:39:03 +0000 (18:39 +0200)]
Remove unused config key `version` in tests
Raphael von der Grün [Tue, 15 May 2018 00:04:21 +0000 (02:04 +0200)]
Move new test helpers to spec/helpers.js
Raphael von der Grün [Mon, 14 May 2018 22:19:08 +0000 (00:19 +0200)]
Improve test coverage
Raphael von der Grün [Mon, 14 May 2018 19:34:30 +0000 (21:34 +0200)]
Rework npm fetch test to make it faster and less involved
There was so much wrong with the previous test:
- I could not get it to fail, even w/out appending '@latest' in create
- It relies on an active network connection and can take over 20s easily
- It relies on knowing where fetch will save the downloaded template
- It seems to test some kind of cache busting that should probably
handled by fetch instead of create anyway
The new test inherits only the last downside.
Raphael von der Grün [Mon, 14 May 2018 08:10:17 +0000 (10:10 +0200)]
Mock out fetch for robust and faster tests
Raphael von der Grün [Mon, 14 May 2018 17:30:37 +0000 (19:30 +0200)]
Fix invalid-ID tests so they fail if no error is thrown
Raphael von der Grün [Mon, 14 May 2018 17:11:36 +0000 (19:11 +0200)]
Use os.homedir to get home dir in tests
Raphael von der Grün [Mon, 14 May 2018 16:39:35 +0000 (18:39 +0200)]
Use global fixtures for invalid-ID tests too
Raphael von der Grün [Mon, 14 May 2018 16:37:11 +0000 (18:37 +0200)]
Move configs to corresponding test cases
Raphael von der Grün [Mon, 14 May 2018 16:26:30 +0000 (18:26 +0200)]
Remove nonsense comments in tests
Raphael von der Grün [Mon, 14 May 2018 16:16:43 +0000 (18:16 +0200)]
Mark link tests on Windows as pending, not passed
Raphael von der Grün [Mon, 14 May 2018 16:13:40 +0000 (18:13 +0200)]
Use default timeout of 5s for all tests that don't use the network
Raphael von der Grün [Mon, 14 May 2018 16:02:58 +0000 (18:02 +0200)]
Use Promise API instead of Q API
To play it safe, cordova-create still returns a Q instance, so as to
not break any callers that are relying on this implementation detail.
Raphael von der Grün [Mon, 14 May 2018 08:53:10 +0000 (10:53 +0200)]
Let Jasmine detect when async tests are done
Raphael von der Grün [Mon, 14 May 2018 07:20:07 +0000 (09:20 +0200)]
Update dependencies
Raphael von der Grün [Sun, 13 May 2018 19:17:28 +0000 (21:17 +0200)]
Remove unnecessary assignment
Raphael von der Grün [Sat, 12 May 2018 22:27:24 +0000 (00:27 +0200)]
Fix location of verbose log
Raphael von der Grün [Sun, 13 May 2018 19:10:18 +0000 (21:10 +0200)]
Use os.homedir to get home dir
Raphael von der Grün [Sun, 13 May 2018 19:01:48 +0000 (21:01 +0200)]
Use is-url package to replace isUrl
Raphael von der Grün [Sat, 12 May 2018 15:49:33 +0000 (17:49 +0200)]
Remove unused test helpers
Raphael von der Grün [Sat, 12 May 2018 15:43:11 +0000 (17:43 +0200)]
Disable regular console output during tests
Raphael von der Grün [Sat, 12 May 2018 15:08:39 +0000 (17:08 +0200)]
Group imports in spec
Raphael von der Grün [Sat, 12 May 2018 15:03:54 +0000 (17:03 +0200)]
Use import-fresh in tests too
Raphael von der Grün [Sat, 12 May 2018 22:29:50 +0000 (00:29 +0200)]
Use import-fresh package to require w/out cache
Raphael von der Grün [Sat, 12 May 2018 10:57:19 +0000 (12:57 +0200)]
Remove tautology in condition
Raphael von der Grün [Sat, 12 May 2018 10:52:54 +0000 (12:52 +0200)]
DRY default version
Raphael von der Grün [Fri, 11 May 2018 12:54:44 +0000 (14:54 +0200)]
Simplify default structure creation