Skip to content

Commit

Permalink
build and add build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
lexoyo committed Dec 16, 2024
1 parent db73a59 commit ad6e730
Show file tree
Hide file tree
Showing 23 changed files with 508 additions and 94,164 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm test
env:
CI: true
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27 changes: 25 additions & 2 deletions dist/client/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ template {
--darkerPrimaryColor: #292929;
--lighterPrimaryColor: #575757;
--viewsPanelWidth: 25%;
--viewsProjectPanelWidth: 13%;
}

/* stylelint-disable */
Expand Down Expand Up @@ -3962,6 +3963,12 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
font-size: 18px;
font-weight: normal;
}
.silex-workspace select, .silex-workspace input {
background-color: #292929;
}
.silex-workspace .gjs-color-warn, .silex-workspace .gjs-sm-sector .gjs-sm-field input, .silex-workspace .gjs-clm-tags .gjs-sm-field input, .silex-workspace .gjs-sm-sector .gjs-clm-field input, .silex-workspace .gjs-clm-tags .gjs-clm-field input, .silex-workspace .gjs-sm-sector .gjs-sm-field select, .silex-workspace .gjs-clm-tags .gjs-sm-field select, .silex-workspace .gjs-sm-sector .gjs-clm-field select, .silex-workspace .gjs-clm-tags .gjs-clm-field select {
color: #ddd;
}

.full-width {
width: 100%;
Expand Down Expand Up @@ -4351,6 +4358,20 @@ form.silex-form .silex-form__group.col2 {
background-size: contain;
}

.viewsOptionsProjectPanel__size-btn::before {
content: "→";
}

.viewsOptionsProjectPanel__size-btn {
z-index: 5;
right: auto;
left: 0;
}

.gjs-block {
width: 84px;
}

.gjs-pn-project-bar-container {
top: 40px;
width: 13%;
Expand Down Expand Up @@ -4870,6 +4891,10 @@ form.silex-form .silex-form__group.col2 {
width: var(--viewsPanelWidth);
}

.gjs-pn-project-bar-container {
width: var(--viewsProjectPanelWidth);
}

.gjs-pn-options {
right: var(--viewsPanelWidth);
}
Expand Down Expand Up @@ -5046,5 +5071,3 @@ form.silex-form .silex-form__group.col2 {
background-position: center;
background-repeat: no-repeat;
}

/*# sourceMappingURL=admin.css.map */
1 change: 1 addition & 0 deletions dist/client/css/admin.css.map

Large diffs are not rendered by default.

45 changes: 10 additions & 35 deletions dist/client/index.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,10 @@
<!DOCTYPE html>
<html lang="en" translate="no">
<head>
<title>Silex</title>
<meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser">
<link rel="shortcut icon" href="assets/favicon.png">
<style>
body {
background-color: #444444;
font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.silex-loader {
display: none;
}

</style>
</head>
<body class="silex-loading">
<div class="silex-loader silex-dialog">
Loading...

</div>
<link rel="stylesheet" type="text/css" href="css/admin.css">
<main class="silex-workspace">
<div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div>
</main>
<script src="js/main.js"></script>
<script>
document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')
window.silex.start({
debug: true,
})
</script>
</body>
</html>
<!DOCTYPE html><html lang="en" translate="no"><head><title>Silex</title><meta name="description" content="This is a public instance of Silex website builder. Build websites in the browser"><link rel="shortcut icon" href="assets/favicon.png"><style>body {
background-color: #444444;
font-family: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.silex-loader {
display: none;
}
</style></head><body class="silex-loading"><div class="silex-loader silex-dialog">Loading...
</div><link rel="stylesheet" type="text/css" href="css/admin.css"><main class="silex-workspace"><div class="silex-main silex-dialog-hide silex-ui-full" id="gjs"></div></main><script src="js/main.js"></script><script>silex.start()
// From here silex.config is available and Silex is getting started</script></body></html>
Loading

0 comments on commit ad6e730

Please sign in to comment.