@travetto/scaffold 6.0.0 → 6.0.1

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/README.md CHANGED
@@ -25,7 +25,7 @@ $ npx @travetto/scaffold@<version-or-tag>
25
25
  The generator will ask about enabling the following features:
26
26
 
27
27
  ## Web Application
28
- The [Web API](https://github.com/travetto/travetto/tree/main/module/web#readme "Declarative api for Web Applications with support for the dependency injection.") provides the necessary integration for exposing web apis. When selecting the `web` feature, you will need to specify which backend you want to include with your application, the default being [express](https://expressjs.com). Currently you can select from:
28
+ The [Web API](https://github.com/travetto/travetto/tree/main/module/web#readme "Declarative support for creating Web Applications") provides the necessary integration for exposing web apis. When selecting the `web` feature, you will need to specify which backend you want to include with your application, the default being [express](https://expressjs.com). Currently you can select from:
29
29
  * [express](https://expressjs.com)
30
30
  * [koa](https://koajs.com/)
31
31
  * [fastify](https://www.fastify.io/)
@@ -2,7 +2,7 @@
2
2
  // @ts-check
3
3
 
4
4
  async function getScaffoldCwd() {
5
- if (process.env.npm_lifecycle_script === 'trv-scaffold') { // Is npx run
5
+ if (process.env.npm_lifecycle_script?.includes('trv-scaffold')) { // Is npx run
6
6
  const { delimiter } = await import('node:path');
7
7
  const parts = process.env.PATH?.split(delimiter) ?? [];
8
8
  const loc = parts.find(p => p.includes('npx') && p.includes('.bin'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/scaffold",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "App Scaffold for the Travetto framework",
5
5
  "keywords": [
6
6
  "generator",
@@ -27,14 +27,14 @@
27
27
  "trv-scaffold": "bin/trv-scaffold.js"
28
28
  },
29
29
  "dependencies": {
30
- "@travetto/cli": "^6.0.0",
31
- "@travetto/runtime": "^6.0.0",
30
+ "@travetto/cli": "^6.0.1",
31
+ "@travetto/runtime": "^6.0.1",
32
32
  "enquirer": "^2.4.1",
33
33
  "mustache": "^4.2.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@travetto/model": "^6.0.0",
37
- "@types/mustache": "^4.2.5"
36
+ "@travetto/model": "^6.0.1",
37
+ "@types/mustache": "^4.2.6"
38
38
  },
39
39
  "travetto": {
40
40
  "displayName": "App Scaffold"
@@ -1,7 +1,7 @@
1
1
  # {{#modules.web}}
2
2
  web:
3
- http.ssl:
4
- active: false
3
+ http:
4
+ tls: false
5
5
  context:
6
6
  active: true
7
7
  cors:
@@ -57,7 +57,6 @@ export class Context {
57
57
  const proc = spawn(cmd, args, {
58
58
  cwd: this.destination(),
59
59
  stdio: [0, 'pipe', 'pipe'],
60
- shell: false,
61
60
  env: { PATH: process.env.PATH },
62
61
  });
63
62