Version Packages
This commit is contained in:
@@ -1,5 +1,57 @@
|
||||
# @backstage/cli
|
||||
|
||||
## 0.34.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- f2cf564: Removed the script transform cache from the default Jest configuration. The script cache provided a moderate performance boost, but it is incompatible with Jest 30.
|
||||
- 33faad2: Allow using custom manifest location in the yarn plugin and version bump.
|
||||
|
||||
The Backstage yarn plugin and version bump allows two new environment variables to configure custom manifest location:
|
||||
|
||||
- `BACKSTAGE_VERSIONS_BASE_URL`: The base URL for fetching the Backstage version
|
||||
manifest. Defaults to `https://versions.backstage.io/v1/releases/VERSION/manifest.json`.
|
||||
Useful for running the plugin in environment without direct access to the internet,
|
||||
for example by using a mirror of the versions API or a proxy.
|
||||
Note that the environment variable is just the host name, and the path is appended by
|
||||
the plugin. If you are using the yarn plugin, bump version command will also try
|
||||
to fetch the new version of the yarn plugin from the same base URL (defaults to
|
||||
`https://versions.backstage.io/v1/releases/RELEASE/yarn-plugin`)
|
||||
- `BACKSTAGE_MANIFEST_FILE`: Path to a local manifest file. If set, the plugin
|
||||
will not attempt to fetch the manifest from the network. Useful for running
|
||||
the plugin in environment without internet access and without mirror of the
|
||||
versions API.
|
||||
|
||||
- 6ebc1ea: Fixed module federation config by only setting `import: false` on shared libraries for remote.
|
||||
- ab96bb7: Added a new `--entrypoint` option to the `package start` command, which allows you to specify a custom entry directory/file for development applications. This is particularly useful when maintaining separate dev apps for different versions of your plugin (e.g., stable and alpha).
|
||||
|
||||
**Example usage:**
|
||||
|
||||
Consider the following plugin dev folder structure:
|
||||
|
||||
```
|
||||
dev/
|
||||
index.tsx
|
||||
alpha/
|
||||
index.ts
|
||||
```
|
||||
|
||||
- The default `yarn package start` command uses the `dev/` folder as the entry point and executes `dev/index.tsx` file;
|
||||
- Running `yarn package start --entrypoint dev/alpha` will instead use `dev/alpha/` as the entry point and execute `dev/alpha/index.ts` file.
|
||||
|
||||
- 024645e: Remove unused @octokit modules from cli package
|
||||
|
||||
- @octokit/graphql
|
||||
- @octokit/graphql-schema
|
||||
- @octokit/oauth-app
|
||||
|
||||
- d14ef24: Added automatic detection and support for the Backstage Yarn plugin when generating new packages with `yarn new`. When the plugin is installed, new packages will automatically use `backstage:^` ranges for `@backstage/*` dependencies.
|
||||
- Updated dependencies
|
||||
- @backstage/eslint-plugin@0.1.12
|
||||
- @backstage/integration@1.18.1
|
||||
- @backstage/config-loader@1.10.5
|
||||
- @backstage/config@1.3.5
|
||||
|
||||
## 0.34.4-next.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
Reference in New Issue
Block a user