Skip to content

Commit

Permalink
Changed to Lerna monorepo layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
c1rrus committed Oct 20, 2018
1 parent 38f7755 commit 68966a3
Show file tree
Hide file tree
Showing 33 changed files with 11,624 additions and 5,976 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
![UDT logo](http://udt.design/udt-logo.svg)

# UDT JavaScript library
# Universal Design Tokens (UDT)
Universal Design Tokens (UDT) is an open-standard file format for expressing design token data.

A Node.js library for parsing, manipulating and serialising design token data in the UDT (Universal Design Tokens) format.
## Packages
This is a monorepo (using [Lerna](https://lernajs.io/)) containing the source code for several UDT packages:

* [**`@udt/core`**](./packages/core/): A Node.js library for parsing, manipulating and serialising design token data in the UDT (Universal Design Tokens) format.
6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"packages": [
"packages/*"
],
"version": "0.1.0"
}
9,205 changes: 3,257 additions & 5,948 deletions package-lock.json

Large diffs are not rendered by default.

36 changes: 10 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
{
"name": "@universal-design-tokens/udt",
"name": "udt",
"version": "0.1.0",
"description": "Library for parsing, manipulating and serialising design token data in the UDT (Universal Design Tokens) format",
"main": "lib/index.js",
"private": true,
"description": "Monorepo for UDT spec, reference JS lib and tools.",
"main": "index.js",
"scripts": {
"clean": "rimraf lib/*",
"build": "npm run clean && babel src -d lib",
"watch": "npm run build -- --watch",
"lint": "eslint src/",
"test": "jest --coverage"
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/universal-design-tokens/udt-js.git"
},
"keywords": [
"udt",
"design",
"tokens",
"styleguide",
"design-systems"
"design-tokens",
"design-systems",
"spec",
"json-schema"
],
"author": "James Nash (http://cirrus.twiddles.com)",
"license": "ISC",
Expand All @@ -28,19 +25,6 @@
},
"homepage": "https://github.com/universal-design-tokens/udt-js#readme",
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"babel-core": "^7.0.0-bridge.0",
"eslint": "^5.7.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0",
"jest": "^23.6.0",
"rimraf": "^2.6.2"
},
"engines": {
"node": ">= 8.9.4",
"npm": ">= 5.6.0"
"lerna": "^3.4.3"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions packages/core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# UDT Core JavaScript library

A Node.js library for parsing, manipulating and serialising design token data in the UDT (Universal Design Tokens) format.
File renamed without changes.
Loading

0 comments on commit 68966a3

Please sign in to comment.