Skip to content

Commit

Permalink
Merge pull request #196 from engageLively/fix/build-scripts
Browse files Browse the repository at this point in the history
Fix/build scripts
  • Loading branch information
rickmcgeer authored Apr 25, 2024
2 parents 8baf0c8 + 5575508 commit 68ce1fc
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"lively": {
"projectDependencies": [],
"boundLivelyVersion": "acaf0fc025a77f874d9c036b7827cdcaf624afee",
"boundLivelyVersion": "c776d0f511d09064c6e27e0e76efbcfcdd5a2364",
"canUsePages": true
}
}
2 changes: 1 addition & 1 deletion studio/int/en/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { part, config } from 'lively.morphic';
import { LivelyWorld } from 'lively.ide/world.js';
import { GalyleoStudioWorld } from '../../ui.cp.js';
import { GalyleoDashboardStudio } from '../../../studio/int/en/index.js';

export async function main () {
config.ide.studio.canvasModeEnabled = false;
const { GalyleoDashboardStudio } = await System.import('engageLively--galyleo-dashboard/studio/int/en/index.js');
const dashboard = part(GalyleoDashboardStudio);
dashboard.respondsToVisibleWindow = true;
$world.addMorph(dashboard);
Expand Down
2 changes: 1 addition & 1 deletion studio/int/jp/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { part, config } from 'lively.morphic';
import { LivelyWorld } from 'lively.ide/world.js';
import { GalyleoStudioWorld } from '../../ui.cp.js';
import { GalyleoDashboardStudio } from '../../../studio/int/jp/index.cp.js';

export async function main () {
config.ide.studio.canvasModeEnabled = false;
const { GalyleoDashboardStudio } = await System.import('engageLively--galyleo-dashboard/studio/int/jp/index.cp.js');
const dashboard = part(GalyleoDashboardStudio);
// dashboard.openInWorld()
dashboard.respondsToVisibleWindow = true;
Expand Down
6 changes: 1 addition & 5 deletions studio/int/jp/top-bar.cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ const GalyleoTopBarJp = component(GalyleoTopBar, {
}]
}, {
name: 'upload button',
nativeCursor: 'text',
value: ['', {
fontFamily: '"Font Awesome 6 Free", "Font Awesome 6 Brands"',
fontWeight: '900'
}, ' 公開する', {
value: [...Icon.textAttribute('cloud-arrow-up'), ' 公開する', {
fontFamily: 'Noto Sans',
fontSize: 15,
fontWeight: 'bold',
Expand Down
1 change: 1 addition & 0 deletions studio/ui.cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export class GalyleoStudioWorld extends LivelyWorld {
onLoad () {
super.onLoad();
// document.getElementById('loading-screen').remove();
this.opacity = 1;
}

defaultMenuItems (morph, evt) {
Expand Down
2 changes: 1 addition & 1 deletion tools/build-en.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const build = await rollup({
],
resolver
}),
jsonPlugin({ exclude: /https\:\/\/jspm.dev\/.*\.json/}),
jsonPlugin({ exclude: [/https\:\/\/jspm.dev\/.*\.json/, /esm\:\/\/cache\/.*\.json/]}),
babel({
babelHelpers: 'bundled',
presets: [PresetEnv]
Expand Down
2 changes: 1 addition & 1 deletion tools/build-jp.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const build = await rollup({
],
resolver
}),
jsonPlugin({ exclude: /https\:\/\/jspm.dev\/.*\.json/}),
jsonPlugin({ exclude: [/https\:\/\/jspm.dev\/.*\.json/, /esm\:\/\/cache\/.*\.json/]}),
babel({
babelHelpers: 'bundled',
presets: [PresetEnv]
Expand Down
4 changes: 2 additions & 2 deletions tools/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
. ../../../scripts/lively-next-flatn-env.sh
. ../../scripts/lively-next-flatn-env.sh
lively_next_flatn_env "$(dirname "$(dirname "$(pwd)")")"
export FLATN_DEV_PACKAGE_DIRS=$FLATN_DEV_PACKAGE_DIRS:$(pwd);

Expand Down Expand Up @@ -42,4 +42,4 @@ esac
echo "Selected language: $lang"
echo "Path: $path"

node --no-warnings --experimental-import-meta-resolve --experimental-loader ../../../flatn/resolver.mjs ${path}
node --no-warnings --experimental-import-meta-resolve --experimental-loader ../../flatn/resolver.mjs ${path}

0 comments on commit 68ce1fc

Please sign in to comment.