@scalar/icons 0.1.2 → 0.1.3

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.
@@ -1 +1 @@
1
- {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAuCpC,kCAAkC;AAClC,eAAO,MAAM,YAAY,EAAE,cAAc,EAA6B,CAAA;AAKtE,eAAO,MAAM,cAAc,QAAS,MAAM,KAAG,SAAS,GAAG,SAExD,CAAA"}
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAkCpC,kCAAkC;AAClC,eAAO,MAAM,YAAY,EAAE,cAAc,EAA6B,CAAA;AAKtE,eAAO,MAAM,cAAc,QAAS,MAAM,KAAG,SAAS,GAAG,SAExD,CAAA"}
package/dist/icons.js CHANGED
@@ -180,9 +180,7 @@ function We(o) {
180
180
  },
181
181
  rawData: s
182
182
  };
183
- }), t = r.map((e) => e.icon), n = Object.fromEntries(
184
- r.map((e) => [e.icon.src, e.rawData])
185
- );
183
+ }), t = r.map((e) => e.icon), n = Object.fromEntries(r.map((e) => [e.icon.src, e.rawData]));
186
184
  return {
187
185
  iconDefinitionList: t,
188
186
  iconDataMap: n
package/package.json CHANGED
@@ -7,10 +7,10 @@
7
7
  "bugs": "https://github.com/scalar/scalar/issues/new/choose",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/scalar/scalar.git",
10
+ "url": "git+https://github.com/scalar/scalar.git",
11
11
  "directory": "packages/icons"
12
12
  },
13
- "version": "0.1.2",
13
+ "version": "0.1.3",
14
14
  "engines": {
15
15
  "node": ">=18"
16
16
  },
@@ -35,15 +35,17 @@
35
35
  "svglint": "^2.7.1",
36
36
  "vite": "^5.4.10",
37
37
  "vite-svg-loader": "^5.1.0",
38
- "@scalar/build-tooling": "0.1.12"
38
+ "@scalar/build-tooling": "0.1.13"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "pnpm update:icons && pnpm prettier --write README.md && scalar-build-vite",
42
- "update:icons": "vite-node ./scripts/update-list-of-icons.ts",
42
+ "format": "scalar-format",
43
+ "format:check": "scalar-format-check",
43
44
  "lint:check": "eslint . && pnpm lint:icons",
44
45
  "lint:fix": "eslint . --fix",
45
46
  "lint:icons": "svglint src/icons/*.svg --config .svglintrc.js",
46
47
  "types:build": "scalar-types-build-vue",
47
- "types:check": "scalar-types-check-vue"
48
+ "types:check": "scalar-types-check-vue",
49
+ "update:icons": "vite-node ./scripts/update-list-of-icons.ts"
48
50
  }
49
51
  }