@adonisjs/repl 3.1.7 → 3.1.10

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/LICENSE.md +1 -1
  2. package/package.json +69 -22
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # The MIT License
2
2
 
3
- Copyright 2021 Harminder Virk, contributors
3
+ Copyright 2022 Harminder Virk, contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonisjs/repl",
3
- "version": "3.1.7",
3
+ "version": "3.1.10",
4
4
  "description": "REPL for AdonisJS",
5
5
  "main": "build/providers/ReplProvider.js",
6
6
  "files": [
@@ -15,15 +15,15 @@
15
15
  "scripts": {
16
16
  "mrm": "mrm --preset=@adonisjs/mrm-preset",
17
17
  "pretest": "npm run lint",
18
- "test": "node japaFile.js",
19
- "clean": "del build",
18
+ "test": "node -r @adonisjs/require-ts/build/register ./bin/test.ts",
19
+ "clean": "del-cli build",
20
20
  "compile": "npm run lint && npm run clean && tsc",
21
21
  "build": "npm run compile",
22
22
  "prepublishOnly": "npm run build",
23
23
  "lint": "eslint . --ext=.ts",
24
24
  "format": "prettier --write .",
25
25
  "commit": "git-cz",
26
- "release": "np",
26
+ "release": "np --message=\"chore(release): %s\"",
27
27
  "version": "npm run build",
28
28
  "sync-labels": "github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json adonisjs/repl"
29
29
  },
@@ -38,28 +38,32 @@
38
38
  "@adonisjs/core": "^5.1.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@adonisjs/core": "^5.4.0",
42
- "@adonisjs/mrm-preset": "^4.1.2",
43
- "@adonisjs/require-ts": "^2.0.8",
44
- "@poppinss/dev-utils": "^1.1.5",
45
- "@types/node": "^16.11.1",
41
+ "@adonisjs/core": "^5.6.2",
42
+ "@adonisjs/mrm-preset": "^5.0.3",
43
+ "@adonisjs/require-ts": "^2.0.11",
44
+ "@japa/assert": "^1.3.3",
45
+ "@japa/run-failed-tests": "^1.0.7",
46
+ "@japa/runner": "^2.0.6",
47
+ "@japa/spec-reporter": "^1.1.12",
48
+ "@poppinss/dev-utils": "^2.0.3",
49
+ "@types/node": "^17.0.23",
50
+ "commitizen": "^4.2.4",
51
+ "cz-conventional-changelog": "^3.3.0",
46
52
  "del-cli": "^4.0.1",
47
53
  "doctoc": "^2.1.0",
48
- "eslint": "^7.32.0",
49
- "eslint-config-prettier": "^8.3.0",
50
- "eslint-plugin-adonis": "^1.3.3",
51
- "eslint-plugin-prettier": "^3.4.1",
52
- "github-label-sync": "^2.0.2",
53
- "husky": "^7.0.2",
54
- "japa": "^3.1.1",
55
- "mrm": "^3.0.10",
56
- "np": "^7.5.0",
57
- "prettier": "^2.4.1",
58
- "typescript": "^4.4.4"
54
+ "eslint": "^8.12.0",
55
+ "eslint-config-prettier": "^8.5.0",
56
+ "eslint-plugin-adonis": "^2.1.0",
57
+ "eslint-plugin-prettier": "^4.0.0",
58
+ "github-label-sync": "^2.2.0",
59
+ "husky": "^7.0.4",
60
+ "mrm": "^4.0.0",
61
+ "np": "^7.6.1",
62
+ "prettier": "^2.6.2",
63
+ "typescript": "^4.6.3"
59
64
  },
60
65
  "husky": {
61
66
  "hooks": {
62
- "pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md",
63
67
  "commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
64
68
  }
65
69
  },
@@ -85,7 +89,7 @@
85
89
  "tag": "latest"
86
90
  },
87
91
  "dependencies": {
88
- "@poppinss/colors": "^2.1.5",
92
+ "@poppinss/colors": "^3.0.2",
89
93
  "node-repl-await": "^0.1.2",
90
94
  "parse-imports": "0.0.5",
91
95
  "string-width": "^4.2.2"
@@ -110,5 +114,48 @@
110
114
  "@adonisjs/repl/build/commands"
111
115
  ],
112
116
  "types": "@adonisjs/repl"
117
+ },
118
+ "mrmConfig": {
119
+ "core": true,
120
+ "license": "MIT",
121
+ "services": [
122
+ "github-actions"
123
+ ],
124
+ "minNodeVersion": "14.15.4",
125
+ "probotApps": [
126
+ "stale",
127
+ "lock"
128
+ ],
129
+ "runGhActionsOnWindows": true
130
+ },
131
+ "eslintConfig": {
132
+ "extends": [
133
+ "plugin:adonis/typescriptPackage",
134
+ "prettier"
135
+ ],
136
+ "plugins": [
137
+ "prettier"
138
+ ],
139
+ "rules": {
140
+ "prettier/prettier": [
141
+ "error",
142
+ {
143
+ "endOfLine": "auto"
144
+ }
145
+ ]
146
+ }
147
+ },
148
+ "eslintIgnore": [
149
+ "build"
150
+ ],
151
+ "prettier": {
152
+ "trailingComma": "es5",
153
+ "semi": false,
154
+ "singleQuote": true,
155
+ "useTabs": false,
156
+ "quoteProps": "consistent",
157
+ "bracketSpacing": true,
158
+ "arrowParens": "always",
159
+ "printWidth": 100
113
160
  }
114
161
  }