-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c698038
commit 46f583d
Showing
80 changed files
with
774 additions
and
805 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
name: Build & Deploy | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
branches: ['main'] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run build | ||
- name: deploy | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.DEPLOY_HOST }} | ||
username: ${{ secrets.DEPLOY_USERNAME }} | ||
key: ${{ secrets.DEPLOY_KEY_PRI }} | ||
source: dist/* | ||
target: ${{ secrets.DEPLOY_PATH }} | ||
strip_components: 1 | ||
overwrite: true | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'npm' | ||
- run: npm ci | ||
- run: npm run build | ||
- name: deploy | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.DEPLOY_HOST }} | ||
username: ${{ secrets.DEPLOY_USERNAME }} | ||
key: ${{ secrets.DEPLOY_KEY_PRI }} | ||
source: dist/* | ||
target: ${{ secrets.DEPLOY_PATH }} | ||
strip_components: 1 | ||
overwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,58 @@ | ||
{ | ||
"name": "website", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"dev:addison": "vite dev --config ./vite.config.dev.ts --host", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"test": "npm run test:integration && npm run test:unit", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"lint": "prettier --plugin-search-dir . --check . && eslint .", | ||
"format": "prettier --plugin-search-dir . --write .", | ||
"test:integration": "playwright test", | ||
"test:unit": "vitest", | ||
"storybook": "storybook dev", | ||
"storybook:addison": "storybook dev -p 6006 --https --ssl-cert ./addisonbeck.dev.crt --ssl-key ./addisonbeck.dev.key --no-open", | ||
"build-storybook": "storybook build" | ||
}, | ||
"devDependencies": { | ||
"@playwright/test": "^1.28.1", | ||
"@storybook/addon-essentials": "^7.4.2", | ||
"@storybook/addon-interactions": "^7.4.0", | ||
"@storybook/addon-links": "^7.4.0", | ||
"@storybook/blocks": "^7.4.2", | ||
"@storybook/svelte": "^7.4.2", | ||
"@storybook/sveltekit": "^7.4.0", | ||
"@storybook/testing-library": "^0.2.0", | ||
"@sveltejs/adapter-auto": "^2.0.0", | ||
"@sveltejs/adapter-static": "^2.0.3", | ||
"@sveltejs/kit": "^1.25.0", | ||
"@typescript-eslint/eslint-plugin": "^5.45.0", | ||
"@typescript-eslint/parser": "^5.45.0", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "*", | ||
"eslint-plugin-storybook": "^0.6.13", | ||
"eslint-plugin-svelte": "^2.33.1", | ||
"prettier": "*", | ||
"prettier-plugin-svelte": "*", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"storybook": "^7.4.0", | ||
"storybook-addon-themes": "^6.1.0", | ||
"svelte": "^4.0.5", | ||
"svelte-check": "^3.4.3", | ||
"tslib": "^2.4.1", | ||
"typescript": "^5.0.0", | ||
"vite": "^4.4.2", | ||
"vitest": "^0.34.4", | ||
"@codemirror/lang-json": "^6.0.1" | ||
}, | ||
"type": "module", | ||
"dependencies": { | ||
"html2canvas": "^1.4.1", | ||
"jspdf": "^2.5.1", | ||
"svelte-codemirror-editor": "^1.1.0" | ||
} | ||
"name": "website", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"dev:addison": "vite dev --config ./vite.config.dev.ts --host", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"test": "npm run test:integration && npm run test:unit", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"lint": "prettier --write . && eslint . --fix", | ||
"test:integration": "playwright test", | ||
"test:unit": "vitest", | ||
"storybook": "storybook dev", | ||
"storybook:addison": "storybook dev -p 6006 --https --ssl-cert ./addisonbeck.dev.crt --ssl-key ./addisonbeck.dev.key --no-open", | ||
"build-storybook": "storybook build" | ||
}, | ||
"devDependencies": { | ||
"@playwright/test": "^1.28.1", | ||
"@storybook/addon-essentials": "^7.4.2", | ||
"@storybook/addon-interactions": "^7.4.0", | ||
"@storybook/addon-links": "^7.4.0", | ||
"@storybook/blocks": "^7.4.2", | ||
"@storybook/svelte": "^7.4.2", | ||
"@storybook/sveltekit": "^7.4.0", | ||
"@storybook/testing-library": "^0.2.0", | ||
"@sveltejs/adapter-auto": "^2.0.0", | ||
"@sveltejs/adapter-static": "^2.0.3", | ||
"@sveltejs/kit": "^1.25.0", | ||
"@typescript-eslint/eslint-plugin": "^5.45.0", | ||
"@typescript-eslint/parser": "^5.45.0", | ||
"eslint": "^8.49.0", | ||
"eslint-config-prettier": "*", | ||
"eslint-plugin-storybook": "^0.6.13", | ||
"eslint-plugin-svelte": "^2.33.1", | ||
"prettier": "*", | ||
"prettier-plugin-svelte": "*", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"storybook": "^7.4.0", | ||
"storybook-addon-themes": "^6.1.0", | ||
"svelte": "^4.0.5", | ||
"svelte-check": "^3.4.3", | ||
"tslib": "^2.4.1", | ||
"typescript": "^5.0.0", | ||
"vite": "^4.4.2", | ||
"vitest": "^0.34.4", | ||
"@codemirror/lang-json": "^6.0.1" | ||
}, | ||
"type": "module", | ||
"dependencies": { | ||
"html2canvas": "^1.4.1", | ||
"jspdf": "^2.5.1", | ||
"svelte-codemirror-editor": "^1.1.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.