npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@smartimpact-it/shopify-disable-features

v0.2.4

Published

Disabled-features engine, analyzer, config helpers, and schema tools for Shopify themes.

Downloads

1,301

Readme

@smartimpact-it/shopify-disable-features

Shared disabled-features engine, unused-features analyzer, config helpers, derived-state helpers, schema generator, and webpack plugins for Shopify themes.

Installation

Install from the public npm registry:

npm install @smartimpact-it/shopify-disable-features

Consumer usage

Example in a theme repo:

{
  "dependencies": {
    "@smartimpact-it/shopify-disable-features": "^0.1.0"
  }
}

Example type usage in theme-disabled-features.mts:

import type { ThemeSchema } from "./available-schema-fields";
import type {
  FeatureSetup,
  FeatureGroups,
  AlwaysEnabledFeatures,
} from "@smartimpact-it/shopify-disable-features";

export const featureGroups = {} as const satisfies FeatureGroups<ThemeSchema>;
export type FeatureGroupNames = keyof typeof featureGroups;

export const featureSetup: FeatureSetup<ThemeSchema, FeatureGroupNames> = {};
export const alwaysEnabledFeatures: AlwaysEnabledFeatures<ThemeSchema> = {};

Build process

This package is published from generated dist/ output.

  • source files stay committed in the repo
  • dist/ is generated by npm run build
  • dist/ is gitignored and should not be committed
  • the published package includes dist/ because package.json -> files points to it

That means:

  • local repo checkout: run npm run build if you want to exercise the built package locally
  • publish workflow: runs npm run build before npm publish
  • consuming repos: install the package tarball from npm, which already contains dist/

npm run verify checks that the built export surface can be imported successfully.

Publishing

Release flow:

npm version patch
git push --follow-tags

Pushing a vX.Y.Z tag triggers .github/workflows/publish-package.yml, which:

  • installs dependencies
  • builds dist/
  • verifies the tag matches package.json version
  • creates a GitHub release
  • publishes to the public npm registry

The workflow uses:

  • GITHUB_TOKEN for the GitHub release
  • NPM_TOKEN for npm publishing

NPM_TOKEN should be an npm automation token with publish access to the @smartimpact-it organization.

Exports

Main exports:

  • @smartimpact-it/shopify-disable-features
  • @smartimpact-it/shopify-disable-features/config
  • @smartimpact-it/shopify-disable-features/mutations
  • @smartimpact-it/shopify-disable-features/state
  • @smartimpact-it/shopify-disable-features/analyzer
  • @smartimpact-it/shopify-disable-features/feature-disabler
  • @smartimpact-it/shopify-disable-features/schema
  • @smartimpact-it/shopify-disable-features/webpack/schema-definitions-plugin
  • @smartimpact-it/shopify-disable-features/webpack/extension-data-plugin

CLI binaries

Published bins:

  • shopify-disable-features
  • shopify-lint-disabled-features
  • shopify-disable-unused-features
  • shopify-optimize-disabled-features
  • shopify-generate-schema-definitions
  • shopify-generate-extension-data
  • shopify-generate-theme-features-inventory