Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: RocketChat/fuselage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 87d6269f489bc2170568240ca11511348239f2de
Choose a base ref
...
head repository: RocketChat/fuselage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ab94e10a6a078171aee9a702f5eebf9a9ae899a5
Choose a head ref
Loading
Showing 1,096 changed files with 17,794 additions and 10,233 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -31,8 +31,7 @@ jobs:
- checkout
- run: yarn
- run: yarn lerna run build --stream
- run: yarn lerna run test:results --scope @rocket.chat/fuselage --stream
- run: yarn lerna run build-storybook --scope @rocket.chat/fuselage --stream
- run: yarn lerna run build-storybook:loki --scope @rocket.chat/fuselage --stream
- run:
command: |
cat package.json | sed s/\.docker/.app/ > package.json-new
@@ -101,7 +100,6 @@ jobs:
steps:
- attach_workspace:
at: ~/repo
- run: yarn lerna run test:results --scope @rocket.chat/fuselage --stream
- run: .circleci/deploy-storybooks.js

workflows:
32 changes: 24 additions & 8 deletions .circleci/deploy-storybooks.js
Original file line number Diff line number Diff line change
@@ -8,19 +8,35 @@ const { promisify } = require('util');

const buildStorybook = async (packageName) => {
const run = (...args) => new Promise((resolve, reject) => {
const childProcess = spawn(...args);
childProcess.on('close', (code) => {
if (code === 0) {
resolve();
} else {
reject(code);
}
});
try {
const childProcess = spawn(...args);
childProcess.on('close', (code) => {
if (code === 0) {
resolve();
} else {
reject(code);
}
});
} catch (error) {
reject(error);
}
});

await run('node_modules/.bin/jest', [
'--max-workers',
'1',
'--json',
'--outputFile',
path.join(__dirname, '../packages', packageName, '.storybook/jest-results.json')], {
stdio: 'inherit',
cwd: path.join(__dirname, '../packages', packageName),
env: { ...process.env, NODE_ENV: 'production' }
});

await run('node_modules/.bin/build-storybook', ['-o', path.join(__dirname, '../static')], {
stdio: 'inherit',
cwd: path.join(__dirname, '../packages', packageName),
env: { ...process.env, NODE_ENV: 'production' }
});
};

14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Bug report
about: Report a component malfunction
title: '<Component Name>: <Short description>'
labels: ''
assignees: ''

---

**Description**

**Steps to reproduce**

**Insert an image/gif**
57 changes: 0 additions & 57 deletions .vscode/fuselage.code-snippets

This file was deleted.

Loading