create-rsbuild 1.0.1-rc.1 → 1.0.1-rc.2

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.
Files changed (3) hide show
  1. package/bin.js +2 -0
  2. package/dist/index.js +0 -1
  3. package/package.json +4 -3
package/bin.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import './dist/index.js';
package/dist/index.js CHANGED
@@ -5,7 +5,6 @@ import * as __WEBPACK_EXTERNAL_MODULE_create_rstack__ from "create-rstack";
5
5
  var external_node_path_namespaceObject = __WEBPACK_EXTERNAL_MODULE_node_path__;
6
6
  var external_create_rstack_namespaceObject = __WEBPACK_EXTERNAL_MODULE_create_rstack__;
7
7
  var src_dirname = __webpack_dirname__(__webpack_fileURLToPath__(import.meta.url));
8
- //#!/usr/bin/env node
9
8
  const frameworkAlias = {
10
9
  vue: 'vue3',
11
10
  'solid-js': 'solid'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rsbuild",
3
- "version": "1.0.1-rc.1",
3
+ "version": "1.0.1-rc.2",
4
4
  "description": "Create a new Rsbuild project",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -15,11 +15,12 @@
15
15
  },
16
16
  "main": "./dist/index.js",
17
17
  "bin": {
18
- "create-rsbuild": "./dist/index.js"
18
+ "create-rsbuild": "./bin.js"
19
19
  },
20
20
  "files": [
21
21
  "template-*",
22
- "dist"
22
+ "dist",
23
+ "bin.js"
23
24
  ],
24
25
  "devDependencies": {
25
26
  "@rslib/core": "0.0.4",