@positronic/template-new-project 0.0.4 ā 0.0.6
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/index.js +9 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -53,9 +53,9 @@ module.exports = {
|
|
|
53
53
|
],
|
|
54
54
|
setup: async ctx => {
|
|
55
55
|
const devRootPath = process.env.POSITRONIC_LOCAL_PATH;
|
|
56
|
-
let coreVersion = '^0.0.
|
|
57
|
-
let cloudflareVersion = '^0.0.
|
|
58
|
-
let clientVercelVersion = '^0.0.
|
|
56
|
+
let coreVersion = '^0.0.6';
|
|
57
|
+
let cloudflareVersion = '^0.0.6';
|
|
58
|
+
let clientVercelVersion = '^0.0.6';
|
|
59
59
|
|
|
60
60
|
// Map backend selection to package names
|
|
61
61
|
const backendPackageMap = {
|
|
@@ -150,29 +150,29 @@ module.exports = {
|
|
|
150
150
|
// Display getting started message
|
|
151
151
|
console.log('\n⨠Project created successfully!\n');
|
|
152
152
|
console.log(`š Project location: ${ctx.dest}\n`);
|
|
153
|
-
|
|
153
|
+
|
|
154
154
|
console.log('š Getting started:\n');
|
|
155
155
|
console.log(` cd ${ctx.answers.name}`);
|
|
156
|
-
|
|
156
|
+
|
|
157
157
|
if (!ctx.answers.install) {
|
|
158
158
|
console.log(` ${ctx.answers.pm || 'npm'} install`);
|
|
159
159
|
}
|
|
160
|
-
|
|
160
|
+
|
|
161
161
|
console.log(' px server # Start the development server');
|
|
162
162
|
console.log(' px brain list # List available brains');
|
|
163
163
|
console.log(' px brain run example # Run the example brain\n');
|
|
164
|
-
|
|
164
|
+
|
|
165
165
|
if (ctx.answers.backend === 'cloudflare') {
|
|
166
166
|
console.log('āļø Cloudflare deployment:\n');
|
|
167
167
|
console.log(' wrangler login # Authenticate with Cloudflare');
|
|
168
168
|
console.log(' px deploy # Deploy to Cloudflare Workers\n');
|
|
169
169
|
}
|
|
170
|
-
|
|
170
|
+
|
|
171
171
|
console.log('š Resources:\n');
|
|
172
172
|
console.log(' ⢠Documentation: https://positronic.dev');
|
|
173
173
|
console.log(' ⢠GitHub: https://github.com/positronic-ai/positronic');
|
|
174
174
|
console.log(' ⢠CLI Help: px --help\n');
|
|
175
|
-
|
|
175
|
+
|
|
176
176
|
if (ctx.answers.claudemd) {
|
|
177
177
|
console.log('š” Pro tip: Check out CLAUDE.md in your project for AI-assisted development guidance!\n');
|
|
178
178
|
}
|