diff --git a/.editorconfig b/.editorconfig index a088521..747f56c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -41,7 +41,3 @@ indent_size=2 [{.analysis_options,*.yml,*.yaml}] indent_style=space indent_size=2 - -[tslint.json] -indent_style=space -indent_size=2 diff --git a/package.json b/package.json index 598a077..1cd55d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ng-alain-plugin-theme", - "version": "16.0.0", + "version": "16.0.1", "description": "NG-ALAIN theme plugin", "keywords": [ "delon", @@ -20,6 +20,7 @@ "bin": { "ng-alain-plugin-theme": "lib/index.js" }, + "sideEffects": false, "scripts": { "tsc": "tsc", "watch": "tsc --w", @@ -28,24 +29,21 @@ "build:test": "bash ./build.sh -t", "test": "TS_NODE_PROJECT=./test/tsconfig.json npm run mocha --recursive ./test/**/*.spec.ts", "mocha": "mocha -r ts-node/register", - "release": "npm run build && cd dist && npm publish --access public" + "release": "npm run build && cd dist && npm publish --access public", + "release:next": "npm run build && cd dist && npm publish --access public --tag next" }, "dependencies": { "meow": "^9.0.0", + "jsonc-parser": "^3.2.0", + "less": "^4.1.3", "less-plugin-clean-css": "^1.5.1", "less-vars-to-js": "^1.3.0", "postcss-less": "^6.0.0", "postcss": "^8.4.18" }, - "peerDependencies": { - "jsonc-parser": "^3.0.0", - "less": "^4.1.3" - }, "devDependencies": { - "@delon/abc": "^14.1.1", - "@delon/chart": "^14.1.1", - "@delon/form": "^14.1.1", - "@delon/theme": "^14.1.1", + "ng-zorro-antd": "^16.2.2", + "@delon/theme": "^16.4.2", "@types/chai": "^4.3.3", "@types/less": "^3.0.3", "@types/meow": "^6.0.0", @@ -55,11 +53,7 @@ "@typescript-eslint/parser": "^5.41.0", "chai": "^4.3.6", "eslint": "^8.26.0", - "jsonc-parser": "^3.2.0", - "less": "^4.1.3", - "meow": "^9.0.0", "mocha": "^10.1.0", - "ng-zorro-antd": "^14.1.1", "postcss": "^8.4.18", "postcss-less": "^6.0.0", "ts-node": "^10.9.1", diff --git a/tslint.json b/tslint.json deleted file mode 100644 index 2d94321..0000000 --- a/tslint.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "defaultSeverity": "error", - "extends": [ - "tslint:latest", - "tslint-config-prettier" - ], - "rules": { - "no-console": false, - "quotemark": [ - true, - "single" - ], - "semicolon": [ - true, - "always" - ], - "object-literal-sort-keys": false, - "no-implicit-dependencies": false, - "interface-name": [ - true, - "never-prefix" - ], - "no-var-requires": false, - "no-object-literal-type-assertion": false, - "no-conditional-assignment": false, - "curly": false, - "no-shadowed-variable": false, - "variable-name": false, - "no-submodule-imports": false - } -}