Skip to content

Commit

Permalink
feat: IT'S ALIVE! Pre process modules before transformation, we no lo…
Browse files Browse the repository at this point in the history
…nger need to patch react, react-dom, and scheduler from node-modules
  • Loading branch information
EntraptaJ committed Feb 6, 2021
1 parent fb3904e commit 786dfb3
Show file tree
Hide file tree
Showing 20 changed files with 1,628 additions and 554 deletions.
8 changes: 6 additions & 2 deletions .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
},
"extensions": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"github.vscode-codeql",
"visualstudioexptteam.vscodeintellicode",
"eamodio.gitlens",
"redhat.vscode-yaml"
],
"remoteUser": "node",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
Expand All @@ -19,4 +23,4 @@
"source=ts-esweb-modules,target=/workspace/node_modules,type=volume"
],
"postCreateCommand": "sudo chown node node_modules && npm i"
}
}
30 changes: 12 additions & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,26 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
- package-ecosystem: github-actions
directory: /
schedule:
interval: 'daily'
interval: daily
assignees:
- 'KristianFJones'
reviewers:
- 'KristianFJones'
- KristianFJones

# Maintain dependencies for npm
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
- package-ecosystem: npm
directory: /
schedule:
interval: 'daily'
interval: daily
versioning-strategy: increase
assignees:
- 'KristianFJones'
reviewers:
- 'KristianFJones'
- KristianFJones

# Maintain dependencies for Docker
- package-ecosystem: 'docker' # See documentation for possible values
directory: '/' # Location of package manifests
- package-ecosystem: docker
directory: /
schedule:
interval: 'daily'
interval: daily
assignees:
- 'KristianFJones'
reviewers:
- 'KristianFJones'
- KristianFJones
4 changes: 2 additions & 2 deletions .github/workflows/Code Quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest']
node: ['14.x']
node: ['15.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
Expand All @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest']
node: ['14.x']
node: ['15.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
node: ['13.9', '13.10', '13.11', '14.x']
node: ['15.x']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ARG VARIANT="15"
FROM node:${VARIANT}-slim
FROM node:15.5-slim
# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
# will be updated to match your local UID/GID (when using the dockerFile property).
Expand All @@ -13,9 +12,10 @@ ARG USER_GID=${USER_UID}
USER root
# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update \
&& export DEBIAN_FRONTEND=noninteractive && apt-get -y install --no-install-recommends git sudo ca-certificates \
&& export DEBIAN_FRONTEND=noninteractive && apt-get -y install --no-install-recommends git sudo ca-certificates python3 gcc make pkg-config libx11-dev libxi-dev libxext-dev g++ mesa-common-dev \
&& adduser $USERNAME sudo \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
&& chmod 0440 /etc/sudoers.d/$USERNAME \
&& ln -s /usr/bin/python3 /usr/bin/python

USER ${USERNAME}
Loading

0 comments on commit 786dfb3

Please sign in to comment.