- updating build scripts to cleanup before build

This commit is contained in:
Eugene Zolenko 2019-10-28 11:09:58 -06:00
parent 6cfddd4f74
commit f330ba580e
4 changed files with 6 additions and 6 deletions

View File

@ -27283,7 +27283,7 @@ const typescript = (options) => {
context.info(`rollup version: ${this.meta.rollupVersion}`);
if (!semver_32(tsModule.version, ">=2.4.0", { includePrerelease: true }))
throw new Error(`Installed typescript version '${tsModule.version}' is outside of supported range '>=2.4.0'`);
context.info(`rollup-plugin-typescript2 version: 0.25.1`);
context.info(`rollup-plugin-typescript2 version: 0.25.2`);
context.debug(() => `plugin options:\n${JSON.stringify(pluginOptions, (key, value) => key === "typescript" ? `version ${value.version}` : value, 4)}`);
context.debug(() => `rollup config:\n${JSON.stringify(rollupOptions, undefined, 4)}`);
context.debug(() => `tsconfig path: ${tsConfigPath}`);

View File

@ -27277,7 +27277,7 @@ const typescript = (options) => {
context.info(`rollup version: ${this.meta.rollupVersion}`);
if (!semver_32(tsModule.version, ">=2.4.0", { includePrerelease: true }))
throw new Error(`Installed typescript version '${tsModule.version}' is outside of supported range '>=2.4.0'`);
context.info(`rollup-plugin-typescript2 version: 0.25.1`);
context.info(`rollup-plugin-typescript2 version: 0.25.2`);
context.debug(() => `plugin options:\n${JSON.stringify(pluginOptions, (key, value) => key === "typescript" ? `version ${value.version}` : value, 4)}`);
context.debug(() => `rollup config:\n${JSON.stringify(rollupOptions, undefined, 4)}`);
context.debug(() => `tsconfig path: ${tsConfigPath}`);

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "rollup-plugin-typescript2",
"version": "0.25.1",
"version": "0.25.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "rollup-plugin-typescript2",
"version": "0.25.1",
"version": "0.25.2",
"description": "Seamless integration between Rollup and TypeScript. Now with errors.",
"main": "dist/rollup-plugin-typescript2.cjs.js",
"module": "dist/rollup-plugin-typescript2.es.js",
@ -23,9 +23,9 @@
"author": "@ezolenko",
"scripts": {
"prebuild": "rimraf dist/*",
"build": "rollup -c",
"build": "rimraf dist/* && rollup -c",
"watch": "rollup -c rollup.config.self.js -w ",
"build-self": "rollup -c rollup.config.self.js",
"build-self": "rimraf dist/* && rollup -c rollup.config.self.js",
"lint": "tslint -c ./tslint.json src/*.ts ./*.js"
},
"dependencies": {