Skip to content

Commit

Permalink
- updating build scripts to cleanup before build
Browse files Browse the repository at this point in the history
  • Loading branch information
ezolenko committed Oct 28, 2019
1 parent 6cfddd4 commit f330ba5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down

0 comments on commit f330ba5

Please sign in to comment.