File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 extends : [ '@whtsky' ] ,
3+ packageRules : [
4+ {
5+ extends : [ 'monorepo:jest' ] ,
6+ matchPackageNames : [ 'ts-jest' ] ,
7+ matchPackagePrefixes : [ '@types/jest' ] ,
8+ groupName : 'jest' ,
9+ } ,
10+ {
11+ matchPackagePrefixes : [ '@rollup' , 'rollup-' ] ,
12+ matchPackageNames : [ 'rollup' ] ,
13+ groupName : 'rollup' ,
14+ } ,
15+ ] ,
316}
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@master
10- - name : Use Node.js 14
10+ - name : Use Node.js 18
1111 uses : actions/setup-node@v3
1212 with :
13- node-version : 14
13+ node-version : 18
1414 - run : yarn
1515 - run : yarn test
1616 - uses : codecov/codecov-action@v3.1.1
1717 lighthouse :
1818 runs-on : ubuntu-latest
1919 steps :
2020 - uses : actions/checkout@v3
21- - name : Use Node.js 14
21+ - name : Use Node.js 18
2222 uses : actions/setup-node@v3
2323 with :
24- node-version : 14
24+ node-version : 18
2525 - run : yarn
2626 - run : yarn build
2727 - name : Run Lighthouse
@@ -33,11 +33,11 @@ jobs:
3333 runs-on : ubuntu-latest
3434 steps :
3535 - uses : actions/checkout@v3
36- - name : Use Node.js 14
36+ - name : Use Node.js 18
3737 uses : actions/setup-node@v3
3838 with :
39- node-version : 14
40- - uses : cypress-io/github-action@v2
39+ node-version : 18
40+ - uses : cypress-io/github-action@v5
4141 with :
4242 build : yarn build
4343 start : yarn start
Original file line number Diff line number Diff line change 1+ import { defineConfig } from 'cypress'
2+
3+ export default defineConfig ( {
4+ e2e : {
5+ setupNodeEvents ( on , config ) { } ,
6+ supportFile : false ,
7+ } ,
8+ } )
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change 88 "devDependencies" : {
99 "@rollup/plugin-commonjs" : " ^21.1.0" ,
1010 "@rollup/plugin-node-resolve" : " ^13.3.0" ,
11+ "@rollup/plugin-terser" : " ^0.3.0" ,
1112 "@rollup/plugin-typescript" : " ^8.5.0" ,
1213 "@tailwindcss/forms" : " 0.5.3" ,
1314 "@types/crypto-js" : " ^4.1.1" ,
1920 "@whtsky/prettier-config" : " ^1.0.1" ,
2021 "autoprefixer" : " 10.4.13" ,
2122 "concurrently" : " 6.5.1" ,
22- "cypress" : " ^9.7 .0" ,
23+ "cypress" : " ^12.3 .0" ,
2324 "jest" : " ^28.1.3" ,
2425 "postcss" : " 8.4.21" ,
2526 "prettier" : " ^2.8.2" ,
2627 "rollup" : " ^2.79.1" ,
2728 "rollup-plugin-generate-html-template" : " 1.7.0" ,
2829 "rollup-plugin-postcss" : " ^4.0.2" ,
29- "rollup-plugin-terser" : " ^7.0.2" ,
3030 "start-server-and-test" : " ^1.15.2" ,
3131 "tailwindcss" : " 3.2.4" ,
3232 "ts-jest" : " ^28.0.8" ,
3333 "ts-node" : " ^10.9.1" ,
3434 "typescript" : " ^4.9.4"
3535 },
3636 "dependencies" : {
37- "@postlight/mercury- parser" : " ^2.2.1 " ,
37+ "@postlight/parser" : " ^2.2.3 " ,
3838 "@sentry/integrations" : " ^7.10.0" ,
3939 "@sentry/node" : " ^7.10.0" ,
4040 "crypto-js" : " ^4.1.1" ,
Original file line number Diff line number Diff line change 11import typescript from '@rollup/plugin-typescript'
22import commonjs from '@rollup/plugin-commonjs'
33import resolve from '@rollup/plugin-node-resolve'
4- import { terser } from 'rollup- plugin-terser'
4+ import terser from '@ rollup/ plugin-terser'
55import htmlTemplate from 'rollup-plugin-generate-html-template' ;
66// @ts -ignore
77import postcss from 'rollup-plugin-postcss'
Original file line number Diff line number Diff line change 11import type { ParsedPage } from './types'
22
3- import Mercury from '@postlight/mercury- parser'
3+ import Mercury from '@postlight/parser'
44
55export function parsePageUsingMercury ( url : string ) : Promise < ParsedPage > {
66 return Mercury . parse ( url ) . then ( ( result : { [ x : string ] : any } ) => {
You can’t perform that action at this time.
0 commit comments