Skip to content

Commit

Permalink
chore: 🤖 update svgo to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharkazaz committed May 11, 2023
1 parent df13b0d commit 1314a49
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"start": "ng serve",
"test:generator": "npm run test --prefix svg-generator",
"run:generator": "node svg-generator/index.js",
"build:generator": "npm run build --prefix svg-generator",
"hooks:pre-commit": "node hooks/pre-commit.js && lint-staged",
"commit": "git-cz",
"build:lib": "ng build @ngneat/svg-icon --configuration production && cp -r README.md dist/ngneat/svg-icon",
Expand Down
8 changes: 6 additions & 2 deletions svg-generator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngneat/svg-generator",
"version": "6.0.0",
"version": "7.0.0",
"description": "svg generator",
"main": "generator.js",
"bin": {
Expand All @@ -11,7 +11,9 @@
},
"scripts": {
"start": "tsc --watch",
"prebuild": "rm -rf dist",
"build": "tsc",
"postbuild": "cp package.json dist",
"test": "npm run build && jest ./index.spec.js"
},
"keywords": [
Expand All @@ -21,14 +23,16 @@
],
"author": "Netanel Basal",
"license": "MIT",
"peerDependencies": {
"svgo": ">=3.0.0"
},
"dependencies": {
"camelcase": "6.2.0",
"chokidar": "3.5.3",
"cosmiconfig": "7.0.1",
"fs-extra": "10.1.0",
"glob": "8.0.3",
"lodash.kebabcase": "4.1.1",
"svgo": "2.8.0",
"typescript": "4.8.4",
"commander": "9.4.1"
},
Expand Down
7 changes: 4 additions & 3 deletions svg-generator/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* Generates corresponding '.d.ts' file. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
// "sourceMap": true, /* Generates corresponding '.map' file. */
// "outFile": "./", /* Concatenate and emit output to single file. */
// "outDir": "./", /* Redirect output structure to the directory. */
"outDir": "./dist", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
Expand Down Expand Up @@ -72,5 +72,6 @@
/* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true
/* Disallow inconsistently-cased references to the same file. */
}
},
"exclude": ["**/*.spec.ts", "node_modules"]
}

0 comments on commit 1314a49

Please sign in to comment.