Skip to content

Commit 4cbc6b5

Browse files
authored
Merge pull request #31 from Himenon/remove-console-log
fix: remove console log
2 parents ae06f95 + 139ca8c commit 4cbc6b5

File tree

11 files changed

+20
-32
lines changed

11 files changed

+20
-32
lines changed

.prettierrc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
2-
"tabWidth": 2,
3-
"semi": true,
4-
"trailingComma": "all",
5-
"bracketSpacing": true,
6-
"printWidth": 144
7-
}
8-
2+
"tabWidth": 2,
3+
"semi": true,
4+
"trailingComma": "all",
5+
"bracketSpacing": true,
6+
"printWidth": 144
7+
}

CHANGELOG.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

66
<a name="0.3.5"></a>
7+
78
## 0.3.5 (2020-01-15)
89

910
**Note:** Version bump only for package code-dependency
1011

11-
12-
13-
14-
1512
<a name="0.3.4"></a>
1613

1714
## 0.3.4 (2020-01-08)

lerna.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,10 @@
1111
"publish": {
1212
"access": "public",
1313
"allowBranch": "master",
14-
"ignoreChanges": [
15-
"CHANGELOG.md"
16-
]
14+
"ignoreChanges": ["CHANGELOG.md"]
1715
}
1816
},
19-
"packages": [
20-
"packages/*"
21-
],
17+
"packages": ["packages/*"],
2218
"version": "0.3.5",
2319
"npmClient": "yarn",
2420
"registry": "https://registry.npmjs.org/",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"commit": "npx git-cz",
1717
"cruiser": "lerna run cruiser",
1818
"develop": "yarn run build:lib --verbose -w",
19-
"format": "yarn lint --fix && prettier --write \"**/*.{ts,tsx,js,jsx,json,yml,yaml,html,md,scss}\"",
19+
"format": "yarn lint --fix && prettier --write \"**/*.{ts,tsx,js,jsx,json,yml,yaml,html,scss}\"",
2020
"generate:sample": "./bin/generate-sample.sh",
2121
"initialize": "run-s bootstrap clean:all setup build:lib",
2222
"lint": "eslint -c ./.eslintrc.js 'packages/**/*.{ts,tsx}'",
@@ -47,6 +47,7 @@
4747
"@types/resolve": "^1.14.0",
4848
"@typescript-eslint/eslint-plugin": "^2.13.0",
4949
"@typescript-eslint/parser": "^2.13.0",
50+
"cross-env": "^6.0.3",
5051
"dependency-cruiser": "^6.1.0",
5152
"eslint": "^6.8.0",
5253
"eslint-plugin-import": "^2.19.1",

packages/cli/CHANGELOG.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

66
<a name="0.3.5"></a>
7+
78
## 0.3.5 (2020-01-15)
89

910
**Note:** Version bump only for package @code-dependency/cli
1011

11-
12-
13-
14-
1512
<a name="0.3.4"></a>
1613

1714
## 0.3.4 (2020-01-08)

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"code-dependency": "./bin/code-dependency.js"
2828
},
2929
"scripts": {
30-
"build": "cross-env NODE_ENV=production yarn build:webpack",
31-
"build:dev": "cross-env NODE_ENV=development yarn build:webpack",
30+
"build": "cross-env-shell NODE_ENV=production yarn build:webpack",
31+
"build:dev": "cross-env-shell NODE_ENV=development yarn build:webpack",
3232
"build:lib": "tsc -b tsconfig.json",
3333
"build:webpack": "webpack --config ./scripts/build.ts",
3434
"clean": "rimraf ./lib ./build ./dist",

packages/cli/scripts/webpack.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export interface Option {
1212
}
1313

1414
export const generateConfig = ({ isProduction }: Option): webpack.Configuration[] => {
15+
console.log(`isProduction = ${isProduction}`);
1516
const tsLoader: webpack.RuleSetUse = {
1617
loader: "ts-loader",
1718
options: {

packages/view/CHANGELOG.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

66
<a name="0.3.5"></a>
7+
78
## 0.3.5 (2020-01-15)
89

910
**Note:** Version bump only for package @code-dependency/view
1011

11-
12-
13-
14-
1512
<a name="0.3.4"></a>
1613

1714
## 0.3.4 (2020-01-08)

packages/view/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"main": "./lib/application.lib.js",
1919
"types": "./lib/index.d.ts",
2020
"scripts": {
21-
"build": "yarn clean && cross-env NODE_ENV=production yarn build:webpack && yarn build:lib",
22-
"build:dev": "yarn clean && cross-env NODE_ENV=development yarn build:webpack && yarn build:lib",
21+
"build": "yarn clean && cross-env-shell NODE_ENV=production yarn build:webpack && yarn build:lib",
22+
"build:dev": "yarn clean && cross-env-shell NODE_ENV=development yarn build:webpack && yarn build:lib",
2323
"build:lib": "tsc -p tsconfig.json --emitDeclarationOnly",
2424
"build:webpack": "yarn ts ./scripts/build.ts",
2525
"clean": "rimraf ./lib ./dist ./build tsconfig.tsbuildinfo",
26-
"develop": "cross-env NODE_ENV=development yarn ts ./scripts/develop.ts",
26+
"develop": "cross-env-shell NODE_ENV=development yarn ts ./scripts/develop.ts",
2727
"serve": "serve dist",
2828
"start": "yarn develop",
2929
"test": "jest -c jest.config.json",

packages/view/scripts/webpack.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export interface Option {
4646
}
4747

4848
export const generateConfig = ({ isProduction, isLibrary, ...option }: Option): webpack.Configuration => {
49+
console.log(`isProduction = ${isProduction}`);
4950
// const isCI = process.env.CI;
5051
const publicPath = generatePublicPath(isProduction);
5152

0 commit comments

Comments
 (0)