Skip to content

Commit

Permalink
Merge pull request #31 from Himenon/remove-console-log
Browse files Browse the repository at this point in the history
fix: remove console log
  • Loading branch information
Himenon authored Jan 15, 2020
2 parents ae06f95 + 139ca8c commit 4cbc6b5
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 32 deletions.
13 changes: 6 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"tabWidth": 2,
"semi": true,
"trailingComma": "all",
"bracketSpacing": true,
"printWidth": 144
}

"tabWidth": 2,
"semi": true,
"trailingComma": "all",
"bracketSpacing": true,
"printWidth": 144
}
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="0.3.5"></a>

## 0.3.5 (2020-01-15)

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





<a name="0.3.4"></a>

## 0.3.4 (2020-01-08)
Expand Down
8 changes: 2 additions & 6 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@
"publish": {
"access": "public",
"allowBranch": "master",
"ignoreChanges": [
"CHANGELOG.md"
]
"ignoreChanges": ["CHANGELOG.md"]
}
},
"packages": [
"packages/*"
],
"packages": ["packages/*"],
"version": "0.3.5",
"npmClient": "yarn",
"registry": "https://registry.npmjs.org/",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"commit": "npx git-cz",
"cruiser": "lerna run cruiser",
"develop": "yarn run build:lib --verbose -w",
"format": "yarn lint --fix && prettier --write \"**/*.{ts,tsx,js,jsx,json,yml,yaml,html,md,scss}\"",
"format": "yarn lint --fix && prettier --write \"**/*.{ts,tsx,js,jsx,json,yml,yaml,html,scss}\"",
"generate:sample": "./bin/generate-sample.sh",
"initialize": "run-s bootstrap clean:all setup build:lib",
"lint": "eslint -c ./.eslintrc.js 'packages/**/*.{ts,tsx}'",
Expand Down Expand Up @@ -47,6 +47,7 @@
"@types/resolve": "^1.14.0",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"cross-env": "^6.0.3",
"dependency-cruiser": "^6.1.0",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.19.1",
Expand Down
5 changes: 1 addition & 4 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="0.3.5"></a>

## 0.3.5 (2020-01-15)

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





<a name="0.3.4"></a>

## 0.3.4 (2020-01-08)
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"code-dependency": "./bin/code-dependency.js"
},
"scripts": {
"build": "cross-env NODE_ENV=production yarn build:webpack",
"build:dev": "cross-env NODE_ENV=development yarn build:webpack",
"build": "cross-env-shell NODE_ENV=production yarn build:webpack",
"build:dev": "cross-env-shell NODE_ENV=development yarn build:webpack",
"build:lib": "tsc -b tsconfig.json",
"build:webpack": "webpack --config ./scripts/build.ts",
"clean": "rimraf ./lib ./build ./dist",
Expand Down
1 change: 1 addition & 0 deletions packages/cli/scripts/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface Option {
}

export const generateConfig = ({ isProduction }: Option): webpack.Configuration[] => {
console.log(`isProduction = ${isProduction}`);
const tsLoader: webpack.RuleSetUse = {
loader: "ts-loader",
options: {
Expand Down
5 changes: 1 addition & 4 deletions packages/view/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="0.3.5"></a>

## 0.3.5 (2020-01-15)

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





<a name="0.3.4"></a>

## 0.3.4 (2020-01-08)
Expand Down
6 changes: 3 additions & 3 deletions packages/view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"main": "./lib/application.lib.js",
"types": "./lib/index.d.ts",
"scripts": {
"build": "yarn clean && cross-env NODE_ENV=production yarn build:webpack && yarn build:lib",
"build:dev": "yarn clean && cross-env NODE_ENV=development yarn build:webpack && yarn build:lib",
"build": "yarn clean && cross-env-shell NODE_ENV=production yarn build:webpack && yarn build:lib",
"build:dev": "yarn clean && cross-env-shell NODE_ENV=development yarn build:webpack && yarn build:lib",
"build:lib": "tsc -p tsconfig.json --emitDeclarationOnly",
"build:webpack": "yarn ts ./scripts/build.ts",
"clean": "rimraf ./lib ./dist ./build tsconfig.tsbuildinfo",
"develop": "cross-env NODE_ENV=development yarn ts ./scripts/develop.ts",
"develop": "cross-env-shell NODE_ENV=development yarn ts ./scripts/develop.ts",
"serve": "serve dist",
"start": "yarn develop",
"test": "jest -c jest.config.json",
Expand Down
1 change: 1 addition & 0 deletions packages/view/scripts/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export interface Option {
}

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

Expand Down
1 change: 0 additions & 1 deletion packages/view/src/container/FileTree/Store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export const generateFolderTree = (filePathObjectList: FilePathObject[], updateK
}
});
});
console.log(flatFileMap);
filePathObjectList.forEach(filePathObject => {
const dirname = path.dirname(filePathObject.source);
const fileItem: SideNavItem.Props = generateFile(filePathObject, updateKey);
Expand Down

0 comments on commit 4cbc6b5

Please sign in to comment.