-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove tsdx and fix up typings (#214)
Simplifies plugin build & dev tooling. Should fix #213
- Loading branch information
1 parent
3905d9b
commit b8bf973
Showing
22 changed files
with
7,799 additions
and
25,868 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'tailwindcss-capsize': patch | ||
--- | ||
|
||
Reworked internals | ||
No notable change in CSS output. Should support Tailwind TypeScript configs better now. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** @type {import('eslint').Linter.Config} */ | ||
const config = { | ||
extends: [ | ||
'@zazen', | ||
'@zazen/eslint-config/node', | ||
'@zazen/eslint-config/typescript', | ||
], | ||
env: { | ||
node: true, | ||
}, | ||
rules: {}, | ||
overrides: [ | ||
{ | ||
// Jest config | ||
files: [ | ||
'**/__tests__/**/*.{js,ts,tsx}', | ||
'**/*.@(spec|test).{js,ts,tsx}', | ||
], | ||
env: { | ||
jest: true, | ||
}, | ||
rules: { | ||
'import/no-extraneous-dependencies': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.d.ts'], | ||
rules: { | ||
// Prevent conflicts with `import/no-mutable-exports`. | ||
'prefer-let/prefer-let': 'off', | ||
}, | ||
}, | ||
], | ||
} | ||
|
||
module.exports = config |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["github>tidaltheory/renovate-config"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,13 +7,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Begin CI... | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node 12 | ||
- name: Setup Node.js 18.x | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 12.x | ||
node-version: 18.x | ||
|
||
- name: Use cached node_modules | ||
uses: actions/[email protected] | ||
|
@@ -26,11 +26,8 @@ jobs: | |
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
- name: Build | ||
run: npm run build | ||
|
||
- name: Test | ||
run: npm test -- --ci --coverage --maxWorkers=2 | ||
run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,29 +10,30 @@ jobs: | |
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
# https://github.com/actions/checkout | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
with: | ||
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node.js 12.x | ||
- name: Setup Node.js 18.x | ||
uses: actions/[email protected] | ||
with: | ||
node-version: 12.x | ||
node-version: 18.x | ||
cache: npm | ||
|
||
- name: Install Dependencies | ||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Create Release Pull Request or Publish to npm | ||
# https://github.com/changesets/action | ||
- name: Create release PR or publish to npm | ||
id: changesets | ||
# https://github.com/changesets/action | ||
uses: changesets/action@master | ||
uses: changesets/action@v1 | ||
with: | ||
title: 'Chore: Publish release' | ||
# This expects you to have a script called release which does a build | ||
# for your packages and calls changeset publish | ||
publish: npm run release | ||
title: 'Publish release' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
Oops, something went wrong.