ember-try 3.0.0-beta.1 → 4.0.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-try",
3
- "version": "3.0.0-beta.1",
3
+ "version": "4.0.0",
4
4
  "description": "An ember-cli addon to test against multiple dependencies, such as ember and ember-data.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -21,70 +21,57 @@
21
21
  "lib": "lib",
22
22
  "test": "tests"
23
23
  },
24
- "scripts": {
25
- "lint": "eslint .",
26
- "node-test": "mocha test/**/*.js",
27
- "node-test-with-coverage": "nyc --reporter lcov npm run-script node-test && node_modules/.bin/codecov",
28
- "start": "ember serve",
29
- "test": "npm run-script lint && npm run-script node-test"
30
- },
31
24
  "dependencies": {
32
25
  "chalk": "^4.1.2",
33
- "cli-table3": "^0.6.0",
34
- "core-object": "^3.1.5",
35
- "debug": "^4.3.2",
26
+ "cli-table3": "^0.6.5",
27
+ "debug": "^4.4.0",
36
28
  "ember-try-config": "^4.0.0",
29
+ "es-toolkit": "^1.29.0",
37
30
  "execa": "^4.1.0",
38
31
  "fs-extra": "^6.0.1",
39
- "resolve": "^1.20.0",
32
+ "resolve": "^1.22.8",
40
33
  "rimraf": "^3.0.2",
34
+ "semver": "^7.6.3",
35
+ "temp-dir": "^2.0.0",
41
36
  "walk-sync": "^2.2.0"
42
37
  },
43
38
  "devDependencies": {
44
- "chai": "^4.3.4",
39
+ "@babel/core": "^7.26.0",
40
+ "@babel/eslint-parser": "^7.25.9",
41
+ "chai": "^5.1.2",
42
+ "chai-as-promised": "^8.0.1",
45
43
  "codecov": "^3.8.3",
46
- "ember-cli": "~3.22.0",
47
- "eslint": "^7.31.0",
48
- "eslint-config-prettier": "^6.15.0",
49
- "eslint-plugin-node": "^11.1.0",
50
- "eslint-plugin-prettier": "^3.1.4",
51
- "glob": "^7.2.0",
52
- "json": "^10.0.0",
53
- "mocha": "^8.2.1",
54
- "mockery": "^2.1.0",
55
- "nyc": "^15.1.0",
56
- "prettier": "^2.4.1",
57
- "release-it": "^14.11.6",
58
- "release-it-lerna-changelog": "^3.1.0",
59
- "rsvp": "^4.7.0",
44
+ "concurrently": "^9.1.0",
45
+ "ember-cli": "~5.12.0",
46
+ "eslint": "^8.57.0",
47
+ "eslint-config-prettier": "^9.1.0",
48
+ "eslint-plugin-n": "^17.15.0",
49
+ "mocha": "^11.0.1",
50
+ "nyc": "^17.1.0",
51
+ "prettier": "^3.4.2",
52
+ "release-plan": "^0.13.1",
53
+ "sinon": "^19.0.2",
60
54
  "tmp-sync": "^1.1.0"
61
55
  },
62
56
  "engines": {
63
- "node": "14.* || 16.* || >= 18.*"
57
+ "node": ">= 18"
64
58
  },
65
59
  "publishConfig": {
66
- "registry": "https://registry.npmjs.org",
67
- "tag": "beta"
60
+ "registry": "https://registry.npmjs.org"
68
61
  },
69
62
  "ember-addon": {
70
63
  "configPath": "tests/dummy/config"
71
64
  },
72
- "release-it": {
73
- "plugins": {
74
- "release-it-lerna-changelog": {
75
- "infile": "CHANGELOG.md",
76
- "launchEditor": true
77
- }
78
- },
79
- "git": {
80
- "tagName": "v${version}"
81
- },
82
- "github": {
83
- "release": true,
84
- "tokenRef": "GITHUB_AUTH"
85
- },
86
- "npm": {
87
- "publish": false
88
- }
65
+ "scripts": {
66
+ "format": "prettier . --cache --write",
67
+ "lint": "concurrently --group --prefix-colors auto --timings \"pnpm:lint:*(!fix)\"",
68
+ "lint:fix": "concurrently --group --prefix-colors auto --timings \"pnpm:lint:*:fix\" && pnpm format",
69
+ "lint:format": "prettier . --cache --check",
70
+ "lint:js": "eslint . --cache",
71
+ "lint:js:fix": "eslint . --fix",
72
+ "node-test": "mocha test/**/*.js",
73
+ "node-test-with-coverage": "nyc --reporter lcov pnpm node-test",
74
+ "start": "ember serve",
75
+ "test": "pnpm lint && pnpm node-test"
89
76
  }
90
- }
77
+ }
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = function findByName(arr, name) {
4
- let matches = (arr || []).filter((item) => {
5
- if (item.name === name) {
6
- return item;
7
- }
8
- });
9
- return matches[0];
10
- };