@parcel/create-react-app 2.12.1-dev.3198 → 2.12.1-dev.3204

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.3198+507fb5b10",
3
+ "version": "2.12.1-dev.3204+e87c13686",
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": "507fb5b101d8563900af0da395b47bd6116850bd"
38
- }
43
+ "gitHead": "e87c13686e8fa4ad96cc61c19d9e4fcf9c372f2e"
44
+ }