create-rspress 2.0.11 → 2.0.12

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 CHANGED
@@ -28,7 +28,10 @@ async function getTemplateName(argv) {
28
28
  }));
29
29
  }
30
30
  function mapESLintTemplate() {
31
- return 'vanilla-ts';
31
+ return 'react-ts';
32
+ }
33
+ function mapRslintTemplate() {
34
+ return 'react-ts';
32
35
  }
33
36
  create({
34
37
  root: node_path.resolve(src_dirname, '..'),
@@ -40,5 +43,24 @@ create({
40
43
  ...templates
41
44
  ],
42
45
  getTemplateName: getTemplateName,
43
- mapESLintTemplate: mapESLintTemplate
46
+ mapESLintTemplate: mapESLintTemplate,
47
+ mapRslintTemplate: mapRslintTemplate,
48
+ extraSkills: [
49
+ {
50
+ value: 'rspress-best-practices',
51
+ label: 'Rspress best practices',
52
+ source: 'rstackjs/agent-skills'
53
+ },
54
+ {
55
+ value: 'rspress-custom-theme',
56
+ label: 'Rspress custom theme',
57
+ source: 'rstackjs/agent-skills',
58
+ when: (templateName)=>'custom-theme' === templateName
59
+ },
60
+ {
61
+ value: "rspress-description-generator",
62
+ label: "Rspress description generator",
63
+ source: 'rstackjs/agent-skills'
64
+ }
65
+ ]
44
66
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rspress",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "Create a new Rspress project",
5
5
  "homepage": "https://rspress.rs",
6
6
  "repository": {
@@ -23,14 +23,14 @@
23
23
  "bin.js"
24
24
  ],
25
25
  "dependencies": {
26
- "create-rstack": "1.9.2"
26
+ "create-rstack": "2.1.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.57.7",
30
- "@rslib/core": "0.21.4",
30
+ "@rslib/core": "0.21.5",
31
31
  "@types/node": "^22.8.1",
32
32
  "rsbuild-plugin-publint": "^0.3.4",
33
- "typescript": "^5.8.2"
33
+ "typescript": "^6.0.3"
34
34
  },
35
35
  "engines": {
36
36
  "node": "^20.19.0 || >=22.12.0"
@@ -9,7 +9,7 @@
9
9
  "preview": "rspress preview"
10
10
  },
11
11
  "dependencies": {
12
- "@rspress/core": "^2.0.10"
12
+ "@rspress/core": "^2.0.11"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/node": "^22.8.1",