Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big merge #77

Merged
merged 6 commits into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 0 additions & 4 deletions config/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@ esbuild
console.log('Build succeeded.');
})
.catch(() => process.exit(1));

esbuild.build({
plugins: [svgrPlugin()],
});
5 changes: 4 additions & 1 deletion config/common.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import svgrPlugin from 'esbuild-plugin-svgr';

const entry = 'src/index.jsx';
const buildDir = 'docs';
const build = {
Expand All @@ -15,7 +17,8 @@ const build = {
format: 'esm',
sourcemap: true,
target: ['chrome58', 'firefox57', 'safari11', 'edge18'],
logLevel: 'info'
logLevel: 'info',
plugins: [svgrPlugin()],
};

export { build };
5,923 changes: 3,945 additions & 1,978 deletions docs/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "buildrs",
"version": "0.1.0-r205",
"version": "0.1.0-r222",
"main": "src/index.jsx",
"homepage": "https://github.com/buildrs/Share",
"scripts": {
Expand Down Expand Up @@ -37,6 +37,7 @@
"babel-jest": "^27.4.4",
"canvas": "^2.8.0",
"esbuild": "^0.13.14",
"esbuild-plugin-svgr": "^0.0.3",
"gl": "^4.9.2",
"jest": "^27.4.3",
"jsdom": "^18.0.1",
Expand Down
13 changes: 3 additions & 10 deletions src/utils/Ifc.test.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
import Testing from '@pablo-mayrgundter/testing.js/testing.js';
import {
decodeIFCString,
} from './Ifc.js';


const tests = new Testing();


tests.add('Test decode ifc string', () => {
test('Test decode ifc string', () => {
const someAscii = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890';
tests.assertEquals(someAscii, decodeIFCString(someAscii));
tests.assertEquals('Küche', decodeIFCString('K\\X2\\00FC\\X0\\che'));
expect(someAscii).toEqual(decodeIFCString(someAscii));
expect('Küche').toEqual(decodeIFCString('K\\X2\\00FC\\X0\\che'));
});


tests.run();
3,601 changes: 1,673 additions & 1,928 deletions yarn.lock

Large diffs are not rendered by default.