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 #7

Merged
merged 32 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
73d63bf
style: cleanup and tests
niklas-may Sep 10, 2023
fc44fea
fix: filename casing and console info
niklas-may Sep 10, 2023
d49cb9b
Merge branch 'main' into development
niklas-may Sep 10, 2023
834ae38
fix(playground): imports
niklas-may Sep 11, 2023
51079f8
feat: Output complete error object to console when parsing config
niklas-may Sep 12, 2023
14efbc5
docs: notes on limitations, progrmatic use, todos and roadmap
niklas-may Sep 12, 2023
8315015
0.1.5
niklas-may Sep 12, 2023
234e92e
Merge branch 'main' into development
niklas-may Sep 12, 2023
8d744ef
fix: readme typos
niklas-may Sep 12, 2023
9fd10c1
0.1.6
niklas-may Sep 12, 2023
8a7a196
feat: watch mode and vite server to load config
niklas-may Sep 16, 2023
57bb4f1
wip: inline Resolver
niklas-may Sep 17, 2023
fc4110e
fix: inline resolver bug
niklas-may Sep 17, 2023
e450e33
style: cleanup
niklas-may Sep 17, 2023
94d0174
wip: test setup
niklas-may Sep 18, 2023
c2b4ac1
refactor: vitest integration
niklas-may Sep 23, 2023
22581d3
fix: don’t include same inline resolver multiple times
niklas-may Sep 23, 2023
6cf80fc
chore: setup test action
niklas-may Sep 23, 2023
054368a
Update test-and-publish.yml
niklas-may Sep 23, 2023
a0266aa
Update test-and-publish.yml
niklas-may Sep 23, 2023
8aa8dd3
Update test-and-publish.yml
niklas-may Sep 23, 2023
dbf437b
fix: groq error handling
niklas-may Sep 23, 2023
2409d67
Merge branch 'development' of https://github.com/niklas-may/sanity-ge…
niklas-may Sep 23, 2023
591d05b
chore: update deps
niklas-may Sep 23, 2023
11a0145
chore: add test results
niklas-may Sep 23, 2023
22604db
Merge remote-tracking branch 'origin/main' into development
niklas-may Sep 23, 2023
bab5991
chore: Test Badge
niklas-may Sep 23, 2023
50ec189
Merge remote-tracking branch 'origin/main' into development
niklas-may Sep 23, 2023
9409b96
chore: update gh actions
niklas-may Sep 23, 2023
a13e551
Merge remote-tracking branch 'origin/main' into development
niklas-may Sep 23, 2023
a86049c
0.2.0
niklas-may Sep 23, 2023
2fd3561
docs: npm version badge
niklas-may Sep 23, 2023
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Publish to NPM
name: Pull Request
on:
release:
types: [created]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -11,11 +10,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies and build 🔧
run: yarn install --frozen-lockfile && yarn build
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Run tests
run: yarn test
5 changes: 4 additions & 1 deletion .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Test and Publish to NPM
on:
workflow_dispatch:
release:
types: [created]
jobs:
Expand All @@ -23,5 +22,9 @@ jobs:
with:
name: test-results
path: ./test-results.xml
- name: Publish package on NPM 📦
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Tests](https://img.shields.io/github/actions/workflow/status/niklas-may/sanity-generator/test-and-publish.yml?branch=main)
![Tests](https://img.shields.io/github/actions/workflow/status/niklas-may/sanity-generator/test-and-publish.yml?branch=main) ![npm](https://img.shields.io/npm/v/sanity-generator)

# Sanity Generator

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sanity-generator",
"version": "0.1.6",
"version": "0.2.0",
"main": "build/index.js",
"typings": "build/index.d.ts",
"files": [
Expand Down
Loading