This repository has been archived by the owner on Aug 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use @vue/component-compiler-utils to provide high level compone…
…nt compilation API (#59) * feat: use component-compiler-utils * fix: ignore fsevents when not supported * chore: bump component-compiler-utils version * chore: use lockfile to install deps on CI * chore: remove eslint files * chore: remove old typings file * chore: code style fixes * fix: typescript mis-matched type warning * fix: compile src directory with tsc * fix: store compiled baseline code to HTML files when not in CI * fix: launch headless chrome on CI * feat: minify css * refactor: extract compileStyle method * chore: rename package to @vue/component-compiler * fix: add `data-v-` prefix to scopeId in compilation step
- Loading branch information
Showing
63 changed files
with
2,674 additions
and
9,766 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
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,2 +1,5 @@ | ||
.DS_Store | ||
node_modules | ||
node_modules | ||
/dist | ||
*.log | ||
/test/output/ |
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 @@ | ||
ignoreOptional "true" |
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 |
---|---|---|
@@ -1,12 +1,9 @@ | ||
module.exports = { | ||
moduleFileExtensions: [ | ||
'js', | ||
'json', | ||
'png', | ||
'vue' | ||
], | ||
moduleFileExtensions: ['js', 'json', 'png', 'ts', 'vue'], | ||
transform: { | ||
'.*\.(js|vue|png)$': './test/setup/jest-helper.js' | ||
'^.+\\.js$': 'babel-jest', | ||
'^.+\\.ts$': '<rootDir>/node_modules/ts-jest/preprocessor.js', | ||
'.*.(js|vue|png)$': './test/setup/jest-helper.js' | ||
}, | ||
testRegex: '.*\.spec.js' | ||
testMatch: ['**/?(*.)(spec|test).ts'] | ||
} |
Oops, something went wrong.