@0xsquid/react-hooks 1.0.2 → 1.0.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
 
2
2
 
3
+ ## [1.0.4](https://github.com/0xsquid/squid-react-hooks/compare/v1.0.3...v1.0.4) (2024-05-16)
4
+
5
+ ## [1.0.3](https://github.com/0xsquid/squid-react-hooks/compare/v1.0.2...v1.0.3) (2024-05-15)
6
+
3
7
  ## [1.0.2](https://github.com/0xsquid/squid-react-hooks/compare/v1.0.1...v1.0.2) (2024-05-15)
4
8
 
5
9
  ## 1.0.1 (2024-05-15)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsquid/react-hooks",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Squid hooks monorepo",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "scripts": {
12
12
  "clean": "rimraf dist",
13
- "build": "yarn clean && tsc --noEmit false && node scripts/replacePaths.js && node scripts/copyAssets.js && node scripts/removeBuildTestFolder.js",
13
+ "build": "yarn clean && tsc --noEmit false && node scripts/replacePaths.js && node scripts/copyAssets.js",
14
14
  "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
15
15
  "lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
16
16
  "test": "node --experimental-vm-modules node_modules/.bin/jest",
@@ -107,7 +107,7 @@
107
107
  "git": {
108
108
  "tagName": "v${version}",
109
109
  "pushRepo": "https://github.com/0xsquid/squid-react-hooks.git",
110
- "commitMessage": "chore: branch cut release for widget v${version}",
110
+ "commitMessage": "chore: branch cut release for react-hooks v${version}",
111
111
  "requireBranch": "release/*"
112
112
  },
113
113
  "npm": {
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "./tsconfig",
3
+ "compilerOptions": {
4
+ "outDir": "dist/cjs",
5
+ "module": "CommonJS",
6
+ "baseUrl": "dist/cjs"
7
+ }
8
+ }
package/tsconfig.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist",
5
4
  "rootDir": "./src",
6
- "module": "ESNext",
7
- "target": "ES6",
8
5
  "moduleResolution": "node",
6
+ "baseUrl": ".",
7
+ "outDir": "./dist",
8
+ "declarationDir": "./dist",
9
9
  "declaration": true,
10
- "esModuleInterop": true,
11
- "jsx": "react",
12
10
  "sourceMap": true,
13
- "baseUrl": ".",
11
+ "module": "ESNext",
12
+ "target": "ESNext",
13
+ "jsx": "react",
14
+ "esModuleInterop": true,
14
15
  "paths": {
15
16
  "@/*": ["src/*"]
16
17
  },