Skip to content

Commit

Permalink
ci(certifications-whatislove-dev): add typed css package wd-314 (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
what1s1ove authored Jun 19, 2024
1 parent a4077e6 commit e7edf0d
Show file tree
Hide file tree
Showing 4 changed files with 148 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules
# production
build
process.mp4
*.module.css.d.ts

# cache
.cache
Expand Down
8 changes: 5 additions & 3 deletions apps/certifications-whatislove-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"private": true,
"type": "module",
"scripts": {
"start": "vite",
"_tcm": "tcm -p \"src/**/*.module.css\"",
"start": "concurrently -n \"CLIENT,TCM\" \"vite\" \"npm run _tcm -- --watch\"",
"build:clean": "rm -rf build",
"build": "npm run build:clean && vite build",
"build": "npm run build:clean && npm run _tcm && vite build",
"ci:lint:css": "stylelint \"src/**/*.css\"",
"ci:lint:js": "eslint \"./**/*\"",
"ci:lint:type": "tsc --noEmit",
Expand All @@ -24,6 +25,7 @@
"@types/react": "18.2.47",
"@types/react-dom": "18.2.18",
"@vitejs/plugin-react": "4.2.1",
"eslint-plugin-react": "7.33.2"
"eslint-plugin-react": "7.33.2",
"typed-css-modules": "0.9.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let Certificate = ({ certificationType }) => {
}

return (
<PDFViewer className={/** @type {string} */ (styles[`viewer`])}>
<PDFViewer className={styles[`viewer`]}>
<Document>
<Cert user={user} />
</Document>
Expand Down
144 changes: 141 additions & 3 deletions package-lock.json

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

0 comments on commit e7edf0d

Please sign in to comment.