create-rstack 3.4.5 → 3.4.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/dist/index.js +2 -0
- package/package.json +3 -3
- package/template-app-lit/package.json +1 -1
- package/template-app-lit-ts/package.json +1 -1
- package/template-app-preact/package.json +1 -1
- package/template-app-preact-ts/package.json +1 -1
- package/template-app-react/package.json +1 -1
- package/template-app-react-ts/package.json +1 -1
- package/template-app-solid/package.json +1 -1
- package/template-app-solid-ts/package.json +1 -1
- package/template-app-svelte/package.json +1 -1
- package/template-app-svelte-ts/package.json +1 -1
- package/template-app-vanilla/package.json +1 -1
- package/template-app-vanilla-ts/package.json +1 -1
- package/template-app-vue/package.json +1 -1
- package/template-app-vue-ts/package.json +1 -1
- package/template-doc/package.json +1 -1
- package/template-doc-i18n/package.json +1 -1
- package/template-lib-node/package.json +1 -1
- package/template-lib-node-ts/package.json +1 -1
- package/template-lib-react/package.json +1 -1
- package/template-lib-react-ts/package.json +1 -1
- package/template-lib-solid/package.json +1 -1
- package/template-lib-solid-ts/package.json +1 -1
- package/template-lib-svelte/package.json +1 -1
- package/template-lib-svelte-ts/package.json +1 -1
- package/template-lib-vue/package.json +1 -1
- package/template-lib-vue-ts/package.json +1 -1
- package/template-nx/package.json +1 -1
- package/template-pnpm/package.json +1 -1
- package/template-turborepo/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { checkCancel, create, select as create_toolkit_select } from "@rstackjs/
|
|
|
2
2
|
import { access, appendFile, mkdir, readFile, writeFile } from "node:fs/promises";
|
|
3
3
|
import node_path from "node:path";
|
|
4
4
|
const packageRoot = node_path.join(import.meta.dirname, '..');
|
|
5
|
+
const { version: version } = JSON.parse(await readFile(node_path.join(packageRoot, 'package.json'), 'utf-8'));
|
|
5
6
|
const templateNames = [
|
|
6
7
|
'app-vanilla',
|
|
7
8
|
'app-vanilla-ts',
|
|
@@ -234,6 +235,7 @@ const injectStagedSetup = async ({ templateName, distFolder, gitEnabled, isGitRo
|
|
|
234
235
|
await create({
|
|
235
236
|
root: packageRoot,
|
|
236
237
|
name: 'rstack',
|
|
238
|
+
banner: `create-rstack v${version}`,
|
|
237
239
|
templates: templateNames,
|
|
238
240
|
builtinTools: [],
|
|
239
241
|
getTemplateName: getTemplateName,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rstack",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.6",
|
|
4
4
|
"description": "Create a new Rstack project",
|
|
5
5
|
"homepage": "https://rstack.rs",
|
|
6
6
|
"bugs": {
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"bin.js"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@rstackjs/create-toolkit": "2.2.
|
|
32
|
+
"@rstackjs/create-toolkit": "2.2.11"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "^26.6.5",
|
|
36
|
-
"rstack": "0.8.
|
|
36
|
+
"rstack": "0.8.6",
|
|
37
37
|
"typescript": "^7.0.2"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
package/template-nx/package.json
CHANGED