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 +7 -5
- package/package.json +1 -1
- package/template-react/config.yaml +2 -0
- package/template-react-ts/config.yaml +2 -0
- package/template-vanilla/config.yaml +1 -0
- package/template-vanilla-ts/config.yaml +1 -0
- package/template-vue/config.yaml +2 -0
- package/template-vue-ts/config.yaml +2 -0
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
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
@@ -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'
|
package/template-vue/config.yaml
CHANGED
|
@@ -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'
|