Skip to content

Commit 6a81b8f

Browse files
committed
consistently use dist/ directory
This directory is the almost universal convention.
1 parent 4fe6f91 commit 6a81b8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+104
-104
lines changed

packages/amino/jasmine-testrunner.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.js
1111
const Jasmine = require("jasmine");
1212
const jasmine = new Jasmine();
1313
jasmine.loadConfig({
14-
spec_dir: "build",
14+
spec_dir: "dist",
1515
spec_files: ["**/*.spec.js"],
1616
helpers: [],
1717
random: false,

packages/amino/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
],
88
"license": "Apache-2.0",
99
"exports": {
10-
"default": "./build/index.js"
10+
"default": "./dist/index.js"
1111
},
12-
"types": "./build/index.d.ts",
12+
"types": "./dist/index.d.ts",
1313
"files": [
14-
"build/",
14+
"dist/",
1515
"*.md",
1616
"!*.spec.*",
1717
"!**/testdata/"
@@ -33,7 +33,7 @@
3333
"test-chrome": "yarn pack-web && karma start --single-run --browsers ChromeHeadless karma.conf.cjs",
3434
"test": "yarn build-or-skip && yarn test-node",
3535
"coverage": "nyc --reporter=text --reporter=lcov yarn test --quiet",
36-
"build": "rm -rf ./build && tsc",
36+
"build": "rm -rf ./dist/ && tsc",
3737
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
3838
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.cjs"
3939
},

packages/amino/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"baseUrl": ".",
5-
"outDir": "build",
5+
"outDir": "dist",
66
"rootDir": "src"
77
},
88
"include": [

packages/amino/webpack.web.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = [
99
{
1010
// bundle used for Karma tests
1111
target: target,
12-
entry: globSync("./build/**/*.spec.js", { dotRelative: true }).sort(),
12+
entry: globSync("./dist/**/*.spec.js", { dotRelative: true }).sort(),
1313
output: {
1414
asyncChunks: false,
1515
path: distdir,

packages/cosmwasm-stargate/jasmine-testrunner.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.js
1111
const Jasmine = require("jasmine");
1212
const jasmine = new Jasmine();
1313
jasmine.loadConfig({
14-
spec_dir: "build",
14+
spec_dir: "dist",
1515
spec_files: ["**/*.spec.js"],
1616
helpers: [],
1717
random: false,

packages/cosmwasm-stargate/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
],
88
"license": "Apache-2.0",
99
"exports": {
10-
"default": "./build/index.js"
10+
"default": "./dist/index.js"
1111
},
12-
"types": "./build/index.d.ts",
12+
"types": "./dist/index.d.ts",
1313
"files": [
14-
"build/",
14+
"dist/",
1515
"*.md",
1616
"!*.spec.*",
1717
"!**/testdata/"
@@ -28,7 +28,7 @@
2828
"docs": "typedoc",
2929
"format": "prettier --write --log-level warn \"./src/**/*.ts\"",
3030
"format-text": "prettier --write \"./*.md\"",
31-
"build": "rm -rf ./build && tsc",
31+
"build": "rm -rf ./dist/ && tsc",
3232
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
3333
"test-node": "yarn node jasmine-testrunner.cjs",
3434
"test-firefox": "yarn pack-web && karma start --single-run --browsers Firefox karma.conf.cjs",

packages/cosmwasm-stargate/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"baseUrl": ".",
5-
"outDir": "build",
5+
"outDir": "dist",
66
"experimentalDecorators": true,
77
"rootDir": "src"
88
},

packages/cosmwasm-stargate/webpack.web.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = [
99
{
1010
// bundle used for Karma tests
1111
target: target,
12-
entry: globSync("./build/**/*.spec.js", { dotRelative: true }).sort(),
12+
entry: globSync("./dist/**/*.spec.js", { dotRelative: true }).sort(),
1313
output: {
1414
asyncChunks: false,
1515
path: distdir,

packages/crypto/jasmine-testrunner.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const defaultSpecReporterConfig = require("../../jasmine-spec-reporter.config.js
1111
const Jasmine = require("jasmine");
1212
const jasmine = new Jasmine();
1313
jasmine.loadConfig({
14-
spec_dir: "build",
14+
spec_dir: "dist",
1515
spec_files: ["**/*.spec.js"],
1616
helpers: [],
1717
random: false,

packages/crypto/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
],
99
"license": "Apache-2.0",
1010
"exports": {
11-
"default": "./build/index.js"
11+
"default": "./dist/index.js"
1212
},
13-
"types": "./build/index.d.ts",
13+
"types": "./dist/index.d.ts",
1414
"files": [
15-
"build/",
15+
"dist/",
1616
"*.md",
1717
"!*.spec.*",
1818
"!**/testdata/"
@@ -34,7 +34,7 @@
3434
"test-chrome": "yarn pack-web && karma start --single-run --browsers ChromeHeadless karma.conf.cjs",
3535
"test": "yarn build-or-skip && yarn test-node",
3636
"coverage": "nyc --reporter=text --reporter=lcov yarn test --quiet",
37-
"build": "rm -rf ./build && tsc",
37+
"build": "rm -rf ./dist/ && tsc",
3838
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
3939
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.cjs"
4040
},

0 commit comments

Comments
 (0)