-
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.
- fix vsix-builder tsconfig to what it used to be - deploy on ci/release branch - use yarn instead of pnpm - always use esbuild-wasm for the extension - add esbuild as vscode deps so that it's bundled in the extension/node_modules - use previous @pandacss/types release - add missing deps
- Loading branch information
Showing
29 changed files
with
15,119 additions
and
9,885 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
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,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
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,10 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.{js,json,yml}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
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 @@ | ||
/.yarn/** linguist-vendored | ||
/.yarn/releases/* binary | ||
/.yarn/plugins/**/* binary | ||
/.pnp.* binary linguist-generated |
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 |
---|---|---|
@@ -1,19 +1,15 @@ | ||
name: 'Install' | ||
description: 'Sets up Node.js and runs install' | ||
name: "Install" | ||
description: "Sets up Node.js and runs install" | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 7 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
registry-url: 'https://registry.npmjs.org' | ||
cache: 'pnpm' | ||
node-version: 20.x | ||
registry-url: "https://registry.npmjs.org" | ||
cache: "yarn" | ||
|
||
- name: Setup Git User | ||
shell: bash | ||
|
@@ -23,4 +19,4 @@ runs: | |
- name: Install dependencies | ||
shell: bash | ||
run: pnpm install | ||
run: yarn install --frozen-lockfile |
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
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
Large diffs are not rendered by default.
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,3 @@ | ||
nodeLinker: node-modules | ||
yarnPath: .yarn/releases/yarn-4.0.1.cjs | ||
nmHoistingLimits: dependencies |
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 |
---|---|---|
|
@@ -4,10 +4,10 @@ | |
"private": true, | ||
"description": "The repository of css panda", | ||
"scripts": { | ||
"prepare": "pnpm build-fast", | ||
"dev": "pnpm -r --parallel --filter=./packages/** dev", | ||
"build-fast": "pnpm -r --parallel --filter=./packages/** build-fast", | ||
"build": "pnpm -r --filter=./packages/** build", | ||
"prepare": "yarn build-fast", | ||
"dev": "yarn workspaces foreach -A --exclude 'sandbox-vite' -pt run dev", | ||
"build-fast": "yarn workspaces foreach -A --exclude 'sandbox-vite' -pt run build-fast", | ||
"build": "yarn workspaces foreach -A --exclude 'sandbox-vite' run build", | ||
"test": "vitest", | ||
"lint": "eslint packages --ext .ts", | ||
"fmt": "prettier --write packages", | ||
|
@@ -29,5 +29,16 @@ | |
"typescript": "5.2.2", | ||
"vitest": "0.33.0" | ||
}, | ||
"packageManager": "[email protected]" | ||
"resolutions": { | ||
"panda-css-vscode/esbuild": "npm:[email protected]" | ||
}, | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"packages/*", | ||
"sandbox/**" | ||
], | ||
"devDependencies": { | ||
"@types/eslint": "^8", | ||
"eslint": "^8.52.0" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { PandaLanguageServer } from './panda-language-server' | ||
|
||
const debug = true | ||
const debug = false | ||
new PandaLanguageServer(debug) |
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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"publisher": "chakra-ui", | ||
"packageManager": "[email protected]", | ||
"name": "panda-css-vscode", | ||
"displayName": "🐼 Panda CSS", | ||
"description": "The official Panda CSS plugin for VS Code", | ||
|
@@ -195,47 +196,48 @@ | |
"directory": "packages/vscode" | ||
}, | ||
"scripts": { | ||
"build:lsp": "pnpm --filter=../language-server build", | ||
"build:shared": "pnpm --filter=../shared build", | ||
"build:ts-plugin": "pnpm --filter=../ts-plugin build", | ||
"build:all": "pnpm build:shared && pnpm build:lsp && pnpm build:ts-plugin", | ||
"build:all": "yarn workspaces foreach -R run build", | ||
"build": "tsup", | ||
"dev": "tsup --watch src/index.ts --watch ../language-server/dist/index.js --watch ../shared/dist/index.js --watch ../ts-plugin/dist/index.js", | ||
"clean": "rimraf dist node_modules", | ||
"typecheck": "tsc --noEmit", | ||
"rewrite-deps": "tsx ./scripts/rewrite-workspace-dependencies.ts", | ||
"override-esbuild": "tsx ./scripts/override-esbuild-with-wasm.ts", | ||
"release": "pnpm build --silent && tsx ./scripts/publish.ts", | ||
"local:build": "pnpm rewrite-deps && pnpm clean && pnpm override-esbuild && npm i --ignore-scripts && pnpm build:all && pnpm build && pnpm vsix-builder package" | ||
"release": "yarn build --silent && tsx ./scripts/publish.ts", | ||
"pkg": "yarn vsix-builder package" | ||
}, | ||
"dependencies": { | ||
"@pandacss/dev": "^0.17.0", | ||
"@pandacss/preset-base": "^0.17.0", | ||
"@pandacss/preset-panda": "^0.17.0", | ||
"@pandacss/ts-plugin": "workspace:^", | ||
"esbuild": "^0.17.8", | ||
"pathe": "1.1.1" | ||
}, | ||
"bundledDependencies": [ | ||
"@pandacss/ts-plugin", | ||
"@pandacss/dev", | ||
"@pandacss/preset-base", | ||
"@pandacss/preset-panda", | ||
"pathe" | ||
"pathe", | ||
"esbuild" | ||
], | ||
"devDependencies": { | ||
"@pandacss/extension-shared": "workspace:^", | ||
"@pandacss/language-server": "workspace:^", | ||
"@pandacss/types": "^0.16.0", | ||
"@pandacss/vsix-builder": "workspace:^", | ||
"@pnpm/find-workspace-dir": "^6.0.2", | ||
"@pnpm/find-workspace-packages": "^6.0.9", | ||
"@pnpm/types": "^9.4.0", | ||
"@types/node": "20.4.5", | ||
"@types/vscode": "^1.80.0", | ||
"@vscode/vsce": "^2.20.0", | ||
"@types/semver": "^7.5.4", | ||
"@types/vscode": "^1.67.0", | ||
"@vscode/vsce": "^2.22.0", | ||
"dotenv": "^16.3.1", | ||
"execa": "7.2.0", | ||
"fs-extra": "11.1.1", | ||
"semver": "^7.5.4", | ||
"tsup": "7.1.0", | ||
"tsx": "^3.14.0", | ||
"typescript": "^5.2.2", | ||
"vscode": "^1.1.37", | ||
"vscode-languageclient": "^8.1.0" | ||
|
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
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
Oops, something went wrong.