Skip to content

Commit 95018f9

Browse files
authored
fix: add missing static css files for WC (#1385)
1 parent 9e375f9 commit 95018f9

File tree

8 files changed

+16
-17
lines changed

8 files changed

+16
-17
lines changed

packages/cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "igniteui-cli",
3-
"version": "14.3.17",
3+
"version": "14.3.18-beta.4",
44
"description": "CLI tool for creating Ignite UI projects",
55
"keywords": [
66
"CLI",
@@ -76,8 +76,8 @@
7676
"all": true
7777
},
7878
"dependencies": {
79-
"@igniteui/angular-templates": "~19.1.14317",
80-
"@igniteui/cli-core": "~14.3.17",
79+
"@igniteui/angular-templates": "~19.1.14318-beta.4",
80+
"@igniteui/cli-core": "~14.3.18-beta.4",
8181
"@inquirer/prompts": "^5.4.0",
8282
"@types/yargs": "^17.0.33",
8383
"chalk": "^5.3.0",

packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__github/workflows/github-pages.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,6 @@ jobs:
4141
sed -i 's|<base href="[^"]*">|<base href="/${{ github.event.repository.name }}/">|' ./dist/index.html
4242
- name: Update Resource Paths
4343
run: find ./dist -maxdepth 1 -type f ! -name 'sw*.js' ! -name 'workbox*.js' -name '*.js' -exec sed -i -e "s|/src/assets|/${{ github.event.repository.name }}/src/assets|g" -e "s|url('/src/assets|url('/${{ github.event.repository.name }}/src/assets|g" {} +
44-
- name: Copy ig-theme.css to dist
45-
run: cp ./ig-theme.css ./dist/
46-
- name: Update href Paths for ig-theme.css
47-
run: |
48-
find ./dist -type f -exec sed -i "s|href='../../ig-theme.css'|href='../../${{ github.event.repository.name }}/ig-theme.css'|g" {} +;
49-
find ./dist -type f -exec sed -i "s|href=\"../../ig-theme.css\"|href=\"../../${{ github.event.repository.name }}/ig-theme.css\"|g" {} +;
5044
- name: SPA routing handling
5145
run: cp ./dist/index.html ./dist/404.html
5246
- name: Upload build artifact to GitHub Pages

packages/cli/templates/webcomponents/igc-ts/projects/_base/files/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"./$(dashName).js": "./dist/src/$(dashName).js"
1414
},
1515
"scripts": {
16-
"start": "tsc && concurrently -k -r \"tsc --watch\" \"wds\"",
16+
"start": "concurrently -k -r \"tsc --watch\" \"vite\"",
1717
"build": "rimraf dist && tsc && node --max-old-space-size=4096 node_modules/vite/bin/vite.js build",
1818
"start:build": "web-dev-server --root-dir dist --app-index index.html --open",
1919
"lint": "eslint \"**/*.{js,ts}\" --ignore-pattern .gitignore",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
declare module '*.css?inline' {
2+
import { CSSResult } from 'lit';
3+
const content: CSSResult;
4+
export default content;
5+
}

packages/cli/templates/webcomponents/igc-ts/projects/_base/files/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default defineConfig({
2424
/** Copy static assets */
2525
viteStaticCopy({
2626
targets: [
27-
{ src: 'src/assets', dest: 'src' },
27+
{ src: 'src/assets', dest: 'src' }
2828
],
2929
silent: true,
3030
}),

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@igniteui/cli-core",
3-
"version": "14.3.17",
3+
"version": "14.3.18-beta.4",
44
"description": "Base types and functionality for Ignite UI CLI",
55
"repository": {
66
"type": "git",

packages/igx-templates/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@igniteui/angular-templates",
3-
"version": "19.1.14317",
3+
"version": "19.1.14318-beta.4",
44
"description": "Templates for Ignite UI for Angular projects and components",
55
"repository": {
66
"type": "git",
@@ -12,7 +12,7 @@
1212
"author": "Infragistics",
1313
"license": "MIT",
1414
"dependencies": {
15-
"@igniteui/cli-core": "~14.3.17",
15+
"@igniteui/cli-core": "~14.3.18-beta.4",
1616
"typescript": "~5.5.4"
1717
}
1818
}

packages/ng-schematics/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@igniteui/angular-schematics",
3-
"version": "19.1.14317",
3+
"version": "19.1.14318-beta.4",
44
"description": "Ignite UI for Angular Schematics for ng new and ng generate",
55
"repository": {
66
"type": "git",
@@ -20,8 +20,8 @@
2020
"dependencies": {
2121
"@angular-devkit/core": "^19.0.0",
2222
"@angular-devkit/schematics": "^19.0.0",
23-
"@igniteui/angular-templates": "~19.1.14317",
24-
"@igniteui/cli-core": "~14.3.17",
23+
"@igniteui/angular-templates": "~19.1.14318-beta.4",
24+
"@igniteui/cli-core": "~14.3.18-beta.4",
2525
"@schematics/angular": "~19.0.0",
2626
"minimatch": "^10.0.1",
2727
"rxjs": "^7.8.1"

0 commit comments

Comments
 (0)