@gjsify/cli 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ import { existsSync, readFileSync } from 'node:fs';
15
15
  import { dirname, join, resolve } from 'node:path';
16
16
  import { fileURLToPath } from 'node:url';
17
17
  import { fetchPackument } from '@gjsify/npm-registry';
18
- import { installPackages } from '../utils/install-backend.js';
18
+ import { installPackages, makeProgressReporter } from '../utils/install-backend.js';
19
19
  import { defaultGlobalLayout, linkGlobalBins } from '../utils/install-global.js';
20
20
  const PACKAGE_NAME = '@gjsify/cli';
21
21
  export const selfUpdateCommand = {
@@ -108,12 +108,14 @@ export const selfUpdateCommand = {
108
108
  const pullDeps = !args.skipDeps;
109
109
  const depNote = pullDeps ? ' + runtime dependencies' : ' (bundle only)';
110
110
  console.log(`Installing ${PACKAGE_NAME}@${target}${depNote} ...`);
111
+ const progress = makeProgressReporter();
111
112
  try {
112
113
  await installPackages({
113
114
  prefix: layout.prefix,
114
115
  specs: [`${PACKAGE_NAME}@${target}`],
115
116
  verbose: false,
116
117
  skipDeps: !pullDeps,
118
+ progress,
117
119
  });
118
120
  }
119
121
  catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gjsify/cli",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "CLI for Gjsify",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -120,19 +120,19 @@
120
120
  "cli"
121
121
  ],
122
122
  "dependencies": {
123
- "@gjsify/buffer": "^0.7.2",
124
- "@gjsify/create-app": "^0.7.2",
125
- "@gjsify/node-globals": "^0.7.2",
126
- "@gjsify/node-polyfills": "^0.7.2",
127
- "@gjsify/npm-registry": "^0.7.2",
128
- "@gjsify/resolve-npm": "^0.7.2",
129
- "@gjsify/rolldown-plugin-gjsify": "^0.7.2",
130
- "@gjsify/rolldown-plugin-pnp": "^0.7.2",
131
- "@gjsify/semver": "^0.7.2",
132
- "@gjsify/tar": "^0.7.2",
133
- "@gjsify/tsc": "^0.7.2",
134
- "@gjsify/web-polyfills": "^0.7.2",
135
- "@gjsify/workspace": "^0.7.2",
123
+ "@gjsify/buffer": "^0.7.3",
124
+ "@gjsify/create-app": "^0.7.3",
125
+ "@gjsify/node-globals": "^0.7.3",
126
+ "@gjsify/node-polyfills": "^0.7.3",
127
+ "@gjsify/npm-registry": "^0.7.3",
128
+ "@gjsify/resolve-npm": "^0.7.3",
129
+ "@gjsify/rolldown-plugin-gjsify": "^0.7.3",
130
+ "@gjsify/rolldown-plugin-pnp": "^0.7.3",
131
+ "@gjsify/semver": "^0.7.3",
132
+ "@gjsify/tar": "^0.7.3",
133
+ "@gjsify/tsc": "^0.7.3",
134
+ "@gjsify/web-polyfills": "^0.7.3",
135
+ "@gjsify/workspace": "^0.7.3",
136
136
  "cosmiconfig": "^9.0.2",
137
137
  "get-tsconfig": "^4.14.0",
138
138
  "pkg-types": "^2.3.1",
@@ -140,13 +140,13 @@
140
140
  "yargs": "^18.0.0"
141
141
  },
142
142
  "devDependencies": {
143
- "@gjsify/unit": "^0.7.2",
143
+ "@gjsify/unit": "^0.7.3",
144
144
  "@types/yargs": "^17.0.35",
145
145
  "typescript": "^6.0.3"
146
146
  },
147
147
  "peerDependencies": {
148
- "@gjsify/oxfmt-native": "^0.7.2",
149
- "@gjsify/rolldown-native": "^0.7.2"
148
+ "@gjsify/oxfmt-native": "^0.7.3",
149
+ "@gjsify/rolldown-native": "^0.7.3"
150
150
  },
151
151
  "peerDependenciesMeta": {
152
152
  "@gjsify/oxfmt-native": {