Skip to content

Commit

Permalink
Merge pull request #2470 from Amsterdam/dependencies/107060-remove-re…
Browse files Browse the repository at this point in the history
…act-scripts-to-vite

Dependencies/107060 remove react scripts to vite
  • Loading branch information
remyvdwereld authored Feb 19, 2024
2 parents 49d71ed + 3173b92 commit cfc917e
Show file tree
Hide file tree
Showing 48 changed files with 15,847 additions and 58,036 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/mirror-to-azure-devops.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .storybook/.babelrc

This file was deleted.

32 changes: 0 additions & 32 deletions .storybook/main.js

This file was deleted.

102 changes: 0 additions & 102 deletions .storybook/preview.js

This file was deleted.

9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM node:16-alpine AS builder
ARG NODE_VERSION=20
# Use the official Node.js image as the builder stage.
# "alpine" refers to a lightweight Linux distribution based on musl libc and BusyBox,
# known for its small size and efficiency.
FROM node:$NODE_VERSION-alpine AS builder

ARG COMMIT_HASH

Expand All @@ -18,9 +22,6 @@ RUN npm ci --production --unsafe-perm --ignore-scripts .
# global variables
RUN echo "REACT_APP_GIT_COMMIT_HASH=$COMMIT_HASH" > .env.local

# remove storybook files
RUN find src -type f -name "*.stories.tsx" -delete

# build production
RUN npm run build
RUN mv $DIR/build/* $DIR/builds/production/
Expand Down
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# TOP app (Toezicht op pad)

Dankzij de TOP app hebben toezichthouders Wonen veel informatie over zaken, adressen en bewoners bij de hand als zij op
straat hun werk doen. Ook kunnen zij hun eigen looplijst samenstellen, op basis van instellingen die planners hebben
klaargezet.
De TOP app verzorgt de informatievoorziening voor toezichthouders op pad. Door middel van een variabele configuratie kunnen zij een looplijst van adressen samenstellen.

## Installing
## Install

Clone this repository and install its dependencies:

Expand Down Expand Up @@ -42,13 +40,6 @@ The `main` branch is automatically deployed to [acceptance](https://acc.top.amst
Tag any branch, but preferably main, with a tag like `v1.0.0` to deploy that specific commit
to [production](https://top.amsterdam.nl/).

## Storybook

Component documentation is in progress.

```
npm run storybook
```

## About

Expand Down
2 changes: 1 addition & 1 deletion public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Toezicht op pad</title>
</head>
<script type="module" src="src/index"></script></head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
Expand Down
Loading

0 comments on commit cfc917e

Please sign in to comment.