2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-05 15:02:09 +00:00

chore: update local-pkg and remove deps

This commit is contained in:
userquin 2024-01-26 18:56:17 +01:00
parent 90177c840d
commit c55da19573
3 changed files with 373 additions and 507 deletions

View File

@ -19,7 +19,7 @@
"build": "unbuild",
"test:cjs": "vitest --config vitest.config.cjs",
"test:esm": "vitest --config vitest.config.mjs",
"test": "pnpm run test:cjs && pnpm run test:esm"
"test": "node ./scripts/prepare-tests.mjs && pnpm run test:cjs && pnpm run test:esm"
},
"sideEffects": false,
"main": "lib/index.cjs",
@ -413,11 +413,10 @@
"@iconify/types": "workspace:^",
"debug": "^4.3.4",
"kolorist": "^1.8.0",
"local-pkg": "^0.4.3"
"local-pkg": "^0.5.0"
},
"devDependencies": {
"@iconify-json/flat-color-icons": "^1.1.6",
"@test-scope/test-color-icons": "file:./tests/fixtures/@test-scope/test-color-icons",
"@types/debug": "^4.1.8",
"@types/jest": "^29.5.3",
"@types/node": "^18.17.1",
@ -425,7 +424,6 @@
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-prettier": "^5.0.0",
"plain-color-icons": "file:./tests/fixtures/plain-color-icons",
"rimraf": "^5.0.1",
"typescript": "^5.1.6",
"unbuild": "^1.2.1",

View File

@ -0,0 +1,13 @@
import fs from 'fs'
fs.cpSync(
'./tests/fixtures/plain-color-icons',
'./node_modules/plain-color-icons',
{ recursive: true }
)
fs.cpSync(
'./tests/fixtures/@test-scope/test-color-icons',
'./node_modules/@test-scope/test-color-icons',
{ recursive: true }
)

861
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff