forked from vime-js/vime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Enable the example projects to use locally linked versions of th…
…e Vime packages (vime-js#227) * fix: preserve dir structure when bundling core icons The local icons are used at development time, but were incorrectly copied without preserving the directory structure by cpy-cli. This commit moves that responsibility to a Stencil copy task. * fix: ensure React example works with locally-linked package Previously this would result in duplicate copies of React. * fix: fix error in Rollup CSS build * fix: make Stencil demo work when linked locally * fix: Webpack example should always load extracted CSS * fix: ensure Angular example works with linked packages * build: add the examples as Lerna packages This means that they can be used with locally linked versions of the @vime packages if desired. By default, the build command will only run on the public packages. * build: fix Angular packages to v11-lts to ensure peer deps compatibility * build: remove typescript devdependency from @vime/core Stencil brings its own TypeScript with it, perhaps the version clash is breaking something? * build: @vime/core - add @types/node, add DOM/ES2017 libs to tsconfig * build: update @vime/core package-lock * build: make prettier use its own ignore file * chore: apply prettier formatting * build: update validate workflow * build: fix validate.yml format
- Loading branch information
Showing
35 changed files
with
17,350 additions
and
18,693 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,43 @@ | ||
**/package-lock.json | ||
**/components.d.ts | ||
|
||
dist/ | ||
build/ | ||
www/ | ||
loader/ | ||
|
||
packages/core/icons/ | ||
packages/core/themes/ | ||
|
||
docs/docs/components | ||
|
||
packages/angular/projects/vime/src/VimeModule.ts | ||
packages/angular/projects/vime/src/components/ | ||
packages/react/src/components | ||
packages/svelte/src/components/ | ||
packages/svelte/src/svelte/ | ||
packages/vue/src/components/ | ||
packages/vue-next/src/components/ | ||
|
||
chrome-profiler-events*.json | ||
speed-measure-plugin*.json | ||
|
||
/tmp | ||
/out-tsc | ||
/bazel-out | ||
/.pnp | ||
.pnp.js | ||
.eslintcache/ | ||
.nyc_output/ | ||
.stencil/ | ||
.idea/ | ||
.vscode/ | ||
.sass-cache/ | ||
.docusaurus/ | ||
.cache-loader/ | ||
.versions/ | ||
node_modules/ | ||
web_modules/ | ||
coverage/ | ||
jest-coverage/ | ||
$RECYCLE.BIN/ |
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
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,10 @@ | ||
const path = require('path'); | ||
|
||
module.exports = { | ||
webpack: { | ||
alias: { | ||
react: path.resolve(__dirname, './node_modules/react'), | ||
'react-dom': path.resolve(__dirname, './node_modules/react-dom'), | ||
}, | ||
}, | ||
}; |
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 |
---|---|---|
|
@@ -12,7 +12,5 @@ | |
"jsx": "react-jsx", | ||
"jsxFactory": "React.createElement" | ||
}, | ||
"include": [ | ||
"src" | ||
] | ||
"include": ["src"] | ||
} |
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
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
Oops, something went wrong.