GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: pre start develop · ifakejs/pkg@0b2e364

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .gitignore
  • package.json
  • packages/cli/src
    • index.ts
  • scripts
    • pre-start.ts
  • yarn.lock
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ node_modules
33
/dist
44
coverage
55
lib
6-
6+
packages/**/package-lock.json
77
# local env files
88
.env.local
99
.env.*.local
Collapse file

‎package.json‎

Copy file name to clipboardExpand all lines: package.json
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
"build": "lerna run build --stream --parallel",
88
"start": "lerna run start --stream --parallel",
99
"lint": "eslint packages --fix --ext .ts,.js,.tsx",
10+
"bootstrap": "lerna bootstrap",
11+
"pre:start": "yarn run bootstrap && yarn run build && ts-node ./scripts/pre-start.ts",
1012
"test": "jest",
1113
"version": "lerna version",
12-
"release": "lerna publish from-git"
14+
"release": "lerna publish from-git",
15+
"preversion": "yarn run lint && yarn run test && yarn run build"
1316
},
1417
"engines": {
1518
"node": ">=10"
@@ -53,6 +56,7 @@
5356
"npm-run-all": "^4.1.5",
5457
"prettier": "^2.2.0",
5558
"ts-jest": "^26.4.4",
59+
"ts-node": "^9.0.0",
5660
"typescript": "^4.1.2"
5761
},
5862
"husky": {
Collapse file

‎packages/cli/src/index.ts‎

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
console.log('pkg')
Collapse file

‎scripts/pre-start.ts‎

Copy file name to clipboard
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import util from 'util'
2+
import { exec } from 'child_process'
3+
4+
const promisifyExec = util.promisify(exec)
5+
6+
console.log('Start run npm link command...')
7+
promisifyExec('cd ./packages/cli && npm link').then(() => {
8+
console.log('done.')
9+
})
Collapse file

‎yarn.lock‎

Copy file name to clipboardExpand all lines: yarn.lock
+28-2Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,6 +1794,11 @@ are-we-there-yet@~1.1.2:
17941794
delegates "^1.0.0"
17951795
readable-stream "^2.0.6"
17961796

1797+
arg@^4.1.0:
1798+
version "4.1.3"
1799+
resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089"
1800+
integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==
1801+
17971802
argparse@^1.0.7:
17981803
version "1.0.10"
17991804
resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
@@ -2811,6 +2816,11 @@ diff-sequences@^26.6.2:
28112816
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-26.6.2.tgz#48ba99157de1923412eed41db6b6d4aa9ca7c0b1"
28122817
integrity sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==
28132818

2819+
diff@^4.0.1:
2820+
version "4.0.2"
2821+
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
2822+
integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==
2823+
28142824
dir-glob@^2.2.2:
28152825
version "2.2.2"
28162826
resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4"
@@ -5148,7 +5158,7 @@ make-dir@^3.0.0:
51485158
dependencies:
51495159
semver "^6.0.0"
51505160

5151-
[email protected]:
5161+
[email protected], make-error@^1.1.1:
51525162
version "1.3.6"
51535163
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
51545164
integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==
@@ -6895,7 +6905,7 @@ source-map-resolve@^0.5.0:
68956905
source-map-url "^0.4.0"
68966906
urix "^0.1.0"
68976907

6898-
source-map-support@^0.5.6:
6908+
source-map-support@^0.5.17, source-map-support@^0.5.6:
68996909
version "0.5.19"
69006910
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
69016911
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
@@ -7472,6 +7482,17 @@ ts-jest@^26.4.4:
74727482
semver "7.x"
74737483
yargs-parser "20.x"
74747484

7485+
ts-node@^9.0.0:
7486+
version "9.0.0"
7487+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-9.0.0.tgz#e7699d2a110cc8c0d3b831715e417688683460b3"
7488+
integrity sha512-/TqB4SnererCDR/vb4S/QvSZvzQMJN8daAslg7MeaiHvD8rDZsSfXmNeNumyZZzMned72Xoq/isQljYSt8Ynfg==
7489+
dependencies:
7490+
arg "^4.1.0"
7491+
diff "^4.0.1"
7492+
make-error "^1.1.1"
7493+
source-map-support "^0.5.17"
7494+
yn "3.1.1"
7495+
74757496
tslib@^1.8.1, tslib@^1.9.0:
74767497
version "1.14.1"
74777498
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
@@ -7999,3 +8020,8 @@ yargs@^15.4.1:
79998020
which-module "^2.0.0"
80008021
y18n "^4.0.0"
80018022
yargs-parser "^18.1.2"
8023+
8024+
[email protected]:
8025+
version "3.1.1"
8026+
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
8027+
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.