mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Issue number: resolves ionic-team/stencil-ds-output-targets#476, resolves ionic-team/stencil-ds-output-targets#475, resolves #29848 --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> In v0.6.0 of the [React output target](https://www.npmjs.com/package/@stencil/react-output-target), the implementation was changed to leverage Lit's utility for creating React components from web components. This introduced some unforseen issues and breaking changes. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Reverts many of the changes from https://github.com/ionic-team/ionic-framework/pull/29782 to downgrade the React output target package to the last stable version (v0.5.3) - Downgrades the version of Stencil to v4.20.0 (due to https://github.com/ionic-team/stencil/issues/5983 causing problems with the downgraded output target) - Pins these versions and prevents Renovate from attempting to upgrade until the associated issues are resolved ## Does this introduce a breaking change? - [ ] Yes - [X] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> Dev build for this version: `8.3.1-dev.11726167750.15400355` I tested the dev build against the use cases outlined in https://github.com/ionic-team/stencil-ds-output-targets/issues/475 and https://github.com/ionic-team/stencil-ds-output-targets/issues/476
121 lines
3.6 KiB
Plaintext
121 lines
3.6 KiB
Plaintext
{
|
|
$schema: "https://docs.renovatebot.com/renovate-schema.json",
|
|
extends: ["config:base", ":semanticCommitTypeAll(chore)"],
|
|
packageRules: [
|
|
{
|
|
// Group these two as they may rely on one another during major version bumps
|
|
matchPackageNames: ["actions/download-artifact", "actions/upload-artifact"],
|
|
groupName: "Download + Upload Artifacts"
|
|
},
|
|
{
|
|
matchPackagePatterns: ["@stencil/core", "@stencil/angular-output-target", "@stencil/react-output-target", "@stencil/sass", "@stencil/vue-output-target"],
|
|
groupName: "stencil",
|
|
matchFileNames: [
|
|
"core/package.json"
|
|
]
|
|
},
|
|
// TODO(ROU-11172): unpin React output target version
|
|
{
|
|
matchPackageNames: ["@stencil/react-output-target"],
|
|
matchFileNames: [
|
|
"core/package.json"
|
|
],
|
|
allowedVersions: ["<=0.5.3"]
|
|
},
|
|
// TODO(ROU-11173): unpin Stencil version
|
|
{
|
|
matchPackageNames: ["@stencil/core"],
|
|
matchFileNames: [
|
|
"core/package.json"
|
|
],
|
|
allowedVersions: ["<=4.20.0"]
|
|
},
|
|
{
|
|
matchPackagePatterns: ["@capacitor/core", "@capacitor/keyboard", "@capacitor/haptics", "@capacitor/status-bar"],
|
|
groupName: "capacitor",
|
|
matchFileNames: [
|
|
"core/package.json"
|
|
]
|
|
},
|
|
{
|
|
matchDatasources: ["npm"],
|
|
matchPackagePatterns: ["@playwright/test", "@axe-core/playwright"],
|
|
groupName: "playwright",
|
|
matchFileNames: [
|
|
"core/package.json"
|
|
],
|
|
"rangeStrategy": "bump"
|
|
},
|
|
{
|
|
matchDatasources: ["docker"],
|
|
matchPackageNames: ["mcr.microsoft.com/playwright"],
|
|
groupName: "playwright",
|
|
matchFileNames: [
|
|
"core/Dockerfile"
|
|
],
|
|
versioning: "semver"
|
|
},
|
|
{
|
|
matchPackagePatterns: ["ionicons"],
|
|
groupName: "ionicons",
|
|
matchFileNames: [
|
|
"core/package.json"
|
|
]
|
|
},
|
|
/**
|
|
* While we update dependencies in certain directories, we currently
|
|
* do not want to update every single dependency. Some of the dependencies are
|
|
* very out of date, and the team needs to schedule work to account for
|
|
* breaking changes in some of these updates. To potentially avoid a large number of
|
|
* failing PRs the team has chosen to selectively enable dependencies to be updated
|
|
* as we have capacity to account for breaking changes.
|
|
*/
|
|
{
|
|
matchPackagePatterns: ["tslib", "@ionic/", "@rollup/", "@types/", "@typescript-eslint/", "clean-css-cli", "domino", "eslint", "eslint-config-prettier", "execa", "fs-extra", "jest", "jest-cli", "prettier", "puppeteer", "rollup", "sass", "serve", "stylelint", "stylelint-order"],
|
|
groupName: "core-disabled",
|
|
matchFileNames: [
|
|
"core/package.json"
|
|
],
|
|
enabled: false
|
|
},
|
|
/**
|
|
* Local Ionic dependencies are managed by the
|
|
* workspace to ensure the correct local version is used.
|
|
*/
|
|
{
|
|
matchPackagePatterns: ["@ionic/", "ionicons"],
|
|
groupName: "ignore-local-ionic-deps",
|
|
matchFileNames: [
|
|
"**/package.json"
|
|
],
|
|
enabled: false
|
|
},
|
|
{
|
|
matchPackagePatterns: ["lerna", "semver"],
|
|
groupName: "root-disabled",
|
|
matchFileNames: [
|
|
"package.json"
|
|
],
|
|
enabled: false
|
|
}
|
|
],
|
|
dependencyDashboard: false,
|
|
minimumReleaseAge: "3 days",
|
|
rebaseWhen: "never",
|
|
schedule: ["every weekday before 11am"],
|
|
semanticCommits: "enabled",
|
|
ignorePaths: [
|
|
// Ionic Packages
|
|
"packages/angular",
|
|
"packages/angular-server",
|
|
"packages/react",
|
|
"packages/react-router",
|
|
"packages/vue",
|
|
"packages/vue-router",
|
|
"docs",
|
|
// Local Development Scripts
|
|
"core/custom-rules",
|
|
"core/scripts"
|
|
]
|
|
}
|