create-rslib 0.0.11 → 0.0.13
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 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { fileURLToPath as __webpack_fileURLToPath__ } from "url";
|
|
2
|
-
import { dirname as __webpack_dirname__ } from "path";
|
|
3
1
|
import * as __WEBPACK_EXTERNAL_MODULE_node_path__ from "node:path";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_node_url__ from "node:url";
|
|
4
3
|
import * as __WEBPACK_EXTERNAL_MODULE_create_rstack__ from "create-rstack";
|
|
5
|
-
|
|
4
|
+
const src_dirname = __WEBPACK_EXTERNAL_MODULE_node_path__["default"].dirname((0, __WEBPACK_EXTERNAL_MODULE_node_url__.fileURLToPath)(import.meta.url));
|
|
6
5
|
async function getTemplateName({ template }) {
|
|
7
6
|
if ('string' == typeof template) {
|
|
8
7
|
const pair = template.split('-');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rslib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Create a new Rslib project",
|
|
5
5
|
"homepage": "https://lib.rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"bin.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"create-rstack": "1.0.
|
|
26
|
+
"create-rstack": "1.0.6"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/fs-extra": "^11.0.4",
|
|
30
30
|
"@types/node": "~18.19.39",
|
|
31
31
|
"fs-extra": "^11.2.0",
|
|
32
|
-
"rslib": "npm:@rslib/core@0.0.
|
|
32
|
+
"rslib": "npm:@rslib/core@0.0.12",
|
|
33
33
|
"typescript": "^5.6.3",
|
|
34
34
|
"@rslib/tsconfig": "0.0.1"
|
|
35
35
|
},
|