Skip to content

Commit

Permalink
Add autocomplete note for plugin-css, update deps (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow authored Nov 22, 2023
1 parent c7d8caf commit 81b3c20
Show file tree
Hide file tree
Showing 12 changed files with 686 additions and 517 deletions.
4 changes: 4 additions & 0 deletions docs/integrations/css.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ export default {

:::

### VS Code Autocomplete

If your tokens are saved locally (by default in `src/tokens/tokens.css`), VS Code will automatically pick up on this file and allow autocompletions. However, if you’re publishing your package to npm, it will ignore `node_modules`. The [CSS Variable Autocomplete](https://marketplace.visualstudio.com/items?itemName=vunguyentuan.vscode-css-variables) extension lets you add additional files for autocompletion.

## Color tokens

::: code-group
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"preview": "vitepress preview"
},
"dependencies": {
"vue": "^3.3.7"
"vue": "^3.3.8"
},
"devDependencies": {
"vite": "^4.5.0",
"vitepress": "1.0.0-rc.24"
"vite": "^5.0.2",
"vitepress": "1.0.0-rc.29"
}
}
2 changes: 1 addition & 1 deletion examples/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"devDependencies": {
"@cobalt-ui/cli": "workspace:^",
"@cobalt-ui/plugin-tailwind": "workspace:^",
"tailwindcss": "^3.3.3"
"tailwindcss": "^3.3.5"
}
}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"del-cli": "^5.1.0",
"eslint": "^8.49.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-prettier": "^5.0.1",
"js-yaml": "^4.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
"prettier": "^3.1.0",
"typescript": "^5.3.2"
}
}
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@
"@cobalt-ui/core": "^1.6.1",
"@cobalt-ui/utils": "^1.2.2",
"chokidar": "^3.5.3",
"culori": "^3.2.0",
"culori": "^3.3.0",
"dotenv": "^16.3.1",
"js-yaml": "^4.1.0",
"piscina": "^3.2.0",
"svgo": "^3.0.2",
"svgo": "^3.0.4",
"yargs-parser": "^21.1.1"
},
"devDependencies": {
"@types/culori": "^2.0.0",
"@types/node": "^20.8.10",
"@types/culori": "^2.0.4",
"@types/node": "^20.9.3",
"execa": "^7.2.0",
"figma-api": "^1.11.0",
"npm-run-all": "^4.1.5",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
},
"dependencies": {
"@cobalt-ui/utils": "^1.2.2",
"@types/culori": "^2.0.0",
"culori": "^3.2.0"
"@types/culori": "^2.0.4",
"culori": "^3.3.0"
},
"devDependencies": {
"@types/node": "^20.8.10",
"esbuild": "^0.19.2",
"@types/node": "^20.9.3",
"esbuild": "^0.19.7",
"npm-run-all": "^4.1.5",
"vitest": "^0.34.6"
}
Expand Down
14 changes: 7 additions & 7 deletions packages/plugin-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@
"test:ts": "tsc --noEmit"
},
"peerDependencies": {
"@cobalt-ui/cli": "^1.6.1"
"@cobalt-ui/cli": "^1.6.2"
},
"dependencies": {
"@cobalt-ui/utils": "^1.2.2",
"@types/culori": "^2.0.3",
"@types/mime": "^3.0.3",
"culori": "^3.2.0",
"@types/culori": "^2.0.4",
"@types/mime": "^3.0.4",
"culori": "^3.3.0",
"mime": "^3.0.0",
"svgo": "^3.0.2"
"svgo": "^3.0.4"
},
"devDependencies": {
"@cobalt-ui/cli": "^1.6.1",
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/core": "^1.6.1",
"@types/node": "^20.8.10",
"@types/node": "^20.9.3",
"npm-run-all": "^4.1.5",
"vitest": "^0.34.6"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"@cobalt-ui/utils": "^1.2.2"
},
"devDependencies": {
"@cobalt-ui/cli": "^1.6.0",
"@cobalt-ui/core": "^1.6.0",
"fast-glob": "^3.3.1",
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/core": "^1.6.1",
"fast-glob": "^3.3.2",
"npm-run-all": "^4.1.5",
"vitest": "^0.34.6"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/plugin-sass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
},
"dependencies": {
"@cobalt-ui/utils": "^1.2.2",
"@types/mime": "^3.0.3",
"@types/mime": "^3.0.4",
"mime": "^3.0.0",
"svgo": "^3.0.2"
"svgo": "^3.0.4"
},
"devDependencies": {
"@cobalt-ui/cli": "^1.6.0",
"@cobalt-ui/core": "^1.6.0",
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/core": "^1.6.1",
"@cobalt-ui/plugin-css": "^1.6.2",
"@types/node": "^20.8.10",
"@types/node": "^20.9.3",
"npm-run-all": "^4.1.5",
"vitest": "^0.34.6"
}
Expand Down
10 changes: 5 additions & 5 deletions packages/plugin-tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
"tailwindcss": "*"
},
"dependencies": {
"@cobalt-ui/plugin-css": "^1.5.0",
"@cobalt-ui/plugin-css": "^1.6.2",
"@cobalt-ui/utils": "^1.2.2"
},
"devDependencies": {
"@cobalt-ui/cli": "^1.6.0",
"@cobalt-ui/core": "^1.6.0",
"@types/node": "^20.8.10",
"@cobalt-ui/cli": "^1.6.2",
"@cobalt-ui/core": "^1.6.1",
"@types/node": "^20.9.3",
"js-yaml": "^4.1.0",
"npm-run-all": "^4.1.5",
"tailwindcss": "^3.3.3",
"tailwindcss": "^3.3.5",
"vitest": "^0.34.6"
}
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "vitest run"
},
"devDependencies": {
"@types/node": "^20.8.10",
"@types/node": "^20.9.3",
"del-cli": "^5.1.0",
"vitest": "^0.34.6"
}
Expand Down
Loading

0 comments on commit 81b3c20

Please sign in to comment.