Patrik Oldsberg
b4cd145b57
cli: added package-exports migration command
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-21 14:21:29 +01:00
Fredrik Adelöw
17271841de
Updated frontend plugin template to use some more recent features
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-02-21 13:26:45 +01:00
github-actions[bot]
25b57cc07f
Version Packages
2023-02-14 13:41:52 +00:00
Patrik Oldsberg
a9c50af76b
cli: fix webpack loader file extension checks
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-11 14:40:00 +01:00
github-actions[bot]
b2a73c984a
Version Packages (next)
2023-02-07 15:03:45 +00:00
Patrik Oldsberg
762f4f67ae
Merge pull request #16174 from backstage/rugvip/rules
...
add @backstage/eslint-plugin
2023-02-06 14:05:21 +01:00
Patrik Oldsberg
1e6f5fcfed
cli: rename ChannelServer to IpcServer
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-05 16:12:53 +01:00
Patrik Oldsberg
90616df9a8
cli: add experimental backend start
...
Co-authored-by: blam <ben@blam.sh >
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-05 12:32:19 +01:00
Patrik Oldsberg
dec4896baa
cli: add missing @backstage/eslint-plugin dependency
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-04 13:13:11 +01:00
Patrik Oldsberg
906af5db53
cli: remove unnecessary lint rules and fix issues
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-03 16:48:43 +01:00
Patrik Oldsberg
11df6f42b9
cli: use new eslint plugin + fix issues
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-02-03 16:16:41 +01:00
github-actions[bot]
675324ed19
Version Packages (next)
2023-01-31 14:45:37 +00:00
Patrik Oldsberg
c830f3ce7c
Merge pull request #16027 from backstage/rugvip/workers
...
cli: additional fix for worker memory limits to make sure it's always applied by default
2023-01-30 14:49:54 +01:00
Patrik Oldsberg
6d3abfded1
cli: switch to inline source maps for jest setup
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-29 14:55:18 +01:00
Patrik Oldsberg
32e280c81a
cli: refactor flag detection in repo test
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-28 17:33:57 +01:00
Patrik Oldsberg
312a5d9f30
cli: make sure max workers workers are set to at least 2 by default
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-28 15:47:10 +01:00
Patrik Oldsberg
f2c5d9a707
Merge pull request #15974 from backstage/renovate/esbuild-0.x
...
chore(deps): update dependency esbuild to ^0.17.0
2023-01-27 12:17:21 +01:00
Patrik Oldsberg
561df21ea3
cli: set a default jest worker memory limit
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-01-26 12:09:41 +01:00
renovate[bot]
66cf22fdc4
chore(deps): update dependency esbuild to ^0.17.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com >
2023-01-25 18:55:17 +00:00
blam
77c980b3ea
chore: fix code review comments whilst mitch is away
...
Signed-off-by: blam <ben@blam.sh >
2023-01-25 11:01:00 +01:00
Mitchell Hentges
2815981057
Make build error cause more clear by prepending with module name
...
Simplify the diagnosis of build failures by showing the module name
encountering the issue right before the error itself is printed.
Also apply the fix to warnings.
Fixes #15815
Signed-off-by: Mitchell Hentges <mhentges@spotify.com >
2023-01-20 10:09:03 -08:00
Mitchell Hentges
edd9c270b6
Simplify redundant catch() during CLI bundling
...
Remove extra "Failed to compile" message that was redundant, and inline
"Failed to compile" message into upstream errors.
Note that now _other_ errors (such as `webpack(...)` failures) will not
be prefixed with "Failed to compile". However, it should be sufficiently
obvious that they're serious failures, so we should be OK without the
extra information.
Signed-off-by: Mitchell Hentges <mhentges@spotify.com >
2023-01-20 10:09:03 -08:00
Mitchell Hentges
65ca9b2a1c
Remove react-dev-utils error compatibility workaround
...
To work around a `react-dev-utils` compatibility problem, errors and
warnings had context stripped before being formatted.
Since this workaround was was only needed until `react-dev-utils` v5 was
release (now over a year ago, nice! [1]), I think that it can be
removed.
[1] https://github.com/facebook/create-react-app/releases/tag/v5.0.0
Signed-off-by: Mitchell Hentges <mhentges@spotify.com >
2023-01-20 10:09:03 -08:00
github-actions[bot]
6d46667727
Version Packages
2023-01-17 11:50:48 +00:00
Aramis Sennyey
77b75cea3e
Update pluginId in backend plugin creation.
...
Signed-off-by: Aramis Sennyey <sennyeya@amazon.com >
2023-01-13 15:32:43 -05:00
github-actions[bot]
9521f1274d
Version Packages (next)
2023-01-10 14:18:51 +00:00
Fredrik Adelöw
d06a7890c6
removed unusued package type-fest
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-01-05 13:10:44 +01:00
Ben Lambert
2913a6b701
Merge pull request #15470 from mitchhentgesspotify/mhentges/fix-base-url-conflict-message
...
Use both variables in cli's "base url conflict" error message
2023-01-04 14:27:42 +01:00
github-actions[bot]
c4132274d9
Version Packages (next)
2023-01-03 14:44:31 +00:00
Mitchell Hentges
7b407b303b
Use both variables in cli's "base url conflict" error message
...
`appBaseUrl` was specified twice - which _is_ fine, because the two
values were already proven equal - but it took me until writing this
commit message to realize that it isn't a bug.
So, I'd advocate for this change as "ease of understanding" improvement
:)
Signed-off-by: Mitchell Hentges <mhentges@spotify.com >
2023-01-02 07:09:00 -08:00
Patrik Oldsberg
db2e137744
remove unnecessary usages of ThemeProvider
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-31 18:24:32 +01:00
Patrik Oldsberg
173dd4302c
Merge pull request #15207 from backstage/eide/webpack-cache
...
[cli]: Enable cache for production build using experimental env var
2022-12-28 11:35:50 +01:00
Patrik Oldsberg
25423150a2
Revert "cli: include entire cli folder for cache invalidation"
...
This reverts commit 870882741c .
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-28 10:59:00 +01:00
github-actions[bot]
f834622f56
Version Packages (next)
2022-12-27 15:22:57 +00:00
Johan Haals
6ab9bfd301
Merge pull request #15397 from backstage/jhaals/repo-tools
...
repo-tools/chore: Update tests to pass on windows
2022-12-22 17:03:35 +01:00
Johan Haals
8a79b2ef5d
Use path.join to fix windows tests
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-12-22 16:31:59 +01:00
Patrik Oldsberg
ea91c01cc9
cli: fix merge conflicts in Lockfile tests
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:54:08 +01:00
Patrik Oldsberg
39d192d016
cli: added PackageGraph test for lockfile analysis
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:44 +01:00
Patrik Oldsberg
7bd873ad15
cli: handle failure to read lockfile during analysis
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:44 +01:00
Patrik Oldsberg
536d3e764a
cli: fix missing arg for lockfile.save()
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:43 +01:00
Patrik Oldsberg
7c8a974515
cli: make --since flag for repo build, lint and test commands diff yarn lock
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:43 +01:00
Patrik Oldsberg
79bc82828f
cli: add ability to analyze lockfile changes when listing changed packages
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:43 +01:00
Patrik Oldsberg
a11a8082ce
cli: add git utility for reading a file at a ref
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:43 +01:00
Patrik Oldsberg
99898258cd
cli: add simple dependency graph utility for lockfiles
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:43 +01:00
Patrik Oldsberg
18543ed94b
cli: fix lockfile test formats
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:43 +01:00
Patrik Oldsberg
3c71bf7789
cli: fix lockfile diff for entries without checksum
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:43 +01:00
Patrik Oldsberg
60196dc40f
cli: flip around lockfile diff
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:43 +01:00
Patrik Oldsberg
d2ad8ca3af
cli: add Lockfile.diff
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:52:42 +01:00
Patrik Oldsberg
9083673db8
cli: slight lockfile lib refactor
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-22 14:51:29 +01:00
Patrik Oldsberg
fbdb48941f
cli: use package graph to look up local lockfile versions
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-12-21 16:54:07 +01:00