Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 25e8f52

Browse files
committed
chore: simplify build
we no longer have Sass files in this package
1 parent b05a3b4 commit 25e8f52

File tree

4 files changed

+17
-39
lines changed

4 files changed

+17
-39
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
"lib/": true,
77
"coverage/": true,
88
},
9+
"typescript.tsdk": "node_modules/typescript/lib",
910
}

.vscode/tasks.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,17 @@
22
// See https://go.microsoft.com/fwlink/?LinkId=733558
33
// for the documentation about the tasks.json format
44
"version": "2.0.0",
5-
"tasks": [],
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"group": "build",
10+
"problemMatcher": ["$tsc-watch"],
11+
"label": "Watch TypeScript dist",
12+
"detail": "Watch distributed TypeScript files and build on file changes",
13+
"runOptions": {
14+
"runOn": "folderOpen",
15+
},
16+
},
17+
],
618
}

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"prettier-check": "npm run prettier -- --write=false",
1919
"typecheck": "tsc -p tsconfig.json",
2020
"tslint": "tslint -c tslint.json -p tsconfig.json './src/*.ts?(x)' './testdata/*.ts?(x)' './*.ts?(x)'",
21-
"build": "yarn run tsc && cpy 'src/**/*.scss' lib/",
22-
"tsc": "tsc -p tsconfig.dist.json",
21+
"build": "tsc -p tsconfig.dist.json",
22+
"watch": "yarn run build --watch",
2323
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' karma start",
2424
"pretest": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node ./testdata/generate.ts"
2525
},
@@ -53,7 +53,6 @@
5353
"@types/webpack-env": "1.15.1",
5454
"awesome-typescript-loader": "^5.2.1",
5555
"chai": "^4.2.0",
56-
"cpy-cli": "^2.0.0",
5756
"esm": "^3.2.25",
5857
"husky": "^4.2.1",
5958
"istanbul-instrumenter-loader": "^3.0.1",

yarn.lock

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2108,35 +2108,6 @@ cosmiconfig@^6.0.0:
21082108
path-type "^4.0.0"
21092109
yaml "^1.7.2"
21102110

2111-
cp-file@^6.0.0:
2112-
version "6.0.0"
2113-
resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-6.0.0.tgz#f38477ece100b403fcf780fd34d030486beb693e"
2114-
integrity sha512-OtHMgPugkgwHlbph25wlMKd358lZNhX1Y2viUpPoFmlBPlEiPIRhztYWha11grbGPnlM+urp5saVmwsChCIOEg==
2115-
dependencies:
2116-
graceful-fs "^4.1.2"
2117-
make-dir "^1.0.0"
2118-
nested-error-stacks "^2.0.0"
2119-
pify "^3.0.0"
2120-
safe-buffer "^5.0.1"
2121-
2122-
cpy-cli@^2.0.0:
2123-
version "2.0.0"
2124-
resolved "https://registry.yarnpkg.com/cpy-cli/-/cpy-cli-2.0.0.tgz#13f1528a231605c52ee7b7f74848e4be82253274"
2125-
integrity sha512-LzrtY3lBWvFZcw4lXgkEbbDUd7y78juC3C5l7gj3UyezMEZF0Be9fjCVLN1HoZAzdMDeC3KHehWpHBJvgVAPkw==
2126-
dependencies:
2127-
cpy "^7.0.0"
2128-
meow "^5.0.0"
2129-
2130-
cpy@^7.0.0:
2131-
version "7.0.1"
2132-
resolved "https://registry.yarnpkg.com/cpy/-/cpy-7.0.1.tgz#d817e4d81bd7f0f25ff812796c5f1392dc0fb485"
2133-
integrity sha512-Zo52tXKLJcgy/baacn6KaNoRAakkl2wb+R4u6qJ4wlD0uchncwRQcIk66PlGlkzuToCJO6A6PWX27Tdwc8LU2g==
2134-
dependencies:
2135-
arrify "^1.0.1"
2136-
cp-file "^6.0.0"
2137-
globby "^8.0.1"
2138-
nested-error-stacks "^2.0.0"
2139-
21402111
create-ecdh@^4.0.0:
21412112
version "4.0.3"
21422113
resolved "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
@@ -3378,7 +3349,7 @@ globals@^9.18.0:
33783349
resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
33793350
integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==
33803351

3381-
globby@^8.0.0, globby@^8.0.1:
3352+
globby@^8.0.0:
33823353
version "8.0.1"
33833354
resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.1.tgz#b5ad48b8aa80b35b814fc1281ecc851f1d2b5b50"
33843355
integrity sha512-oMrYrJERnKBLXNLVTqhm3vPEdJ/b2ZE28xN4YARiix1NOIOBPEpOUnm844K1iu/BkphCaf2WNFwMszv8Soi1pw==
@@ -5197,11 +5168,6 @@ nerf-dart@^1.0.0:
51975168
resolved "https://registry.yarnpkg.com/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a"
51985169
integrity sha1-5tq3/r9a2Bbqgc9cYpxaDr3nLBo=
51995170

5200-
nested-error-stacks@^2.0.0:
5201-
version "2.1.0"
5202-
resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61"
5203-
integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==
5204-
52055171
next-tick@1:
52065172
version "1.0.0"
52075173
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"

0 commit comments

Comments
 (0)