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

Display deprecation warning and some final housekeeping #110

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Tests

on: [push, pull_request]

jobs:
test:
strategy:
matrix:
job: [linux, macos, windows]
include:
- job: linux
os: ubuntu-latest

- job: macos
os: macos-latest

- job: windows
os: windows-latest

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
cache: npm

- run: npm ci
- run: npm run build
- run: npm test
6 changes: 0 additions & 6 deletions .npmignore

This file was deleted.

6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
<!-- ## Unreleased -->
<!-- Add new, unreleased changes here. -->

## [1.4.3] 2021-09-22
- `prpl-server` is now deprecated. A warning will be printed when installing
from NPM, as well as each time the server is launched. Please see
https://github.com/Polymer/prpl-server#deprecation for details and recommended
alternatives.
- Updated dependencies.
- Updated some repo links (`prpl-server-node` -> `prpl-server`).

## [1.4.2] 2020-08-12
- Update dependencies.
- Clean up unnecessary NPM package files.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[![Travis Build Status](https://travis-ci.org/Polymer/prpl-server-node.svg?branch=master)](https://travis-ci.org/Polymer/prpl-server-node)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/3bfbf7fgdifebv7o/branch/master?svg=true)](https://ci.appveyor.com/project/aomarks/prpl-server-node/branch/master)
[![NPM version](http://img.shields.io/npm/v/prpl-server.svg)](https://www.npmjs.com/package/prpl-server)
[![Build Status](https://github.com/Polymer/prpl-server/actions/workflows/tests.yml/badge.svg)](https://github.com/Polymer/prpl-server/actions/workflows/tests.yaml?query=branch%3Amain)
[![Published on npm](https://img.shields.io/npm/v/prpl-server.svg?logo=npm)](https://www.npmjs.com/package/prpl-server)

# prpl-server

An HTTP server for Node designed to serve [PRPL](https://developers.google.com/web/fundamentals/performance/prpl-pattern/) apps in production.

> ⚠️IMPORTANT⚠️ `prpl-server` is in maintenance mode, and is no longer recommended. Reports and PRs for critical bugs and security issues will be accepted, but we will no longer accept new feature requests or PRs.
## Deprecation
> ⚠️IMPORTANT⚠️ `prpl-server` is deprecated and is no longer recommended. Reports and PRs for critical bugs and security issues will be accepted, but we will no longer accept new feature requests or PRs.
>
> For differential serving, we now recommend a simple two-build configuration using `nomodule` for client-side capability sniffing. See https://jasonformat.com/modern-script-loading/ for more details on this pattern.
>
Expand Down
15 changes: 0 additions & 15 deletions appveyor.yml

This file was deleted.

Loading