🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More →
Socket
Book a DemoSign in
Socket

@embroider/try

Package Overview
Dependencies
Maintainers
9
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embroider/try

Helper for trying multiple compatibility scenarios in CI

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
9
Created
Source

@embroider/try

A tiny utility to support matrix testing.

List

pnpm -s @embroider/try list

Processes your .try.mjs file and emits JSON that can be used in GitHub Actions to create your strategy.matrix.

Apply

pnpm dlx @embroider/try apply $SCENARIO_NAME

Applies a scenario to your project by editing package.json, etc. Use this before the regular pnpm install or npm install in order to test differing dependencies.

Config File: .try.mjs

export default interface {
  scenarios: Scenario[];
}
interface Scenario {
  name: string;

  // Values that will be merged into package.json:
  //
  //   npm: {
  //     devDependencies: {
  //       'ember-source': '^6.7.8'
  //     }
  //   }
  npm?: {
    devDependencies:  Record<string, string>;
    dependencies:     Record<string, string>;
    peerDependencies: Record<string, string>;
    overrides:        Record<string, string>;
  },

  // Files that will be (over)written with the given contents
  //
  //   files: {
  //     'tsconfig.json': '{ compilerOptions: {} }'
  //   }
  files?: Record<string, string>,
}

FAQs

Package last updated on 03 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts