generated from dustin-jw/cohort-project-starter
-
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.
Remove anything that is extraneous to the project (SCSS, express, etc.), as well as anything that requires setup with a third party (codeclimate, Rollbar). Switch to Deno for the environment and set up a hello world script/test.
- Loading branch information
Showing
54 changed files
with
1,002 additions
and
7,986 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,9 +1,9 @@ | ||
FROM node:16 | ||
FROM denoland/deno:latest | ||
|
||
WORKDIR /var/www/html | ||
WORKDIR /app | ||
|
||
COPY . /var/www/html | ||
USER deno | ||
|
||
RUN npm ci | ||
RUN npm run clean | ||
RUN npm run build | ||
COPY . /app | ||
|
||
CMD ["run", "src/index.ts"] |
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 was deleted.
Oops, something went wrong.
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,11 +1,8 @@ | ||
version: "3.7" | ||
|
||
services: | ||
web: | ||
importer: | ||
build: . | ||
container_name: starter-web | ||
ports: | ||
- 8080:8080 | ||
container_name: importer | ||
volumes: | ||
- .:/var/www/html | ||
command: npm run serve | ||
- .:/app |
This file was deleted.
Oops, something went wrong.
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,8 +1,5 @@ | ||
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'jsdom', | ||
setupFiles: [ | ||
'<rootDir>/jest.setEnvVars.js', | ||
], | ||
testEnvironment: 'node', | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.