@initx-plugin/cp 0.0.22 → 0.0.24

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.md +1 -1
  2. package/package.json +19 -15
package/README.md CHANGED
@@ -11,7 +11,7 @@ Copy plugin for `initx`
11
11
  ## Usage
12
12
 
13
13
  ```bash
14
- npm install @initx-plugin/cp -g
14
+ npx initx plugin add cp
15
15
  ```
16
16
 
17
17
  Copy some text to clipboard
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@initx-plugin/cp",
3
3
  "type": "module",
4
- "version": "0.0.22",
4
+ "version": "0.0.24",
5
5
  "description": "initx plugin, copy some text to clipboard",
6
6
  "author": "imba97",
7
7
  "license": "MIT",
@@ -23,26 +23,30 @@
23
23
  "files": [
24
24
  "dist"
25
25
  ],
26
+ "peerDependencies": {
27
+ "@initx-plugin/core": "*",
28
+ "@initx-plugin/utils": "*"
29
+ },
26
30
  "dependencies": {
27
- "@initx-plugin/core": "^0.0.31",
28
- "@initx-plugin/utils": "^0.0.31",
29
- "clipboardy": "^4.0.0"
31
+ "clipboardy": "^5.3.1"
30
32
  },
31
33
  "devDependencies": {
32
- "@imba97/eslint-config": "^0.0.6",
33
- "@types/node": "^22.13.13",
34
- "bumpp": "^10.1.0",
35
- "eslint": "^9.23.0",
36
- "lint-staged": "^15.5.0",
37
- "simple-git-hooks": "^2.12.1",
38
- "typescript": "^5.8.2",
39
- "unbuild": "^3.5.0",
40
- "vitest": "^3.0.9"
34
+ "@antfu/eslint-config": "^8.0.0",
35
+ "@initx-plugin/core": "^0.3.3",
36
+ "@initx-plugin/utils": "^0.3.3",
37
+ "@types/node": "^25.5.2",
38
+ "bumpp": "^11.0.1",
39
+ "eslint": "^10.2.0",
40
+ "nano-staged": "^0.9.0",
41
+ "simple-git-hooks": "^2.13.1",
42
+ "typescript": "^6.0.2",
43
+ "unbuild": "^3.6.1",
44
+ "vitest": "^4.1.2"
41
45
  },
42
46
  "simple-git-hooks": {
43
- "pre-commit": "pnpm lint-staged"
47
+ "pre-commit": "pnpm nano-staged"
44
48
  },
45
- "lint-staged": {
49
+ "nano-staged": {
46
50
  "*": "eslint --cache --fix"
47
51
  },
48
52
  "scripts": {