Commit Graph

232 Commits

Author SHA1 Message Date
Daniel Sogl b2f8570444 fix: exit with non-zero code when npm publish fails
The publish script was catching errors and logging them but exiting
with code 0, causing the CI workflow to show green even when publishing
failed. Now calls process.exit(1) on publish failure.
2026-03-21 16:27:56 -07:00
Daniel Sogl 4807ccdb27 fix: resolve remaining type errors in build scripts
Fix __String vs string type mismatch in imports transformer by
converting escapedText to string. Add @ts-expect-error for TypeDoc
Converter.on() which exists at runtime but is not in public type
exports.
2026-03-21 16:14:04 -07:00
Daniel Sogl 62956e429c fix: add strict types to build scripts and remove all any usage
Replace all implicit and explicit any types in build scripts with
proper TypeScript Compiler API types (Decorator, ClassDeclaration,
MethodDeclaration, Identifier, SourceFile, etc.). Add PackageJson
and InjectableClassEntry interfaces. Fix return types, null checks,
and type assertions throughout all transformer scripts.
2026-03-21 16:11:27 -07:00
Daniel Sogl 6453f2ab78 fix: add npm provenance and fix core peer dependency version
Add --provenance flag to npm publish for supply chain security.
Add id-token: write permission to release workflow for OIDC-based
provenance attestation. Fix MIN_CORE_VERSION to dynamically use
current version instead of hardcoded ^8.0.2.
2026-03-21 16:04:52 -07:00
Daniel Sogl aaae9fc277 chore: clean up legacy references and unused code
Update renovate.json for current dependencies. Remove Commitizen badge
from README. Replace @ionic-native imports with @awesome-cordova-plugins
in plugin JSDoc examples. Fill in Kommunicate documentation links.
Add modern package exports to published plugin packages. Remove unused
shipit script and release-please scripts.
2026-03-21 15:17:16 -07:00
Daniel Sogl 120e0f6d23 refactor: replace build dependencies with native Node.js APIs
Replace fs-extra/rimraf with native node:fs, lodash with
structuredClone/spread, ts-node with tsx, minimist with node:util
parseArgs, winston with console logger, async-promise-queue with
native Promise concurrency. Use promisify for child_process.exec.
Normalize all imports to use node: protocol. Extract Jest config to
jest.config.ts and replace ts-jest with @swc/jest.
2026-03-21 15:16:55 -07:00
Daniel Sogl 76b4e03d04 feat!: replace dgeni/gulp with TypeDoc for README generation
Replace the legacy dgeni/gulp documentation pipeline with TypeDoc
and typedoc-plugin-markdown. Generates plugin README files with
extracted @Plugin() decorator metadata. Register custom JSDoc tags
used by plugin source files.
2026-03-21 15:16:18 -07:00
Daniel Sogl d1a52cdef3 chore: update minimum core version to 8.0.2 in publish script 2025-06-14 14:10:16 +02:00
Daniel Sogl 54eefb606d chore: update minimum core version to 8.0.1 in publish script 2025-06-14 13:54:52 +02:00
Daniel Sogl 94c5527aa4 chore(release): add release please configuration 2025-06-07 14:21:49 +02:00
Dimitri Steinel 74b93d7499 fix: 🐛 wrong top package main field (#4736)
fix: 🐛 remove custom formatting

Co-authored-by: Dimitri Steinel <dimitri.steinel@bsdex.de>
2024-04-17 11:28:49 +02:00
Daniel Sogl e7d1641fe9 fix: use correct core version 2022-10-17 11:23:21 +00:00
Johannes Korrek 85441e59ca feat(core): use angular ivy (#4369)
* chore(deps): bump angular and typescript

- required to enable ivy output & partial compilation mode

* chore(build): enable ivy output & partial compilation mode

- change ngx builds to use ivy
- remove some code that is no longer required with ivy
2022-10-15 18:12:20 +02:00
Daniel Sogl 0922b468a2 closes #3909; fix: allow rxjs 5, 6 and 7 2021-12-19 12:14:32 +01:00
Daniel Sogl 8516b357ed docs(): remove ionic links 2021-09-29 15:19:55 +02:00
Daniel Sogl 3344b301b1 core(): remove unused files 2021-09-29 14:39:53 +02:00
Daniel Sogl 5a3a264eb1 chore(): remove unused files 2021-09-29 14:38:45 +02:00
Daniel Sogl 837c83ce5e docs(gitbook): try out generated docs 2021-09-29 14:09:02 +02:00
Daniel Sogl cd477bce7c fix(build): allow rxjs 7 closes #3691 2021-09-27 22:54:53 +02:00
Daniel Sogl 99a0e0282d refactor(): run prettier 2021-09-27 22:09:05 +02:00
Daniel Sogl 3896aca5aa chore(build): updat prettier script 2021-09-27 22:07:54 +02:00
Daniel Sogl bd6bf82e38 refactor(build): remove remaining es5 imports 2021-09-27 22:05:54 +02:00
Daniel Sogl 66f5bbaa4e refactor(build): remove deprecated typescript functions 2021-09-27 22:04:25 +02:00
Daniel Sogl 9e38c6b922 refactor(build): use typescript es6 imports 2021-09-27 21:04:28 +02:00
Daniel Sogl 04137f44ba refactor(build): use webpack es6 imports 2021-09-27 20:50:33 +02:00
Daniel Sogl 31ffbfe978 refactor(build): remove deprecated webpack uglify plugin 2021-09-27 20:44:12 +02:00
Daniel Sogl f3160e4cc6 refactor(build): use path es6 imports 2021-09-27 20:32:20 +02:00
Daniel Sogl 770052347e refactor(build): use fs-extra es6 imports 2021-09-27 20:26:16 +02:00
Daniel Sogl 4791aea1e0 chore(repo): remove more ionic related code 2021-09-27 17:51:19 +02:00
Daniel Sogl e588d96214 chore(repo): rename ionic related interfaces 2021-09-27 17:20:56 +02:00
Daniel Sogl 15c441cc2a chore(repo): move files to new repo name 2021-09-27 17:07:03 +02:00
Max Lynch d542cab7a4 Ignore generated docs 2021-09-24 14:36:54 -05:00
Max Lynch 3c35fa6df0 Update typedoc and fix doc json gen 2021-09-24 14:25:04 -05:00
Daniel Sogl 14f900bbad chore(package): bump webpack 2021-05-28 17:37:28 +02:00
Laurent Goudet b4227f2114 fix(build): publish Node (server) friendly bundles (#3483)
Co-authored-by: Daniel Sogl <mytechde@outlook.com>
2021-04-05 23:38:19 +02:00
Daniel Sogl f7a3c7127a fix(build): add correct build script typings
Co-Authored-By: Daniel Sogl <mytechde@outlook.com>
2021-01-23 18:53:12 +01:00
Daniel Sogl a96faf1378 chore(package): upgrade to angular 11
BREAKING CHANGE: ionic-native now requires at least Angular 10 with ts-lib 2.0

Co-Authored-By: Daniel Sogl <mytechde@outlook.com>
2021-01-23 18:33:36 +01:00
Hans Krywalsky 46853b4212 feat(core): add methodName to Cordova Decorator (#3558)
closes #3557
2020-11-19 08:38:39 +01:00
Daniel Sogl 030a78fc1b chore(docs): use GitHub variables 2020-06-11 19:27:38 +02:00
Matt Netkow 46bbf633e4 Add premier and capIncompat metadata to plugins (#3453) 2020-06-11 17:56:34 +02:00
Daniel Sogl 511a02d50b refactor(lib): run prettier 2020-05-16 14:40:49 +02:00
Daniel Sogl fd8d83a48a chore(deps): bump typedoc to 0.17 2020-05-15 12:23:01 +02:00
Mike Hartington df5f832664 fix(build): corrects npm publishing task
Ref #3311
2020-02-10 23:50:46 -05:00
Mike Hartington 614ade447f feat(): angular ivy support (#3309)
* init

* cleanup packagelock

* testing

* chore(package): refresh package-lock.json

* updates

* chore(): fix builds

* chore(): rework package-lock

* chore(): lint

Co-authored-by: Daniel Sogl <daniel@sogls.de>
2020-02-07 17:51:47 +01:00
Daniel Sogl 82939763ee chore(package): upgrate typedoc to 0.16 2020-01-27 06:40:43 +01:00
Daniel Sogl 2a995d94ec chore(build): upgrate to node 12 and gulp 4 2019-07-12 20:11:26 +02:00
Lars Mikkelsen ad11ed21ac refactor(core): allow rxjs 5.5 as peer dependency (#3068)
This would allow Ionic v3 apps to use Ionic Native v5 wrappers.
2019-07-01 19:26:20 +02:00
Cam Wiegert d04396e631 chore(scripts): add installVariables to docs-json output (#3079) 2019-06-28 14:23:28 -05:00
Daniel Sogl 6ee94b93ba refactor(core): set rxjs version to 6.5
BREAKING: rxjs@6.5 is required
2019-06-03 07:06:55 +02:00
Daniel Sogl d827db27b0 Revert "refactor(template): update Inject decorator"
BREAKING CHANGE: This reverts commit c5ae6362d7.
2019-03-19 18:36:21 +01:00