{
"scripts": {
"build": "metalsoy --soyDeps \"node_modules/+(metal-progressbar|metal-tooltip|com.liferay.frontend.js.web)/**/*.soy\" && cross-env NODE_ENV=production babel --source-maps -d classes/META-INF/resources src/main/resources/META-INF/resources && liferay-npm-bundler && npm run cleanSoy",
"csf": "csf src/**/*.js test/**/*.js",
"format": "npm run csf -- -i",
"test": "jest"
}
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
🌎 ➜ js-toolkit (pr-990) ✔ yarn qa | |
yarn run v1.22.5 | |
$ yarn && yarn build && yarn qa:only | |
[1/4] 🔍 Resolving packages... | |
success Already up-to-date. | |
$ lerna run build | |
lerna notice cli v3.20.1 | |
lerna info Executing command in 26 packages: "yarn run build" | |
lerna info run Ran npm script 'build' in 'liferay-npm-bundler-loader-sass-loader' in 5.1s: | |
$ tsc && yarn copyfiles |
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
html { | |
background: red; | |
} |
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
class OneDialog extends HTMLElement { | |
connectedCallback() { | |
this.innerHTML = `<h1>Hello, World!</h1>`; | |
} | |
} | |
customElements.define('one-dialog', OneDialog); |
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
<ClayLabel withClose={false}> | |
<ClayLabel.ItemBefore>{'Content before'}</ClayLabel.ItemBefore> | |
<ClayLabel.ItemExpand>{'Label'}</ClayLabel.ItemExpand> | |
</ClayLabel> | |
<ClayLabel.Base> | |
<ClayLabel.ItemBefore>{'Content before'}</ClayLabel.ItemBefore> | |
<ClayLabel.ItemExpand>{'Label'}</ClayLabel.ItemExpand> | |
</ClayLabel.Base> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuite hostname="" id="0" errors="0" failures="1" name="Jest" package="dynamic-data-mapping.dynamic-data-mapping-form-field-type" skipped="0" tests="150" time="0" timestamp="1548113141147"> | |
<testcase classname="dynamic-data-mapping.dynamic-data-mapping-form-field-type.test.metal.js.Date" name="Field Date should be not edidable" time="0.047"> | |
</testcase> | |
<testcase classname="dynamic-data-mapping.dynamic-data-mapping-form-field-type.test.metal.js.Date" name="Field Date should have a tip" time="0.009"> | |
</testcase> | |
<testcase classname="dynamic-data-mapping.dynamic-data-mapping-form-field-type.test.metal.js.Date" name="Field Date should have an id" time="0.007"> | |
</testcase> | |
<testcase classname="dynamic-data-mapping.dynamic-data-mapping-form-field-type.test.metal.js.Date" name="Field Date should have a label" time="0.005"> | |
</testcase> |
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
Row { | |
handleMoveDown() { | |
this.props.onChange(this.props.index, -1); | |
} | |
handleMoveUp() { | |
this.props.onChange(this.props.index, 1); | |
} | |
} |
I ran code --list-extensions | xargs -L 1 echo code --install-extension
code --install-extension 2gua.rainbow-brackets
code --install-extension andys8.jest-snippets
code --install-extension christian-kohler.npm-intellisense
code --install-extension christian-kohler.path-intellisense
code --install-extension dbaeumer.vscode-eslint
code --install-extension dcortes92.FreeMarker
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
#workbench\2e parts\2e sidebar > div.composite.title { | |
display: none; | |
} |
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
class MyComponent extends Component { | |
render() { | |
return ( | |
<div class="foo"></div> | |
); | |
} | |
} | |
<MyComponent elementClasses="bar" /> | |
NewerOlder