@julseb-lib/react 0.0.57 → 0.0.61

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.
Files changed (2) hide show
  1. package/README.local.md +2 -1
  2. package/package.json +15 -12
package/README.local.md CHANGED
@@ -2,4 +2,5 @@
2
2
 
3
3
  Run `yarn build`
4
4
  Then to merge types run `yarn move-types`
5
- Run `npm publish`
5
+ Change package version in package.json
6
+ Run `npm publish`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@julseb-lib/react",
3
- "version": "0.0.57",
3
+ "version": "0.0.61",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -10,7 +10,7 @@
10
10
  "copy-types": "cp -a ./src/lib/types ./types",
11
11
  "build-types": "yarn copy-types && tsc --p tsconfig-types.json",
12
12
  "move-types": "cp -R types/* dist/types && rm -rf types",
13
- "build": "vite build && yarn copy && yarn clean && yarn build-types && yarn move-types",
13
+ "build": "vite build && yarn copy && yarn clean && yarn build-types",
14
14
  "preview": "vite preview",
15
15
  "lint": "./node_modules/.bin/eslint",
16
16
  "lint:fix": "npx eslint src/lib/** --fix",
@@ -58,7 +58,6 @@
58
58
  "@types/styled-components": "^5.1.34",
59
59
  "@vitejs/plugin-react": "^4.3.3",
60
60
  "axios": "^1.7.7",
61
- "babel-loader": "^9.2.1",
62
61
  "cross-env": "^7.0.3",
63
62
  "cssjson-cli": "^1.0.1",
64
63
  "cypress": "^13.15.2",
@@ -72,8 +71,6 @@
72
71
  "plop": "^4.0.1",
73
72
  "prettier": "^3.3.3",
74
73
  "prop-types": "^15.8.1",
75
- "tslib": "^2.8.1",
76
- "tsx": "^4.19.2",
77
74
  "typescript": "^5.6.3",
78
75
  "typescript-eslint": "^8.14.0",
79
76
  "vite": "^5.4.11",
@@ -83,22 +80,22 @@
83
80
  },
84
81
  "license": "MIT",
85
82
  "peerDependencies": {
86
- "react": "^16.8.0 || 17.x || 18.x",
87
- "react-dom": "^16.8.0 || 17.x || 18.x",
83
+ "react": "^16.8.0 || 17.x || 18.x",
84
+ "react-dom": "^16.8.0 || 17.x || 18.x",
88
85
  "styled-components": "^6.0.0"
89
86
  },
90
87
  "files": [
91
88
  "dist"
92
89
  ],
93
- "main": "./dist/tsx-library-julseb.umd.js",
94
- "module": "./dist/tsx-library-julseb.es.js",
90
+ "main": "./dist/@julseb-lib-react.umd.js",
91
+ "module": "./dist/@julseb-lib-react.es.js",
95
92
  "types": "./dist/index.d.ts",
96
93
  "exports": {
97
94
  ".": {
98
- "import": "./dist/tsx-library-julseb.es.js",
99
- "require": "./dist/tsx-library-julseb.umd.js",
95
+ "import": "./dist/@julseb-lib-react.es.js",
96
+ "require": "./dist/@julseb-lib-react.umd.js",
100
97
  "types": "./dist/index.d.ts",
101
- "default": "./dist/tsx-library-julseb.cjs.js"
98
+ "default": "./dist/@julseb-lib-react.cjs.js"
102
99
  },
103
100
  "./index.css": {
104
101
  "import": "./dist/index.css",
@@ -110,6 +107,12 @@
110
107
  "require": "./dist/types/index.d.ts",
111
108
  "types": "./dist/types/index.d.ts",
112
109
  "default": "./dist/types/index.d.ts"
110
+ },
111
+ "./component-props": {
112
+ "import": "./dist/types/components-props.d.ts",
113
+ "require": "./dist/types/components-props.d.ts",
114
+ "types": "./dist/types/components-props.d.ts",
115
+ "default": "./dist/types/components-props.d.ts"
113
116
  }
114
117
  },
115
118
  "typesVersions": {