@zag-js/types 0.2.2 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -32,3 +32,7 @@ function createNormalizer(fn) {
32
32
  }
33
33
  });
34
34
  }
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ createNormalizer
38
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/types",
3
- "version": "0.2.2",
3
+ "version": "0.2.5",
4
4
  "keywords": [
5
5
  "js",
6
6
  "utils",
@@ -27,12 +27,13 @@
27
27
  "csstype": "3.1.0"
28
28
  },
29
29
  "scripts": {
30
- "build:fast": "zag build",
31
- "start": "zag build --watch",
32
- "build": "zag build --prod",
30
+ "build-fast": "tsup src/index.ts --format=esm,cjs",
31
+ "start": "pnpm build --watch",
32
+ "build": "tsup src/index.ts --format=esm,cjs --dts",
33
33
  "test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests",
34
34
  "lint": "eslint src --ext .ts,.tsx",
35
- "test:ci": "yarn test --ci --runInBand",
36
- "test:watch": "yarn test --watch --updateSnapshot"
35
+ "test-ci": "pnpm test --ci --runInBand",
36
+ "test-watch": "pnpm test --watch -u",
37
+ "typecheck": "tsc --noEmit"
37
38
  }
38
- }
39
+ }