Skip to content

Commit

Permalink
chore: use new script naming pattern (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
franklevasseur authored Jun 14, 2024
1 parent b6b437e commit 9be2ce1
Show file tree
Hide file tree
Showing 32 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/const.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/depsynky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
uses: botpress/gh-actions/publish-if-not-exists@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/entities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/es-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
uses: botpress/gh-actions/publish-if-not-exists@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/expresso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm format:check
- run: pnpm check:type
- run: pnpm check:format
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/log4bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/opapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm format:check
- run: pnpm check:type
- run: pnpm check:format
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/promex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ptb-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/readiness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
uses: botpress/gh-actions/publish-if-not-exists@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tunnel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yargs-extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm check:type
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/zui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
version: 9.1.0
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm type:check
- run: pnpm format:check
- run: pnpm check:type
- run: pnpm check:format
- run: pnpm test
- name: Publish
if: github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
Expand Down
2 changes: 1 addition & 1 deletion const/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "./src/index.ts",
"license": "MIT",
"scripts": {
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"build:nodejs": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=dist/index.cjs",
"build:browser": "esbuild src/index.ts --bundle --platform=browser --target=es2017 --format=esm --outfile=dist/index.mjs",
"build": "npm run build:nodejs && npm run build:browser",
Expand Down
2 changes: 1 addition & 1 deletion depsynky/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "CLI to synchronize dependencies accross a pnpm mono-repo",
"main": "dist/index.js",
"scripts": {
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"build": "esbuild --bundle --platform=node --target=node18 --outdir=dist src/index.ts",
"dev": "ts-node -T src/index.ts",
"start": "node dist/index.js"
Expand Down
10 changes: 5 additions & 5 deletions entities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"module": "./dist/web/index.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"build": "pnpm run build:node && pnpm run build:web && pnpm run build:type",
"build:type": "tsc -p tsconfig.build.json",
"build:node": "ts-node -T ./build.ts nodejs",
"build:web": "ts-node -T ./build.ts web",
"test": "pnpm run unit:test && pnpm run e2e:test && pnpm run rust:test",
"unit:test": "pnpm vitest --run",
"e2e:test": "ts-node -T ./e2e/node.ts && ts-node -T ./e2e/browser/index.ts",
"rust:test": "cargo test"
"test": "pnpm run test:unit && pnpm run test:e2e && pnpm run test:rust",
"test:unit": "pnpm vitest --run",
"test:e2e": "ts-node -T ./e2e/node.ts && ts-node -T ./e2e/browser/index.ts",
"test:rust": "cargo test"
},
"dependencies": {
"browser-or-node": "^2.1.1",
Expand Down
2 changes: 1 addition & 1 deletion es-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "tsc",
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"start": "node dist/index.js"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion expresso/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"build": "tsc --build",
"watch": "tsc --watch",
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"test": "vitest"
},
"dependencies": {
Expand Down
10 changes: 5 additions & 5 deletions jex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"build:types": "tsc --emitDeclarationOnly",
"build": "pnpm build:node && pnpm build:types",
"test": "vitest --run",
"type:check": "tsc --noEmit",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"check": "pnpm format:check && pnpm type:check",
"fix": "pnpm format:fix"
"check:type": "tsc --noEmit",
"check:format": "prettier --check .",
"fix:format": "prettier --write .",
"check": "pnpm check:format && pnpm check:type",
"fix": "pnpm fix:format"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion log4bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"scripts": {
"build": "tsup",
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"test": "vitest",
"clean": "rimraf ./dist && rimraf ./node_modules"
},
Expand Down
6 changes: 3 additions & 3 deletions opapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"scripts": {
"test": "vitest run",
"build": "tsup src/index.ts --dts --format cjs,esm --clean",
"type:check": "tsc --noEmit",
"format:check": "prettier --check .",
"format:fix": "prettier --write ."
"check:type": "tsc --noEmit",
"check:format": "prettier --check .",
"fix:format": "prettier --write ."
},
"devDependencies": {
"@swc/core": "1.5.27",
Expand Down
2 changes: 1 addition & 1 deletion promex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"scripts": {
"build": "tsc --build",
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"test": "vitest",
"clean": "rimraf ./dist && rimraf ./node_modules"
},
Expand Down
2 changes: 1 addition & 1 deletion ptb-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build": "tsc --build",
"test": "vitest",
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"clean": "rimraf ./dist && rimraf ./node_modules"
},
"types": "./dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions readiness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "@bpinternal/readiness",
"version": "0.0.13",
"scripts": {
"build": "pnpm run type:check && esbuild --bundle --platform=node --target=node18 --outdir=dist src/index.ts",
"build": "pnpm run check:type && esbuild --bundle --platform=node --target=node18 --outdir=dist src/index.ts",
"start": "node dist/index.js",
"type:check": "tsc --noEmit"
"check:type": "tsc --noEmit"
},
"keywords": [],
"author": "Botpress, Inc.",
Expand Down
2 changes: 1 addition & 1 deletion trail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"scripts": {
"build": "tsc --build",
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"test": "vitest",
"clean": "rimraf ./dist && rimraf ./node_modules"
},
Expand Down
2 changes: 1 addition & 1 deletion tunnel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "./src/index.ts",
"license": "MIT",
"scripts": {
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"build:nodejs": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=dist/index.cjs",
"build:browser": "esbuild src/index.ts --bundle --platform=browser --target=es2017 --format=esm --outfile=dist/index.mjs",
"build": "npm run build:nodejs && npm run build:browser",
Expand Down
2 changes: 1 addition & 1 deletion verel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "./dist/web/index.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"build": "pnpm run build:node && pnpm run build:web && pnpm run build:type",
"build:type": "tsc -p tsconfig.build.json",
"build:node": "ts-node -T ./build.ts nodejs",
Expand Down
2 changes: 1 addition & 1 deletion yargs-extra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"scripts": {
"build": "tsc --build",
"start": "cross-env node ./dist/index.js",
"type:check": "tsc --noEmit",
"check:type": "tsc --noEmit",
"test": "vitest",
"clean": "rimraf ./dist && rimraf ./node_modules"
},
Expand Down
6 changes: 3 additions & 3 deletions zui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"test": "vitest run",
"dev": "tsx playground.ts",
"test:watch": "vitest",
"type:check": "tsc --noEmit",
"format:check": "prettier --check src/",
"format:fix": "prettier --write src/",
"check:type": "tsc --noEmit",
"check:format": "prettier --check src/",
"fix:format": "prettier --write src/",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
Expand Down

0 comments on commit 9be2ce1

Please sign in to comment.