Skip to content

Commit

Permalink
Revert "chore: copy d.ts files during build"
Browse files Browse the repository at this point in the history
This reverts commit 5d2c2e7.
  • Loading branch information
SimenB committed Mar 8, 2019
1 parent 912f731 commit 1b02db8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"camelcase": "^5.0.0",
"chalk": "^2.0.1",
"codecov": "^3.0.0",
"cp-file": "^6.1.0",
"debug": "^4.0.1",
"eslint": "^5.6.0",
"eslint-config-prettier": "^3.1.0",
Expand Down
12 changes: 0 additions & 12 deletions scripts/buildTs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const path = require('path');

const chalk = require('chalk');
const execa = require('execa');
const glob = require('glob');
const cpFile = require('cp-file');
const {getPackages, adjustToTerminalWidth, OK} = require('./buildUtils');

const packages = getPackages();
Expand All @@ -29,16 +27,6 @@ process.stdout.write(adjustToTerminalWidth('Building\n'));

try {
execa.sync('tsc', args, {stdio: 'inherit'});
packagesWithTs.forEach(p => {
const srcDir = path.resolve(p, 'src');
const buildDir = path.resolve(p, 'build');

glob.sync(path.join(srcDir, '**/*.d.ts')).forEach(file => {
const resultFile = path.resolve(buildDir, path.relative(srcDir, file));

cpFile.sync(file, resultFile);
});
});
process.stdout.write(`${OK}\n`);
} catch (e) {
process.stdout.write('\n');
Expand Down
24 changes: 0 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4040,17 +4040,6 @@ cosmiconfig@^5.0.5, cosmiconfig@^5.1.0:
lodash.get "^4.4.2"
parse-json "^4.0.0"

cp-file@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-6.1.0.tgz#b48d2d80577d4c5025c68eb597a38093c1dc9ccf"
integrity sha512-an34I0lJwKncRKjxe3uGWUuiIIVYsHHjBGKld3OQB56hfoPCYom31VysvfuysKqHLbz6drnqP5YrCfLw17I2kw==
dependencies:
graceful-fs "^4.1.2"
make-dir "^2.0.0"
nested-error-stacks "^2.0.0"
pify "^4.0.1"
safe-buffer "^5.0.1"

create-ecdh@^4.0.0:
version "4.0.3"
resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
Expand Down Expand Up @@ -8409,14 +8398,6 @@ make-dir@^1.0.0, make-dir@^1.2.0, make-dir@^1.3.0:
dependencies:
pify "^3.0.0"

make-dir@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==
dependencies:
pify "^4.0.1"
semver "^5.6.0"

make-fetch-happen@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-4.0.1.tgz#141497cb878f243ba93136c83d8aba12c216c083"
Expand Down Expand Up @@ -9136,11 +9117,6 @@ neo-async@^2.5.0:
resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.0.tgz#b9d15e4d71c6762908654b5183ed38b753340835"
integrity sha512-MFh0d/Wa7vkKO3Y3LlacqAEeHK0mckVqzDieUKTT+KGxi+zIpeVsFxymkIiRpbpDziHc290Xr9A1O4Om7otoRA==

nested-error-stacks@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61"
integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==

nice-try@^1.0.4:
version "1.0.5"
resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
Expand Down

0 comments on commit 1b02db8

Please sign in to comment.