origam 2.6.3 → 2.7.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "origam",
3
- "version": "2.6.3",
3
+ "version": "2.7.1",
4
4
  "type": "module",
5
5
  "description": "origam — a Vue 3 design system with multi-theme design tokens, CSS-first components and TypeScript types.",
6
6
  "keywords": [
@@ -76,6 +76,7 @@
76
76
  "./components": "./dist/src/components/index.js",
77
77
  "./components/*": "./dist/src/components/*/index.js",
78
78
  "./composables": "./dist/src/composables/index.js",
79
+ "./themes": "./dist/src/themes/index.js",
79
80
  "./directives": "./dist/src/directives/index.js",
80
81
  "./enums": "./dist/src/enums/index.js",
81
82
  "./consts": "./dist/src/consts/index.js",
@@ -92,17 +93,31 @@
92
93
  "README.md",
93
94
  "CHANGELOG.md"
94
95
  ],
96
+ "scripts": {
97
+ "build": "pnpm run tokens:build && pnpm run styles:build && unbuild",
98
+ "lib:build": "pnpm run build",
99
+ "type-check": "vue-tsc --noEmit -p tsconfig.json",
100
+ "type-check:canary": "node scripts/nounusedlocals-canary.mjs",
101
+ "tokens:build": "node scripts/build-tokens.mjs",
102
+ "styles:build": "sass src/assets/scss/main.scss src/assets/css/main.css --no-source-map --style=compressed",
103
+ "tokens:watch": "node scripts/build-tokens.mjs --watch",
104
+ "tokens:lint": "node scripts/build-tokens.mjs --dry-run --strict",
105
+ "prepublishOnly": "pnpm run build"
106
+ },
95
107
  "dependencies": {
96
108
  "@mdi/font": "^7.4.47",
97
- "qrcode-generator": "^2.0.4",
98
- "shiki": "^4.3.0"
109
+ "qrcode-generator": "^2.0.4"
99
110
  },
100
111
  "peerDependencies": {
112
+ "shiki": "^4.3.1",
101
113
  "vue": "^3.5.0",
102
114
  "vue-i18n": "^11.0.0",
103
115
  "vue-router": "^4.5.0"
104
116
  },
105
117
  "peerDependenciesMeta": {
118
+ "shiki": {
119
+ "optional": true
120
+ },
106
121
  "vue-i18n": {
107
122
  "optional": true
108
123
  },
@@ -112,9 +127,9 @@
112
127
  },
113
128
  "devDependencies": {
114
129
  "@nuxt/kit": "^4.4.5",
115
- "@types/node": "^26.1.0",
116
130
  "@tokens-studio/sd-transforms": "^2.0.3",
117
- "@vitejs/plugin-vue": "^6.0.0",
131
+ "@types/node": "^26.1.0",
132
+ "@vitejs/plugin-vue": "^6.0.7",
118
133
  "sass": "^1.89.2",
119
134
  "style-dictionary": "^5.5.0",
120
135
  "ts-transformer-keys": "^0.4.4",
@@ -124,16 +139,8 @@
124
139
  "vite": "^7.0.5",
125
140
  "vite-plugin-commonjs": "^0.10.4",
126
141
  "vite-tsconfig-paths": "^5.1.4",
127
- "vue": "^3.5.17",
142
+ "vue": "3.5.39",
128
143
  "vue-sfc-transformer": "^0.1.16",
129
- "vue-tsc": "^3.0.2"
130
- },
131
- "scripts": {
132
- "build": "pnpm run tokens:build && unbuild",
133
- "lib:build": "pnpm run build",
134
- "type-check": "vue-tsc --noEmit -p tsconfig.json",
135
- "tokens:build": "node scripts/build-tokens.mjs",
136
- "tokens:watch": "node scripts/build-tokens.mjs --watch",
137
- "tokens:lint": "node scripts/build-tokens.mjs --dry-run --strict"
144
+ "vue-tsc": "^3.3.6"
138
145
  }
139
- }
146
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Prioul Arnaud
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.