Skip to content

Commit

Permalink
🚮 Remove Bento from various CI tasks, build systems, docs, and exampl…
Browse files Browse the repository at this point in the history
…es (#38989)

* Remove Bento from various CI tasks, build systems, docs, and examples

* Remove broken test

* Remove unrelated change
  • Loading branch information
danielrozenberg committed May 25, 2023
1 parent 0f76cc7 commit a98a6f2
Show file tree
Hide file tree
Showing 54 changed files with 43 additions and 4,403 deletions.
14 changes: 0 additions & 14 deletions .circleci/restore_build_output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,6 @@ if [[ -d "${WORKSPACE_DIR}/builds" ]]; then
rsync -a "${RESTORED_DIR}/" "./${OUTPUT_DIR}"
fi
done
# Previously, bento components are compiled inside the extension source file.
for RESTORED_COMPONENT_DIR in ${RESTORED_BUILD_DIR}/extensions/*/?.?/dist; do
OUTPUT_DIR=${RESTORED_COMPONENT_DIR##$RESTORED_BUILD_DIR/}
echo "*" $(GREEN "Merging") $(CYAN "${RESTORED_COMPONENT_DIR}") $(GREEN "into") $(CYAN "./${OUTPUT_DIR}")
mkdir -p $RESTORED_DIR
rsync -a "${RESTORED_COMPONENT_DIR}/" "./${OUTPUT_DIR}"
done
# Now(-ish, or at least until they're move in to their own repo), bento components are compiled inside the src/bento source file.
for RESTORED_COMPONENT_DIR in ${RESTORED_BUILD_DIR}/src/bento/components/*/?.?/dist; do
OUTPUT_DIR=${RESTORED_COMPONENT_DIR##$RESTORED_BUILD_DIR/}
echo "*" $(GREEN "Merging") $(CYAN "${RESTORED_COMPONENT_DIR}") $(GREEN "into") $(CYAN "./${OUTPUT_DIR}")
mkdir -p $RESTORED_DIR
rsync -a "${RESTORED_COMPONENT_DIR}/" "./${OUTPUT_DIR}"
done
done
else
echo $(YELLOW "Workspace does not contain any build outputs to restore")
Expand Down
9 changes: 1 addition & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,6 @@ module.exports = {
'test/**/*.js',
'extensions/**/test/**/*.js',
'extensions/**/test-e2e/*.js',
'src/bento/components/**/test/**/*.js',
'src/bento/components/**/test-e2e/*.js',
'ads/**/test/**/*.js',
'testing/**/*.js',
'build-system/**/test/*.js',
Expand Down Expand Up @@ -492,12 +490,7 @@ module.exports = {
'rules': {'import/order': 0},
},
{
'files': [
'extensions/**/1.0/**',
'src/bento/**',
'src/preact/**',
'**/storybook/**',
],
'files': ['extensions/**/1.0/**', 'src/preact/**', '**/storybook/**'],
'rules': {'local/preact-preferred-props': 2},
},
{
Expand Down
97 changes: 0 additions & 97 deletions .github/ISSUE_TEMPLATE/bento-component-tracker.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,6 @@ updates:
schedule:
interval: daily

- package-ecosystem: npm
directory: /src/bento/core
schedule:
interval: daily

- package-ecosystem: npm
directory: /src/bento/core/preact
schedule:
interval: daily

- package-ecosystem: npm
directory: /src/bento/core/react
schedule:
interval: daily

- package-ecosystem: npm
directory: /third_party/amp-toolbox-cache-url
schedule:
Expand Down
191 changes: 0 additions & 191 deletions .github/workflows/publish-npm-packages.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"matchFiles": ["package.json"],
"matchPackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["devDependencies"],
"labels": ["WG: bento", "WG: components", "WG: performance"],
"labels": ["WG: components", "WG: performance"],
"rebaseWhen": "never",
"automerge": true
},
Expand All @@ -97,7 +97,7 @@
"matchFiles": ["package.json"],
"matchPackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
"labels": ["WG: bento", "WG: components", "WG: performance"],
"labels": ["WG: components", "WG: performance"],
"rebaseWhen": "never",
"automerge": false,
"schedule": null
Expand All @@ -107,7 +107,7 @@
"matchFiles": ["package.json"],
"excludePackagePatterns": ["^@ampproject/"],
"matchDepTypes": ["dependencies"],
"labels": ["WG: bento", "WG: components", "WG: performance"],
"labels": ["WG: components", "WG: performance"],
"rebaseWhen": "never",
"automerge": false
}
Expand Down
1 change: 0 additions & 1 deletion build-system/babel-config/test-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ function getTestConfig() {
'ads/**/*.js',
'build-system/**/*.js',
'extensions/**/test/**/*.js',
'src/bento/components/**/test/**/*.js',
'third_party/**/*.js',
'test/**/*.js',
'testing/**/*.js',
Expand Down

0 comments on commit a98a6f2

Please sign in to comment.