create-feathers 6.0.0-pre.10 → 6.0.0-pre.11
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 +6 -0
- package/LICENSE +1 -1
- package/bin/create-feathers.js +25 -15
- package/lib/index.js +5 -4
- package/lib/index.js.map +1 -1
- package/lib/templates/app.tpl.js +14 -0
- package/lib/templates/app.tpl.js.map +1 -1
- package/lib/templates/authenticate.tpl.js +9 -2
- package/lib/templates/authenticate.tpl.js.map +1 -1
- package/lib/templates/package.json.tpl.js +8 -0
- package/lib/templates/package.json.tpl.js.map +1 -1
- package/lib/templates/readme.md.tpl.js +1 -1
- package/package.json +14 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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
|
+
# [6.0.0-pre.11](https://github.com/feathersjs/feathers/compare/v6.0.0-pre.10...v6.0.0-pre.11) (2026-03-19)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- npm create feathers for v6 ([#3654](https://github.com/feathersjs/feathers/issues/3654)) ([358c50e](https://github.com/feathersjs/feathers/commit/358c50e780ad055b9feab007124e883d83fd6c44))
|
|
11
|
+
|
|
6
12
|
# [6.0.0-pre.10](https://github.com/feathersjs/feathers/compare/v6.0.0-pre.9...v6.0.0-pre.10) (2026-02-19)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package create-feathers
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2026 Feathers Contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/bin/create-feathers.js
CHANGED
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict'
|
|
2
|
+
'use strict'
|
|
3
3
|
|
|
4
|
-
import path from 'path'
|
|
5
|
-
import { existsSync } from 'fs'
|
|
6
|
-
import { mkdir } from 'fs/promises'
|
|
7
|
-
import { Command
|
|
4
|
+
import path from 'node:path'
|
|
5
|
+
import { existsSync } from 'node:fs'
|
|
6
|
+
import { mkdir } from 'node:fs/promises'
|
|
7
|
+
import { Command } from 'commander'
|
|
8
|
+
import { generate, getContext } from '../lib/index.js'
|
|
9
|
+
|
|
10
|
+
const color = {
|
|
11
|
+
green: (text) => `\x1b[32m${text}\x1b[0m`,
|
|
12
|
+
red: (text) => `\x1b[31m${text}\x1b[0m`,
|
|
13
|
+
grey: (text) => `\x1b[90m${text}\x1b[0m`
|
|
14
|
+
}
|
|
8
15
|
|
|
9
16
|
const program = new Command()
|
|
10
|
-
const generateApp = commandRunner('app')
|
|
11
17
|
|
|
12
18
|
program
|
|
13
|
-
.name('npm
|
|
14
|
-
.description(
|
|
19
|
+
.name('npm create feathers')
|
|
20
|
+
.description(
|
|
21
|
+
`Create a new Feathers application 🕊️
|
|
15
22
|
|
|
16
|
-
${
|
|
17
|
-
`
|
|
23
|
+
${color.grey('npm create feathers myapp')}
|
|
24
|
+
`
|
|
25
|
+
)
|
|
18
26
|
.argument('<name>', 'The name of your new application')
|
|
19
27
|
// .version(version)
|
|
20
28
|
.showHelpAfterError()
|
|
@@ -28,21 +36,23 @@ ${chalk.grey('npm init feathers myapp')}
|
|
|
28
36
|
|
|
29
37
|
await mkdir(cwd)
|
|
30
38
|
|
|
31
|
-
|
|
39
|
+
const ctx = getContext({
|
|
32
40
|
name,
|
|
33
41
|
cwd,
|
|
34
42
|
...options
|
|
35
43
|
})
|
|
36
44
|
|
|
45
|
+
await generate(ctx)
|
|
46
|
+
|
|
37
47
|
console.log(`
|
|
38
48
|
|
|
39
|
-
${
|
|
40
|
-
Go to the ${
|
|
49
|
+
${color.green('Hooray')}! Your Feathers app is ready to go! 🚀
|
|
50
|
+
Go to the ${color.grey(name)} folder to get started.
|
|
41
51
|
|
|
42
|
-
To learn more visit ${
|
|
52
|
+
To learn more visit ${color.grey('https://feathersjs.com')}
|
|
43
53
|
`)
|
|
44
54
|
} catch (error) {
|
|
45
|
-
console.error(`${
|
|
55
|
+
console.error(`${color.red('Error')}: ${error.message}`)
|
|
46
56
|
process.exit(1)
|
|
47
57
|
}
|
|
48
58
|
})
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { sep, dirname } from 'path';
|
|
2
|
-
import { prompt, runGenerators } from '@featherscloud/pinion';
|
|
2
|
+
import { prompt, runGenerators, when } from '@featherscloud/pinion';
|
|
3
3
|
import { fileURLToPath } from 'url';
|
|
4
4
|
import { initializeBaseContext, install } from './commons.js';
|
|
5
5
|
export { getContext } from '@featherscloud/pinion';
|
|
@@ -58,13 +58,13 @@ export const generate = (ctx) => Promise.resolve(ctx)
|
|
|
58
58
|
name: 'sse',
|
|
59
59
|
type: 'confirm',
|
|
60
60
|
when: ctx.sse === undefined,
|
|
61
|
-
message: 'Enable real-time
|
|
61
|
+
message: 'Enable real-time events?',
|
|
62
62
|
default: true
|
|
63
63
|
}
|
|
64
64
|
]))
|
|
65
65
|
.then(runGenerators(__dirname, 'templates'))
|
|
66
66
|
.then(initializeBaseContext())
|
|
67
|
-
.then(install(['feathers@pre'], false, (ctx) => {
|
|
67
|
+
.then(install((ctx) => [ctx.platform === 'deno' ? 'npm:feathers@pre' : 'feathers@pre'], false, (ctx) => {
|
|
68
68
|
if (ctx.packager) {
|
|
69
69
|
return ctx.packager;
|
|
70
70
|
}
|
|
@@ -72,5 +72,6 @@ export const generate = (ctx) => Promise.resolve(ctx)
|
|
|
72
72
|
return ctx.platform;
|
|
73
73
|
}
|
|
74
74
|
return 'npm';
|
|
75
|
-
}))
|
|
75
|
+
}))
|
|
76
|
+
.then(when((ctx) => ctx.platform === 'node', install(['tsx'], true, (ctx) => ctx.packager)));
|
|
76
77
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
package/lib/templates/app.tpl.js
CHANGED
|
@@ -25,6 +25,20 @@ const app: Application = feathers<Services, Configuration>()
|
|
|
25
25
|
${sse ? `app.use('sse', new SseService())` : ''}
|
|
26
26
|
app.use('messages', new MessageService())
|
|
27
27
|
|
|
28
|
+
${sse
|
|
29
|
+
? `// On a real-time connection, add the connection to the appropriate channel
|
|
30
|
+
app.on('connection', (connection) => {
|
|
31
|
+
if (connection.user) {
|
|
32
|
+
app.channel('authenticated').join(connection)
|
|
33
|
+
} else {
|
|
34
|
+
app.channel('anonymous').join(connection)
|
|
35
|
+
}
|
|
36
|
+
})
|
|
37
|
+
|
|
38
|
+
// Only publish events to authenticated users
|
|
39
|
+
app.publish(() => app.channel('authenticated'))`
|
|
40
|
+
: ''}
|
|
41
|
+
|
|
28
42
|
export { app }
|
|
29
43
|
`;
|
|
30
44
|
export const generate = (ctx) => Promise.resolve(ctx)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.tpl.js","sourceRoot":"","sources":["../../src/templates/app.tpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAE7E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,6BAA6B;AAC7B,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;AAEzD,MAAM,QAAQ,GAAG,CAAC,EAAE,GAAG,EAAuB,EAAE,EAAE,CAAC,QAAQ,CAAC;;;EAG1D,GAAG,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE;;;;IAIzD,GAAG,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE;;;;;;;;;;;;EAY9B,GAAG,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"app.tpl.js","sourceRoot":"","sources":["../../src/templates/app.tpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAE7E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,6BAA6B;AAC7B,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;AAEzD,MAAM,QAAQ,GAAG,CAAC,EAAE,GAAG,EAAuB,EAAE,EAAE,CAAC,QAAQ,CAAC;;;EAG1D,GAAG,CAAC,CAAC,CAAC,gDAAgD,CAAC,CAAC,CAAC,EAAE;;;;IAIzD,GAAG,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE;;;;;;;;;;;;EAY9B,GAAG,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC,CAAC,EAAE;;;EAI7C,GAAG;IACD,CAAC,CAAC;;;;;;;;;;gDAU0C;IAC5C,CAAC,CAAC,EACN;;;CAGC,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAwB,EAAE,EAAE,CACnD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC;KACjB,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;KACvD,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAA"}
|
|
@@ -5,11 +5,18 @@ import { NotAuthenticated } from 'feathers/errors'
|
|
|
5
5
|
// A hook for simple API key authentication. Extend with the functionality needed for your application.
|
|
6
6
|
export async function authenticate(context: HookContext, next: NextFunction) {
|
|
7
7
|
if (context.params?.request) {
|
|
8
|
-
const
|
|
8
|
+
const apiKey = context.params?.request.headers['x-api-key']
|
|
9
9
|
|
|
10
|
-
if (
|
|
10
|
+
if (apiKey !== 'supersecret') {
|
|
11
11
|
throw new NotAuthenticated('Invalid API key')
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
context.params = {
|
|
15
|
+
...context.params,
|
|
16
|
+
user: {
|
|
17
|
+
apiKey: true
|
|
18
|
+
}
|
|
19
|
+
}
|
|
13
20
|
}
|
|
14
21
|
|
|
15
22
|
await next()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticate.tpl.js","sourceRoot":"","sources":["../../src/templates/authenticate.tpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAG9D,MAAM,QAAQ,GACZ,CAAC,EAAuB,EAAE,EAAE,CAAC,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"authenticate.tpl.js","sourceRoot":"","sources":["../../src/templates/authenticate.tpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAG9D,MAAM,QAAQ,GACZ,CAAC,EAAuB,EAAE,EAAE,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;CAsBvC,CAAA;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAwB,EAAE,EAAE,CACnD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { toFile, writeJSON } from '@featherscloud/pinion';
|
|
2
|
+
const startCommands = {
|
|
3
|
+
node: 'tsx src/index.ts',
|
|
4
|
+
deno: 'deno run --unstable-sloppy-imports --allow-net src/index.ts',
|
|
5
|
+
bun: 'bun src/index.ts'
|
|
6
|
+
};
|
|
2
7
|
const packageJson = ({ name, description, packager, platform }) => ({
|
|
3
8
|
name,
|
|
4
9
|
description,
|
|
@@ -10,6 +15,9 @@ const packageJson = ({ name, description, packager, platform }) => ({
|
|
|
10
15
|
contributors: [],
|
|
11
16
|
bugs: {},
|
|
12
17
|
type: 'module',
|
|
18
|
+
scripts: {
|
|
19
|
+
start: startCommands[platform] || 'echo "No start command available for this platform"'
|
|
20
|
+
},
|
|
13
21
|
feathers: {
|
|
14
22
|
packager,
|
|
15
23
|
platform
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.tpl.js","sourceRoot":"","sources":["../../src/templates/package.json.tpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGzD,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAuB,EAAE,EAAE,CAAC,CAAC;IACvF,IAAI;IACJ,WAAW;IACX,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,EAAE;IACZ,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,MAAM,EAAE,EAAE;IACV,YAAY,EAAE,EAAc;IAC5B,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE;QACR,QAAQ;QACR,QAAQ;KACT;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAwB,EAAE,EAAE,CACnD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"package.json.tpl.js","sourceRoot":"","sources":["../../src/templates/package.json.tpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAGzD,MAAM,aAAa,GAAG;IACpB,IAAI,EAAE,kBAAkB;IACxB,IAAI,EAAE,6DAA6D;IACnE,GAAG,EAAE,kBAAkB;CACxB,CAAA;AAED,MAAM,WAAW,GAAG,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAuB,EAAE,EAAE,CAAC,CAAC;IACvF,IAAI;IACJ,WAAW;IACX,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,EAAE;IACZ,OAAO,EAAE,IAAI;IACb,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,MAAM,EAAE,EAAE;IACV,YAAY,EAAE,EAAc;IAC5B,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE;QACP,KAAK,EAAE,aAAa,CAAC,QAAQ,CAAC,IAAI,qDAAqD;KACxF;IACD,QAAQ,EAAE;QACR,QAAQ;QACR,QAAQ;KACT;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAwB,EAAE,EAAE,CACnD,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-feathers",
|
|
3
3
|
"description": "Create a new Feathers application",
|
|
4
|
-
"version": "6.0.0-pre.
|
|
4
|
+
"version": "6.0.0-pre.11",
|
|
5
5
|
"homepage": "https://feathersjs.com",
|
|
6
6
|
"bin": {
|
|
7
7
|
"create-feathers": "./bin/create-feathers.js"
|
|
@@ -42,16 +42,24 @@
|
|
|
42
42
|
"*.js"
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
45
|
-
"test": "
|
|
45
|
+
"test": "vitest run",
|
|
46
|
+
"prepublish": "npm run compile",
|
|
47
|
+
"compile": "shx rm -rf lib/ && tsc"
|
|
46
48
|
},
|
|
47
49
|
"publishConfig": {
|
|
48
50
|
"access": "public"
|
|
49
51
|
},
|
|
50
|
-
"
|
|
51
|
-
"@feathersjs/cli": "^5.0.34"
|
|
52
|
-
},
|
|
53
|
-
"gitHead": "78e365a86f66e34e17d89ef23d38933419a7ce41",
|
|
52
|
+
"gitHead": "dab4af19a2ea20fd9507346042b33bb1114765f7",
|
|
54
53
|
"devDependencies": {
|
|
54
|
+
"@types/node": "^24.1.0",
|
|
55
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
56
|
+
"shx": "^0.4.0",
|
|
57
|
+
"typescript": "^5.8.0",
|
|
55
58
|
"vitest": "^3.2.4"
|
|
59
|
+
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@featherscloud/pinion": "^0.5.5",
|
|
62
|
+
"commander": "^12.1.0",
|
|
63
|
+
"type-fest": "^0.21.3"
|
|
56
64
|
}
|
|
57
65
|
}
|