Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: import compiler from marko-js/x
Co-authored-by: Michael Rawlings <mirawlings@ebay.com> Co-authored-by: Dylan Piercey <dpiercey@ebay.com> Co-authored-by: Andrew Gliga <agliga@ebay.com>
- Loading branch information
1 parent
ea6736d
commit 02670c8
Showing
750 changed files
with
26,519 additions
and
10,269 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
extends @ebay/browserslist-config |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": [ | ||
"@commitlint/config-lerna-scopes", | ||
"@commitlint/config-conventional" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
# minified | ||
*.min.js | ||
|
||
# test | ||
*.html.js | ||
*.marko.js | ||
*actual* | ||
*expected* | ||
input.js | ||
|
||
# generated | ||
*dist* | ||
*generated* | ||
*.marko.js | ||
*.marko.*.js | ||
*.html.js | ||
.cache/ | ||
.nyc_output/ | ||
node_modules/ | ||
coverage/ | ||
*dist/ | ||
*generated/ | ||
~vdom.skip | ||
coverage | ||
|
||
node_modules | ||
**/test/**/input.js |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
{ | ||
"extends": ["eslint:recommended", "prettier"], | ||
"parserOptions": { | ||
"ecmaVersion": 2019, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": false | ||
} | ||
}, | ||
"rules": { | ||
"no-console": "off" | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"globals": { | ||
"document": true, | ||
"ShadowRoot": true | ||
"es6": true, | ||
"mocha": true | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,117 @@ | ||
/work | ||
/build | ||
.idea/ | ||
npm-debug.log | ||
### Project ### | ||
|
||
*.marko.js | ||
*actual.* | ||
dist | ||
|
||
### Node ### | ||
|
||
# Logs | ||
logs | ||
*.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Dependency directories | ||
node_modules | ||
*.sublime-workspace | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn | ||
.yarn-integrity | ||
yarn.lock | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
|
||
### Git ### | ||
|
||
# Created by git for backups. To disable backups in Git: | ||
# $ git config --global mergetool.keepBackup false | ||
*.orig | ||
|
||
# Created by git when using merge tools for conflicts | ||
*.BACKUP.* | ||
*.BASE.* | ||
*.LOCAL.* | ||
*.REMOTE.* | ||
*_BACKUP_*.txt | ||
*_BASE_*.txt | ||
*_LOCAL_*.txt | ||
*_REMOTE_*.txt | ||
|
||
### OS ### | ||
|
||
# Linux | ||
*~ | ||
.fuse_hidden* | ||
.directory | ||
.Trash-* | ||
.nfs* | ||
|
||
# Mac | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
._* | ||
Icon | ||
|
||
# Windows | ||
*[Tt]humbs*.db* | ||
[Dd]esktop.ini | ||
*.stackdump | ||
*.lnk | ||
|
||
### EDITOR ### | ||
|
||
# VisualStudioCode | ||
.vscode | ||
coverage | ||
.nvmrc | ||
~* | ||
/.cache | ||
*.marko.js | ||
*.marko.xml.js | ||
/test/generated/ | ||
.nyc_output | ||
.history | ||
|
||
# JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm | ||
*.iml | ||
*.ipr | ||
*.iws | ||
modules.xml | ||
.idea | ||
|
||
# SublimeText | ||
*.cache | ||
*.sublime-* | ||
Package Control.* | ||
oscrypto-ca-bundle.crt | ||
|
||
# TextMate | ||
*.tmproj | ||
*.tmproject | ||
tmtags | ||
|
||
# Vim | ||
*.swp | ||
/**/dist/ | ||
/**/test-dist/ | ||
/**/test-generated/ | ||
.vs/ | ||
*.vim | ||
.netrwhist |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
{ | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"*.{json,css,md}": ["prettier --write", "git add"], | ||
"*.js": ["eslint", "prettier --write", "git add"] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"all": true, | ||
"cache": true, | ||
"include": [ | ||
"packages/*/src/**/*.js" | ||
], | ||
"instrument": false, | ||
"reporter": [ | ||
"lcov", | ||
"text-summary" | ||
], | ||
"require": [ | ||
"@babel/register" | ||
], | ||
"sourceMap": false | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
sudo: false | ||
node_js: | ||
- "8" | ||
- "10" | ||
- "12" | ||
language: node_js | ||
before_install: "npm i -g npm@latest" | ||
install: "npm ci" | ||
script: "npm run test-ci" | ||
after_success: "npm run codecov" | ||
script: "npm run ci:test" | ||
after_success: "npm run ci:codecov" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module.exports = api => ({ | ||
retainLines: true, | ||
presets: [ | ||
[ | ||
"@babel/env", | ||
{ | ||
loose: true, | ||
targets: { | ||
node: "8" | ||
} | ||
} | ||
] | ||
], | ||
plugins: [ | ||
"@babel/transform-runtime", | ||
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
], | ||
overrides: [ | ||
{ | ||
test: "./packages/*/src/**/*", | ||
plugins: api.env("production") | ||
? [ | ||
["babel-plugin-minprops", { matchPrefix: "___", context: "marko" }], | ||
"./scripts/babel-plugin-marko-debug" | ||
] | ||
: [] | ||
} | ||
], | ||
env: { | ||
test: { | ||
plugins: ["babel-plugin-istanbul"] | ||
} | ||
} | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.