@volvo-cars/css 0.6.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ .volvo_v0{--v-space-4:.25rem;--v-space-8:.5rem;--v-space-12:.75rem;--v-space-16:1rem;--v-space-20:1.25rem}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@volvo-cars/css",
3
3
  "description": "Volvo Cars shared CSS",
4
- "version": "0.6.0",
4
+ "version": "0.6.2",
5
5
  "license": "UNLICENSED",
6
6
  "sideEffects": false,
7
7
  "type": "module",
@@ -13,6 +13,7 @@
13
13
  "./tokens.css": "./dist/tokens.css",
14
14
  "./font-face.css": "./dist/font-face.css",
15
15
  "./unstable_styles.css": "./dist/unstable_styles.css",
16
+ "./unstable_tokens.css": "./dist/unstable_tokens.css",
16
17
  "./styles.json": "./dist/styles.json",
17
18
  "./tokens.json": "./dist/tokens.json",
18
19
  "./links": {
@@ -100,14 +101,16 @@
100
101
  },
101
102
  "scripts": {
102
103
  "build": "yarn run build:css && tsup",
103
- "build:prod": "rm -rf dist && yarn run build:css && tsup --sourcemap --minify && yarn run build:dts",
104
- "build:dts": "tsc -p tsconfig.build.json",
105
104
  "build:css": "node scripts/build-css.js",
106
105
  "build:css-types": "node scripts/build-types.js",
107
- "dev": "yarn run build:css && tsup --watch",
106
+ "build:dts": "tsc -p tsconfig.build.json",
107
+ "build:prod": "rm -rf dist && yarn run build:css && tsup --sourcemap --minify && yarn run build:dts",
108
+ "clean": "rm -rf .turbo dist && rm -rf *.tsbuildinfo",
109
+ "dev": "yarn run watch:js & yarn run watch:css",
108
110
  "test": "yarn run -T jest packages/css",
109
111
  "types:check": "tsc -b tsconfig.src-check.json tsconfig.tests.json --verbose",
110
- "clean": "rm -rf .turbo dist && rm -rf *.tsbuildinfo"
112
+ "watch:css": "chokidar \"src/**/*.css\" -c 'yarn run build:css'",
113
+ "watch:js": "tsup --watch"
111
114
  },
112
115
  "repository": {
113
116
  "type": "git",
@@ -118,8 +121,9 @@
118
121
  "@types/css-tree": "2.0.0",
119
122
  "@volvo-cars/browserslist-config": "workspace:*",
120
123
  "browserslist": "4.21.4",
121
- "css-tree": "2.3.0",
122
- "lightningcss": "1.17.1",
124
+ "chokidar-cli": "^3.0.0",
125
+ "css-tree": "2.3.1",
126
+ "lightningcss": "1.18.0",
123
127
  "lodash": "4.17.21",
124
128
  "tsup": "6.5.0",
125
129
  "typescript": "4.9.4"