Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename master to main #21

Merged
merged 1 commit into from
Sep 22, 2021
Merged
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
28 changes: 12 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# template: component

references:

container_config_node8: &container_config_node8
working_directory: ~/project/build
docker:
Expand All @@ -13,36 +12,35 @@ references:
docker:
- image: lambci/lambda:build-nodejs8.10

workspace_root: &workspace_root
~/project
workspace_root: &workspace_root ~/project

attach_workspace: &attach_workspace
attach_workspace:
at: *workspace_root

npm_cache_keys: &npm_cache_keys
keys:
- v2-dependency-npm-{{ checksum "package.json" }}-
- v2-dependency-npm-{{ checksum "package.json" }}
- v2-dependency-npm-
- v2-dependency-npm-{{ checksum "package.json" }}-
- v2-dependency-npm-{{ checksum "package.json" }}
- v2-dependency-npm-

cache_npm_cache: &cache_npm_cache
save_cache:
key: v2-dependency-npm-{{ checksum "package.json" }}-{{ epoch }}
paths:
key: v2-dependency-npm-{{ checksum "package.json" }}-{{ epoch }}
paths:
- ./node_modules/

restore_npm_cache: &restore_npm_cache
restore_cache:
<<: *npm_cache_keys
<<: *npm_cache_keys

filters_only_master: &filters_only_master
filters_only_main: &filters_only_main
branches:
only: master
only: main

filters_ignore_master: &filters_ignore_master
filters_ignore_main: &filters_ignore_main
branches:
ignore: master
ignore: main

filters_ignore_tags: &filters_ignore_tags
tags:
Expand All @@ -58,7 +56,6 @@ references:
version: 2

jobs:

build:
<<: *container_config_node8
steps:
Expand Down Expand Up @@ -121,7 +118,6 @@ jobs:
command: .circleci/shared-helpers/helper-npm-version-and-publish-public

workflows:

version: 2

build-test:
Expand Down Expand Up @@ -154,7 +150,7 @@ workflows:
- schedule:
cron: "0 0 * * *"
filters:
<<: *filters_only_master
<<: *filters_only_main
jobs:
- build:
context: next-nightly-build
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# n-search-parser

[![CircleCI](https://img.shields.io/circleci/project/github/Financial-Times/n-search-parser/master.svg)](https://circleci.com/gh/Financial-Times/n-search-parser) [![NPM version](https://img.shields.io/npm/v/@financial-times/n-search-parser.svg)](https://www.npmjs.com/package/@financial-times/n-search-parser)
[![CircleCI](https://img.shields.io/circleci/project/github/Financial-Times/n-search-parser/main.svg)](https://circleci.com/gh/Financial-Times/n-search-parser) [![NPM version](https://img.shields.io/npm/v/@financial-times/n-search-parser.svg)](https://www.npmjs.com/package/@financial-times/n-search-parser)

This parser is not that smart, but that's OK. You don't need to know about [parsing expression grammar][1] (and subsequently [the tools][2] surrounding it) or anything like that. It's written in sane JavaScript, is very fast, and consists of a tokenizer and an expression tree builder.

Expand All @@ -21,7 +21,7 @@ $ npm i -S @financial-times/n-search-parser
First include the module in your code:

```js
const parser = require('@financial-times/n-search-parser');
const parser = require("@financial-times/n-search-parser");
```

This module will export three methods...
Expand Down