Skip to content

Commit 37cc832

Browse files
committed
continue to tweak packaging of release
1 parent 888bcd5 commit 37cc832

File tree

5 files changed

+80
-6
lines changed

5 files changed

+80
-6
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# production
1212
/build
13+
/dist
1314

1415
# misc
1516
.DS_Store
@@ -21,3 +22,5 @@
2122
npm-debug.log*
2223
yarn-debug.log*
2324
yarn-error.log*
25+
26+
*.tgz

.npmignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
npm-debug.log*
19+
yarn-debug.log*
20+
yarn-error.log*

package.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"apiVersion": "^1.4.0"
99
},
1010
"private": false,
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/neo4j-apps/graphql-playground-ga.git"
14+
},
1115
"dependencies": {
1216
"@testing-library/jest-dom": "^4.2.4",
1317
"@testing-library/react": "^9.3.2",
@@ -25,7 +29,8 @@
2529
},
2630
"scripts": {
2731
"start": "react-scripts start",
28-
"build": "react-scripts build",
32+
"build": "react-scripts build && mv build dist",
33+
"clean": "shx rm -rf build dist",
2934
"test": "react-scripts test",
3035
"eject": "react-scripts eject",
3136
"predeploy": "npm run build",
@@ -50,15 +55,19 @@
5055
"devDependencies": {
5156
"@types/react-redux": "^7.1.8",
5257
"gh-pages": "^2.2.0",
53-
"np": "^6.2.3"
58+
"np": "^6.2.3",
59+
"shx": "^0.3.2"
5460
},
5561
"np": {
56-
"yarn": true
62+
"yarn": true,
63+
"contents": "dist",
64+
"releaseDraft":true
5765
},
5866
"publishConfig": {
5967
"access": "public"
6068
},
6169
"files": [
62-
"build"
70+
"dist",
71+
"release-notes.md"
6372
]
6473
}

public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"short_name": "GraphQL Playground",
3-
"name": "Create React App Sample",
3+
"name": "GraphQL Playground",
44
"icons": [
55
{
66
"src": "favicon.ico",

yarn.lock

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4409,6 +4409,11 @@ es6-iterator@2.0.3, es6-iterator@~2.0.3:
44094409
es5-ext "^0.10.35"
44104410
es6-symbol "^3.1.1"
44114411

4412+
es6-object-assign@^1.0.3:
4413+
version "1.1.0"
4414+
resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c"
4415+
integrity sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=
4416+
44124417
es6-symbol@^3.1.1, es6-symbol@~3.1.3:
44134418
version "3.1.3"
44144419
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18"
@@ -5345,7 +5350,7 @@ glob-to-regexp@^0.3.0:
53455350
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab"
53465351
integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=
53475352

5348-
glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
5353+
glob@^7.0.0, glob@^7.0.3, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
53495354
version "7.1.6"
53505355
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
53515356
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
@@ -6163,6 +6168,11 @@ internal-slot@^1.0.2:
61636168
has "^1.0.3"
61646169
side-channel "^1.0.2"
61656170

6171+
interpret@^1.0.0:
6172+
version "1.2.0"
6173+
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296"
6174+
integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==
6175+
61666176
invariant@^2.2.1, invariant@^2.2.2, invariant@^2.2.4:
61676177
version "2.2.4"
61686178
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
@@ -10279,6 +10289,13 @@ realpath-native@^1.1.0:
1027910289
dependencies:
1028010290
util.promisify "^1.0.0"
1028110291

10292+
rechoir@^0.6.2:
10293+
version "0.6.2"
10294+
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
10295+
integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=
10296+
dependencies:
10297+
resolve "^1.1.6"
10298+
1028210299
recursive-readdir@2.2.2:
1028310300
version "2.2.2"
1028410301
resolved "https://registry.yarnpkg.com/recursive-readdir/-/recursive-readdir-2.2.2.tgz#9946fb3274e1628de6e36b2f6714953b4845094f"
@@ -10599,6 +10616,13 @@ resolve@1.15.0:
1059910616
dependencies:
1060010617
path-parse "^1.0.6"
1060110618

10619+
resolve@^1.1.6:
10620+
version "1.17.0"
10621+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
10622+
integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
10623+
dependencies:
10624+
path-parse "^1.0.6"
10625+
1060210626
resolve@^1.10.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.15.1, resolve@^1.3.2, resolve@^1.8.1:
1060310627
version "1.15.1"
1060410628
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8"
@@ -10992,11 +11016,29 @@ shell-quote@1.7.2:
1099211016
resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2"
1099311017
integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==
1099411018

11019+
shelljs@^0.8.1:
11020+
version "0.8.4"
11021+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.4.tgz#de7684feeb767f8716b326078a8a00875890e3c2"
11022+
integrity sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==
11023+
dependencies:
11024+
glob "^7.0.0"
11025+
interpret "^1.0.0"
11026+
rechoir "^0.6.2"
11027+
1099511028
shellwords@^0.1.1:
1099611029
version "0.1.1"
1099711030
resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
1099811031
integrity sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==
1099911032

11033+
shx@^0.3.2:
11034+
version "0.3.2"
11035+
resolved "https://registry.yarnpkg.com/shx/-/shx-0.3.2.tgz#40501ce14eb5e0cbcac7ddbd4b325563aad8c123"
11036+
integrity sha512-aS0mWtW3T2sHAenrSrip2XGv39O9dXIFUqxAEWHEOS1ePtGIBavdPJY1kE2IHl14V/4iCbUiNDPGdyYTtmhSoA==
11037+
dependencies:
11038+
es6-object-assign "^1.0.3"
11039+
minimist "^1.2.0"
11040+
shelljs "^0.8.1"
11041+
1100011042
side-channel@^1.0.2:
1100111043
version "1.0.2"
1100211044
resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.2.tgz#df5d1abadb4e4bf4af1cd8852bf132d2f7876947"

0 commit comments

Comments
 (0)