Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: create legacy charts for vue2 projects * feat: add configs for legacy folder * feat: change project configs * feat: add tests for legacy charts * feat: fix utils * feat: fix base charts tests syntax * feat: add sandboxes for vue2 charts * fix: remove legacy prefix from vue2 components * fix: change build configs * fix: fix ci tests config * feat: update build config and tune package folders
- Loading branch information
1 parent
67e73a0
commit 5c9a69c
Showing
79 changed files
with
6,561 additions
and
63 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
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,3 @@ | ||
{ | ||
"extends": "../.babelrc" | ||
} |
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,25 @@ | ||
{ | ||
"testEnvironment": "jsdom", | ||
"setupFiles": ["<rootDir>/../test/setup.js"], | ||
"testMatch": ["<rootDir>/test/(*.)spec.(js|ts)"], | ||
"moduleFileExtensions": ["js", "ts", "vue"], | ||
"transform": { | ||
"^.+\\.vue$": "@vue/vue2-jest", | ||
"^.+\\.(t|j)sx?$": [ | ||
"@swc/jest", | ||
{ | ||
"module": { | ||
"type": "commonjs" | ||
}, | ||
"env": { | ||
"targets": { | ||
"node": 12 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"collectCoverage": true, | ||
"collectCoverageFrom": ["<rootDir>/src/**/*"], | ||
"coverageReporters": ["lcovonly", "text"] | ||
} |
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,22 @@ | ||
{ | ||
"main": "./legacy/src/index.js", | ||
"publishConfig": { | ||
"main": "./legacy/index.cjs", | ||
"module": "./legacy/index.js" | ||
}, | ||
"scripts": { | ||
"unit": "jest -c jest.config.json" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.16.5", | ||
"@swc/core": "1.2.120", | ||
"@swc/jest": "0.2.15", | ||
"@vue/test-utils": "1.3.0", | ||
"@vue/vue2-jest": "27.0.0-alpha.4", | ||
"babel-jest": "27.4.5", | ||
"css-loader": "0.28.0", | ||
"jest": "27.4.3", | ||
"vue": "2.6.14", | ||
"vue-template-compiler": "2.6.14" | ||
} | ||
} |
Oops, something went wrong.