Skip to content

Commit

Permalink
Remove references to the dist folder
Browse files Browse the repository at this point in the history
We removed the dist folder in tektoncd#2277 but missed a few references.
Remove these and fix the `build:analyze` script to point at the
correct location for the webpack build output.
  • Loading branch information
AlanGreene committed May 11, 2022
1 parent dfb08ef commit 7340ab1
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 24 deletions.
16 changes: 0 additions & 16 deletions .dockerignore

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# compiled output
/coverage
dist/
/cmd/dashboard/kodata/
/storybook-static
/tmp
Expand Down
1 change: 0 additions & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
**/dist
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "webpack --config webpack.prod.js",
"build:analyze": "webpack --config webpack.prod.js --profile --json > stats.json && npx webpack-bundle-analyzer stats.json dist/",
"build:analyze": "webpack --config webpack.prod.js --profile --json > stats.json && npx webpack-bundle-analyzer stats.json cmd/dashboard/kodata/",
"eslint:check": "eslint --print-config src/index.js | eslint-config-prettier-check",
"i18n:extract": "node scripts/i18n/extractMessages.js",
"i18n:import": "node scripts/i18n/importFromProperties.js",
Expand Down
4 changes: 1 addition & 3 deletions scripts/i18n/extractMessages.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ function writeLocaleFile(locale, messages) {
log('Extracting messages\n');

glob
.sync('./@(src|packages)/**/!(*.stories|*.test).js', {
ignore: ['./**/dist/**', './**/node_modules/**']
})
.sync('./@(src|packages)/**/!(*.stories|*.test).js')
.forEach(filePath => {
log(filePath);
const { metadata } = babel.transformFileSync(path.normalize(filePath), {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
Copyright 2019-2021 The Tekton Authors
Copyright 2019-2022 The Tekton Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist;ributed under the License is distributed on an "AS IS" BASIS,
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Expand Down

0 comments on commit 7340ab1

Please sign in to comment.