Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@google/design.md",
"version": "0.2.0",
"version": "0.3.0",
"description": "Bridging design systems and code: a linter and exporter for the DESIGN.md format",
"keywords": [
"design.md"
Expand Down
7 changes: 5 additions & 2 deletions packages/cli/src/linter/dtcg/conformance.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ import { lint } from '../lint.js';
import { DtcgEmitterHandler } from './handler.js';

describe('DTCG Conformance', () => {
test('Terrazzo can parse our DTCG output and generate CSS', () => {
// Skipped: @terrazzo/token-types@^2.4.0 was removed from npm (404).
// This test depends on installing Terrazzo from the public registry.
// Re-enable once Terrazzo publishes a fix. See: https://github.com/google-labs-code/design.md/issues/106
test.skip('Terrazzo can parse our DTCG output and generate CSS', () => {
const fixtureContent = `---
name: Test Brand
colors:
Expand Down Expand Up @@ -81,7 +84,7 @@ export default defineConfig({

// Install dependencies in temp dir so they can be imported in config
// Using bun add should be fast if cached
const customPath = `${process.env.PATH || ''}:/Users/dalmaer/.bun/bin`;
const customPath = process.env.PATH || '';
const installProc = spawnSync('bun', ['add', '@terrazzo/cli', '@terrazzo/plugin-css'], {
cwd: tmpDir,
env: { ...process.env, PATH: customPath },
Expand Down
Loading