Start @xterm scope with core and webgl addons
This commit is contained in:
+11
-11
@@ -27,16 +27,16 @@ if (changedFiles.some(e => e.search(/^addons\//) === -1)) {
|
||||
|
||||
// Publish addons if any files were changed inside of the addon
|
||||
const addonPackageDirs = [
|
||||
path.resolve(__dirname, '../addons/xterm-addon-attach'),
|
||||
path.resolve(__dirname, '../addons/xterm-addon-canvas'),
|
||||
path.resolve(__dirname, '../addons/xterm-addon-fit'),
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-image'),
|
||||
path.resolve(__dirname, '../addons/xterm-addon-ligatures'),
|
||||
path.resolve(__dirname, '../addons/xterm-addon-search'),
|
||||
path.resolve(__dirname, '../addons/xterm-addon-serialize'),
|
||||
path.resolve(__dirname, '../addons/xterm-addon-unicode11'),
|
||||
path.resolve(__dirname, '../addons/xterm-addon-web-links'),
|
||||
path.resolve(__dirname, '../addons/xterm-addon-webgl')
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-attach'),
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-canvas'),
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-fit'),
|
||||
// // path.resolve(__dirname, '../addons/xterm-addon-image'),
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-ligatures'),
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-search'),
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-serialize'),
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-unicode11'),
|
||||
// path.resolve(__dirname, '../addons/xterm-addon-web-links'),
|
||||
path.resolve(__dirname, '../addons/addon-webgl')
|
||||
];
|
||||
console.log(`Checking if addons need to be published`);
|
||||
for (const p of addonPackageDirs) {
|
||||
@@ -70,7 +70,7 @@ function checkAndPublishPackage(packageDir) {
|
||||
fs.writeFileSync(packageJsonFile, JSON.stringify(packageJson, null, 2));
|
||||
|
||||
// Publish
|
||||
const args = ['publish'];
|
||||
const args = ['publish', '--access', 'public'];
|
||||
if (!isStableRelease) {
|
||||
args.push('--tag', 'beta');
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ while (argv.some(e => e.startsWith('--suite='))) {
|
||||
let configs = [
|
||||
{ name: 'core', path: 'out-test/playwright/playwright.config.js' },
|
||||
{ name: 'xterm-addon-canvas', path: 'addons/xterm-addon-canvas/out-test/playwright.config.js' },
|
||||
{ name: 'xterm-addon-webgl', path: 'addons/xterm-addon-webgl/out-test/playwright.config.js' }
|
||||
{ name: 'addon-webgl', path: 'addons/addon-webgl/out-test/playwright.config.js' }
|
||||
];
|
||||
|
||||
if (suiteFilter) {
|
||||
|
||||
Reference in New Issue
Block a user