react-smart-copy 1.13.1 → 1.13.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/README.md +2 -0
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ ID PLT-29018 [Copy]
|
|
|
34
34
|
- Every failure is a typed, classified error. Nothing silently no-ops
|
|
35
35
|
- Unstyled. Works with Tailwind, CSS modules, CSS-in-JS, shadcn, MUI, Ant Design
|
|
36
36
|
- SSR / Next.js App Router safe, React 18 and 19, StrictMode-proof
|
|
37
|
+
- Tested in real browser engines on every change: Chromium, Firefox and WebKit (Safari's engine)
|
|
37
38
|
|
|
38
39
|
## What it can and cannot copy
|
|
39
40
|
|
|
@@ -1300,6 +1301,7 @@ npm install
|
|
|
1300
1301
|
npm run verify # lint, types, tests at 100% coverage, build, publint + attw, consumer types, size budgets
|
|
1301
1302
|
npm run changeset # describe your change for the changelog
|
|
1302
1303
|
npm run site:preview # docs site at http://localhost:3000
|
|
1304
|
+
npm run site:build && npm run test:e2e # end-to-end tests in Chromium, Firefox and WebKit
|
|
1303
1305
|
```
|
|
1304
1306
|
|
|
1305
1307
|
Releases are automated: merging the "chore: release" PR publishes to npm through
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-smart-copy",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.2",
|
|
4
4
|
"description": "Headless, type-safe clipboard interactions for React: copy and paste text, rich HTML, images, spreadsheet tables, typed application data, Markdown, code and privacy-safe images, with coordinated copy groups, SVG/DOM capture, Trojan Source and homoglyph detection, honest error states, retry and screen-reader announcements.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -214,7 +214,8 @@
|
|
|
214
214
|
"site:build": "npm run build && node -e \"for (const f of ['core.js','capture.js','table.js','structured.js','markdown.js','code.js','image.js']) require('fs').copyFileSync('dist/'+f,'site/'+f)\" && node scripts/build-changelog.js",
|
|
215
215
|
"site:preview": "npm run site:build && npx --yes serve site",
|
|
216
216
|
"test:coverage": "vitest run --coverage",
|
|
217
|
-
"types:consumer": "tsc -p consumer/tsconfig.bundler.json && tsc -p consumer/tsconfig.nodenext.json"
|
|
217
|
+
"types:consumer": "tsc -p consumer/tsconfig.bundler.json && tsc -p consumer/tsconfig.nodenext.json",
|
|
218
|
+
"test:e2e": "playwright test"
|
|
218
219
|
},
|
|
219
220
|
"size-limit": [
|
|
220
221
|
{
|
|
@@ -346,6 +347,7 @@
|
|
|
346
347
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
347
348
|
"@changesets/cli": "^3.0.3",
|
|
348
349
|
"@eslint/js": "^10.0.1",
|
|
350
|
+
"@playwright/test": "^1.64.1",
|
|
349
351
|
"@size-limit/preset-small-lib": "^14.2.0",
|
|
350
352
|
"@tanstack/table-core": "^9.3.1",
|
|
351
353
|
"@testing-library/dom": "^10.4.2",
|
|
@@ -357,6 +359,7 @@
|
|
|
357
359
|
"@vitest/coverage-v8": "^5.0.5",
|
|
358
360
|
"ag-grid-community": "^36.2.0",
|
|
359
361
|
"arktype": "^2.2.8",
|
|
362
|
+
"axe-core": "^4.14.0",
|
|
360
363
|
"eslint": "^10.13.0",
|
|
361
364
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
362
365
|
"fast-check": "^4.10.2",
|