Phil Léger
Phil Léger
On windows 10, running this: ```bash env-cmd -x nr gatsby develop --verbose --port \$APP_PORT --host 0.0.0.0 ``` should output: ```bash env-cmd -x nr gatsby develop --verbose --port 9000 --host 0.0.0.0...
Simply doing: ```json "start": "env-cmd -x nr gatsby develop --verbose --port $APP_PORT --host 0.0.0.0", ``` with no `\\` work on powershell, but not on the mac terminal There is something...
Simpler test: ``` # on mac, works correctly phil$ node_modules/.bin/env-cmd -x echo \$APP_PORT 9000 ``` ``` # on windows, does not work PS C:\Users\legep\> ..\..\node_modules\.bin\env-cmd -x echo \$APP_PORT "\\" ```...
Potential fix for Windows, since `\\$VAR` does not get expanded like on unix: ```diff diff --git a/node_modules/env-cmd/dist/expand-envs.js b/node_modules/env-cmd/dist/expand-envs.js index b46324a..576a651 100644 --- a/node_modules/env-cmd/dist/expand-envs.js +++ b/node_modules/env-cmd/dist/expand-envs.js @@ -5,7 +5,7 @@ Object.defineProperty(exports,...
if you want to add windows to your actions: ```yaml jobs: build-test: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] steps: - name: Checkout uses: actions/checkout@v2 ```
the 'webpack' package has its own declaration files, '@types/webpack' should not be used anymore, this has been the case for months if not years  https://github.com/webpack/webpack/tree/master/declarations please consider removing '@types/webpack'...
Here's an example of a plugin I built in TS without @types/webpack: see https://github.com/noveo-io/puppeteer-prerender-webpack-plugin/blob/master/package.json#L64 and https://github.com/noveo-io/puppeteer-prerender-webpack-plugin/blob/master/lib/index.ts#L8
@adrw have you been able to find a solution to this? I've been trying to see how to configure the git-gateway "base dir" to my site 
So basically, git-gateway with netlify-cms doesn't support the case where the netlify site is not installed at the root? if is possible to do this?  have the netlify site...
Well I got this working by putting the correct path to the different entries in config.yml, e.g.: ``` media_folder: packages/site-1/static/img ```