@parcel/create-react-app 2.12.1-dev.3268 → 2.12.1-dev.3275

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/bin/dev-bin.js +8 -0
  2. package/package.json +11 -5
package/bin/dev-bin.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * DEV BIN - DO NOT PUBLISH
3
+ *
4
+ * This file is copied into /lib/ by `yarn run dev:prepare`
5
+ *
6
+ * When babel build runs it is overwritten by another asset.
7
+ */
8
+ require('../src/bin');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/create-react-app",
3
- "version": "2.12.1-dev.3268+10d19ff8a",
3
+ "version": "2.12.1-dev.3275+8b017703f",
4
4
  "bin": {
5
5
  "parcel-create-react-app": "lib/bin.js"
6
6
  },
@@ -13,8 +13,13 @@
13
13
  "source": "src/bin.js",
14
14
  "files": [
15
15
  "templates",
16
- "lib"
16
+ "lib",
17
+ "bin"
17
18
  ],
19
+ "scripts": {
20
+ "prepack": "./ensure-no-dev-lib.sh",
21
+ "dev:prepare": "rimraf ./lib/ && mkdir -p lib && cp ./bin/dev-bin.js ./lib/bin.js"
22
+ },
18
23
  "license": "MIT",
19
24
  "publishConfig": {
20
25
  "access": "public"
@@ -32,7 +37,8 @@
32
37
  },
33
38
  "devDependencies": {
34
39
  "@babel/core": "^7.22.11",
35
- "@parcel/babel-register": "2.12.0"
40
+ "@parcel/babel-register": "2.12.0",
41
+ "rimraf": "^5.0.5"
36
42
  },
37
- "gitHead": "10d19ff8a34dd8f479847aadf9865be48a8fad84"
38
- }
43
+ "gitHead": "8b017703fdf4a90a643ce0190cdd7482060dc86b"
44
+ }