Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Stencil 4 #3207

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 38 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@popperjs/core": "^2.11.8",
"@rjsf/core": "^2.4.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@stencil/core": "^3.4.2",
"@stencil/core": "^4.21.0",
"@stencil/sass": "^3.0.12",
"@types/codemirror": "^5.60.2",
"@types/html-escaper": "^3.0.2",
Expand Down Expand Up @@ -105,7 +105,7 @@
"shx": "^0.3.3",
"style-to-object": "^1.0.8",
"tabulator-tables": "^4.9.3",
"typescript": "^4.9.5",
"typescript": "5.2.2",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
</head>

<body>
<link href="/assets/kompendium/kompendium/kompendium.css" rel="stylesheet" />
<script type="module" src="/assets/kompendium/kompendium/kompendium.esm.js"></script>
<script nomodule src="/assets/kompendium/kompendium/kompendium.js"></script>
<link href="/assets/kompendium/kompendium.css" rel="stylesheet" />
<script type="module" src="/assets/kompendium/kompendium.esm.js"></script>
<script nomodule src="/assets/kompendium/kompendium.js"></script>

<link href="/style/color-palette-extended.css" rel="stylesheet" />
<link href="/build/lime-elements.css" rel="stylesheet" />
Expand Down
8 changes: 0 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
export * from './components';
export * from './interface';

declare module '@stencil/core/internal' {
namespace JSXBase {
interface HTMLAttributes {
popover?: 'auto' | 'manual';
}
}
}
2 changes: 1 addition & 1 deletion stencil.config.dist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const config: Config = {
type: 'dist',
copy: [
{ src: 'style/' },
{ src: 'style/mixins.scss', dest: '../scss/mixins.scss' },
{ src: 'style/mixins.scss', dest: '../scss/' },
],
},
],
Expand Down
2 changes: 1 addition & 1 deletion stencil.config.docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const config: Config = {
},
{
src: 'favicon.svg',
dest: 'favicon.svg',
dest: '.',
},
],
},
Expand Down
10 changes: 7 additions & 3 deletions stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,20 @@ export const config: Config = {
copy: [
{ src: 'style/color-palette-extended.css' },
{
src: 'test-assets/',
dest: 'assets/',
src: 'test-assets/icons',
dest: 'assets/icons',
},
{
src: 'test-assets/misc-files',
dest: 'assets/misc-files',
},
{
src: '../node_modules/kompendium/dist/',
dest: 'assets/kompendium/',
},
{
src: 'favicon.svg',
dest: 'favicon.svg',
dest: '.',
},
],
},
Expand Down
Loading