Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3070 from trufflesuite/doot-de-doo
Browse files Browse the repository at this point in the history
Some minor internal improvements
  • Loading branch information
haltman-at authored May 22, 2020
2 parents 567181a + dd8567d commit 6e07c4b
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions packages/artifactor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/artifactor",
"version": "4.0.60",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepare": "yarn build",
Expand Down
1 change: 1 addition & 0 deletions packages/artifactor/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
Expand Down
1 change: 1 addition & 0 deletions packages/blockchain-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
Expand Down
1 change: 1 addition & 0 deletions packages/box/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
Expand Down
1 change: 1 addition & 0 deletions packages/code-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
Expand Down
4 changes: 2 additions & 2 deletions packages/codec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"scripts": {
"docs": "./scripts/generate-docs",
"prepare": "yarn build",
"build": "node_modules/.bin/ttsc",
"start": "node_modules/.bin/ttsc --watch"
"build": "ttsc",
"start": "ttsc --watch"
},
"repository": "https://github.com/trufflesuite/truffle/tree/master/packages/codec",
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/decoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"scripts": {
"prepare": "yarn build",
"build": "node_modules/.bin/tsc --declaration",
"start": "node_modules/.bin/tsc --watch",
"build": "tsc",
"start": "tsc --watch",
"test": "cd test/current && npx truffle test && cd ../legacy && npx truffle test"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/decoder/test/current/test/downgrade-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Big = require("big.js");
const clonedeep = require("lodash.clonedeep");

const Decoder = require("../../..");
const Codec = require("../../../../codec");
const Codec = require("@truffle/codec");

const DowngradeTest = artifacts.require("DowngradeTest");
const DowngradeTestParent = artifacts.require("DowngradeTestParent");
Expand Down
2 changes: 1 addition & 1 deletion packages/decoder/test/current/test/wire-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const assert = require("chai").assert;
const BN = require("bn.js");

const Decoder = require("../../..");
const Codec = require("../../../../codec");
const Codec = require("@truffle/codec");

const WireTest = artifacts.require("WireTest");
const WireTestParent = artifacts.require("WireTestParent");
Expand Down
2 changes: 1 addition & 1 deletion packages/decoder/test/legacy/test/shadow-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const debug = require("debug")("decoder:test:shadow-test");
const assert = require("chai").assert;

const Decoder = require("../../..");
const Codec = require("../../../../codec");
const Codec = require("@truffle/codec");

const ShadowBase = artifacts.require("ShadowBase");
const ShadowDerived = artifacts.require("ShadowDerived");
Expand Down
1 change: 1 addition & 0 deletions packages/decoder/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"esModuleInterop": true,
"target": "es5",
Expand Down
1 change: 1 addition & 0 deletions packages/interface-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"version": "0.4.7",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"lib": "lib"
},
Expand Down
1 change: 1 addition & 0 deletions packages/interface-adapter/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"esModuleInterop": true,
"target": "es6",
Expand Down

0 comments on commit 6e07c4b

Please sign in to comment.