Update TypeScript version and Angular dependencies in icons-angular package
This commit is contained in:
parent
33b01509a6
commit
8e89636680
|
|
@ -90,7 +90,7 @@
|
||||||
"svgpath": "^2.6.0",
|
"svgpath": "^2.6.0",
|
||||||
"svgson": "^5.3.1",
|
"svgson": "^5.3.1",
|
||||||
"turbo": "^2.6.3",
|
"turbo": "^2.6.3",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "~5.9.3",
|
||||||
"vite": "^7.3.0",
|
"vite": "^7.3.0",
|
||||||
"vitest": "^4.0.16"
|
"vitest": "^4.0.16"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -37,5 +37,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"cli": {
|
||||||
|
"analytics": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ const componentTemplate = ({ type, name, namePascal, children }) => {
|
||||||
const indexItemTemplate = ({
|
const indexItemTemplate = ({
|
||||||
_,
|
_,
|
||||||
namePascal
|
namePascal
|
||||||
}) => `export { default as ${namePascal}} from './${namePascal}';`;
|
}) => `export { default as ${namePascal}} from './Icon${namePascal}';`;
|
||||||
|
|
||||||
const aliasTemplate = ({ fromPascal, toPascal }) => `export { default as Icon${fromPascal}} from './icons/Icon${toPascal}';\n`;
|
const aliasTemplate = ({ fromPascal, toPascal }) => `export { default as Icon${fromPascal}} from './icons/Icon${toPascal}';\n`;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
|
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
|
||||||
"dest": "dist/icons-angular",
|
"dest": "dist",
|
||||||
"lib": {
|
"lib": {
|
||||||
"entryFile": "src/public-api.ts"
|
"entryFile": "src/public-api.ts"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
"name": "@tabler/icons-angular",
|
"name": "@tabler/icons-angular",
|
||||||
"version": "3.7.0-alpha.1",
|
"version": "3.7.0-alpha.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "BG-Software",
|
|
||||||
"description": "A set of free MIT-licensed high-quality SVG icons for you to use in your Angular projects.",
|
"description": "A set of free MIT-licensed high-quality SVG icons for you to use in your Angular projects.",
|
||||||
"homepage": "https://tabler.io/icons",
|
"homepage": "https://tabler.io/icons",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
@ -17,14 +16,17 @@
|
||||||
"url": "git+https://github.com/tabler/tabler-icons.git",
|
"url": "git+https://github.com/tabler/tabler-icons.git",
|
||||||
"directory": "packages/icons-angular"
|
"directory": "packages/icons-angular"
|
||||||
},
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"directory": "dist"
|
||||||
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm run clean && pnpm run copy:license && pnpm run build:icons && pnpm typecheck && pnpm run build:ng",
|
"build": "npm run clean && npm run copy:license && npm run build:icons && npm run typecheck && npm run build:ng",
|
||||||
"build:icons": "node build.mjs",
|
"build:icons": "node build.mjs",
|
||||||
"build:ng": "ng build --configuration=production",
|
"build:ng": "ng build --configuration=production",
|
||||||
"copy:license": "cp ../../LICENSE ./LICENSE",
|
"copy:license": "cp ../../LICENSE ./LICENSE",
|
||||||
"clean": "rm -rf dist && find . ! -name '.gitkeep' -path '*/src/icons/*' -exec rm -rf {} +",
|
"clean": "rm -rf dist && find src/icons -mindepth 1 ! -name '.gitkeep' -delete",
|
||||||
"typecheck": "tsc",
|
"typecheck": "tsc -p tsconfig.lib.json",
|
||||||
"test": "ng test --no-watch --no-progress",
|
"test": "ng test --no-watch --no-progress",
|
||||||
"test:watch": "ng test"
|
"test:watch": "ng test"
|
||||||
},
|
},
|
||||||
|
|
@ -32,15 +34,15 @@
|
||||||
"module": "./dist/index.mjs",
|
"module": "./dist/index.mjs",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^17.3.3",
|
"@angular-devkit/build-angular": "^21.0.4",
|
||||||
"@angular/animations": "^17.3.3",
|
"@angular/animations": "^21.0.6",
|
||||||
"@angular/cli": "^17.2.2",
|
"@angular/cli": "^21.0.4",
|
||||||
"@angular/common": "^17.3.3",
|
"@angular/common": "^21.0.6",
|
||||||
"@angular/compiler": "^17.3.3",
|
"@angular/compiler": "^21.0.6",
|
||||||
"@angular/compiler-cli": "^17.3.3",
|
"@angular/compiler-cli": "^21.0.6",
|
||||||
"@angular/core": "^17.3.3",
|
"@angular/core": "^21.0.6",
|
||||||
"@angular/platform-browser": "^17.3.3",
|
"@angular/platform-browser": "^21.0.6",
|
||||||
"@angular/platform-browser-dynamic": "^17.3.3",
|
"@angular/platform-browser-dynamic": "^21.0.6",
|
||||||
"@prettier/sync": "^0.5.1",
|
"@prettier/sync": "^0.5.1",
|
||||||
"@types/jasmine": "~5.1.0",
|
"@types/jasmine": "~5.1.0",
|
||||||
"jasmine-core": "~5.1.0",
|
"jasmine-core": "~5.1.0",
|
||||||
|
|
@ -49,14 +51,14 @@
|
||||||
"karma-coverage": "~2.2.0",
|
"karma-coverage": "~2.2.0",
|
||||||
"karma-jasmine": "~5.1.0",
|
"karma-jasmine": "~5.1.0",
|
||||||
"karma-jasmine-html-reporter": "~2.1.0",
|
"karma-jasmine-html-reporter": "~2.1.0",
|
||||||
"ng-packagr": "^17.3.0",
|
"ng-packagr": "^21.0.1",
|
||||||
"tslib": "^2.3.0",
|
"tslib": "^2.3.0",
|
||||||
"typescript": "~5.3.2",
|
"typescript": "~5.9.3",
|
||||||
"zone.js": "~0.14.3"
|
"zone.js": "~0.14.3"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/common": "16.x - 18.x",
|
"@angular/common": "16.x - 21.x",
|
||||||
"@angular/core": "16.x - 18.x",
|
"@angular/core": "16.x - 21.x",
|
||||||
"@tabler/icons": "^3.7.0"
|
"@tabler/icons": "^3.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"icons-angular": [
|
"icons-angular": [
|
||||||
"./dist/icons-angular"
|
"./dist"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"useDefineForClassFields": false,
|
"useDefineForClassFields": false,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,12 @@
|
||||||
"inlineSources": true,
|
"inlineSources": true,
|
||||||
"types": []
|
"types": []
|
||||||
},
|
},
|
||||||
|
"include": [
|
||||||
|
"src/**/*.ts"
|
||||||
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"**/*.spec.ts"
|
"**/*.spec.ts",
|
||||||
|
"out-tsc",
|
||||||
|
"dist"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@
|
||||||
"jsdom": "^25.0.1",
|
"jsdom": "^25.0.1",
|
||||||
"svelte": "^5.0.0",
|
"svelte": "^5.0.0",
|
||||||
"svelte-check": "^4.3.4",
|
"svelte-check": "^4.3.4",
|
||||||
"typescript": "^5.7.3",
|
"typescript": "^5.9.3",
|
||||||
"vite": "^7.2.7",
|
"vite": "^7.2.7",
|
||||||
"vitest": "^3.0.8"
|
"vitest": "^3.0.8"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
4522
pnpm-lock.yaml
4522
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "test-angular",
|
"name": "test-angular",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "3.7.0-alpha.1",
|
"version": "3.36.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
|
|
@ -27,6 +27,6 @@
|
||||||
"@angular-devkit/build-angular": "^17.3.8",
|
"@angular-devkit/build-angular": "^17.3.8",
|
||||||
"@angular/cli": "^17.3.8",
|
"@angular/cli": "^17.3.8",
|
||||||
"@angular/compiler-cli": "^17.3.11",
|
"@angular/compiler-cli": "^17.3.11",
|
||||||
"typescript": "~5.3.2"
|
"typescript": "~5.9.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue