33 Commits

Author SHA1 Message Date
Marc-Roig
d077922b77
Merge branch 'v5/main' into v5/document_id 2023-11-14 10:19:24 +01:00
Alexandre Bodin
da634b0951 v4.15.4 2023-11-11 12:17:57 +01:00
Alexandre Bodin
458516e434 v4.15.3 2023-11-11 12:03:41 +01:00
Marc-Roig
ed954d6a95
fix: typescript tests failing because of missing prettier types 2023-11-09 12:42:44 +01:00
Mark Kaylor
3f510d0338 chore: publish 4.15.2 2023-11-08 17:04:13 +01:00
Mark Kaylor
bb51089333 v4.15.2 2023-11-08 16:27:10 +01:00
Alexandre BODIN
ae792fb42c
Release 4.15.1 (#18646)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
2023-11-03 08:37:53 +01:00
Josh
116339ad86
refactor: admin build pipeline (#18539)
* chore(admin): refactor admin develop/build pipeline

chore: remove `webpackChunkName` comments

chore: reuse admin tsconfig where possible

chore: add .strapi to gitignore

chore(admin): pack-up

feat(admin): inject commands into strapi from admin for building

feat(admin): move watch command to admin

chore: keep backward compat API available

Update packages/core/admin/_internal/cli/index.ts

docs(admin): document the build & develop process and pipeline

test(admin): fix StrapiApp tests

chore: fix build

* Update skipped_tests.yml

* test(e2e): fix e2e setup

feat: add dependency installation

fix: mjs webpack resolution

* chore: fix server exports

* fix: typescript project type generation

* fix: development watch mode

* fix: connect to hot middleware – anywhere

* Update packages/core/admin/_internal/node/core/monorepo.ts

Co-authored-by: Marc Roig <marc12info@gmail.com>

* fix(admin): theme toggle type export

* chore: fixes

* chore: pr amends

Co-Authored-By: Ben Irvin <ben@innerdvations.com>

---------

Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-30 11:36:16 +00:00
Marc Roig
6ee826075d
Merge pull request #18564 from strapi/releases/4.15.0 2023-10-26 13:31:33 +02:00
Josh
d9554abef3
fix(pack-up): set NODE_ENV if it's not already set (#18583) 2023-10-26 12:10:07 +01:00
Marc-Roig
9714d1d0af
Merge branch 'main' into releases/4.15.0 2023-10-26 12:09:31 +02:00
Marc-Roig
6e44e1e68d
v4.15.0 2023-10-25 15:06:00 +02:00
dependabot[bot]
6d4aa21c4a
chore(deps): bump esbuild-register from 3.4.2 to 3.5.0 (#18344)
Bumps esbuild-register from 3.4.2 to 3.5.0.

---
updated-dependencies:
- dependency-name: esbuild-register
  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-24 13:24:31 +01:00
Mark Kaylor
2c8028e0a8 Merge branch 'main' of github.com:strapi/strapi into releases/4.14.5 2023-10-18 17:15:57 +02:00
Mark Kaylor
a0400e4a0f v4.14.5 2023-10-18 17:02:10 +02:00
Josh
5978c13ec4
feat(pack-up): add the ability to pass plugins via the config (#18486)
* feat(pack-up): add the ability to pass plugins via the config

* refactor: make plugins a func or array
2023-10-18 12:01:17 +01:00
Josh
5d12a35806
feat(strapi): add plugin:watch command (#18462) 2023-10-18 11:23:59 +01:00
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