Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
v1.0.0-rc.12
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDegraeve committed Jul 15, 2022
1 parent 8792565 commit 946cf44
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 200 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "1.0.0-rc.11"
"version": "1.0.0-rc.12"
}
4 changes: 2 additions & 2 deletions packages/_fab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "An alias for @dev-spendesk/fab-cli",
"keywords": [
"fab"
Expand All @@ -27,6 +27,6 @@
"prepack": "cat PREAMBLE.md > README.md && cat ../cli/README.md >> README.md"
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11"
"@dev-spendesk/fab-cli": "1.0.0-rc.12"
}
}
6 changes: 3 additions & 3 deletions packages/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-actions",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"private": false,
"description": "The guts of the FAB cli code, keeping the 'fab' package lean",
"keywords": [
Expand Down Expand Up @@ -31,8 +31,8 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-cli": "1.0.0-rc.12",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@rollup/plugin-alias": "^2.2.0",
"@rollup/plugin-commonjs": "^11.0.2",
"@rollup/plugin-inject": "^4.0.1",
Expand Down
162 changes: 1 addition & 161 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ npm install -g @dev-spendesk/fab-cli
$ fab COMMAND
running command...
$ fab (-v|--version|version)
@dev-spendesk/fab-cli/1.0.0-rc.11 linux-x64 node-v14.18.1
@dev-spendesk/fab-cli/1.0.0-rc.12 darwin-x64 node-v14.19.1
$ fab --help [COMMAND]
USAGE
$ fab COMMAND
Expand All @@ -34,75 +34,7 @@ USAGE

<!-- commands -->

- [`fab build`](#fab-build)
- [`fab deploy [FILE]`](#fab-deploy-file)
- [`fab help [COMMAND]`](#fab-help-command)
- [`fab init`](#fab-init)
- [`fab package [FILE]`](#fab-package-file)
- [`fab serve [FILE]`](#fab-serve-file)

## `fab build`

Generate a FAB given the config (usually in fab.config.json5)

```
USAGE
$ fab build
OPTIONS
-c, --config=config [default: fab.config.json5] Path to config file
-h, --help show CLI help
--minify Minify the generated server.js file.
--skip-cache Skip any caching of intermediate build artifacts
--skip-typecheck Skip the background typechecking of your FAB plugins if it's slow or flaky.
--watch=watch Re-run the builder if any of the listed files change. Pass this argument multiple times to watch
multiple files/directories.
EXAMPLES
$ fab build
$ fab build --config=fab.config.json5
$ fab build --watch dist --watch fab.config.json5
```

_See code: [lib/commands/build.js](https://github.com/spendesk/fab/blob/v1.0.0-rc.11/lib/commands/build.js)_

## `fab deploy [FILE]`

Deploy a FAB to a hosting provider

```
USAGE
$ fab deploy [FILE]
OPTIONS
-c, --config=config [default: fab.config.json5] Path to config file
-h, --help show CLI help
--assets-already-deployed-at=assets-already-deployed-at Skip asset deploys and only deploy the server component
pointing at this URL for assets
--assets-host=(cf-workers|aws-lambda-edge|aws-s3) If you have multiple potential hosts for the assets defined
in your fab.config.json5, which one to deploy to.
--assets-only Skip server deploy, just upload assets
--auto-install If you need dependent packages (e.g. @dev-spendesk/deploy-*),
install them without prompting
--env=env Override production settings with a different environment
defined in your FAB config file.
--package-dir=package-dir Where to save the packaged FAB files (default .fab/deploy)
--server-host=(cf-workers|aws-lambda-edge|aws-s3) If you have multiple potential hosts for the server defined
in your fab.config.json5, which one to deploy to.
EXAMPLE
$ fab deploy fab.zip
```

_See code: [lib/commands/deploy.js](https://github.com/spendesk/fab/blob/v1.0.0-rc.11/lib/commands/deploy.js)_

## `fab help [COMMAND]`

Expand All @@ -121,96 +53,4 @@ OPTIONS

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_

## `fab init`

Auto-configure a repo for generating FABs

```
USAGE
$ fab init
OPTIONS
-c, --config=config [default: fab.config.json5] Config filename
-h, --help show CLI help
-y, --yes Assume yes to all prompts (must be in the root directory of a project)
--empty Install the packages and create an empty fab.config.json5 (implies -y)
--skip-framework-detection Don't try to auto-detect framework, set up manually.
--skip-install Do not attempt to npm install anything
--version=version What NPM version or dist-tag to use for installing FAB packages
EXAMPLES
$ fab init
$ fab init --config=fab.config.json5
```

_See code: [lib/commands/init.js](https://github.com/spendesk/fab/blob/v1.0.0-rc.11/lib/commands/init.js)_

## `fab package [FILE]`

Package a FAB to be uploaded to a hosting provider manually

```
USAGE
$ fab package [FILE]
OPTIONS
-c, --config=config [default: fab.config.json5] Path to config file
-h, --help show CLI help
-t, --target=(cf-workers|aws-lambda-edge|aws-s3) Hosting provider (must be one of: cf-workers, aws-lambda-edge,
aws-s3)
--assets-url=assets-url A URL for where the assets can be accessed, for server deployers
that need it
--env=env Override production settings with a different environment defined in
your FAB config file.
--output-path=output-path Where to save the packaged FAB (default .fab/deploy/[target].zip)
EXAMPLE
$ fab package --target=aws-lambda-edge fab.zip
```

_See code: [lib/commands/package.js](https://github.com/spendesk/fab/blob/v1.0.0-rc.11/lib/commands/package.js)_

## `fab serve [FILE]`

fab serve: Serve a FAB in a local NodeJS Express server

```
USAGE
$ fab serve [FILE]
OPTIONS
-c, --config=config [default: fab.config.json5] Path to config file. Only used for SETTINGS in conjunction with
--env.
-h, --help show CLI help
--auto-install If you need dependent packages (e.g. @dev-spendesk/serve), install them without prompting
--cert=cert SSL certificate to use
--env=env Override production settings with a different environment defined in your FAB config file.
--experimental-v8-sandbox Enable experimental V8::Isolate Runtime (in development, currently non-functional)
--key=key Key for the SSL Certificate
--port=port (required) [default: 3000] Port to use
--proxy-ws=proxy-ws EXPERIMENTAL: Proxy websocket requests to a different port
--watch EXPERIMENTAL: Watches fab.zip and restarts the server when it changes.
EXAMPLES
$ fab serve fab.zip
$ fab serve --port=3001 fab.zip
$ fab serve --cert=local-ssl.cert --key=local-ssl.key fab.zip
$ fab serve --env=staging fab.zip
```

_See code: [lib/commands/serve.js](https://github.com/spendesk/fab/blob/v1.0.0-rc.11/lib/commands/serve.js)_

<!-- commandsstop -->
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-cli",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "The CLI entry-point for the FAB ecosystem",
"keywords": [
"fab",
Expand Down Expand Up @@ -35,7 +35,7 @@
"version": "oclif-dev readme && git add README.md"
},
"dependencies": {
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/errors": "^1",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-core",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"private": false,
"description": "Common code for all FAB projects",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions packages/deployer-aws-lambda/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/deployer-aws-lambda",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "Packages and deploys FABs to AWS Lambda@Edge",
"keywords": [
"aws",
Expand Down Expand Up @@ -33,8 +33,8 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-cli": "1.0.0-rc.12",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@types/nanoid": "^2.1.0",
"@types/node": "^12.12.14",
"deterministic-zip": "^1.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/deployer-aws-s3/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-deployer-aws-s3",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "Uploads FAB assets to AWS S3",
"keywords": [
"aws",
Expand Down Expand Up @@ -32,8 +32,8 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-cli": "1.0.0-rc.12",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@types/node": "^12.12.14",
"aws-sdk": "^2.655.0",
"fs-extra": "^9.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/deployer-cf-workers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-deployer-cf-workers",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "Packages and deploys FABs to AWS Lambda@Edge",
"keywords": [
"cloudflare",
Expand Down Expand Up @@ -33,8 +33,8 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-cli": "1.0.0-rc.12",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@types/node": "^12.12.14",
"cross-fetch": "^3.0.6",
"file-to-sha512": "^0.0.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/input-nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-input-nextjs",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "Module to kick off a FAB build from a NextJS project",
"keywords": [
"aws",
Expand Down Expand Up @@ -34,8 +34,8 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-cli": "1.0.0-rc.12",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@types/node": "^12.12.14",
"@types/path-to-regexp": "^1.7.0",
"acorn": "^7.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/input-static/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-input-static",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "Module to handle a directory of HTML & assets",
"keywords": [
"fab",
Expand Down Expand Up @@ -31,8 +31,8 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-cli": "1.0.0-rc.12",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@types/node": "^12.12.14",
"fs-extra": "^8.1.0",
"globby": "^10"
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-precompile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-plugin-precompile",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "Module to render static HTML files with FAB injections",
"keywords": [
"fab"
Expand Down Expand Up @@ -30,8 +30,8 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-cli": "1.0.0-rc.12",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@sucrase/webpack-loader": "^2.0.0",
"@types/node": "^12.12.14",
"@types/webpack-merge": "^4.1.5",
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-render-html/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dev-spendesk/fab-plugin-render-html",
"version": "1.0.0-rc.11",
"version": "1.0.0-rc.12",
"description": "Module to render static HTML files with FAB injections",
"keywords": [
"fab"
Expand Down Expand Up @@ -30,8 +30,8 @@
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\""
},
"dependencies": {
"@dev-spendesk/fab-cli": "1.0.0-rc.11",
"@dev-spendesk/fab-core": "1.0.0-rc.11",
"@dev-spendesk/fab-cli": "1.0.0-rc.12",
"@dev-spendesk/fab-core": "1.0.0-rc.12",
"@types/cheerio": "^0.22.15",
"@types/node": "^12.12.14",
"cheerio": "^1.0.0-rc.3",
Expand Down
Loading

0 comments on commit 946cf44

Please sign in to comment.