Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
feat: use @vue/component-compiler-utils to provide high level compone…
Browse files Browse the repository at this point in the history
…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
znck authored May 1, 2018
1 parent a23740f commit 976d4f1
Show file tree
Hide file tree
Showing 63 changed files with 2,674 additions and 9,766 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: Install package dependencies
command: yarn --no-progress install
command: yarn --no-progress install --pure-lockfile
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
Expand Down
4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.DS_Store
node_modules
node_modules
/dist
*.log
/test/output/
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignoreOptional "true"
172 changes: 0 additions & 172 deletions index.d.ts

This file was deleted.

13 changes: 5 additions & 8 deletions jest.config.js
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']
}
Loading

0 comments on commit 976d4f1

Please sign in to comment.