Skip to content

Commit 1e67359

Browse files
authored
Merge pull request #9 from adam-cowley/patch-1
Change homepage to ./
2 parents 129ddc1 + 8b13485 commit 1e67359

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ target
1616

1717
# production
1818
/build
19+
/dist
1920

2021
# misc
2122
.DS_Store
@@ -28,3 +29,5 @@ npm-debug.log*
2829
yarn-debug.log*
2930
yarn-error.log*
3031

32+
# Ignore builds
33+
*.tgz

.npmignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
public
2+
src
3+
.env
4+
.env.hosted
5+
.gitignore
6+
tsconfig.json
7+
yarn.lock
8+
node_modules
9+
*.tgz
10+
11+
*.config.js
12+
desktop-signer.sh

desktop-signer.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,6 @@ npx @neo4j/code-signer --verify \
3636
--root-cert ../neo4j_desktop.cert
3737

3838
rm -rf package
39+
40+
# Publish to npm
41+
npm publish --access public ${APPNAME}*.tgz

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "neodash",
33
"description": "NeoDash - Neo4j Dashboard Builder",
4-
"version": "1.0.3",
5-
"homepage": "https://nielsdejong.nl/neodash",
4+
"version": "1.0.4",
5+
"homepage": "./",
6+
67
"neo4jDesktop": {
78
"apiVersion": "^1.2.0"
89
},
@@ -47,7 +48,7 @@
4748
},
4849
"scripts": {
4950
"start": "react-scripts start",
50-
"build": "react-scripts build",
51+
"build": "rimraf *.tgz && rimraf dist && react-scripts build && mv build dist",
5152
"test": "react-scripts test",
5253
"eject": "react-scripts eject"
5354
},
@@ -65,5 +66,9 @@
6566
"last 1 firefox version",
6667
"last 1 safari version"
6768
]
69+
70+
},
71+
"devDependencies": {
72+
"rimraf": "^3.0.2"
6873
}
6974
}

public/manifest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"short_name": "NeoDash",
33
"name": "NeoDash",
44
"homepage": "https://github.com/nielsdejong/neodash/",
5-
"version": "1.0.3",
65
"neo4jDesktop": {
76
"apiVersion": "^1.2.0"
87
},

0 commit comments

Comments
 (0)