-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 6a868f9 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 19:32:39 2022 +0300 ws fix commit e18d5c6 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 19:26:33 2022 +0300 rename + ws commit 7987763 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 19:20:56 2022 +0300 rename commit 00468ca Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 17:38:00 2022 +0300 Update group.js commit 2bb6551 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 17:37:53 2022 +0300 Update object.svg_export.ts commit c716e64 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 17:24:39 2022 +0300 ws commit 6b2e167 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 17:19:32 2022 +0300 Update object.svg_export.ts commit 83d3755 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 17:14:30 2022 +0300 imports commit 2c3ea4c Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 17:08:58 2022 +0300 cleaner impl commit a4a9013 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 16:47:46 2022 +0300 fix(): group svg export expose `createClipPathSVGMarkup` for group to override commit 6e21b15 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 09:45:07 2022 +0300 cleanup commit 3001858 Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 09:36:57 2022 +0300 fix(): group svg export commit 4b0130b Author: ShaMan123 <shacharnen@gmail.com> Date: Tue Sep 20 09:08:23 2022 +0300 Update object.svg_export.ts commit 44d7b0b Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Tue Sep 20 15:21:04 2022 +0200 Update CHANGELOG.md commit 4f481af Author: Shachar <34343793+ShaMan123@users.noreply.github.com> Date: Tue Sep 20 13:41:01 2022 +0300 ci(): add `build.lock` (#8290) commit e84f9a0 Author: Shachar <34343793+ShaMan123@users.noreply.github.com> Date: Tue Sep 20 06:25:26 2022 +0300 BREAKING: rename `data-fabric-hiddentextarea` to `data-fabric` (#8292) aligns with the rest of the data attribute usage commit f291945 Author: Shachar <34343793+ShaMan123@users.noreply.github.com> Date: Mon Sep 19 13:21:25 2022 +0300 fix(`WebGLProbe`): regression `enableGLFiltering` config + init bug (#8301) commit 71193d3 Author: Andrea Bogazzi <andreabogazzi79@gmail.com> Date: Mon Sep 19 08:35:26 2022 +0200 chore() Updating changelog (#8300) commit d77dc9b Author: Shachar <34343793+ShaMan123@users.noreply.github.com> Date: Mon Sep 19 01:55:39 2022 +0300 fix(fabric.utils) added missing import in dom_misc (#8293)
- Loading branch information
Showing
18 changed files
with
477 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import cp from 'child_process'; | ||
import path from 'node:path'; | ||
import process from 'node:process'; | ||
import { wd } from './dirname.mjs'; | ||
|
||
/** | ||
* Handles rollup build | ||
* | ||
* Hooks to build events to create `cli_output/build-lock.json` | ||
* @see https://rollupjs.org/guide/en/#--watchonstart-cmd---watchonbundlestart-cmd---watchonbundleend-cmd---watchonend-cmd---watchonerror-cmd | ||
* @param {*} options | ||
*/ | ||
export function build({ watch, fast, input, output } = {}) { | ||
const cmd = [ | ||
'rollup', | ||
'-c', | ||
watch ? '--watch' : '', | ||
'--no-watch.clearScreen', | ||
...['onStart', 'onError', 'onEnd'].map( | ||
(type) => | ||
`--watch.${type} "node ./scripts/buildReporter.mjs ${type | ||
.toLowerCase() | ||
.slice(2)}"` | ||
), | ||
].join(' '); | ||
const processOptions = { | ||
stdio: 'inherit', | ||
shell: true, | ||
cwd: wd, | ||
env: { | ||
...process.env, | ||
MINIFY: Number(!fast), | ||
BUILD_INPUT: input, | ||
BUILD_OUTPUT: output, | ||
BUILD_MIN_OUTPUT: | ||
output && !fast | ||
? path.resolve( | ||
path.dirname(output), | ||
`${path.basename(output, '.js')}.min.js` | ||
) | ||
: undefined, | ||
}, | ||
}; | ||
if (watch) { | ||
cp.spawn(cmd, processOptions); | ||
} else { | ||
try { | ||
cp.execSync(cmd, processOptions); | ||
} catch (error) { | ||
// minimal logging, no need for stack trace | ||
console.error(error.message); | ||
// inform ci | ||
process.exit(1); | ||
} | ||
} | ||
} |
Oops, something went wrong.