@parcel/create-react-app 2.12.1-dev.3238 → 2.12.1-dev.3260

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.3238+7f6b4dbbc",
3
+ "version": "2.12.1-dev.3260+339350eb3",
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": "7f6b4dbbc56a203e0fce8794856c03598c4f6708"
38
- }
43
+ "gitHead": "339350eb31fd33849cb1efe5fd7ad2cb096319f0"
44
+ }