| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent f45cc45 commit 3cd72e7
32 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,4 +4,4 @@ | |||
| 4 | 4 | ARG VARIANT="14-buster" | |
| 5 | 5 | FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} | |
| 6 | 6 | ||
| 7 | - RUN sudo -u node npm install -g gulp-cli | ||
| 7 | + RUN sudo -u node npm install -g hereby | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,7 @@ Thank you for submitting a pull request! | |||
| 4 | 4 | Please verify that: | |
| 5 | 5 | * [ ] There is an associated issue in the `Backlog` milestone (**required**) | |
| 6 | 6 | * [ ] Code is up-to-date with the `main` branch | |
| 7 | - * [ ] You've successfully run `gulp runtests` locally | ||
| 7 | + * [ ] You've successfully run `hereby runtests` locally | ||
| 8 | 8 | * [ ] There are new or updated unit tests validating the change | |
| 9 | 9 | ||
| 10 | 10 | Refer to CONTRIBUTING.MD for more details. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,8 +17,8 @@ jobs: | |||
| 17 | 17 | git config user.name "TypeScript Bot" | |
| 18 | 18 | npm install | |
| 19 | 19 | git rm -r --quiet tests/baselines/reference :^tests/baselines/reference/docker :^tests/baselines/reference/user | |
| 20 | - gulp runtests-parallel --ci --fix || true | ||
| 21 | - gulp baseline-accept | ||
| 20 | + npx hereby runtests-parallel --ci --fix || true | ||
| 21 | + npx hereby baseline-accept | ||
| 22 | 22 | git add ./src | |
| 23 | 23 | git add ./tests/baselines/reference | |
| 24 | 24 | git diff --cached | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -69,11 +69,8 @@ jobs: | |||
| 69 | 69 | - name: Adding playwright | |
| 70 | 70 | run: npm install --no-save --no-package-lock playwright | |
| 71 | 71 | ||
| 72 | - - name: Build local | ||
| 73 | - run: gulp local | ||
| 74 | - | ||
| 75 | 72 | - name: Validate the browser can import TypeScript | |
| 76 | - run: gulp test-browser-integration | ||
| 73 | + run: npx hereby test-browser-integration | ||
| 77 | 74 | ||
| 78 | 75 | typecheck: | |
| 79 | 76 | runs-on: ubuntu-latest | |
@@ -102,10 +99,10 @@ jobs: | |||
| 102 | 99 | - run: npm ci | |
| 103 | 100 | ||
| 104 | 101 | - name: Build scripts | |
| 105 | - run: gulp scripts | ||
| 102 | + run: npx hereby scripts | ||
| 106 | 103 | ||
| 107 | 104 | - name: ESLint tests | |
| 108 | - run: gulp run-eslint-rules-tests | ||
| 105 | + run: npx hereby run-eslint-rules-tests | ||
| 109 | 106 | ||
| 110 | 107 | self-check: | |
| 111 | 108 | runs-on: ubuntu-latest | |
@@ -119,10 +116,10 @@ jobs: | |||
| 119 | 116 | - run: npm ci | |
| 120 | 117 | ||
| 121 | 118 | - name: Build tsc | |
| 122 | - run: gulp tsc | ||
| 119 | + run: npx hereby tsc | ||
| 123 | 120 | ||
| 124 | 121 | - name: Clean | |
| 125 | - run: gulp clean-src | ||
| 122 | + run: npx hereby clean-src | ||
| 126 | 123 | ||
| 127 | 124 | - name: Self build | |
| 128 | - run: gulp build-src --built | ||
| 125 | + run: npx hereby build-src --built | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -21,7 +21,7 @@ jobs: | |||
| 21 | 21 | sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/tsserverlibrary.d.ts | |
| 22 | 22 | sed -i -e 's/const version\(: string\)\{0,1\} = `${versionMajorMinor}.0-.*`/const version = `${versionMajorMinor}.0-${{ github.event.client_payload.core_tag || 'dev' }}`/g' src/compiler/corePublic.ts | |
| 23 | 23 | npm ci | |
| 24 | - gulp LKG | ||
| 24 | + npx hereby LKG | ||
| 25 | 25 | npm test | |
| 26 | 26 | git diff | |
| 27 | 27 | git add package.json | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -23,10 +23,10 @@ jobs: | |||
| 23 | 23 | run: | | |
| 24 | 24 | npm whoami | |
| 25 | 25 | npm ci | |
| 26 | - gulp configure-nightly | ||
| 27 | - gulp LKG | ||
| 28 | - gulp runtests-parallel | ||
| 29 | - gulp clean | ||
| 26 | + npx hereby configure-nightly | ||
| 27 | + npx hereby LKG | ||
| 28 | + npx hereby runtests-parallel | ||
| 29 | + npx hereby clean | ||
| 30 | 30 | npm publish --tag next | |
| 31 | 31 | env: | |
| 32 | 32 | NODE_AUTH_TOKEN: ${{secrets.npm_token}} | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,11 +19,11 @@ jobs: | |||
| 19 | 19 | - name: Adding playwright | |
| 20 | 20 | run: npm install --no-save --no-package-lock playwright | |
| 21 | 21 | - name: Validate the browser can import TypeScript | |
| 22 | - run: gulp test-browser-integration | ||
| 22 | + run: npx hereby test-browser-integration | ||
| 23 | 23 | - name: LKG, clean, and pack | |
| 24 | 24 | run: | | |
| 25 | - gulp LKG | ||
| 26 | - gulp clean | ||
| 25 | + npx hereby LKG | ||
| 26 | + npx hereby clean | ||
| 27 | 27 | npm pack ./ | |
| 28 | 28 | mv typescript-*.tgz typescript.tgz | |
| 29 | 29 | - name: Upload built tarfile | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ jobs: | |||
| 27 | 27 | sed -i -e 's/const versionMajorMinor = ".*"/const versionMajorMinor = "${{ github.event.client_payload.core_major_minor }}"/g' tests/baselines/reference/api/tsserverlibrary.d.ts | |
| 28 | 28 | sed -i -e 's/const version\(: string\)\{0,1\} = .*;/const version = "${{ github.event.client_payload.package_version }}" as string;/g' src/compiler/corePublic.ts | |
| 29 | 29 | npm ci | |
| 30 | - gulp LKG | ||
| 30 | + npx hereby LKG | ||
| 31 | 31 | npm test | |
| 32 | 32 | git diff | |
| 33 | 33 | git add package.json | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,7 +16,7 @@ jobs: | |||
| 16 | 16 | git config user.email "typescriptbot@microsoft.com" | |
| 17 | 17 | git config user.name "TypeScript Bot" | |
| 18 | 18 | npm ci | |
| 19 | - gulp LKG | ||
| 19 | + npx hereby LKG | ||
| 20 | 20 | npm test | |
| 21 | 21 | git diff | |
| 22 | 22 | git add ./lib | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,19 @@ | |||
| 1 | + const cp = require("child_process"); | ||
| 2 | + const path = require("path"); | ||
| 3 | + const chalk = require("chalk"); | ||
| 4 | + | ||
| 5 | + const argv = process.argv.slice(2); | ||
| 6 | + | ||
| 7 | + // --tasks-simple is used by VS Code to infer a task list; try and keep that working. | ||
| 8 | + if (!argv.includes("--tasks-simple")) { | ||
| 9 | + console.error(chalk.yellowBright("Warning: using gulp shim; please consider running hereby directly.")); | ||
| 10 | + } | ||
| 11 | + | ||
| 12 | + const args = [ | ||
| 13 | + ...process.execArgv, | ||
| 14 | + path.join(__dirname, "node_modules", "hereby", "bin", "hereby.js"), | ||
| 15 | + ...argv, | ||
| 16 | + ]; | ||
| 17 | + | ||
| 18 | + const { status } = cp.spawnSync(process.execPath, args, { stdio: "inherit" }); | ||
| 19 | + process.exit(status ?? 1); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments