fast-equals 5.1.0 → 5.1.2
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/.release-it.beta.json +9 -4
- package/.release-it.json +7 -2
- package/{build → config}/rollup/config.base.js +1 -1
- package/package.json +9 -11
- /package/{build → config}/rollup/config.cjs.js +0 -0
- /package/{build → config}/rollup/config.esm.js +0 -0
- /package/{build → config}/rollup/config.min.js +0 -0
- /package/{build → config}/rollup/config.umd.js +0 -0
- /package/{build → config}/tsconfig/base.json +0 -0
- /package/{build → config}/tsconfig/cjs.json +0 -0
- /package/{build → config}/tsconfig/declarations.json +0 -0
- /package/{build → config}/tsconfig/esm.json +0 -0
- /package/{build → config}/tsconfig/min.json +0 -0
- /package/{build → config}/tsconfig/umd.json +0 -0
- /package/{build → config}/webpack.config.js +0 -0
package/.release-it.beta.json
CHANGED
|
@@ -3,11 +3,16 @@
|
|
|
3
3
|
"release": true,
|
|
4
4
|
"tagName": "v${version}"
|
|
5
5
|
},
|
|
6
|
+
"hooks": {
|
|
7
|
+
"before:init": [
|
|
8
|
+
"npm run typecheck",
|
|
9
|
+
"npm run lint",
|
|
10
|
+
"npm run test",
|
|
11
|
+
"npm run build"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
6
14
|
"npm": {
|
|
7
15
|
"tag": "next"
|
|
8
16
|
},
|
|
9
|
-
"preReleaseId": "beta"
|
|
10
|
-
"scripts": {
|
|
11
|
-
"beforeStart": "npm run prepublish:compile"
|
|
12
|
-
}
|
|
17
|
+
"preReleaseId": "beta"
|
|
13
18
|
}
|
package/.release-it.json
CHANGED
|
@@ -42,7 +42,7 @@ export const BASE_CONFIG = {
|
|
|
42
42
|
}),
|
|
43
43
|
commonjs({ include: /use-sync-external-store/ }),
|
|
44
44
|
typescript({
|
|
45
|
-
tsconfig: path.resolve(ROOT, '
|
|
45
|
+
tsconfig: path.resolve(ROOT, 'config', 'tsconfig', 'base.json'),
|
|
46
46
|
typescript: tsc,
|
|
47
47
|
}),
|
|
48
48
|
],
|
package/package.json
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"react": "^18.3.1",
|
|
38
38
|
"react-dom": "^18.3.1",
|
|
39
39
|
"react-fast-compare": "^3.2.1",
|
|
40
|
-
"release-it": "^
|
|
40
|
+
"release-it": "^17.11.0",
|
|
41
41
|
"rollup": "^3.29.5",
|
|
42
42
|
"shallow-equal-fuzzy": "^0.0.2",
|
|
43
43
|
"tinybench": "^2.9.0",
|
|
@@ -87,27 +87,25 @@
|
|
|
87
87
|
"scripts": {
|
|
88
88
|
"benchmark": "npm run build:esm && node benchmark/index.js",
|
|
89
89
|
"build": "npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:min",
|
|
90
|
-
"build:cjs": "
|
|
91
|
-
"build:esm": "
|
|
92
|
-
"build:min": "
|
|
93
|
-
"build:umd": "
|
|
94
|
-
"dev": "NODE_ENV=development webpack serve --progress --config=
|
|
95
|
-
"dist": "rimraf dist && npm run build",
|
|
90
|
+
"build:cjs": "rm -rf dist/cjs && NODE_ENV=production rollup -c config/rollup/config.cjs.js && tsc -p ./config/tsconfig/cjs.json",
|
|
91
|
+
"build:esm": "rm -rf dist/esm && NODE_ENV=production rollup -c config/rollup/config.esm.js && tsc -p ./config/tsconfig/esm.json",
|
|
92
|
+
"build:min": "rm -rf dist/min && NODE_ENV=production rollup -c config/rollup/config.min.js && tsc -p ./config/tsconfig/min.json",
|
|
93
|
+
"build:umd": "rm -rf dist/umd && NODE_ENV=production rollup -c config/rollup/config.umd.js && tsc -p ./config/tsconfig/umd.json",
|
|
94
|
+
"dev": "NODE_ENV=development webpack serve --progress --config=config/webpack.config.js",
|
|
96
95
|
"format": "prettier **/*.ts --write",
|
|
97
96
|
"lint": "eslint src/*.ts",
|
|
98
97
|
"lint:fix": "npm run lint -- --fix",
|
|
99
98
|
"start": "npm run dev",
|
|
100
|
-
"prepublish": "if in-publish; then npm run prepublish:compile; fi",
|
|
101
99
|
"release": "release-it",
|
|
102
100
|
"release:beta": "release-it --config=.release-it.beta.json",
|
|
103
|
-
"release:scripts": "npm run typecheck && npm run lint && npm run test && npm run dist",
|
|
101
|
+
"release:scripts": "npm run typecheck && npm run lint && npm run test:coverage && npm run dist",
|
|
104
102
|
"test": "NODE_PATH=. jest",
|
|
105
|
-
"test:coverage": "
|
|
103
|
+
"test:coverage": "rm -rf coverage && npm test -- --coverage",
|
|
106
104
|
"test:watch": "npm test -- --watch",
|
|
107
105
|
"typecheck": "tsc --noEmit"
|
|
108
106
|
},
|
|
109
107
|
"sideEffects": false,
|
|
110
108
|
"type": "module",
|
|
111
109
|
"types": "./index.d.ts",
|
|
112
|
-
"version": "5.1.
|
|
110
|
+
"version": "5.1.2"
|
|
113
111
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|