Skip to content

Commit

Permalink
Revert "feat!: trigger breaking change for version update and merge n…
Browse files Browse the repository at this point in the history
…uxt3.x w…" (#844)

This reverts commit 2b9db42.
  • Loading branch information
pghorpade authored Jul 24, 2024
1 parent 2b9db42 commit ec856a2
Show file tree
Hide file tree
Showing 243 changed files with 41,197 additions and 22,687 deletions.
30 changes: 30 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Dependency directories
node_modules/

# nuxt.js build output
.nuxt

# Nuxt generate
dist

# IDE
.vscode

# Environment Vars
.env

# OS Junk
.DS_Store

# Storybook
.nuxt-storybook
storybook-static
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
.nuxt/
node_modules/
storybook-static/
.output
dist

15 changes: 0 additions & 15 deletions .eslintrc.cjs

This file was deleted.

13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* eslint-env node */
module.exports = {
extends: ["eslint:recommended", "plugin:vue/recommended", "plugin:cypress/recommended"],
rules: {
// override/add rules settings here, such as:
indent: ["error", 4, { SwitchCase: 1 }],
"vue/html-indent": ["error", 4],
semi: [2, "never"],
},
env: {
node: true
}
}
58 changes: 29 additions & 29 deletions .github/configs/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
categories:
- title: 🚀 Features and Improvements
- title: '🚀 Features and Improvements'
labels:
- feature
- enhancement
- performance
- refactor
- title: 🌈 Chore and Updates
- 'feature'
- 'enhancement'
- 'performance'
- 'refactor'
- title: '🌈 Chore and Updates'
labels:
- documentation
- chore
- test
- ci
- title: 🐛 Bug Fixes
- 'documentation'
- 'chore'
- 'test'
- 'ci'
- title: '🐛 Bug Fixes'
labels:
- bugfix
- fix
- title: 🧰 Breaking Changes
label: breaking
- 'bugfix'
- 'fix'
- title: '🧰 Breaking Changes'
label: 'breaking'
version-resolver:
major:
labels:
- breaking
- 'breaking'
minor:
labels:
- enhancement
- feature
- performance
- refactor
- 'enhancement'
- 'feature'
- 'performance'
- 'refactor'
patch:
labels:
- bugfix
- documentation
- fix
- chore
- test
- ci
- 'bugfix'
- 'documentation'
- 'fix'
- 'chore'
- 'test'
- 'ci'
default: patch
tag-template: $RESOLVED_VERSION
name-template: v$RESOLVED_VERSION
tag-template: '$RESOLVED_VERSION'
name-template: 'v$RESOLVED_VERSION'
change-template: '* $TITLE (#$NUMBER)'
change-title-escapes: ''
exclude-labels:
- skip-changelog
- 'skip-changelog'
template: |
## What’s Changed
Expand Down
62 changes: 31 additions & 31 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,41 @@ on:
# tags:
# - production
schedule:
- cron: '00 8,20 * * *' # 8,20 UTC = noon and midnight PST, 1am and 1pm PDT
- cron: '00 8,20 * * *' # 8,20 UTC = noon and midnight PST, 1am and 1pm PDT

jobs:
nuxt-prod:
name: Netlify deploy
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
with:
ref: production
- uses: ./.github/workflows/setup-workspace
- run: npm run generate
env:
CRAFT_ENDPOINT: ${{ secrets.CRAFT_PROD_ENDPOINT }}
LIBCAL_ENDPOINT: ${{ secrets.LIBCAL_ENDPOINT }}
S3_BUCKET: 'https://static.library.ucla.edu/'
SITEMAP_HOST: ${{ secrets.SITEMAP_URL_PROD }}
ES_URL: ${{ secrets.ES_URL }}
ESApiKey: ${{ secrets.ESApiKey }}
ES_READ_KEY: ${{ secrets.ES_READ_KEY_PROD }}
ES_WRITE_KEY: ${{ secrets.ES_WRITE_KEY_PROD }}
ES_ALIAS: ${{ secrets.ES_ALIAS_PROD }}
ES_INDEX_PREFIX: ${{ secrets.ES_INDEX_PREFIX_PROD }}
ES_TEMP_INDEX_PREFIX_LIBGUIDES: ${{secrets.ES_TEMP_INDEX_PREFIX_LIBGUIDES_PROD}}
LIBGUIDES_ES_INDEX: ${{secrets.LIBGUIDES_ES_INDEX_PROD}}
- name: Deploy to Netlify on release
uses: nwtgck/actions-netlify@v3 #
with:
production-deploy: true
deploy-message: https://github.com/UCLALibrary/library-website-nuxt/commit/${{ github.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-dir: .output/public
fails-without-credentials: true
github-deployment-environment: production
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_PROD_LIBRARY_SITE_ID }}
- uses: actions/checkout@v3
with:
ref: production
- uses: ./.github/workflows/setup-workspace
- run: npm run generate
env:
CRAFT_ENDPOINT: ${{ secrets.CRAFT_PROD_ENDPOINT }}
LIBCAL_ENDPOINT: ${{ secrets.LIBCAL_ENDPOINT }}
S3_BUCKET: "https://static.library.ucla.edu/"
SITEMAP_HOST: ${{ secrets.SITEMAP_URL_PROD }}
ES_URL: ${{ secrets.ES_URL }}
ESApiKey: ${{ secrets.ESApiKey }}
ES_READ_KEY: ${{ secrets.ES_READ_KEY_PROD }}
ES_WRITE_KEY: ${{ secrets.ES_WRITE_KEY_PROD }}
ES_INDEX: ${{ secrets.ES_INDEX_PROD }}
ES_INDEX_PREFIX: ${{ secrets.ES_INDEX_PREFIX_PROD }}
ES_TEMP_INDEX_PREFIX_LIBGUIDES: ${{secrets.ES_TEMP_INDEX_PREFIX_LIBGUIDES_PROD}}
LIBGUIDES_ES_INDEX: ${{secrets.LIBGUIDES_ES_INDEX_PROD}}
- name: Deploy to Netlify on release
uses: nwtgck/actions-netlify@v2 #
with:
production-deploy: true
deploy-message: https://github.com/UCLALibrary/library-website-nuxt/commit/${{ github.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-dir: './dist'
fails-without-credentials: true
github-deployment-environment: production
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_PROD_LIBRARY_SITE_ID }}
Loading

6 comments on commit ec856a2

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.