Skip to content

Commit a01607f

Browse files
Merge pull request #3 from danielschnetler/drag_and_drop_project
Drag and drop project continued
2 parents 6e42add + e419dda commit a01607f

22 files changed

+6055
-530
lines changed

.github/workflows/tsc.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v1
15-
- name: install node v12
15+
- name: install node LTS v18.4.0
1616
uses: actions/setup-node@v1
1717
with:
18-
node-version: 16
19-
- name: yarn install
20-
run: yarn install
21-
- name: tsc
22-
uses: iCrawl/action-tsc@v1
18+
node-version: 18.4.0
19+
- name: npm install
20+
run: npm install
21+
- name: build
22+
run: npm run build

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
*.js
3-
*.js.map
3+
*.js.map
4+
!*config*.js

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
77
<title>ProjectManager</title>
88
<link rel="stylesheet" href="app.css" />
9-
<script src="dist/app.js" defer></script>
9+
<script type="module" src="dist/bundle.js"></script>
1010
</head>
1111
<body>
1212
<template id="project-input">

package-lock.json

+5,580-131
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+10-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,19 @@
55
"main": "app.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"start": "lite-server"
8+
"start": "webpack-dev-server",
9+
"build": "webpack --config webpack.config.prod.js",
10+
"devbuild": "webpack"
911
},
1012
"author": "DS",
1113
"license": "ISC",
1214
"devDependencies": {
13-
"lite-server": "^2.6.1"
15+
"clean-webpack-plugin": "^4.0.0",
16+
"lite-server": "^2.6.1",
17+
"ts-loader": "^9.4.2",
18+
"typescript": "^4.9.5",
19+
"webpack": "^5.75.0",
20+
"webpack-cli": "^5.0.1",
21+
"webpack-dev-server": "^4.11.1"
1422
}
1523
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)