release-it 19.0.0 → 19.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.
package/lib/config.js CHANGED
@@ -153,10 +153,6 @@ async function loadLocalConfig(constructorConfig) {
153
153
  throw new Error(`Invalid configuration file at ${file}`);
154
154
  });
155
155
 
156
- if (Object.keys(resolvedConfig.config).length === 0) {
157
- throw new Error(`no such file ${resolvedConfig.configFile}`);
158
- }
159
-
160
156
  debug('Loaded local config', resolvedConfig.config);
161
157
  return isObjectStrict(resolvedConfig.config) ? resolvedConfig.config : {};
162
158
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "release-it",
3
- "version": "19.0.0",
3
+ "version": "19.0.2",
4
4
  "description": "Generic CLI tool to automate versioning and package publishing-related tasks.",
5
5
  "keywords": [
6
6
  "build",
@@ -80,42 +80,42 @@
80
80
  "dependencies": {
81
81
  "@nodeutils/defaults-deep": "1.1.0",
82
82
  "@octokit/rest": "21.1.1",
83
- "@phun-ky/typeof": "1.2.5",
83
+ "@phun-ky/typeof": "1.2.8",
84
84
  "async-retry": "1.3.3",
85
85
  "c12": "3.0.3",
86
86
  "ci-info": "^4.2.0",
87
87
  "eta": "3.5.0",
88
88
  "git-url-parse": "16.1.0",
89
- "inquirer": "12.5.2",
89
+ "inquirer": "12.6.0",
90
90
  "issue-parser": "7.0.1",
91
91
  "lodash.get": "4.4.2",
92
92
  "lodash.merge": "4.6.2",
93
93
  "mime-types": "3.0.1",
94
94
  "new-github-release-url": "2.0.0",
95
- "open": "10.1.1",
95
+ "open": "10.1.2",
96
96
  "ora": "8.2.0",
97
97
  "os-name": "6.0.0",
98
98
  "proxy-agent": "6.5.0",
99
99
  "semver": "7.7.1",
100
100
  "tinyexec": "1.0.1",
101
- "tinyglobby": "0.2.12",
101
+ "tinyglobby": "0.2.13",
102
102
  "undici": "6.21.2",
103
103
  "url-join": "5.0.0",
104
104
  "wildcard-match": "5.1.4",
105
105
  "yargs-parser": "21.1.1"
106
106
  },
107
107
  "devDependencies": {
108
- "@eslint/compat": "1.2.8",
108
+ "@eslint/compat": "1.2.9",
109
109
  "@eslint/eslintrc": "3.3.1",
110
- "@eslint/js": "9.24.0",
110
+ "@eslint/js": "9.26.0",
111
111
  "@octokit/request-error": "6.1.8",
112
- "@types/node": "20.17.30",
113
- "eslint": "9.24.0",
114
- "eslint-plugin-import-x": "4.10.5",
112
+ "@types/node": "20.17.32",
113
+ "eslint": "9.26.0",
114
+ "eslint-plugin-import-x": "4.11.0",
115
115
  "globals": "16.0.0",
116
116
  "installed-check": "9.3.0",
117
- "knip": "5.50.5",
118
- "mentoss": "0.9.2",
117
+ "knip": "5.53.0",
118
+ "mentoss": "0.11.0",
119
119
  "mock-stdio": "1.0.3",
120
120
  "prettier": "3.5.3",
121
121
  "remark-cli": "12.0.1",
@@ -128,7 +128,7 @@
128
128
  "socks": "2.8.3"
129
129
  },
130
130
  "engines": {
131
- "node": "^20.9.0 || >=22.0.0"
131
+ "node": "^20.12.0 || >=22.0.0"
132
132
  },
133
133
  "remarkConfig": {
134
134
  "plugins": [
package/test/config.js CHANGED
@@ -83,13 +83,6 @@ describe('config', async () => {
83
83
  assert.deepEqual(config.options.foo, { bar: 1 });
84
84
  });
85
85
 
86
- test('should throw if provided config file is not found', async () => {
87
- await assert.rejects(async () => {
88
- const config = new Config({ config: 'nofile' });
89
- await config.init();
90
- }, /no such file.+nofile/);
91
- });
92
-
93
86
  test('should throw if provided config file is invalid (cosmiconfig exception)', async () => {
94
87
  await assert.rejects(async () => {
95
88
  const config = new Config({ config: './test/stub/config/invalid-config-txt' });