state-in-url 3.0.5 → 3.0.6
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/README.md +2 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -23,7 +23,6 @@ English | [한국어](./README.KO.md) | [简体中文](./README.CN.md)
|
|
|
23
23
|
[]([https://github.com/semantic-release/semantic-release](https://github.com/asmyshlyaev177/state-in-url))
|
|
24
24
|

|
|
25
25
|
|
|
26
|
-
[](https://stand-with-ukraine.pp.ua/)
|
|
27
26
|
</div>
|
|
28
27
|
|
|
29
28
|
<div align="center">
|
|
@@ -39,6 +38,8 @@ English | [한국어](./README.KO.md) | [简体中文](./README.CN.md)
|
|
|
39
38
|
|
|
40
39
|
Add a ⭐️ and <a href="https://github.com/asmyshlyaev177" target="_blank">follow me</a> to support the project!
|
|
41
40
|
|
|
41
|
+
Will appreciate you feedback/opinion on [discussions](https://github.com/asmyshlyaev177/state-in-url/discussions/1)
|
|
42
|
+
|
|
42
43
|
Share if it useful for you.
|
|
43
44
|
[FB](https://www.facebook.com/sharer.php?u=https://github.com/asmyshlyaev177/state-in-url)
|
|
44
45
|
[LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https://github.com/asmyshlyaev177/state-in-url)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "state-in-url",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "Easily share complex state objects between unrelated React components, preserve types and structure, with TS validation. Deep links and url state synchronization wthout any hasssle or boilerplate.",
|
|
5
5
|
"homepage": "https://state-in-url-asmyshlyaev177.vercel.app",
|
|
6
6
|
"keywords": [
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"test:unit": "wireit",
|
|
104
104
|
"test:int": "wireit",
|
|
105
105
|
"test:int:ci": "wireit",
|
|
106
|
-
"test:exports": "npx babel-node --extensions .js,.mjs,.ts,.mts --config-file ./babel.config.json -- ./packages/urlstate/exportsTest.ts",
|
|
106
|
+
"test:exports": "npm run build && npx babel-node --extensions .js,.mjs,.ts,.mts --config-file ./babel.config.json -- ./packages/urlstate/exportsTest.ts",
|
|
107
107
|
"test": "wireit",
|
|
108
108
|
"tsc": "wireit",
|
|
109
109
|
"dev": "wireit",
|
|
@@ -126,8 +126,7 @@
|
|
|
126
126
|
"reinstall": "rm -rf dist .wireit node_modules packages/example-nextjs14/node_modules packages/example-nextjs14/.next packages/example-react/node_modules && npm install",
|
|
127
127
|
"setup": "playwright install --with-deps",
|
|
128
128
|
"prepack": "npm run build && cp package.json dist/package.json && npm run build:demo",
|
|
129
|
-
"prepare": "npx husky"
|
|
130
|
-
"preinstall": "npx only-allow npm"
|
|
129
|
+
"prepare": "npx husky"
|
|
131
130
|
},
|
|
132
131
|
"wireit": {
|
|
133
132
|
"test": {
|
|
@@ -136,7 +135,7 @@
|
|
|
136
135
|
"test:unit",
|
|
137
136
|
"build:packages"
|
|
138
137
|
],
|
|
139
|
-
"command": "npm run test:int"
|
|
138
|
+
"command": "npm run test:exports && npm run test:int"
|
|
140
139
|
},
|
|
141
140
|
"kill-next": {
|
|
142
141
|
"command": "ps aux | grep .next | grep -v grep | awk '{print $2}' | xargs kill -9 2>&1; exit 0"
|
|
@@ -304,7 +303,7 @@
|
|
|
304
303
|
"command": "cd packages/example-react && npm run build"
|
|
305
304
|
},
|
|
306
305
|
"build": {
|
|
307
|
-
"command": "rollup -c rollup.config.js --bundleConfigAsCjs
|
|
306
|
+
"command": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
308
307
|
"dependencies": [
|
|
309
308
|
"cleanup"
|
|
310
309
|
]
|
|
@@ -386,6 +385,7 @@
|
|
|
386
385
|
"jest": "^29.7.0",
|
|
387
386
|
"jest-environment-jsdom": "^29.7.0",
|
|
388
387
|
"lint-staged": "^15.2.9",
|
|
388
|
+
"only-allow": "^1.2.1",
|
|
389
389
|
"playwright": "^1.45.3",
|
|
390
390
|
"prettier": "^3.2.5",
|
|
391
391
|
"prettier-plugin-tailwindcss": "^0.6.8",
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
"ts-node": "^10.9.2",
|
|
400
400
|
"typescript": "^5.3.3",
|
|
401
401
|
"wait-on": "^8.0.1",
|
|
402
|
-
"wireit": "^0.14.9"
|
|
403
|
-
|
|
404
|
-
|
|
402
|
+
"wireit": "^0.14.9"
|
|
403
|
+
},
|
|
404
|
+
"packageManager": "npm@10.8.2"
|
|
405
405
|
}
|