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
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
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
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
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
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
15c441cc2a
chore(repo): move files to new repo name
2021-09-27 17:07:03 +02: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
511a02d50b
refactor(lib): run prettier
2020-05-16 14:40:49 +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
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
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
d55d1d6f7f
chore(build): set min core version
2019-02-14 16:29:31 +01:00
mhartington
bf7ba9bd01
chore(): remove beta flag from release
2019-01-23 14:53:15 -05:00
Paxton Hare
9e923fa8da
chore(): fix path related issues with v5 build ( #2654 )
2018-08-23 09:37:10 -04:00
Daniel
6ea43ef5e4
refactor(scripts): fix typo
2018-07-01 13:12:27 +02:00
Daniel
ed515f7017
chore(package): bump deps
2018-06-22 18:24:09 +02:00
Ibby Hadeed
3b440c6df8
Must return promise to asyncify!
2018-04-11 12:59:41 -04:00
Ibby Hadeed
abee240df5
Add cordova typings to dependencies
2018-04-11 12:51:18 -04:00
Ibby Hadeed
6d8b406471
Fix logging
2018-04-11 12:47:13 -04:00
Ibby Hadeed
7a1ff64bf2
Do not set rxjs version for now
2018-04-11 12:34:02 -04:00
Daniel
c15b78bab2
refactor(build): lint build scripts
2018-03-23 10:57:54 +01:00
Daniel
1d7ee313a0
chore(package): bump webpack
2018-03-19 13:14:10 +01:00
Ibby Hadeed
85d685b38f
Fix logging in publish task
2017-12-29 10:56:20 -05:00
Ibby Hadeed
228c0bb9f3
Update winstonjs
2017-12-28 23:43:29 -05:00
Ibby Hadeed
1c35991548
Use winston
2017-12-28 23:15:34 -05:00
Ibby Hadeed
542e7d24f0
Extend IonicNativePlugin
2017-12-28 22:12:48 -05:00
Ibby Hadeed
2a3f015f07
Update publish function
2017-12-28 08:57:50 -05:00
Ibby Hadeed
6416395727
Add ignore list for decorators
2017-12-28 08:40:52 -05:00
Ibby Hadeed
75675ea19f
Update paths
2017-12-28 07:40:57 -05:00
Ibby Hadeed
0f9c21ab42
Merge in v5 code
2017-12-28 07:28:44 -05:00