Skip to content

Commit 3412b32

Browse files
jordanpowell88elevatebart
and
elevatebart
authored
feat(icons): add technology git error icon (#226)
* feat(icons): add technology git error icon * chore: add changeset for no git icon * add color classes * add svg icons to turbo * more turbo updates * icons package.json update * update dependencies * fix build process --------- Co-authored-by: elevatebart <[email protected]>
1 parent 5ce8575 commit 3412b32

File tree

8 files changed

+205
-76
lines changed

8 files changed

+205
-76
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@cypress-design/icon-registry": patch
3+
"@cypress-design/vue-icon": patch
4+
"@cypress-design/react-icon": patch
5+
---
6+
7+
feat(icons): add technology git error icon

docs/.vitepress/theme/components/Layout.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
defineAsyncComponent,
1111
h,
1212
nextTick,
13+
type Ref,
1314
} from 'vue'
1415
import { useCookies } from '@vueuse/integrations/useCookies'
1516
import Button from '@cypress-design/vue-button'
@@ -124,9 +125,7 @@ function switchFramework(fw: 'react' | 'vue') {
124125
}
125126
126127
const mobileMenuOpen = ref(false)
127-
const { frontmatter } = useData()
128-
129-
const Patterns = import.meta.glob('../../../patterns/*.md')
128+
const { frontmatter } = useData() as any
130129
</script>
131130

132131
<template>

docs/.vitepress/theme/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ import './theme.css'
44
import VueLiveWithLayout from './components/vue-live.vue'
55
import Layout from './components/Layout.vue'
66
import DemoWrapper from './components/DemoWrapper.vue'
7-
import { defineComponent } from 'vue'
87

98
export default {
109
Layout: Layout as any,
11-
NotFound: defineComponent(() => '404 - page not found'),
10+
NotFound: (() => '404 - page not found') as any,
1211
enhanceApp({ app }) {
1312
app.component('VueLive', VueLiveWithLayout)
1413
app.component('Tooltip', Tooltip)
Lines changed: 16 additions & 0 deletions
Loading

icon-registry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build:types": "tsc -p . --emitDeclarationOnly",
1919
"build:icons": "node ./build-icons.mjs",
2020
"build:svg": "svg-to-ts-files",
21-
"build": "yarn build:svg && yarn build:icons && echo 'Waiting 10s for build:svg to close the files...' && await timeout 10000 && yarn build:lib && yarn build:types"
21+
"build": "yarn build:svg && yarn build:icons && echo 'Waiting 10s for build:svg to stop working on the files...' && await timeout 10000 && yarn build:lib && yarn build:types"
2222
},
2323
"files": [
2424
"dist"

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,27 @@
4141
"@cypress/vite-dev-server": "^5.0.5",
4242
"@percy/cli": "1.24.0",
4343
"@percy/cypress": "3.1.2",
44-
"@rollup/plugin-commonjs": "^24.1.0",
44+
"@rollup/plugin-commonjs": "^25.0.0",
4545
"@rollup/plugin-node-resolve": "^15.0.2",
4646
"@rollup/plugin-sucrase": "^5.0.1",
47-
"@rollup/plugin-typescript": "^11.1.0",
47+
"@rollup/plugin-typescript": "^11.1.1",
4848
"@types/chroma-js": "^2.4.0",
4949
"@types/dedent": "^0.7.0",
5050
"@types/flat": "5.0.2",
5151
"@types/react": "18",
5252
"@types/react-dom": "18",
5353
"@typescript-eslint/eslint-plugin": "^5.59.5",
5454
"@typescript-eslint/parser": "^5.59.5",
55-
"@vitejs/plugin-vue": "^4.2.1",
55+
"@vitejs/plugin-vue": "^4.2.3",
5656
"@vitejs/plugin-vue-jsx": "^3.0.1",
57-
"@vue/tsconfig": "^0.3.2",
57+
"@vue/tsconfig": "^0.4.0",
5858
"@vueuse/integrations": "^10.1.2",
5959
"autoprefixer": "^10.4.14",
6060
"axe-core": "^4.7.0",
6161
"chokidar": "^3.5.3",
6262
"chroma-js": "^2.4.2",
6363
"concurrently": "^8.0.1",
64-
"cypress": "^12.11.0",
64+
"cypress": "^12.12.0",
6565
"cypress-axe": "^1.4.0",
6666
"cypress-real-events": "^1.7.6",
6767
"dedent": "^0.7.0",
@@ -82,16 +82,16 @@
8282
"react-dom": "18",
8383
"react-live-runner": "^1.0.5",
8484
"rimraf": "^5.0.0",
85-
"rollup": "^3.21.5",
85+
"rollup": "^3.21.6",
8686
"rollup-plugin-postcss": "^4.0.2",
8787
"rollup-plugin-sourcemaps": "^0.6.3",
88-
"turbo": "^1.9.3",
88+
"turbo": "^1.9.4",
8989
"typescript": "5.0.4",
9090
"universal-cookie": "^4.0.4",
9191
"vite": "4.3.5",
9292
"vitepress": "1.0.0-alpha.75",
9393
"vitest": "^0.31.0",
94-
"vue": "3.2.47",
94+
"vue": "3.3.2",
9595
"vue-component-meta": "^1.6.4",
9696
"vue-docgen-api": "^4.71.0",
9797
"vue-docgen-cli": "^4.67.0",

turbo.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
"*.tsx",
1313
"*.mjs",
1414
"*.ts",
15+
"*.svg",
1516
"svgo-plugins/*.js",
1617
"src/*.ts",
1718
"src/*.mjs",
1819
"src/*.js",
20+
"icons/*.svg",
1921
"!*.cy.tsx",
2022
"!*.rootstory.tsx"
2123
],

0 commit comments

Comments
 (0)