18 Commits

Author SHA1 Message Date
Khải
3aa50c8365 feat(init): --bare (#10228)
* feat(init): fields preset

* feat: replace `init-preset` with `init-bare`

* feat: remove init-bare

close #10226

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-11-29 14:55:02 +01:00
Zoltan Kochan
491a84fb26 feat: use ESM instead of commonjs (#9870) 2025-08-25 10:02:00 +02:00
Zoltan Kochan
facd7656e8 refactor: always use extensions in relative imports (#9878) 2025-08-19 15:25:11 +02:00
btea
36f6924a58 feat(init): init command add options desc (#9482)
* feat(init): `init` command add options desc

* refactor: improve init help

* refactor: improve init help

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-06 00:18:02 +02:00
cezary-klauza
b282bd1538 feat(plugin-commands-init): add support for --init-type flag in pnpm init (#9463)
* Added .npmrc support for init-type

* feat: init-type setting

close #9416

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-05-04 01:38:38 +00:00
btea
bd6f4f3751 refactor(init): modify the packageManager field place (#9118)
* refactor(init): modify the `packageManager` field place

* fix: reverse fields order

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-16 14:22:47 +01:00
Zoltan Kochan
fee898fdcb fix: init-package-manager (#9104)
* fix: init-package-manager

* fix: don't add packageManager=false to package.json

* refactor: create object.key-sorting

* test: fix

* fix: sort fields in package.json
2025-02-16 02:13:07 +01:00
btea
49cc1672ff feat(init): add init-package-manager configuration (#9087)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-14 00:23:51 +01:00
btea
483384af68 feat: init command create file add packageManager field (#9069)
close #9068

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-02-11 11:30:11 +01:00
chlorine
8ad6ee67a6 fix(init): --dir option should be respected (#8768) 2024-11-17 13:36:43 +01:00
Khải
2786b549d9 chore(eslint): explicit-module-boundary-types (#7926) 2024-04-14 13:37:50 +02:00
Khải
1a70379e28 refactor: return type annotations small packages in the packages directory (#7871)
* refactor(error): return type annotation

* refactor(git-utils): return type annotation

* refactor(make-dedicated-lockfile): return type

* refactor(doctor): return type annotations

* refactor(init): return type annotations

* refactor(setup): return type annotations

* refactor: return type annotations

* refactor(render-peer-issues): return type
2024-04-08 20:52:03 +02:00
Zoltan Kochan
ee61ca4cb7 style: update eslint (#6236) 2023-03-18 14:57:29 +02:00
Zoltan Kochan
043d988fc9 style: no default exports (#5490) 2022-10-14 16:49:11 +03:00
Zoltan Kochan
0eefba9bee fix(init): throw an error if arguments are passed to init command (#4665)
close #4662
2022-05-05 12:10:11 +03:00
Zoltan Kochan
17fa76e2bb fix(init): don't fail if a parent dir has a package.json (#4615)
close #4589
2022-04-24 04:24:53 +03:00
spencer17x
2d0f2ba0f2 feat: the init command should use init fields from .npmrc (#4425) 2022-03-10 18:34:32 +02:00
Zoltan Kochan
d504dc380c feat: add own implementation of the init command (#4422) 2022-03-08 14:31:05 +02:00