Skip to content

Commit

Permalink
feat: update system set to allow for dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
GarthDB committed Feb 1, 2024
1 parent c8cdc47 commit ad0ce2a
Show file tree
Hide file tree
Showing 7 changed files with 1,159 additions and 940 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 8.11.0
version: 8.15.1
- uses: moonrepo/setup-moon-action@v1
- run: moon setup
- run: moon run site:export
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- uses: pnpm/action-setup@v2
with:
version: 8.11.0
version: 8.15.1
- uses: moonrepo/setup-moon-action@v1
- run: moon setup
- run: moon run :build --query "projectSource~packages/*"
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit ""
pnpm --no-install commitlint --edit ""
2 changes: 1 addition & 1 deletion .moon/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ node:

# The version of the package manager (above) to use.
pnpm:
version: "8.11.0"
version: "8.15.1"

# Add `node.version` as a constraint in the root `package.json` `engines`.
addEnginesConstraint: true
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
},
"homepage": "https://github.com/adobe/spectrum-tokens#readme",
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@moonrepo/cli": "^1.17.4",
"ava": "^5.3.1",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3"
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^18.6.0",
"@commitlint/config-conventional": "^18.6.0",
"@moonrepo/cli": "^1.20.1",
"ava": "^6.1.1",
"husky": "^9.0.10",
"lint-staged": "^15.2.1",
"prettier": "^3.2.4"
},
"engines": {
"node": "18.13.0"
},
"packageManager": "pnpm@8.11.0"
"packageManager": "pnpm@8.15.1"
}
11 changes: 11 additions & 0 deletions packages/tokens/schemas/token-types/system-set.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@
}
},
"required": ["spectrum", "express"]
},
{
"properties": {
"spectrum": {
"$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json"
},
"express": {
"$ref": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/scale-set.json"
}
},
"required": ["spectrum", "express"]
}
]
},
Expand Down
Loading

0 comments on commit ad0ce2a

Please sign in to comment.