Skip to content

Commit a9e3afd

Browse files
committed
Revert "fix: patch postcss 7 and bundle it in the published npm package (#111)"
This reverts commit cab504f.
1 parent eba02d9 commit a9e3afd

File tree

5 files changed

+694
-954
lines changed

5 files changed

+694
-954
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ node_modules
44
dist
55
coverage
66
.idea
7-
third_party

Diff for: package.json

+3-11
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,12 @@
66
"typings": "dist/index.d.ts",
77
"files": [
88
"dist",
9-
"lib",
10-
"third_party"
9+
"lib"
1110
],
1211
"scripts": {
1312
"lint": "prettier --write \"{lib,test}/**/*.ts\"",
14-
"pretest": "yarn clean && yarn patch-postcss",
1513
"test": "prettier --list-different \"{lib,test}/**/*.ts\" && jest --coverage",
16-
"clean": "rm -rf dist third_party",
17-
"patch-postcss": "patch-package && mkdir -p third_party/postcss && cp -R node_modules/postcss third_party/",
18-
"prebuild": "yarn clean && yarn patch-postcss",
19-
"build": "ttsc",
14+
"build": "rm -rf dist && tsc",
2015
"prepublishOnly": "yarn build && conventional-changelog -p angular -r 2 -i CHANGELOG.md -s"
2116
},
2217
"gitHooks": {
@@ -51,15 +46,11 @@
5146
"jest": "^24.0.0",
5247
"less": "^3.9.0",
5348
"lint-staged": "^8.1.1",
54-
"patch-package": "^6.4.7",
55-
"postcss": "^7.0.35",
5649
"pug": "^2.0.3",
5750
"sass": "^1.17.3",
5851
"stylus": "^0.54.5",
5952
"ts-jest": "^24.0.0",
60-
"ttypescript": "^1.5.12",
6153
"typescript": "^3.3.0",
62-
"typescript-transform-paths": "^2.2.4",
6354
"vue": "^2.6.6",
6455
"vue-template-compiler": "^2.6.6",
6556
"yorkie": "^2.0.0"
@@ -69,6 +60,7 @@
6960
"hash-sum": "^1.0.2",
7061
"lru-cache": "^4.1.2",
7162
"merge-source-map": "^1.1.0",
63+
"postcss": "^7.0.14",
7264
"postcss-selector-parser": "^6.0.2",
7365
"source-map": "~0.6.1",
7466
"vue-template-es2015-compiler": "^1.9.0"

Diff for: patches/postcss+7.0.35.patch

-18
This file was deleted.

Diff for: tsconfig.json

-7
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@
1717
"lib": [
1818
"es6",
1919
"es7"
20-
],
21-
"paths": {
22-
"postcss": ["third_party/postcss"]
23-
},
24-
"plugins": [
25-
{ "transform": "typescript-transform-paths" },
26-
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
2720
]
2821
},
2922
"include": [

0 commit comments

Comments
 (0)