create-harper 1.5.20 → 1.5.21

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/install.js CHANGED
@@ -47,9 +47,11 @@ export function install(root, agent, selectedSkills = [], selectedAgents = []) {
47
47
  cwd: root,
48
48
  });
49
49
 
50
- prompts.log.step(`Linking harperdb with ${agent}...`);
51
- run([agent, 'link', 'harperdb'], {
52
- stdio: 'inherit',
53
- cwd: root,
54
- });
50
+ if (agent === 'npm') {
51
+ prompts.log.step(`Linking harperdb with ${agent}...`);
52
+ run([agent, 'link', 'harperdb'], {
53
+ stdio: 'inherit',
54
+ cwd: root,
55
+ });
56
+ }
55
57
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-harper",
3
3
  "description": "Scaffold a new Harper project in JavaScript or TypeScript.",
4
- "version": "1.5.20",
4
+ "version": "1.5.21",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "HarperDB",
@@ -19,9 +19,11 @@ graphqlSchema:
19
19
  jsResource:
20
20
  files: 'resources/*.js'
21
21
 
22
+ # Generates jsdoc types for the schema so your code is schema-aware
22
23
  '@harperfast/schema-codegen':
23
24
  package: '@harperfast/schema-codegen'
24
25
  jsdoc: 'schemas/jsdocTypes.js'
25
26
 
27
+ # Bootstraps Vite to build your frontend to HTML/JS/CSS
26
28
  '@harperfast/vite-plugin':
27
29
  package: '@harperfast/vite-plugin'
@@ -19,10 +19,12 @@ graphqlSchema:
19
19
  jsResource:
20
20
  files: 'resources/*.ts'
21
21
 
22
+ # Generates types for the schema so your code is schema-aware
22
23
  '@harperfast/schema-codegen':
23
24
  package: '@harperfast/schema-codegen'
24
25
  globalTypes: 'schemas/globalTypes.d.ts'
25
26
  schemaTypes: 'schemas/types.ts'
26
27
 
28
+ # Bootstraps Vite to build your frontend to HTML/JS/CSS
27
29
  '@harperfast/vite-plugin':
28
30
  package: '@harperfast/vite-plugin'
@@ -19,6 +19,7 @@ graphqlSchema:
19
19
  jsResource:
20
20
  files: 'resources/*.js'
21
21
 
22
+ # Generates jsdoc types for the schema so your code is schema-aware
22
23
  '@harperfast/schema-codegen':
23
24
  package: '@harperfast/schema-codegen'
24
25
  jsdoc: 'schemas/jsdocTypes.js'
@@ -19,6 +19,7 @@ graphqlSchema:
19
19
  jsResource:
20
20
  files: 'resources/*.ts'
21
21
 
22
+ # Generates types for the schema so your code is schema-aware
22
23
  '@harperfast/schema-codegen':
23
24
  package: '@harperfast/schema-codegen'
24
25
  globalTypes: 'schemas/globalTypes.d.ts'
@@ -19,9 +19,11 @@ graphqlSchema:
19
19
  jsResource:
20
20
  files: 'resources/*.js'
21
21
 
22
+ # Generates jsdoc types for the schema so your code is schema-aware
22
23
  '@harperfast/schema-codegen':
23
24
  package: '@harperfast/schema-codegen'
24
25
  jsdoc: 'schemas/jsdocTypes.js'
25
26
 
27
+ # Bootstraps Vite to build your frontend to HTML/JS/CSS
26
28
  '@harperfast/vite-plugin':
27
29
  package: '@harperfast/vite-plugin'
@@ -19,10 +19,12 @@ graphqlSchema:
19
19
  jsResource:
20
20
  files: 'resources/*.ts'
21
21
 
22
+ # Generates types for the schema so your code is schema-aware
22
23
  '@harperfast/schema-codegen':
23
24
  package: '@harperfast/schema-codegen'
24
25
  globalTypes: 'schemas/globalTypes.d.ts'
25
26
  schemaTypes: 'schemas/types.ts'
26
27
 
28
+ # Bootstraps Vite to build your frontend to HTML/JS/CSS
27
29
  '@harperfast/vite-plugin':
28
30
  package: '@harperfast/vite-plugin'