File tree 7 files changed +41
-3
lines changed
7 files changed +41
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.0.11 (22 February 2025)
2
+
3
+ ### Patch
4
+
5
+ - Add a new React Tanning Template Framework
6
+
1
7
## 1.0.10 (19 October 2024)
2
8
3
9
### Patch
Original file line number Diff line number Diff line change 60
60
- Remix: ` --fw=remix `
61
61
- SolidStart: ` --fw=solidstart `
62
62
- SvelteKit: ` --fw=sveltekit `
63
+ - React Tanning Template: ` --fw=rts `
63
64
- Umi: ` --fw=umi `
64
65
- Vite: ` --fw=vite `
65
66
- Waku: ` --fw=waku `
Original file line number Diff line number Diff line change @@ -122,6 +122,9 @@ export async function cli(args) {
122
122
case 'sveltekit' :
123
123
await runner . runSvelteKit ( options )
124
124
return
125
+ case 'rts' :
126
+ await runner . runRTS ( options )
127
+ return
125
128
case 'umi' :
126
129
await runner . runUmi ( options )
127
130
return
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @rustyrush/the-create" ,
3
- "version" : " 1.0.10 " ,
3
+ "version" : " 1.0.11 " ,
4
4
"description" : " One create to rule them all" ,
5
5
"type" : " module" ,
6
6
"main" : " index.js" ,
9
9
"create-jsdoc" : " jsdoc -c conf.json" ,
10
10
"link" : " npm link" ,
11
11
"unlink" : " npm unlink -g @rustyrush/the-create" ,
12
- "publish" : " npm publish --access public"
12
+ "publish" : " npm publish -- -- access public"
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { runOne } from './runOne.js'
7
7
import { runPhoenix } from './runPhoenix.js'
8
8
import { runPreact } from './runPreact.js'
9
9
import { runQwik } from './runQwik.js'
10
+ import { runRTS } from './runRTS.js'
10
11
import { runReactNative } from './runReactNative.js'
11
12
import { runRedwood } from './runRedwood.js'
12
13
import { runRemix } from './runRemix.js'
@@ -33,6 +34,7 @@ export {
33
34
runSolidStart ,
34
35
runSuperkit ,
35
36
runSvelteKit ,
37
+ runRTS ,
36
38
runUmi ,
37
39
runVite ,
38
40
runWaku ,
Original file line number Diff line number Diff line change
1
+ 'use strict'
2
+
3
+ import { checkDirectoryName } from '../utils/index.js'
4
+ import { execSync } from 'child_process'
5
+
6
+ async function checkOptions ( options ) {
7
+ options = await checkDirectoryName ( options )
8
+ return options
9
+ }
10
+
11
+ /**
12
+ * Run SolidStart based project
13
+ * @param {Options } options
14
+ * @returns {Promise<undefined | void> }
15
+ */
16
+ export async function runRTS ( opts ) {
17
+ const options = await checkOptions ( opts )
18
+
19
+ let command = `npx degit padunk/react-tanning ${ options . directoryName } `
20
+
21
+ if ( options . pm !== 'npm' ) {
22
+ command = `${ options . pm } ${ command } `
23
+ }
24
+
25
+ execSync ( command , { stdio : 'inherit' } )
26
+ }
Original file line number Diff line number Diff line change 11
11
*/
12
12
13
13
/**
14
- * @typedef {'analog' | 'astro' | 'epic' | 'million' | 'next' | 'nuxt' | 'one' | 'phoenix' | 'preact' | 'qwik' | 'reactnative' | 'redwood' | 'remix' | 'solidstart' | 'superkit' | 'sveltekit' | 'umi' | 'vite' | 'waku' } Framework
14
+ * @typedef {'analog' | 'astro' | 'epic' | 'million' | 'next' | 'nuxt' | 'one' | 'phoenix' | 'preact' | 'qwik' | 'reactnative' | 'redwood' | 'remix' | 'solidstart' | 'superkit' | 'sveltekit' | 'rts' | ' umi' | 'vite' | 'waku' } Framework
15
15
*/
16
16
17
17
/**
You can’t perform that action at this time.
0 commit comments