Skip to content

Commit

Permalink
revert: feat: update dependencies (#88) (#89)
Browse files Browse the repository at this point in the history
This reverts commit 4a3c97b.
  • Loading branch information
Tim Streicher committed Sep 18, 2024
1 parent 4a3c97b commit 492d09c
Show file tree
Hide file tree
Showing 26 changed files with 40,778 additions and 11,227 deletions.
3 changes: 1 addition & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
*.md
*.cy.js
*.d.ts
./public
dist
./public
2 changes: 1 addition & 1 deletion .eslintrc.cjs → .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
browser: true,
es2021: true,
},
extends: '@singularit/eslint-config-vue',
extends: '@singularit',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 19, 20]
node: [14, 15, 16, 18]
steps:
- name: Setup Node
uses: actions/setup-node@v1
Expand All @@ -31,12 +31,12 @@ jobs:
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-videos
Expand All @@ -57,12 +57,12 @@ jobs:
run: npm ci
- name: Build Files
run: npm run build
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: success()
with:
name: dist
path: dist
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: success()
with:
name: types
Expand All @@ -80,11 +80,11 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ secrets.NODE_VERSION }}
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: types
path: types
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 19, 20]
node: [14, 15, 16, 18]
steps:
- name: Setup Node
uses: actions/setup-node@v1
Expand All @@ -31,12 +31,12 @@ jobs:
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-videos
Expand All @@ -57,17 +57,17 @@ jobs:
run: npm ci
- name: Build Files
run: npm run build
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: success()
with:
name: node_modules
path: node_modules
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: success()
with:
name: dist
path: dist
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: success()
with:
name: types
Expand All @@ -85,11 +85,11 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ secrets.NODE_VERSION }}
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: types
path: types
Expand All @@ -108,7 +108,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ secrets.NODE_VERSION }}
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v3
with:
name: node_modules
path: node_modules
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 19, 20]
node: [14, 15, 16, 18]
name: 🧪 Run Component tests on Node v${{ matrix.node }}
steps:
- name: Setup Node
Expand All @@ -39,12 +39,12 @@ jobs:
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v2
if: failure()
with:
name: cypress-videos
Expand Down
18 changes: 18 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions"
],
"framework": "@storybook/vue3",
"core": {
"builder": "@storybook/builder-vite"
},
"features": {
"storyStoreV7": true
}
}
20 changes: 0 additions & 20 deletions .storybook/main.ts

This file was deleted.

4 changes: 2 additions & 2 deletions .storybook/preview.ts → .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}
export const tags = ["autodocs"];
}
4 changes: 2 additions & 2 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {defineConfig} from 'cypress'
const {defineConfig} = require('cypress')

export default defineConfig({
module.exports = defineConfig({
projectId: '7fev1t',
component: {
devServer: {
Expand Down
10 changes: 5 additions & 5 deletions cypress/plugins/index.ts → cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="cypress" />
// ***********************************************************
// This example plugins/component.ts can be used to load plugins
// This example plugins/component.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
Expand All @@ -15,7 +15,7 @@
/**
* @type {Cypress.PluginConfig}
*/
// export default () => {
// // `on` is used to hook into various events Cypress emits
// // `config` is the resolved Cypress config
// }
module.exports = () => {
// `on` is used to hook into various events Cypress emits
// `config` is the resolved Cypress config
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ***********************************************
// This example commands.mjs shows you how to
// This example commands.js shows you how to
// create various custom commands and overwrite
// existing commands.
//
Expand Down
6 changes: 3 additions & 3 deletions cypress/support/component.ts → cypress/support/component.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ***********************************************************
// This example support/component.mjs is processed and
// This example support/component.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
Expand All @@ -13,7 +13,7 @@
// https://on.cypress.io/configuration
// ***********************************************************

// Import commands.ts using ES2015 syntax:
// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
Expand All @@ -23,5 +23,5 @@ import {mount} from 'cypress/vue'
// Ensure global styles are loaded
import '../../src/index.css'

// @ts-expect-error not assignable to type
// eslint-disable-next-line no-undef
Cypress.Commands.add('mount', mount)
Loading

0 comments on commit 492d09c

Please sign in to comment.