Skip to content

Commit

Permalink
fix: build with fonts and icons
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jun 8, 2022
1 parent ea14369 commit 9d2f598
Show file tree
Hide file tree
Showing 5 changed files with 204 additions and 23 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.2",
"version": "1.1.1",
"private": true,
"sideEffects": false,
"workspaces": [
Expand Down Expand Up @@ -32,6 +32,7 @@
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"cpy-cli": "^4.1.0",
"eslint": "^8.17.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/wallet-management/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"module": "./src/index.ts",
"scripts": {
"watch": "tsc -w -p ./tsconfig.json",
"build": "tsc --build && yarn build:copy-files",
"build": "tsc --build --clean && tsc --build && yarn build:copy-files",
"build:copy-files": "node ../../scripts/copy-files.js",
"postbuild": "cpy 'src/**/*' '!src/**/*.ts*' build",
"pre-commit": "lint-staged",
"lint": "eslint --ext .tsx --ext .ts ./src",
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
Expand All @@ -32,6 +33,7 @@
"bugs": {
"url": "https://github.com/lifinance/wallet-management/issues"
},
"license": "MIT",
"keywords": [
"wallet",
"wallet-management",
Expand Down
4 changes: 3 additions & 1 deletion packages/widget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"module": "./src/index.ts",
"scripts": {
"watch": "tsc -w -p ./tsconfig.json",
"build": "tsc --build && yarn build:copy-files",
"build": "tsc --build --clean && tsc --build && yarn build:copy-files",
"build:copy-files": "node ../../scripts/copy-files.js",
"postbuild": "cpy 'src/**/*' '!src/**/*.ts*' build",
"pre-commit": "lint-staged",
"lint": "eslint --ext .tsx --ext .ts ./src",
"lint:fix": "eslint --ext .tsx --ext .ts ./src --fix",
Expand All @@ -32,6 +33,7 @@
"bugs": {
"url": "https://github.com/lifinance/widget/issues"
},
"license": "MIT",
"keywords": [
"widget",
"lifi-widget",
Expand Down
2 changes: 1 addition & 1 deletion scripts/copy-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function run() {
);

// TypeScript
await typescriptCopy({ from: srcPath, to: buildPath });
// await typescriptCopy({ from: srcPath, to: buildPath });

// await createModulePackages({ from: srcPath, to: buildPath });
} catch (err) {
Expand Down
Loading

0 comments on commit 9d2f598

Please sign in to comment.