@crowdstrike/tailwind-toucan-base 3.0.5 → 3.2.0

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.
package/package.json CHANGED
@@ -1,53 +1,70 @@
1
1
  {
2
2
  "name": "@crowdstrike/tailwind-toucan-base",
3
- "version": "3.0.5",
3
+ "version": "3.2.0",
4
4
  "private": false,
5
5
  "description": "Tailwind preset for CrowdStrike's Toucan design system",
6
6
  "repository": "https://github.com/CrowdStrike/tailwind-toucan-base",
7
7
  "license": "MIT",
8
8
  "author": "CrowdStrike UX Team",
9
- "main": "index.js",
9
+ "main": "src/tailwind.config.js",
10
10
  "files": [
11
- "index.js",
11
+ "src",
12
12
  "index.css",
13
13
  "themes.json",
14
- "toucan.css",
15
- "plugins/**/*.js"
14
+ "toucan.css"
16
15
  ],
16
+ "exports": {
17
+ ".": "./src/tailwind.config.js",
18
+ "./themes": "./src/themes.json",
19
+ "./themes.json": "./src/themes.json",
20
+ "./theme-data": "./src/theme-data.js"
21
+ },
22
+ "typesVersions": {
23
+ "*": {
24
+ "types": [
25
+ "./src/types.d.ts"
26
+ ],
27
+ "theme-data": [
28
+ "./src/theme-data.d.ts"
29
+ ]
30
+ }
31
+ },
17
32
  "scripts": {
18
33
  "start": "pnpm run build && npx http-server ./dist",
19
- "build": "npm-run-all clean build:cdn build:alias build:preview",
20
- "build:preview": "node ./lib/build-preview.mjs",
21
- "build:cdn": "NODE_ENV=production tailwind build -i ./lib/index.css -o ./index.css -c ./lib/tailwind.config.cdn.js",
34
+ "build": "npm-run-all clean build:cdn build:alias build:preview build:theme-data",
35
+ "build:theme-data": "node ./build/theme-data.mjs",
36
+ "build:preview": "node ./build/preview/index.mjs",
37
+ "build:cdn": "NODE_ENV=production tailwind build -i ./build/input.css -o ./index.css -c ./build/tailwind.config.cdn.js",
22
38
  "clean": "rm -f ./toucan.css ./index.css",
23
39
  "build:alias": "cp index.css toucan.css",
24
40
  "figma:export-styles": "figma-export use-config",
25
- "test": "pnpm exec vitest --coverage --run",
41
+ "test": "pnpm --filter='tests' exec vitest --coverage --run",
26
42
  "lint:fix": "pnpm run lint:js --fix",
27
- "lint:js": "eslint ."
43
+ "lint:js": "eslint .",
44
+ "prepublishOnly": "pnpm build"
28
45
  },
29
46
  "dependencies": {
30
47
  "tailwindcss": "^2.2.15"
31
48
  },
32
49
  "devDependencies": {
33
- "@figma-export/cli": "3.3.1",
34
- "@nullvoxpopuli/eslint-configs": "2.2.20",
50
+ "@figma-export/cli": "4.4.0",
51
+ "@nullvoxpopuli/eslint-configs": "2.2.33",
35
52
  "@semantic-release/changelog": "^6.0.1",
36
53
  "@semantic-release/git": "^10.0.1",
37
54
  "@types/fs-extra": "^9.0.13",
38
55
  "autoprefixer": "^10.4.7",
39
56
  "c8": "^7.11.3",
40
57
  "common-tags": "^1.8.2",
41
- "eslint": "^8.16.0",
58
+ "eslint": "^8.19.0",
42
59
  "execa": "^6.1.0",
43
60
  "fs-extra": "^10.1.0",
44
61
  "npm-run-all": "^4.1.5",
45
- "pnpm": "^7.1.5",
62
+ "pnpm": "^7.5.0",
46
63
  "postcss": "^8.4.14",
47
- "semantic-release": "^19.0.2",
48
- "tailwind-config-viewer": "^1.7.0",
49
- "typescript": "^4.7.2",
50
- "vitest": "0.12.9"
64
+ "semantic-release": "^19.0.3",
65
+ "tailwind-config-viewer": "^1.7.1",
66
+ "typescript": "^4.7.4",
67
+ "vitest": "0.17.0"
51
68
  },
52
69
  "engines": {
53
70
  "node": ">=14.15.0"
@@ -69,10 +86,10 @@
69
86
  "@semantic-release/git"
70
87
  ]
71
88
  },
72
- "packageManager": "pnpm@7.1.5",
89
+ "packageManager": "pnpm@7.5.0",
73
90
  "volta": {
74
91
  "node": "16.15.0",
75
- "yarn": "1.22.18",
76
- "npm": "8.10.0"
92
+ "yarn": "1.22.19",
93
+ "npm": "8.13.2"
77
94
  }
78
95
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes