@warp-ds/css
Advanced tools
Comparing version 1.1.2-next.1 to 2.0.0-v2.1
import * as components from './index.js'; | ||
export const classes = Object.values(components) | ||
.map((e) => { | ||
if (typeof e === 'object') return Object.values(e).map((e) => e.split(/\s/)); | ||
return e.split(/\s/); | ||
}) | ||
.flat(Infinity); | ||
const getClasses = () => | ||
Object.values(components) | ||
.map((e) => { | ||
if (typeof e === 'object') | ||
return Object.values(e).map((e) => e.split(/\s/)); | ||
return e.split(/\s/); | ||
}) | ||
.flat(Infinity); | ||
export const classes = [...new Set(getClasses())]; |
{ | ||
"name": "@warp-ds/css", | ||
"repository": "git@github.com:warp-ds/css.git", | ||
"version": "1.1.2-next.1", | ||
"version": "2.0.0-v2.1", | ||
"scripts": { | ||
@@ -9,3 +9,3 @@ "build": "pnpm build:tokens && pnpm build:resets && pnpm build:cc", | ||
"semantic-release": "semantic-release", | ||
"build:cc": "cd component-classes && rm -rf *.d.ts && tsc && vite build", | ||
"build:cc": "cd component-classes && rm -rf *.d.ts && tsc && vite build && node ./scripts/updateClassesToPurge.js", | ||
"build:tokens": "cd tokens && node index.js", | ||
@@ -19,3 +19,3 @@ "build:resets": "cd resets && node index.js", | ||
"./component-classes": "./component-classes/index.js", | ||
"./components": "./dist/components.css", | ||
"./warp": "./dist/warp.css", | ||
"./component-classes/classes": "./component-classes/classes.js", | ||
@@ -44,3 +44,2 @@ "./component-classes/shortcuts": "./component-classes/shortcuts.js" | ||
"dependencies": { | ||
"@warp-ds/fonts": "1.1.0", | ||
"@warp-ds/tokenizer": "^0.0.2", | ||
@@ -54,13 +53,14 @@ "@warp-ds/uno": "^1.1.0" | ||
"@semantic-release/git": "^10.0.1", | ||
"@sindresorhus/slugify": "^2.2.0", | ||
"@warp-ds/eslint-config": "^0.0.1", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"@warp-ds/eslint-config": "^0.0.1", | ||
"drnm": "^0.9.0", | ||
"eslint": "^8.43.0", | ||
"husky": "^8.0.3", | ||
"lightningcss": "^1.19.0", | ||
"semantic-release": "^20.1.3", | ||
"typescript": "^5.0.0", | ||
"unocss": "^0.53.1", | ||
"unocss": "^0.56.0", | ||
"vite": "^4.3.9", | ||
"vite-plugin-dts": "^3.0.0", | ||
"@sindresorhus/slugify": "^2.2.0", | ||
"drnm": "^0.9.0", | ||
"lightningcss": "^1.19.0" | ||
"vite-plugin-dts": "^3.0.0" | ||
}, | ||
@@ -67,0 +67,0 @@ "eslintConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73552
2
1008
16
- Removed@warp-ds/fonts@1.1.0
- Removed@warp-ds/fonts@1.1.0(transitive)