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
#!/bin/node | |
// Script bumps caniuse-lite in common/config/rush/pnpm-lock.yaml | |
const path = require("path"); | |
const fs = require("fs"); | |
const { execSync } = require("child_process"); | |
async function main() { | |
const repoRoot = path.join(__dirname, "../"); |
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
import { getCommand } from "./lib"; | |
import { printCommand } from "./util"; | |
import process from "process"; | |
function main() { | |
const [ | |
// eslint-disable-next-line @typescript-eslint/no-unused-vars | |
_, | |
// eslint-disable-next-line @typescript-eslint/no-unused-vars | |
__, |
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
# will become: rush build --to @org/project1 --to @org/project2 etc.. | |
"\$(sh ./changed-rush-projects \"node common/scripts/install-run-rush.js --debug build\")" | |
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
stage('Deploy: rush version + publish to npm') { | |
sshagent(credentials: ['jenkins']) { | |
if(SHALLOW_CLONE) { | |
// we need to "unshallow" the git repo for rush publishing/verification purposes | |
sh "git fetch --unshallow" | |
} | |
if("$BRANCH_NAME" == "master") { | |
// We are on the master branch, so publish the projects from rush.json |
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
module.exports = { | |
presets: ["@vue/cli-plugin-babel/preset"] | |
}; |
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
{ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "vue-cli-service test:unit (by open package.json)", | |
"runtimeExecutable": "node", | |
"autoAttachChildProcesses": false, | |
"cwd": "${fileDirname}", | |
"args": [ | |
"${fileDirname}/vue-cli-service-debug-bin.js", |