create-feathers 5.0.15 → 5.0.17
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/CHANGELOG.md +10 -0
- package/bin/create-feathers +5 -5
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.17](https://github.com/feathersjs/feathers/compare/v5.0.16...v5.0.17) (2024-01-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package create-feathers
|
|
9
|
+
|
|
10
|
+
## [5.0.16](https://github.com/feathersjs/feathers/compare/v5.0.15...v5.0.16) (2024-01-22)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- Update npm create feathers to ES module ([#3393](https://github.com/feathersjs/feathers/issues/3393)) ([314ce70](https://github.com/feathersjs/feathers/commit/314ce707332eadbea4505e5e7560397632da6205))
|
|
15
|
+
|
|
6
16
|
## [5.0.15](https://github.com/feathersjs/feathers/compare/v5.0.14...v5.0.15) (2024-01-22)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package create-feathers
|
package/bin/create-feathers
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import path from 'path'
|
|
5
|
+
import { existsSync } from 'fs'
|
|
6
|
+
import { mkdir } from 'fs/promises'
|
|
7
|
+
import { Command, commandRunner, chalk } from '@feathersjs/cli'
|
|
8
8
|
|
|
9
9
|
const program = new Command()
|
|
10
10
|
const generateApp = commandRunner('app')
|
|
@@ -21,7 +21,7 @@ ${chalk.grey('npm init feathers myapp')}
|
|
|
21
21
|
.action(async (name, options) => {
|
|
22
22
|
try {
|
|
23
23
|
const cwd = path.join(process.cwd(), name)
|
|
24
|
-
|
|
24
|
+
|
|
25
25
|
if (existsSync(cwd)) {
|
|
26
26
|
throw new Error(`Can not create Feathers application, the folder "${name}" already exists`)
|
|
27
27
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-feathers",
|
|
3
3
|
"description": "Create a new Feathers application",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.17",
|
|
5
5
|
"homepage": "https://feathersjs.com",
|
|
6
6
|
"bin": {
|
|
7
7
|
"create-feathers": "./bin/create-feathers"
|
|
8
8
|
},
|
|
9
|
+
"type": "module",
|
|
9
10
|
"keywords": [
|
|
10
11
|
"feathers",
|
|
11
12
|
"feathers-plugin"
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
"url": "https://github.com/feathersjs/feathers/issues"
|
|
30
31
|
},
|
|
31
32
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
33
|
+
"node": ">= 18"
|
|
33
34
|
},
|
|
34
35
|
"files": [
|
|
35
36
|
"CHANGELOG.md",
|
|
@@ -41,13 +42,13 @@
|
|
|
41
42
|
"*.js"
|
|
42
43
|
],
|
|
43
44
|
"scripts": {
|
|
44
|
-
"test": "
|
|
45
|
+
"test": "bin/create-feathers --help"
|
|
45
46
|
},
|
|
46
47
|
"publishConfig": {
|
|
47
48
|
"access": "public"
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
|
-
"@feathersjs/cli": "^5.0.
|
|
51
|
+
"@feathersjs/cli": "^5.0.17"
|
|
51
52
|
},
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "33a2e000e762db37ede9b1282edb754e03cd4c30"
|
|
53
54
|
}
|