16 Commits

Author SHA1 Message Date
Ben Irvin
79f24e9f2b update pack-up node versions 2023-10-17 16:38:34 +02:00
Ben Irvin
3fab19a9a4 update engines 2023-10-17 16:29:28 +02:00
Josh
25d1ceaa44
feat(pack-up): enable config via nodeAPI & allow bundles to have own tsconfig (#18440)
* feat: add ability to pass config & have tsconfig per bundle

* feat: use node:module builtinModules for node stuff

* chore: remove builtins from externals
2023-10-16 08:55:43 +01:00
Josh
8917530e49
test(pack-up): fix unit tests by using a global-teardown (#18414) 2023-10-11 22:35:59 +01:00
Jean-Sébastien Herbaux
6c52635d69
Merge pull request #18407 from strapi/releases/4.14.4 2023-10-11 17:26:03 +02:00
Josh
1fd26871a3
chore(pack-up): add gitignore (#18406)
* chore(pack-up): add gitignore

* Update packages/utils/pack-up/.gitignore

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>

---------

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2023-10-11 15:08:30 +01:00
Josh
eb89219bce
fix(pack-up): redefine external to work better with presereModules and omit changing the fileName (#18395)
* fix(pack-up): redefine `external` to work better with presereModules and omit changing the fileName

* chore: update snaphots

I have no idea why this is needed
2023-10-11 14:34:49 +01:00
Convly
cd8f1e58f3 Merge branch 'main' of github.com:strapi/strapi into releases/4.14.4 2023-10-11 14:46:35 +02:00
Convly
fbd6e3e301 v4.14.4 2023-10-11 14:31:53 +02:00
Alexandre Bodin
f68b875473 Update test regex to allow arbitrary subpaths 2023-10-10 20:27:56 +02:00
Josh
bb9a6788a7
feat(pack-up): enable preserve modules (#18358) 2023-10-10 08:09:55 +01:00
dependabot[bot]
42253b38d8
chore(deps): bump @vitejs/plugin-react from 4.0.4 to 4.1.0 (#18346)
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/v4.1.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 09:01:05 +01:00
Josh
66d7c1ce9b
chore: convert helper-plugin to pack-up (#18329) 2023-10-06 12:21:26 +01:00
Josh
2571dfa49d
feat(pack-up): add exports to pack-up config (#18315)
* feat: add exports to pack-up config

* feat: add types to a bundle config
2023-10-05 13:54:09 +01:00
Marc Roig
c771262273
v4.14.3 (#18294)
* v4.14.3

* chore: update pack up version
2023-10-05 10:20:53 +01:00
Josh
e5078d5f4d
feat: add pack-up package (#18233)
* feat(pack-up): add build command (#18058)

* chore: lint order of imports

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat(pack-up): add init command (#18133)

* feat(pack-up): add build command (#18058)

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat: add init command

fix: build

feat: add default template and tests

* chore: pr amends

* Update packages/utils/pack-up/tests/console.ts

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* chore: re-add mock

* chore: fix tsconfig

* chore: fix inquirer types due to rxjs inclusion

* Update packages/utils/pack-up/src/node/templates/internal/files/typescript.ts

* chore: fix inquirer types

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* feat(pack-up): add check command (#18183)

* feat: add check command

* chore: reintroduce CLI tests

* fix: add build command to `prepublishOnly`

* docs(pack-up): add readme and contributor docs (#18237)

* chore: update README

* docs(pack-up): add contributor documentation

* chore: update overview doc to be clearer

* fix(pack-up): init command (#18245)

* fix: init command bugs

* fix: node tests

* fix: template exports ordering & file extensions

* test(upload): double timeout on UploadAssetDialog test

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-05 09:38:29 +01:00