create-rspress 2.0.0-beta.2 → 2.0.0-beta.20

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/README.md CHANGED
@@ -19,7 +19,7 @@ npx create-rspress -d my-project
19
19
 
20
20
  ## Documentation
21
21
 
22
- https://rspress.dev/
22
+ https://rspress.rs/
23
23
 
24
24
  ## Contributing
25
25
 
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
2
- import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
3
- import * as __WEBPACK_EXTERNAL_MODULE_create_rstack_aeeb76b8__ from "create-rstack";
4
- const src_dirname = __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].dirname((0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.fileURLToPath)(import.meta.url));
1
+ import node_path from "node:path";
2
+ import { fileURLToPath } from "node:url";
3
+ import { create } from "create-rstack";
4
+ const src_dirname = node_path.dirname(fileURLToPath(import.meta.url));
5
5
  async function getTemplateName() {
6
6
  return 'basic';
7
7
  }
8
8
  function mapESLintTemplate() {
9
9
  return 'vanilla-ts';
10
10
  }
11
- (0, __WEBPACK_EXTERNAL_MODULE_create_rstack_aeeb76b8__.create)({
12
- root: __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].resolve(src_dirname, '..'),
11
+ create({
12
+ root: node_path.resolve(src_dirname, '..'),
13
13
  name: 'rspress',
14
14
  templates: [
15
15
  'basic'
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "create-rspress",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.20",
4
4
  "description": "Create a new Rspress project",
5
- "homepage": "https://rspress.dev",
5
+ "homepage": "https://rspress.rs",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/web-infra-dev/rspress.git",
@@ -23,13 +23,13 @@
23
23
  "bin.js"
24
24
  ],
25
25
  "dependencies": {
26
- "create-rstack": "1.3.1"
26
+ "create-rstack": "1.5.2"
27
27
  },
28
28
  "devDependencies": {
29
- "@microsoft/api-extractor": "^7.52.4",
30
- "@rslib/core": "0.6.5",
31
- "@types/node": "^18.11.17",
32
- "rsbuild-plugin-publint": "^0.3.0",
29
+ "@microsoft/api-extractor": "^7.52.8",
30
+ "@rslib/core": "0.10.4",
31
+ "@types/node": "^22.8.1",
32
+ "rsbuild-plugin-publint": "^0.3.2",
33
33
  "typescript": "^5.8.2"
34
34
  },
35
35
  "engines": {
@@ -11,6 +11,6 @@
11
11
  },
12
12
  {
13
13
  "text": "API",
14
- "link": "https://rspress.dev/api/index.html"
14
+ "link": "https://rspress.rs/api/index.html"
15
15
  }
16
16
  ]
@@ -8,9 +8,9 @@
8
8
  "preview": "rspress preview"
9
9
  },
10
10
  "dependencies": {
11
- "rspress": "^1.40.2"
11
+ "rspress": "^2.0.0-beta.19"
12
12
  },
13
13
  "devDependencies": {
14
- "@types/node": "^18.11.17"
14
+ "@types/node": "^22.8.1"
15
15
  }
16
16
  }