Commit Graph

1565 Commits

Author SHA1 Message Date
Patrik Oldsberg d082db302b cli: mark deprecated commands as deprecated
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-08 15:37:49 +01:00
Patrik Oldsberg cd5172a1fb cli: update templates to use package roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-08 15:19:32 +01:00
Patrik Oldsberg d2ecde959b cli: mark package role command categories as stable
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-08 14:17:04 +01:00
Patrik Oldsberg 1f87e8a376 Merge pull request #10037 from backstage/rugvip/role-lint
cli: introduce role-based lint configuration setup
2022-03-08 09:27:19 +01:00
dependabot[bot] e0a69ba49f build(deps): bump fs-extra from 9.1.0 to 10.0.1
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.1.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.1)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-08 04:23:22 +00:00
Patrik Oldsberg 09b37063f2 packages,plugins: migrate to new lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
Patrik Oldsberg ff745f5405 cli: add migrate package-lint-configs command
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
Patrik Oldsberg 37818baf64 cli: switch existing eslint configs to use factory
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
Patrik Oldsberg 4a6c14a708 cli: added new config/eslint-factory module for creating ESLint configuration based on package role
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:42 +01:00
Patrik Oldsberg dc6002a7b9 cli: fall back --since diff to use ref if merge base lookup fails
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-05 18:35:26 +01:00
Patrik Oldsberg 2c528506aa cli: add --since flag for repo build
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-05 12:05:09 +01:00
Patrik Oldsberg c3bc369a54 cli: add dependents to PackageGraph nodes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-05 11:44:36 +01:00
Patrik Oldsberg 362c37db42 Merge pull request #9987 from backstage/rugvip/external
cli: switch rollup config to consider all package modules external
2022-03-04 17:03:24 +01:00
Patrik Oldsberg 6a1fe077ad cli: switch rollup config to consider all package modules external
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-04 14:45:56 +01:00
Patrik Oldsberg b1aacbf96a Applied patches from 0.70.1 release
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-04 12:55:49 +01:00
Patrik Oldsberg dc98ba469d cli: fix release stage entry point resolution
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-04 12:51:40 +01:00
Patrik Oldsberg eab767b8a9 Merge pull request #9965 from backstage/rugvip/onlymain
cli: always use main entry point in packages for backend development
2022-03-04 12:00:13 +01:00
dependabot[bot] d3d1b82198 chore(deps): bump minimatch from 5.0.0 to 5.0.1
Bumps [minimatch](https://github.com/isaacs/minimatch) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-04 04:13:30 +00:00
Patrik Oldsberg f06da37290 cli: always use main entry point in packages for backend development
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-03 20:14:05 +01:00
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
Patrik Oldsberg 8c3f30cb28 cli: remove deprecated index.html templating variables
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-02 14:58:35 +01:00
Patrik Oldsberg 46a19c599f cli: install both v16 and v17 of @hot-loader/react-dom
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-01 14:16:39 +01:00
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
Fredrik Adelöw a26a8ce300 Merge pull request #9750 from backstage/dependabot/npm_and_yarn/minimatch-5.0.0
chore(deps): bump minimatch from 3.0.4 to 5.0.0
2022-02-23 14:59:52 +01:00
Hasan Oezdemir f7c6b4a9f4 (bugfix): ignore setupTests and the file inside ./dev folder recursively. eslint can not resolve relative paths as we expected here, and it does not apply this rule.
Signed-off-by: Hasan Oezdemir <21654050+nodify-at@users.noreply.github.com>
2022-02-23 13:18:45 +01:00
dependabot[bot] d64b8d3678 chore(deps): bump minimatch from 3.0.4 to 5.0.0
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 5.0.0.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v5.0.0)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 04:23:36 +00:00
Patrik Oldsberg c2f3a548cf cli: repo backend build
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-19 17:49:07 +01:00
Patrik Oldsberg 5cc7f48400 cli: fix running tests from root
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-18 13:02:10 +01:00
Ben Lambert 88c1b72b89 Merge pull request #9639 from backstage/dependabot/npm_and_yarn/hot-loader/react-dom-17.0.2
chore(deps): bump @hot-loader/react-dom from 16.13.0 to 17.0.2
2022-02-18 10:19:31 +01:00
dependabot[bot] 49ae6c9573 chore(deps-dev): bump @types/rollup-plugin-postcss from 2.0.1 to 3.1.4
Bumps [@types/rollup-plugin-postcss](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/rollup-plugin-postcss) from 2.0.1 to 3.1.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/rollup-plugin-postcss)

---
updated-dependencies:
- dependency-name: "@types/rollup-plugin-postcss"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 04:42:33 +00:00
dependabot[bot] d2e9d2a34f chore(deps): bump @hot-loader/react-dom from 16.13.0 to 17.0.2
Bumps [@hot-loader/react-dom](https://github.com/hot-loader/react-dom) from 16.13.0 to 17.0.2.
- [Release notes](https://github.com/hot-loader/react-dom/releases)
- [Commits](https://github.com/hot-loader/react-dom/commits)

---
updated-dependencies:
- dependency-name: "@hot-loader/react-dom"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 04:19:10 +00:00
github-actions[bot] 408b0300cb Version Packages 2022-02-17 10:38:59 +00:00
Patrik Oldsberg 4e2e82e087 cli: fix posix path normalization in PackageGraph
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-17 10:14:16 +01:00
Patrik Oldsberg 1fc0cd3896 cli: bump webpack and rollup svgr plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-17 01:26:26 +01:00
Patrik Oldsberg d99c3c2177 Merge pull request #9254 from backstage/rugvip/add-roles
packages: add roles to all packages
2022-02-16 18:40:37 +01:00
Patrik Oldsberg b42ccffafe cli: fix for backend bundle build ignoring building of the app
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 16:51:19 +01:00
Patrik Oldsberg ba5ea41f9e cli: rename app role to frontend
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-16 16:13:30 +01:00
Patrik Oldsberg 9035dbe289 cli,codemods: update security policies
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-15 23:04:50 +01:00
Patrik Oldsberg 9892d74326 cli: renamed script commands to package
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-15 21:27:12 +01:00
Patrik Oldsberg 51ce07f0fe cli: fix incorrect target package for app and backend build
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-15 21:20:28 +01:00
Patrik Oldsberg d9aa726fe1 cli: skip diff of new package scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-15 21:17:52 +01:00
Patrik Oldsberg 15756907dc Merge pull request #9500 from backstage/rugvip/parallint
cli: introduce new `repo lint` command
2022-02-15 18:33:43 +01:00
Patrik Oldsberg 6a52a93417 cli: rename package-role migration command to package-roles
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:07 +01:00
Patrik Oldsberg 8f82d80adf migrate all package scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:07 +01:00
Patrik Oldsberg 71973cd4d3 cli: improve package script migration to keep more args and not replace custom scripts
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:07 +01:00
Patrik Oldsberg 11e1621e53 cli: fix test script setup and make it pass with no tests by default
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:06 +01:00
Patrik Oldsberg 03fb4d9c9b cli: avoid adding pack scripts when migrating scripts in cli packages
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:05 +01:00
Patrik Oldsberg 0266c65a37 cli: upgrade package script migration to keep some flags
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:05 +01:00
Patrik Oldsberg 510740be65 cli: add missing role option for build script command + mark experimental
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:05 +01:00
Patrik Oldsberg d3381edcb1 cli: rename plugin-x roles to x-plugin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-14 21:50:04 +01:00