chore: update deps (#305)
* chore: update deps * chore: update deps for apps/docs * chore: update landing-page deps * chore: update monorepo deps * chore: add astro as dep to config * chore: update package lock * fix: tailwind import on landing-page * chore: type module * chore: remove ci run for node 16 * chore: ci run ci * chore: remove astro check from ci * chore: remove lint check from ci * fix: tailwindcss import * fix: check errors on apps * chore: fix npm run check * chore: updat emonorepo deps * chore: not a module * chore: use astro-iconify instead * chore: update prettier * chore: use prettier formatter * chore: update lint deps * chore: run lint on ci * chore: add changeset
This commit is contained in:
parent
92b11031c3
commit
4d2a577b0e
31 changed files with 5664 additions and 14781 deletions
10
.changeset/proud-clocks-stare.md
Normal file
10
.changeset/proud-clocks-stare.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
"@astro-reactive/validator": minor
|
||||||
|
"@astro-reactive/landing-page": minor
|
||||||
|
"@astro-reactive/common": minor
|
||||||
|
"@astro-reactive/form": minor
|
||||||
|
"@astro-reactive/demo": minor
|
||||||
|
"@astro-reactive/docs": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Support Astro 3
|
4
.github/workflows/build-and-test.yml
vendored
4
.github/workflows/build-and-test.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x, 18.x]
|
node-version: [18.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -25,7 +25,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
- run: npm i --force
|
- run: npm ci
|
||||||
- run: npm run check
|
- run: npm run check
|
||||||
- run: npm run test
|
- run: npm run test
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
|
1
.npmrc
Normal file
1
.npmrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
legacy-peer-deps=true
|
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
@ -4,5 +4,8 @@
|
||||||
"source.fixAll": true
|
"source.fixAll": true
|
||||||
},
|
},
|
||||||
"cSpell.words": ["Astro", "maxlength"],
|
"cSpell.words": ["Astro", "maxlength"],
|
||||||
"prettier.documentSelectors": ["**/*.astro"]
|
"prettier.documentSelectors": ["**/*.astro"],
|
||||||
|
"[astro]": {
|
||||||
|
"editor.defaultFormatter": "astro-build.astro-vscode"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,12 +6,13 @@ module.exports = {
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
trailingComma: 'es5',
|
trailingComma: 'es5',
|
||||||
useTabs: true,
|
useTabs: true,
|
||||||
plugins: ['../../node_modules/prettier-plugin-astro'],
|
plugins: ['prettier-plugin-astro'],
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
files: '*.astro',
|
files: '*.astro',
|
||||||
options: {
|
options: {
|
||||||
parser: 'astro',
|
parser: 'astro',
|
||||||
|
astroAllowShorthand: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "@astro-reactive/demo",
|
"name": "@astro-reactive/demo",
|
||||||
"description": "Demo App for Astro Reactive Library",
|
"description": "Demo App for Astro Reactive Library",
|
||||||
"type": "module",
|
|
||||||
"version": "0.0.2",
|
"version": "0.0.2",
|
||||||
"author": "astro-reactive",
|
"author": "astro-reactive",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"check": "astro check && tsc --noEmit && astro build",
|
"check": "astro check",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
|
@ -20,7 +19,9 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astro-reactive/form": "*",
|
"@astro-reactive/form": "*",
|
||||||
"@astro-reactive/validator": "*",
|
"@astro-reactive/validator": "*",
|
||||||
"astro": "^2.1.3"
|
"@astrojs/check": "^0.2.0",
|
||||||
|
"astro": "^3.1.2",
|
||||||
|
"typescript": "^5.2.2"
|
||||||
},
|
},
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -35,11 +36,11 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astro-reactive/eslint-config-custom": "*",
|
"@astro-reactive/eslint-config-custom": "*",
|
||||||
"@astro-reactive/tsconfig": "*",
|
"@astro-reactive/tsconfig": "*",
|
||||||
"@types/eslint": "^8.4.10",
|
"@types/eslint": "^8.44.3",
|
||||||
"@types/prettier": "^2.7.2",
|
"@types/prettier": "^3.0.0",
|
||||||
"eslint": "^8.31.0",
|
"eslint": "^8.50.0",
|
||||||
"prettier": "^2.8.3",
|
"prettier": "^3.0.3",
|
||||||
"prettier-plugin-astro": "^0.7.2",
|
"prettier-plugin-astro": "^0.12.0",
|
||||||
"rimraf": "^3.0.2"
|
"rimraf": "^5.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
import Form, { ControlConfig, FormGroup, FormControl } from '@astro-reactive/form';
|
import Form, { FormGroup, FormControl } from '@astro-reactive/form';
|
||||||
import type { Submit } from '@astro-reactive/common/types';
|
import type { ControlConfig } from '@astro-reactive/form';
|
||||||
|
import type { Submit } from '@astro-reactive/common';
|
||||||
import { Validators } from '@astro-reactive/validator';
|
import { Validators } from '@astro-reactive/validator';
|
||||||
import Layout from '../components/Layout.astro';
|
import Layout from '../components/Layout.astro';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
import Form, { ControlConfig, FormControl, FormGroup } from '@astro-reactive/form';
|
import Form, { FormControl, FormGroup } from '@astro-reactive/form';
|
||||||
|
import type { ControlConfig } from '@astro-reactive/form';
|
||||||
import { Validators } from '@astro-reactive/validator';
|
import { Validators } from '@astro-reactive/validator';
|
||||||
import type { Submit } from '@astro-reactive/common';
|
import type { Submit } from '@astro-reactive/common';
|
||||||
import Layout from '../components/Layout.astro';
|
import Layout from '../components/Layout.astro';
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": "@astro-reactive/tsconfig/base.json"
|
"extends": "@astro-reactive/tsconfig/base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"skipLibCheck": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ module.exports = {
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
trailingComma: "es5",
|
trailingComma: "es5",
|
||||||
useTabs: true,
|
useTabs: true,
|
||||||
plugins: ["../../node_modules/prettier-plugin-astro"],
|
plugins: ['prettier-plugin-astro'],
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
files: "*.astro",
|
files: "*.astro",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"docs": "astro dev",
|
"docs": "astro dev",
|
||||||
"check": "astro check && tsc --noEmit && astro build",
|
"check": "astro check",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
|
@ -17,18 +17,18 @@
|
||||||
"clean": "rimraf node_modules .turbo dist"
|
"clean": "rimraf node_modules .turbo dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@algolia/client-search": "^4.13.1",
|
"@algolia/client-search": "^4.20.0",
|
||||||
"@astrojs/preact": "^1.1.1",
|
"@astrojs/preact": "^3.0.0",
|
||||||
"@astrojs/react": "^1.1.4",
|
"@astrojs/react": "^3.0.2",
|
||||||
"@docsearch/css": "^3.1.0",
|
"@docsearch/css": "^3.5.2",
|
||||||
"@docsearch/react": "^3.1.0",
|
"@docsearch/react": "^3.5.2",
|
||||||
"@types/node": "^18.0.0",
|
"@types/node": "^20.6.5",
|
||||||
"@types/react": "^18.0.24",
|
"@types/react": "^18.2.22",
|
||||||
"@types/react-dom": "^18.0.0",
|
"@types/react-dom": "^18.2.7",
|
||||||
"astro": "^2.1.3",
|
"astro": "^3.1.2",
|
||||||
"preact": "^10.7.3",
|
"preact": "^10.17.1",
|
||||||
"react": "^18.1.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.1.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
"description": "```bash npm create astro@latest -- --template docs ```",
|
"description": "```bash npm create astro@latest -- --template docs ```",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
@ -45,11 +45,11 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astro-reactive/eslint-config-custom": "*",
|
"@astro-reactive/eslint-config-custom": "*",
|
||||||
"@astro-reactive/tsconfig": "*",
|
"@astro-reactive/tsconfig": "*",
|
||||||
"@types/eslint": "^8.4.10",
|
"@types/eslint": "^8.44.3",
|
||||||
"@types/prettier": "^2.7.2",
|
"@types/prettier": "^2.7.3",
|
||||||
"eslint": "^8.31.0",
|
"eslint": "^8.50.0",
|
||||||
"prettier": "^2.8.3",
|
"prettier": "^3.0.3",
|
||||||
"prettier-plugin-astro": "^0.7.2",
|
"prettier-plugin-astro": "^0.12.0",
|
||||||
"rimraf": "^3.0.2"
|
"rimraf": "^3.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
import { SITE, OPEN_GRAPH, Frontmatter } from '../config';
|
import { SITE, OPEN_GRAPH } from '../config';
|
||||||
|
import type { Frontmatter } from '../config';
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
frontmatter: Frontmatter;
|
frontmatter: Frontmatter;
|
||||||
|
|
|
@ -6,7 +6,7 @@ module.exports = {
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
trailingComma: 'es5',
|
trailingComma: 'es5',
|
||||||
useTabs: true,
|
useTabs: true,
|
||||||
plugins: ['../../node_modules/prettier-plugin-astro'],
|
plugins: ['prettier-plugin-astro'],
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
files: '*.astro',
|
files: '*.astro',
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"landing-page": "astro dev",
|
"landing-page": "astro dev",
|
||||||
"check": "astro check && tsc --noEmit && astro build",
|
"check": "astro check",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro",
|
"astro": "astro",
|
||||||
|
@ -17,22 +17,22 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@astro-reactive/eslint-config-custom": "*",
|
"@astro-reactive/eslint-config-custom": "*",
|
||||||
"@astrojs/tailwind": "^3.1.1",
|
"@astrojs/tailwind": "^5.0.0",
|
||||||
"@types/eslint": "^8.4.10",
|
"@types/eslint": "^8.44.3",
|
||||||
"@types/micromodal": "^0.3.3",
|
"@types/micromodal": "^0.3.3",
|
||||||
"@types/prettier": "^2.7.2",
|
"@types/prettier": "^3.0.0",
|
||||||
"astro": "^2.1.3",
|
"astro": "^3.1.2",
|
||||||
"astro-icon": "^0.8.0",
|
"eslint": "^8.50.0",
|
||||||
"eslint": "^8.31.0",
|
"prettier": "^3.0.3",
|
||||||
"prettier": "^2.7.1",
|
"prettier-plugin-astro": "^0.12.0",
|
||||||
"prettier-plugin-astro": "^0.7.2",
|
"rimraf": "^5.0.1",
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"tailwindcss-fluid-type": "^2.0.3"
|
"tailwindcss-fluid-type": "^2.0.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astro-reactive/tsconfig": "*",
|
"@astro-reactive/tsconfig": "*",
|
||||||
|
"astro-iconify": "^1.2.0",
|
||||||
"micromodal": "^0.4.10",
|
"micromodal": "^0.4.10",
|
||||||
"tailwindcss": "^3.1.8"
|
"tailwindcss": "^3.3.3"
|
||||||
},
|
},
|
||||||
"description": "[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)",
|
"description": "[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
import { Icon } from "astro-icon";
|
import { Icon } from "astro-iconify";
|
||||||
// import Starfield from "~/components/starfield.astro";
|
// import Starfield from "~/components/starfield.astro";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
import { Icon } from 'astro-icon';
|
import { Icon } from 'astro-iconify';
|
||||||
---
|
---
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
import { Icon } from 'astro-icon';
|
import { Icon } from 'astro-iconify';
|
||||||
// import ThemeSwitcher from "~/components/theme-switcher.astro";
|
// import ThemeSwitcher from "~/components/theme-switcher.astro";
|
||||||
|
|
||||||
const socials = [
|
const socials = [
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
import { Icon } from 'astro-icon';
|
import { Icon } from 'astro-iconify';
|
||||||
import Copynpm from '~/components/copynpm.astro';
|
import Copynpm from '~/components/copynpm.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
import { Icon } from "astro-icon";
|
import { Icon } from "astro-iconify";
|
||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
import '~/styles/index.css';
|
import '~/styles/index.css';
|
||||||
import Header from '~/components/header.astro';
|
import Header from '~/components/header.astro';
|
||||||
// import Icon from "astro-icon";
|
// import Icon from "astro-iconify";
|
||||||
import Splash from '~/components/splash.astro';
|
import Splash from '~/components/splash.astro';
|
||||||
// import AstroSection from "~/sections/astro-section.astro";
|
// import AstroSection from "~/sections/astro-section.astro";
|
||||||
import Starfield from '~/components/starfield.astro';
|
import Starfield from '~/components/starfield.astro';
|
||||||
|
@ -32,7 +32,8 @@ const description =
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
|
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap"
|
||||||
media="print"
|
media="print"
|
||||||
onload="this.media='all'"
|
onload="th
|
||||||
|
is.media=' a ll'"
|
||||||
/>
|
/>
|
||||||
<noscript>
|
<noscript>
|
||||||
<link
|
<link
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
import * as defaultTheme from 'tailwindcss/defaultTheme';
|
||||||
const defaultTheme = require('tailwindcss/defaultTheme');
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
content: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'],
|
content: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'],
|
||||||
|
|
|
@ -4,7 +4,7 @@ module.exports = {
|
||||||
node: true,
|
node: true,
|
||||||
},
|
},
|
||||||
parser: "@typescript-eslint/parser",
|
parser: "@typescript-eslint/parser",
|
||||||
plugins: ["@typescript-eslint", "prettier"],
|
plugins: ["@typescript-eslint", "prettier",],
|
||||||
extends: [
|
extends: [
|
||||||
"eslint:recommended",
|
"eslint:recommended",
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
|
|
|
@ -2,12 +2,13 @@
|
||||||
"name": "@astro-reactive/eslint-config-custom",
|
"name": "@astro-reactive/eslint-config-custom",
|
||||||
"main": "./index.cjs",
|
"main": "./index.cjs",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/eslint": "^8.4.10",
|
"@types/eslint": "^8.44.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.48.1",
|
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
||||||
"@typescript-eslint/parser": "^5.48.1",
|
"@typescript-eslint/parser": "^6.7.2",
|
||||||
"eslint": "^8.31.0",
|
"eslint": "^8.50.0",
|
||||||
"eslint-config-prettier": "^8.6.0",
|
"eslint-config-prettier": "^9.0.0",
|
||||||
"eslint-plugin-prettier": "^4.2.1",
|
"eslint-plugin-prettier": "^5.0.0",
|
||||||
"prettier-plugin-astro": "^0.7.2"
|
"prettier": "^3.0.3",
|
||||||
|
"prettier-plugin-astro": "^0.12.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@astro-reactive/tsconfig"
|
"name": "@astro-reactive/tsconfig",
|
||||||
|
"dependencies": {
|
||||||
|
"astro": "^3.1.3"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
20212
package-lock.json
generated
20212
package-lock.json
generated
File diff suppressed because it is too large
Load diff
19
package.json
19
package.json
|
@ -22,9 +22,6 @@
|
||||||
"clean": "turbo clean",
|
"clean": "turbo clean",
|
||||||
"test:watch": "turbo run test:watch",
|
"test:watch": "turbo run test:watch",
|
||||||
"test:coverage": "turbo run test:coverage",
|
"test:coverage": "turbo run test:coverage",
|
||||||
"patch": "npm version patch -w",
|
|
||||||
"minor": "npm version minor -w",
|
|
||||||
"major": "npm version major -w",
|
|
||||||
"publish": "turbo run lint build check test && npm publish --access public -w",
|
"publish": "turbo run lint build check test && npm publish --access public -w",
|
||||||
"release": "node ./packages/pr-updater.js"
|
"release": "node ./packages/pr-updater.js"
|
||||||
},
|
},
|
||||||
|
@ -35,15 +32,15 @@
|
||||||
"configs/*"
|
"configs/*"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@changesets/cli": "^2.26.0",
|
"@changesets/cli": "^2.26.2",
|
||||||
"prettier-plugin-astro": "^0.7.0",
|
"prettier": "^3.0.3",
|
||||||
"prompt-sync": "^4.2.0",
|
"prettier-plugin-astro": "^0.12.0",
|
||||||
"short-unique-id": "^4.4.4"
|
"prompt-sync": "^4.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vitest/coverage-istanbul": "^0.28.3",
|
"@vitest/coverage-istanbul": "^0.34.5",
|
||||||
"eslint-config-turbo": "^0.0.4",
|
"eslint-config-turbo": "^1.10.14",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^5.0.1",
|
||||||
"turbo": "^1.7.1"
|
"turbo": "^1.10.14"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
"description": "Common code for Astro Reactive Packages",
|
"description": "Common code for Astro Reactive Packages",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
"types": "./types/index.ts",
|
"types": "./types/index.ts",
|
||||||
|
"type": "module",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"rimraf": "^3.0.2",
|
"@astro-reactive/tsconfig": "*",
|
||||||
"@astro-reactive/tsconfig": "*"
|
"rimraf": "^3.0.2"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./index.ts"
|
".": "./index.ts"
|
||||||
|
@ -31,5 +32,8 @@
|
||||||
"homepage": "https://astro-reactive.dev",
|
"homepage": "https://astro-reactive.dev",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"astro": "^3.1.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ module.exports = {
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
trailingComma: 'es5',
|
trailingComma: 'es5',
|
||||||
useTabs: true,
|
useTabs: true,
|
||||||
plugins: ['../../node_modules/prettier-plugin-astro'],
|
plugins: ['prettier-plugin-astro'],
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
files: '*.astro',
|
files: '*.astro',
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
"format": "prettier -w .",
|
"format": "prettier -w .",
|
||||||
"lint": "eslint . --ext .ts,.js",
|
"lint": "eslint . --ext .ts,.js",
|
||||||
"lint:fix": "eslint --fix . --ext .ts,.js",
|
"lint:fix": "eslint --fix . --ext .ts,.js",
|
||||||
"check": "astro check && tsc --noEmit",
|
"check": "astro check",
|
||||||
"clean": "rimraf node_modules .turbo dist"
|
"clean": "rimraf node_modules .turbo dist"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -35,17 +35,17 @@
|
||||||
"@types/eslint": "^8.4.6",
|
"@types/eslint": "^8.4.6",
|
||||||
"@types/node": "^18.7.18",
|
"@types/node": "^18.7.18",
|
||||||
"@types/prettier": "^2.7.0",
|
"@types/prettier": "^2.7.0",
|
||||||
"astro": "^2.1.3",
|
"astro": "^3.1.2",
|
||||||
"astro-component-tester": "^0.6.0",
|
"astro-component-tester": "^0.6.0",
|
||||||
"eslint": "^8.23.1",
|
"eslint": "^8.23.1",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^3.0.3",
|
||||||
"prettier-plugin-astro": "^0.7.0",
|
"prettier-plugin-astro": "^0.12.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"typescript": "^4.8.3",
|
"typescript": "^4.8.3",
|
||||||
"vitest": "^0.25.2"
|
"vitest": "^0.25.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"astro": "^2.1.3"
|
"astro": "^3.1.2"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -6,7 +6,7 @@ module.exports = {
|
||||||
tabWidth: 2,
|
tabWidth: 2,
|
||||||
trailingComma: 'es5',
|
trailingComma: 'es5',
|
||||||
useTabs: true,
|
useTabs: true,
|
||||||
plugins: ['../../node_modules/prettier-plugin-astro'],
|
plugins: ['prettier-plugin-astro'],
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
files: '*.astro',
|
files: '*.astro',
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"format": "prettier -w .",
|
"format": "prettier -w .",
|
||||||
"lint": "eslint . --ext .ts,.js",
|
"lint": "eslint . --ext .ts,.js",
|
||||||
"lint:fix": "eslint --fix . --ext .ts,.js",
|
"lint:fix": "eslint --fix . --ext .ts,.js",
|
||||||
"check": "astro check && tsc --noEmit",
|
"check": "astro check",
|
||||||
"clean": "rimraf node_modules .turbo dist"
|
"clean": "rimraf node_modules .turbo dist"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -33,17 +33,17 @@
|
||||||
"@types/eslint": "^8.4.6",
|
"@types/eslint": "^8.4.6",
|
||||||
"@types/node": "^18.7.18",
|
"@types/node": "^18.7.18",
|
||||||
"@types/prettier": "^2.7.0",
|
"@types/prettier": "^2.7.0",
|
||||||
"astro": "^2.1.3",
|
"astro": "^3.1.2",
|
||||||
"astro-component-tester": "^0.6.0",
|
"astro-component-tester": "^0.6.0",
|
||||||
"eslint": "^8.23.1",
|
"eslint": "^8.23.1",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^3.0.3",
|
||||||
"prettier-plugin-astro": "^0.7.0",
|
"prettier-plugin-astro": "^0.12.0",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
"typescript": "^4.8.3",
|
"typescript": "^4.8.3",
|
||||||
"vitest": "^0.25.2"
|
"vitest": "^0.25.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"astro": "^2.1.3"
|
"astro": "^3.1.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astro-reactive/common": "*"
|
"@astro-reactive/common": "*"
|
||||||
|
|
Loading…
Reference in a new issue