Skip to content

Commit 5ce0beb

Browse files
author
DevComp
committed
🔖 Prepare for release
1 parent 2436623 commit 5ce0beb

File tree

6 files changed

+23
-26
lines changed

6 files changed

+23
-26
lines changed

install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For ($i=0; $i -le 100; $i++) {
2323
}
2424

2525
echo "Adding to PATH..."
26-
cd dist/js
26+
cd bin
2727
Rename-Item -Path "cli-win.exe" -NewName "flight.exe" >$null 2>&1
2828
Remove-Item -Path cli-linux -Force >$null 2>&1
2929
Remove-Item -Path cli-macos -Force >$null 2>&1

install.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ gpg_key=6567A9918662A1C4
1212
flight_get_tarball() {
1313
printf "$cyan> Downloading tarball...$reset\n"
1414
if [ "$1" = '--nightly' ]; then
15-
urlhttps://github.com/flightpkg/flight/releases/download/v0.0.5/v0.0.5.tar.gz
15+
urlhttps://github.com/flightpkg/flight/releases/download/v0.34.0/v0.34.0.tar.gz
1616
elif [ "$1" = '--rc' ]; then
17-
url=https://github.com/flightpkg/flight/releases/download/v0.0.5/v0.0.5.tar.gz
17+
url=https://github.com/flightpkg/flight/releases/download/v0.34.0/v0.34.0.tar.gz
1818
elif [ "$1" = '--version' ]; then
1919
# Validate that the version matches MAJOR.MINOR.PATCH to avoid garbage-in/garbage-out behavior
2020
version=$2
@@ -25,7 +25,7 @@ flight_get_tarball() {
2525
exit 1;
2626
fi
2727
else
28-
url=https://github.com/flightpkg/flight/releases/download/v0.0.5/v0.0.5.tar.gz
28+
url=https://github.com/flightpkg/flight/releases/download/v0.34.0/v0.34.0.tar.gz
2929
fi
3030
# Get both the tarball and its GPG signature
3131
tarball_tmp=`mktemp -t flight.tar.gz.XXXXXXXXXX`
@@ -143,23 +143,23 @@ flight_install() {
143143
local specified_version
144144
local version_type
145145
if [ "$1" = '--nightly' ]; then
146-
latest_url=https://github.com/flightpkg/flight/releases/download/v0.0.5/v0.0.5.tar.gz
146+
latest_url=https://github.com/flightpkg/flight/releases/download/v0.34.0/v0.34.0.tar.gz
147147
specified_version=`curl -sS $latest_url`
148148
version_type='latest'
149149
elif [ "$1" = '--version' ]; then
150150
specified_version=$2
151151
version_type='specified'
152152
elif [ "$1" = '--rc' ]; then
153-
latest_url=https://github.com/flightpkg/flight/releases/download/v0.0.5/v0.0.5.tar.gz
153+
latest_url=https://github.com/flightpkg/flight/releases/download/v0.34.0/v0.34.0.tar.gz
154154
specified_version=`curl -sS $latest_url`
155155
version_type='rc'
156156
else
157-
latest_url=https://github.com/flightpkg/flight/releases/download/v0.0.5/v0.0.5.tar.gz
157+
latest_url=https://github.com/flightpkg/flight/releases/download/v0.34.0/v0.34.0.tar.gz
158158
specified_version=`curl -sS $latest_url`
159159
version_type='latest'
160160
fi
161-
flight_version=`v0.0.5`
162-
flight_alt_version=`v0.0.5`
161+
flight_version=`v0.34.0`
162+
flight_alt_version=`v0.34.0`
163163

164164
if [ "$specified_version" = "$flight_version" = "$specified_version" = "$flight_alt_version" ]; then
165165
printf "$green> flight is already at the $specified_version version.$reset\n"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flightpkg/cli",
3-
"version": "0.5.0",
3+
"version": "0.34.0",
44
"description": "Flight is a universal package manager for your needs, no matter what language you may want to write your code in. ",
55
"main": "cli.js",
66
"scripts": {

src/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ module.exports = {
3434

3535
Sha256_Checksum: `01ccffbd0d6c8a2a1935b9cc9256567b8c66abeef6171c3f813920b831ec1e47`,
3636

37-
version: `v0.0.5`,
37+
version: `v0.34.0`,
3838

3939
license: `Apache-2.0`,
4040

41-
download_url: `https://github.com/flightpkg/flight/releases/download/v0.0.5/v0.0.5.tar.gz`
41+
download_url: `https://github.com/flightpkg/flight/releases/download/v0.34.0/v0.34.0.tar.gz`
4242
}

src/packages/create-next-app/package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"name": "create-next-app",
3-
"version": "12.1.7-canary.41",
2+
"name": "@flightpkg/create-next-app",
3+
"version": "1.0.0",
44
"keywords": [
55
"react",
66
"next",
77
"next.js"
88
],
9-
"description": "Create Next.js-powered React apps with one command",
9+
"description": "Forked create-next-app for flight CLI.",
1010
"repository": {
1111
"type": "git",
12-
"url": "https://github.com/vercel/next.js",
13-
"directory": "packages/create-next-app"
12+
"url": "https://github.com/flightpkg/flight",
13+
"directory": "src/packages/create-next-app"
1414
},
15-
"author": "Next.js Team <support@vercel.com>",
15+
"author": "Next.js Team <support@vercel.com>, CompeyDev <hi@devcomp.xyz>",
1616
"license": "MIT",
1717
"bin": {
1818
"create-next-app": "./dist/index.js"
@@ -24,7 +24,6 @@
2424
"dev": "ncc build ./index.ts -w -o dist/",
2525
"prerelease": "rimraf ./dist/",
2626
"release": "ncc build ./index.ts -o ./dist/ --minify --no-cache --no-source-map-register",
27-
"prepublishOnly": "cd ../../ && turbo run build",
2827
"build": "pnpm release"
2928
},
3029
"devDependencies": {

src/packages/create-redwood-app/package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "create-redwood-app",
3-
"version": "2.0.0",
2+
"name": "@flightpkg/create-redwood-app",
3+
"version": "1.0.0",
44
"repository": {
55
"type": "git",
6-
"url": "https://github.com/redwoodjs/redwood.git",
7-
"directory": "packages/create-redwood-app"
6+
"url": "https://github.com/redwoodjs/flight.git",
7+
"directory": "src/packages/create-redwood-app"
88
},
99
"license": "MIT",
1010
"bin": "./dist/create-redwood-app.js",
@@ -16,7 +16,6 @@
1616
"build": "yarn build:js",
1717
"build:js": "babel src -d dist",
1818
"build:watch": "nodemon --watch src --ignore dist,template --exec \"yarn build\"",
19-
"prepublishOnly": "NODE_ENV=production yarn build",
2019
"test": "jest src",
2120
"test:watch": "yarn test --watch"
2221
},
@@ -38,6 +37,5 @@
3837
"@babel/cli": "7.16.7",
3938
"jest": "27.5.1",
4039
"typescript": "4.7.3"
41-
},
42-
"gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1"
40+
}
4341
}

0 commit comments

Comments
 (0)