Skip to content

Commit

Permalink
feat!: update to sdk 13, refactor as vue3/vite project
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Apr 20, 2023
1 parent 4156878 commit 170fc67
Show file tree
Hide file tree
Showing 39 changed files with 4,210 additions and 31,700 deletions.
10 changes: 6 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
!src/
!package.json
!package-lock.json
!babel.config.js
!postcss.config.js
!tailwind.config.js
!vue.config.js
!index.html
!postcss.config.cjs
!tailwind.config.cjs
!tsconfig.json
!tsconfig.node.json
!vite.config.ts
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
env: {
node: true,
},
extends: [
'eslint:recommended',
'plugin:vue/vue3-recommended',
'prettier'
],
rules: {
// override/add rules settings here, such as:
// 'vue/no-unused-vars': 'error'
}
}
23 changes: 12 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
.DS_Store
node_modules
/dist


# local env files
.env.local
.env.*.local

# Log files
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.vscode
.DS_Store
*.suo
*.ntvs*
*.njsproj
Expand Down
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
FROM node:16.16.0 as builder
FROM node:18 as builder

WORKDIR /app

COPY . .
COPY package.json .
COPY package-lock.json .

ENV NODE_ENV=prod
RUN npm install
RUN npm ci

COPY . .

RUN npm run build

FROM nginx:stable-alpine
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ISC License (ISC)
Copyright © 2018 aeternity developers
Copyright © 2023 aeternity developers

Permission to use, copy, modify, and/or distribute this software for any purpose
with or without fee is hereby granted, provided that the above copyright notice
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ npm install
## Start the application

```
npm run serve
npm run dev
```

The current form should be self explainatory.
The current form should be self explanatory.

## Build Setup

Expand Down
5 changes: 0 additions & 5 deletions babel.config.js

This file was deleted.

13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon-32.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Contracts Aepp</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading

0 comments on commit 170fc67

Please sign in to comment.