@adonisjs/events 9.0.1 → 9.0.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.
Files changed (1) hide show
  1. package/package.json +41 -30
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonisjs/events",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "An implementation of the event emitter built on top of emittery",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -28,7 +28,7 @@
28
28
  "precompile": "npm run lint && npm run clean",
29
29
  "compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
30
30
  "build": "npm run compile",
31
- "release": "np",
31
+ "release": "release-it",
32
32
  "version": "npm run build",
33
33
  "format": "prettier --write .",
34
34
  "prepublishOnly": "npm run build",
@@ -43,36 +43,36 @@
43
43
  "author": "virk,adonisjs",
44
44
  "license": "MIT",
45
45
  "devDependencies": {
46
- "@adonisjs/application": "^8.0.2",
47
- "@adonisjs/config": "^5.0.1",
48
- "@adonisjs/eslint-config": "^1.2.1",
49
- "@adonisjs/fold": "^10.0.1",
50
- "@adonisjs/prettier-config": "^1.2.1",
51
- "@adonisjs/tsconfig": "^1.2.1",
52
- "@commitlint/cli": "^18.5.0",
53
- "@commitlint/config-conventional": "^18.5.0",
54
- "@japa/assert": "^2.1.0",
55
- "@japa/expect-type": "^2.0.1",
56
- "@japa/file-system": "^2.2.0",
57
- "@japa/runner": "^3.1.1",
58
- "@swc/core": "^1.3.105",
59
- "@types/node": "^20.11.5",
46
+ "@adonisjs/application": "^8.2.2",
47
+ "@adonisjs/config": "^5.0.2",
48
+ "@adonisjs/eslint-config": "^1.3.0",
49
+ "@adonisjs/fold": "^10.1.2",
50
+ "@adonisjs/prettier-config": "^1.3.0",
51
+ "@adonisjs/tsconfig": "^1.3.0",
52
+ "@commitlint/cli": "^19.2.2",
53
+ "@commitlint/config-conventional": "^19.2.2",
54
+ "@japa/assert": "^3.0.0",
55
+ "@japa/expect-type": "^2.0.2",
56
+ "@japa/file-system": "^2.3.0",
57
+ "@japa/runner": "^3.1.4",
58
+ "@swc/core": "^1.4.16",
59
+ "@types/node": "^20.12.7",
60
60
  "c8": "^9.1.0",
61
61
  "cross-env": "^7.0.3",
62
62
  "del-cli": "^5.1.0",
63
63
  "eslint": "^8.56.0",
64
64
  "github-label-sync": "^2.3.1",
65
- "husky": "^8.0.3",
66
- "np": "^9.2.0",
67
- "prettier": "^3.2.4",
65
+ "husky": "^9.0.11",
66
+ "prettier": "^3.2.5",
67
+ "release-it": "^17.2.0",
68
68
  "ts-node": "^10.9.2",
69
- "tsup": "^8.0.1",
70
- "typescript": "^5.3.3"
69
+ "tsup": "^8.0.2",
70
+ "typescript": "^5.4.5"
71
71
  },
72
72
  "dependencies": {
73
- "@poppinss/utils": "^6.7.1",
74
- "@sindresorhus/is": "^6.1.0",
75
- "emittery": "^1.0.1"
73
+ "@poppinss/utils": "^6.7.3",
74
+ "@sindresorhus/is": "^6.2.0",
75
+ "emittery": "^1.0.3"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "@adonisjs/application": "^8.0.2",
@@ -95,12 +95,6 @@
95
95
  "access": "public",
96
96
  "tag": "latest"
97
97
  },
98
- "np": {
99
- "message": "chore(release): %s",
100
- "tag": "latest",
101
- "branch": "main",
102
- "anyBranch": false
103
- },
104
98
  "c8": {
105
99
  "reporter": [
106
100
  "text",
@@ -126,5 +120,22 @@
126
120
  "dts": false,
127
121
  "sourcemap": true,
128
122
  "target": "esnext"
123
+ },
124
+ "release-it": {
125
+ "git": {
126
+ "commitMessage": "chore(release): ${version}",
127
+ "tagAnnotation": "v${version}",
128
+ "tagName": "v${version}"
129
+ },
130
+ "hooks": {
131
+ "before:init": [
132
+ "npm test"
133
+ ]
134
+ },
135
+ "github": {
136
+ "release": true,
137
+ "releaseName": "v${version}",
138
+ "web": true
139
+ }
129
140
  }
130
141
  }