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

Migration to Tanstack Config #41

Merged
merged 40 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from 37 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b74fec5
Update package.json
asamuzaK Jan 10, 2025
0fe0645
Release test version
asamuzaK Jan 10, 2025
ce62e1b
Create package-lock.json
asamuzaK Jan 10, 2025
469f8bf
Update node.js.yml
asamuzaK Jan 10, 2025
4d96a34
Revert version
asamuzaK Jan 11, 2025
02ab0b4
chore: WIP major overhaul of config files
crutchcorn Jan 11, 2025
951aed9
chore: move JS files to TS
crutchcorn Jan 11, 2025
2139b81
chore: migrate color.test.ts to use Vitest
crutchcorn Jan 11, 2025
30abb2e
chore: migrate common.test to use Vitest
crutchcorn Jan 11, 2025
72a541c
chore: migrate constant.test to use Vitest
crutchcorn Jan 11, 2025
d7a6e3f
chore: convert convert.test to Vitest
crutchcorn Jan 11, 2025
a21caea
chore: migrate css-calc to use new tests
crutchcorn Jan 11, 2025
25ee2dd
chore: migrate css-var to new tests
crutchcorn Jan 11, 2025
7d54a87
chore: migrate index test to Vitest
crutchcorn Jan 11, 2025
f456a4c
chore: mirgate relative-color to Vitest
crutchcorn Jan 11, 2025
23ad422
chore: migrate resolve tests to Vitest
crutchcorn Jan 11, 2025
123c304
chore: migrate util tests to Vitest
crutchcorn Jan 11, 2025
c9bc243
chore: mirgate convert types to file
crutchcorn Jan 11, 2025
b4304d1
chore: migrate color.ts to add type defs
crutchcorn Jan 12, 2025
ca03ddb
chore: migrate common to ts types
crutchcorn Jan 12, 2025
61f2104
chore: migrate css-calc to TS types
crutchcorn Jan 12, 2025
eccbbd3
chore: migrate css-var to TS
crutchcorn Jan 12, 2025
b78f668
chore: migrate relative color to use TS
crutchcorn Jan 12, 2025
fac0c10
chore: migrate resolve to TS
crutchcorn Jan 12, 2025
1288517
chore: mirgate util to TS
crutchcorn Jan 12, 2025
1be5cde
chore: fix type issues
crutchcorn Jan 12, 2025
700bb5a
chore: fix build
crutchcorn Jan 12, 2025
90307df
chore: remove .js extensions
crutchcorn Jan 12, 2025
18aa75d
chore: add minified browser supported file
crutchcorn Jan 12, 2025
e792c31
chore: format via prettier
crutchcorn Jan 12, 2025
5b46077
chore: fix CI
crutchcorn Jan 12, 2025
4c942bd
chore: fix prettier and tslint
crutchcorn Jan 12, 2025
8e1e65b
chore: fix knip
crutchcorn Jan 12, 2025
c3d58cb
chore: fix test
crutchcorn Jan 12, 2025
9471aa8
chore: update ESLint to Neostandard, enable Prettier semicolons
crutchcorn Jan 13, 2025
54804a9
chore: remove trailing semi
crutchcorn Jan 13, 2025
fe37a52
chore: fix comments, README, legalComments
crutchcorn Jan 13, 2025
4bd148b
chore: fix type casts
crutchcorn Jan 13, 2025
235a1cc
chore: fix more type casting
crutchcorn Jan 13, 2025
bf20e60
chore: fix parse and resolve fn types
crutchcorn Jan 13, 2025
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
14 changes: 7 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ name: build

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:
strategy:
matrix:
node-version: [ 18.x, 20.x, 22.x, 23.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
node-version: [18.x, 20.x, 22.x, 23.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm test
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- run: pnpm test
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
node_modules
package-lock.json
yarn.lock

# builds
build
coverage
dist

# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.next

npm-debug.log*
yarn-debug.log*
yarn-error.log*
.history
size-plugin.json
stats-hydration.json
stats.json
stats.html
.vscode/settings.json

*.log
.cache
.idea
.nx/cache
.nx/workspace-data
.pnpm-store
.tsup

vite.config.js.timestamp-*
vite.config.ts.timestamp-*
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22.12.0
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
**/.next
**/.nx/cache
**/.svelte-kit
**/build
**/coverage
**/dist
**/docs
**/codemods/**/__testfixtures__
pnpm-lock.yaml
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": true,
"singleQuote": true,
"trailingComma": "none"
}
Loading