Skip to content

Commit 8be60bf

Browse files
committed
Moved ui folder contents to root, added publish step to desktop-signer.sh,
1 parent d0dd061 commit 8be60bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+24
-4
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
PUBLIC_URL=./
File renamed without changes.

.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

ui/package.json renamed to package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"type": "png"
1818
}
1919
],
20-
"dist" : {
20+
"dist": {
2121
"tarball": "https://github.com/nielsdejong/neodash/releases/download/1.0.3/neodash-1.0.3.tgz"
2222
},
2323
"repository": {
@@ -47,7 +47,7 @@
4747
},
4848
"scripts": {
4949
"start": "react-scripts start",
50-
"build": "react-scripts build",
50+
"build": "rimraf *.tgz && rimraf dist && react-scripts build && mv build dist",
5151
"test": "react-scripts test",
5252
"eject": "react-scripts eject"
5353
},
@@ -65,5 +65,8 @@
6565
"last 1 firefox version",
6666
"last 1 safari version"
6767
]
68+
},
69+
"devDependencies": {
70+
"rimraf": "^3.0.2"
6871
}
6972
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)