Skip to content

Commit

Permalink
Revert "fix: patch postcss 7 and bundle it in the published npm packa…
Browse files Browse the repository at this point in the history
…ge (#111)"

This reverts commit cab504f.
  • Loading branch information
sodatea committed Jun 15, 2021
1 parent eba02d9 commit a9e3afd
Show file tree
Hide file tree
Showing 5 changed files with 694 additions and 954 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ node_modules
dist
coverage
.idea
third_party
14 changes: 3 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,12 @@
"typings": "dist/index.d.ts",
"files": [
"dist",
"lib",
"third_party"
"lib"
],
"scripts": {
"lint": "prettier --write \"{lib,test}/**/*.ts\"",
"pretest": "yarn clean && yarn patch-postcss",
"test": "prettier --list-different \"{lib,test}/**/*.ts\" && jest --coverage",
"clean": "rm -rf dist third_party",
"patch-postcss": "patch-package && mkdir -p third_party/postcss && cp -R node_modules/postcss third_party/",
"prebuild": "yarn clean && yarn patch-postcss",
"build": "ttsc",
"build": "rm -rf dist && tsc",
"prepublishOnly": "yarn build && conventional-changelog -p angular -r 2 -i CHANGELOG.md -s"
},
"gitHooks": {
Expand Down Expand Up @@ -51,15 +46,11 @@
"jest": "^24.0.0",
"less": "^3.9.0",
"lint-staged": "^8.1.1",
"patch-package": "^6.4.7",
"postcss": "^7.0.35",
"pug": "^2.0.3",
"sass": "^1.17.3",
"stylus": "^0.54.5",
"ts-jest": "^24.0.0",
"ttypescript": "^1.5.12",
"typescript": "^3.3.0",
"typescript-transform-paths": "^2.2.4",
"vue": "^2.6.6",
"vue-template-compiler": "^2.6.6",
"yorkie": "^2.0.0"
Expand All @@ -69,6 +60,7 @@
"hash-sum": "^1.0.2",
"lru-cache": "^4.1.2",
"merge-source-map": "^1.1.0",
"postcss": "^7.0.14",
"postcss-selector-parser": "^6.0.2",
"source-map": "~0.6.1",
"vue-template-es2015-compiler": "^1.9.0"
Expand Down
18 changes: 0 additions & 18 deletions patches/postcss+7.0.35.patch

This file was deleted.

7 changes: 0 additions & 7 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@
"lib": [
"es6",
"es7"
],
"paths": {
"postcss": ["third_party/postcss"]
},
"plugins": [
{ "transform": "typescript-transform-paths" },
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
},
"include": [
Expand Down
Loading

0 comments on commit a9e3afd

Please sign in to comment.