@react-foundry/components 0.1.9 → 0.2.0

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
@@ -1,18 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("@react-foundry/simple-components"), exports);
18
- __exportStar(require("@react-foundry/form"), exports);
1
+ export * from '@react-foundry/simple-components';
2
+ export * from '@react-foundry/form';
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@react-foundry/components",
3
- "version": "0.1.9",
3
+ "version": "0.2.0",
4
4
  "description": "React components to support the React Foundry system.",
5
+ "type": "module",
5
6
  "main": "dist/index.js",
6
7
  "sass": "assets/index.scss",
7
8
  "exports": {
8
9
  ".": {
9
10
  "sass": "./assets/index.scss",
10
11
  "types": "./dist/index.d.ts",
11
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.js",
13
- "default": "./dist/index.mjs"
12
+ "import": "./dist/index.js",
13
+ "default": "./dist/index.js"
14
14
  }
15
15
  },
16
16
  "files": [
@@ -23,8 +23,8 @@
23
23
  "react-components"
24
24
  ],
25
25
  "dependencies": {
26
- "@react-foundry/form": "^0.1.9",
27
- "@react-foundry/simple-components": "^0.1.9"
26
+ "@react-foundry/form": "^0.2.0",
27
+ "@react-foundry/simple-components": "^0.2.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "jest": "30.3.0",
@@ -34,11 +34,9 @@
34
34
  },
35
35
  "scripts": {
36
36
  "test": "NODE_OPTIONS=--experimental-vm-modules jest",
37
- "build": "npm run build:esm && npm run build:cjs",
38
- "build:esm": "tsc -m es2022 && find dist -name '*.js' -exec sh -c 'mv \"$0\" \"${0%.js}.mjs\"' {} \\;",
39
- "build:cjs": "tsc",
37
+ "build": "tsc",
40
38
  "clean": "rm -rf dist tsconfig.tsbuildinfo"
41
39
  },
42
- "module": "dist/index.mjs",
40
+ "module": "dist/index.js",
43
41
  "typings": "dist/index.d.ts"
44
42
  }
package/dist/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from '@react-foundry/simple-components';
2
- export * from '@react-foundry/form';