mirror of
https://github.com/penpot/penpot.git
synced 2026-06-09 17:02:05 +00:00
✨ Refresh dependencies on plugins directory (#9935)
This commit is contained in:
parent
156c888e2d
commit
a9c0b5394c
@ -84,7 +84,10 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:application",
|
||||
"options": {
|
||||
"outputPath": "dist/apps/icons-plugin",
|
||||
"outputPath": {
|
||||
"base": "dist/apps/icons-plugin",
|
||||
"browser": ""
|
||||
},
|
||||
"index": "apps/icons-plugin/src/index.html",
|
||||
"browser": "apps/icons-plugin/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
@ -153,7 +156,10 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:application",
|
||||
"options": {
|
||||
"outputPath": "dist/apps/lorem-ipsum-plugin",
|
||||
"outputPath": {
|
||||
"base": "dist/apps/lorem-ipsum-plugin",
|
||||
"browser": ""
|
||||
},
|
||||
"index": "apps/lorem-ipsum-plugin/src/index.html",
|
||||
"browser": "apps/lorem-ipsum-plugin/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
@ -296,7 +302,10 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:application",
|
||||
"options": {
|
||||
"outputPath": "dist/apps/rename-layers-plugin",
|
||||
"outputPath": {
|
||||
"base": "dist/apps/rename-layers-plugin",
|
||||
"browser": ""
|
||||
},
|
||||
"index": "apps/rename-layers-plugin/src/index.html",
|
||||
"browser": "apps/rename-layers-plugin/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
@ -441,7 +450,10 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:application",
|
||||
"options": {
|
||||
"outputPath": "dist/apps/poc-state-plugin",
|
||||
"outputPath": {
|
||||
"base": "dist/apps/poc-state-plugin",
|
||||
"browser": ""
|
||||
},
|
||||
"index": "apps/poc-state-plugin/src/index.html",
|
||||
"browser": "apps/poc-state-plugin/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
@ -511,7 +523,10 @@
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:application",
|
||||
"options": {
|
||||
"outputPath": "dist/apps/poc-tokens-plugin",
|
||||
"outputPath": {
|
||||
"base": "dist/apps/poc-tokens-plugin",
|
||||
"browser": ""
|
||||
},
|
||||
"index": "apps/poc-tokens-plugin/src/index.html",
|
||||
"browser": "apps/poc-tokens-plugin/src/main.ts",
|
||||
"polyfills": ["zone.js"],
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
/// <reference types="vitest/config" />
|
||||
import { defineConfig } from 'vite';
|
||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
||||
|
||||
export default defineConfig({
|
||||
root: __dirname,
|
||||
server: {
|
||||
@ -12,7 +10,10 @@ export default defineConfig({
|
||||
port: 4202,
|
||||
host: '0.0.0.0',
|
||||
},
|
||||
plugins: [tsconfigPaths()],
|
||||
|
||||
resolve: {
|
||||
tsconfigPaths: true,
|
||||
},
|
||||
build: {
|
||||
outDir: '../../dist/apps/create-palette-plugin',
|
||||
reportCompressedSize: true,
|
||||
|
||||
@ -7,7 +7,10 @@ export default [
|
||||
{
|
||||
languageOptions: {
|
||||
parser: typescriptEslintParser,
|
||||
parserOptions: { project: './tsconfig.json' },
|
||||
parserOptions: {
|
||||
project: './tsconfig.json',
|
||||
tsconfigRootDir: import.meta.dirname,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
/// <reference types="vitest/config" />
|
||||
import { defineConfig } from 'vite';
|
||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
||||
|
||||
export default defineConfig({
|
||||
root: __dirname,
|
||||
server: {
|
||||
@ -14,7 +12,9 @@ export default defineConfig({
|
||||
host: '0.0.0.0',
|
||||
},
|
||||
|
||||
plugins: [tsconfigPaths()],
|
||||
resolve: {
|
||||
tsconfigPaths: true,
|
||||
},
|
||||
|
||||
build: {
|
||||
outDir: '../../dist/apps/example-styles',
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { ApplicationConfig } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { provideRouter, withHashLocation } from '@angular/router';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [provideRouter([])],
|
||||
providers: [provideRouter([], withHashLocation())],
|
||||
};
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
name = "icons-plugin"
|
||||
compatibility_date = "2025-01-01"
|
||||
|
||||
assets = { directory = "../../dist/apps/icons-plugin/browser" }
|
||||
assets = { directory = "../../dist/apps/icons-plugin" }
|
||||
|
||||
[[routes]]
|
||||
pattern = "WORKER_URI"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { ApplicationConfig } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { provideRouter, withHashLocation } from '@angular/router';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [provideRouter([])],
|
||||
providers: [provideRouter([], withHashLocation())],
|
||||
};
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
name = "lorem-ipsum-plugin"
|
||||
compatibility_date = "2025-01-01"
|
||||
|
||||
assets = { directory = "../../dist/apps/lorem-ipsum-plugin/browser" }
|
||||
assets = { directory = "../../dist/apps/lorem-ipsum-plugin" }
|
||||
|
||||
[[routes]]
|
||||
pattern = "WORKER_URI"
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { provideRouter, withHashLocation } from '@angular/router';
|
||||
|
||||
import { routes } from './app.routes';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
provideZoneChangeDetection({ eventCoalescing: true }),
|
||||
provideRouter(routes),
|
||||
provideRouter(routes, withHashLocation()),
|
||||
],
|
||||
};
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { ApplicationConfig } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { provideRouter, withHashLocation } from '@angular/router';
|
||||
import { appRoutes } from './app.routes';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [provideRouter(appRoutes)],
|
||||
providers: [provideRouter(appRoutes, withHashLocation())],
|
||||
};
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
name = "rename-layers-plugin"
|
||||
compatibility_date = "2025-01-01"
|
||||
|
||||
assets = { directory = "../../dist/apps/rename-layers-plugin/browser" }
|
||||
assets = { directory = "../../dist/apps/rename-layers-plugin" }
|
||||
|
||||
[[routes]]
|
||||
pattern = "WORKER_URI"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import baseConfig from '../../eslint.config.js';
|
||||
import jsoncParser from 'jsonc-eslint-parser';
|
||||
import * as jsoncParser from 'jsonc-eslint-parser';
|
||||
import globals from 'globals';
|
||||
|
||||
export default [
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"version": "1.4.2",
|
||||
"dependencies": {
|
||||
"@penpot/plugin-types": "^1.4.2",
|
||||
"ses": "^1.1.0",
|
||||
"ses": "^2.1.0",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"module": "./dist/index.js",
|
||||
|
||||
@ -81,6 +81,7 @@ export function createApi(
|
||||
msg +
|
||||
' Original error: ' +
|
||||
(err instanceof Error ? err.message : String(err)),
|
||||
{ cause: err },
|
||||
);
|
||||
} else {
|
||||
console.error(msg, err);
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "../dist/out-tsc",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Bundler",
|
||||
"moduleResolution": "bundler",
|
||||
"declaration": true,
|
||||
"types": ["node", "vite/client"]
|
||||
},
|
||||
|
||||
@ -4,15 +4,17 @@ import { defineConfig } from 'vite';
|
||||
import dts from 'vite-plugin-dts';
|
||||
import { viteStaticCopy } from 'vite-plugin-static-copy';
|
||||
import * as path from 'path';
|
||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
||||
import checker from 'vite-plugin-checker';
|
||||
|
||||
export default defineConfig({
|
||||
root: __dirname,
|
||||
cacheDir: '../node_modules/.vite/plugins-runtime',
|
||||
|
||||
resolve: {
|
||||
tsconfigPaths: true,
|
||||
},
|
||||
|
||||
plugins: [
|
||||
tsconfigPaths(),
|
||||
dts({
|
||||
entryRoot: 'src',
|
||||
tsconfigPath: path.join(__dirname, 'tsconfig.lib.json'),
|
||||
@ -51,7 +53,7 @@ export default defineConfig({
|
||||
},
|
||||
rollupOptions: {
|
||||
// External packages that should not be bundled into your library.
|
||||
external: [],
|
||||
external: ['ses', /^@endo\//],
|
||||
},
|
||||
sourcemap: true,
|
||||
},
|
||||
|
||||
@ -30,72 +30,71 @@
|
||||
},
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "21.1.1",
|
||||
"@angular-devkit/core": "21.1.1",
|
||||
"@angular-devkit/schematics": "21.1.1",
|
||||
"@angular-eslint/eslint-plugin": "21.1.0",
|
||||
"@angular-eslint/eslint-plugin-template": "21.1.0",
|
||||
"@angular-eslint/template-parser": "21.1.0",
|
||||
"@angular/cli": "21.1.1",
|
||||
"@angular/compiler-cli": "21.1.1",
|
||||
"@angular/language-service": "21.1.1",
|
||||
"@eslint/js": "9.39.2",
|
||||
"@schematics/angular": "21.1.1",
|
||||
"@angular-devkit/build-angular": "21.2.13",
|
||||
"@angular-devkit/core": "21.2.13",
|
||||
"@angular-devkit/schematics": "21.2.13",
|
||||
"@angular-eslint/eslint-plugin": "21.4.0",
|
||||
"@angular-eslint/eslint-plugin-template": "21.4.0",
|
||||
"@angular-eslint/template-parser": "21.4.0",
|
||||
"@angular/cli": "21.2.13",
|
||||
"@angular/compiler-cli": "21.2.15",
|
||||
"@angular/language-service": "21.2.15",
|
||||
"@eslint/js": "10.0.1",
|
||||
"@schematics/angular": "21.2.13",
|
||||
"@types/feather-icons": "^4.29.4",
|
||||
"@types/node": "25.0.10",
|
||||
"@types/node": "25.9.1",
|
||||
"@types/yargs": "^17.0.35",
|
||||
"@typescript-eslint/eslint-plugin": "8.53.1",
|
||||
"@typescript-eslint/parser": "8.53.1",
|
||||
"@typescript-eslint/utils": "^8.53.1",
|
||||
"@vitest/coverage-v8": "4.0.17",
|
||||
"@vitest/ui": "4.0.17",
|
||||
"concurrently": "^9.2.1",
|
||||
"dotenv": "^17.2.4",
|
||||
"esbuild": "^0.27.2",
|
||||
"eslint": "9.39.2",
|
||||
"@typescript-eslint/eslint-plugin": "8.60.0",
|
||||
"@typescript-eslint/parser": "8.60.0",
|
||||
"@typescript-eslint/utils": "^8.60.0",
|
||||
"@vitest/coverage-v8": "4.1.7",
|
||||
"@vitest/ui": "4.1.7",
|
||||
"concurrently": "^10.0.0",
|
||||
"dotenv": "^17.4.2",
|
||||
"esbuild": "^0.28.0",
|
||||
"eslint": "10.4.0",
|
||||
"eslint-config-prettier": "10.1.8",
|
||||
"eslint-plugin-deprecation": "^3.0.0",
|
||||
"eslint-plugin-import": "2.31.0",
|
||||
"eslint-plugin-jsx-a11y": "6.10.1",
|
||||
"eslint-plugin-react": "7.35.0",
|
||||
"eslint-plugin-react-hooks": "7.0.1",
|
||||
"eslint-plugin-unused-imports": "^4.3.0",
|
||||
"fs-extra": "^11.3.3",
|
||||
"globals": "^17.0.0",
|
||||
"happy-dom": "^20.3.4",
|
||||
"jiti": "2.6.1",
|
||||
"jsdom": "~27.4.0",
|
||||
"jsonc-eslint-parser": "^2.4.2",
|
||||
"prettier": "^3.8.1",
|
||||
"tsx": "^4.21.0",
|
||||
"typedoc": "^0.28.16",
|
||||
"typescript": "5.9.3",
|
||||
"typescript-eslint": "^8.53.1",
|
||||
"vite": "7.3.1",
|
||||
"vite-plugin-checker": "^0.12.0",
|
||||
"vite-plugin-dts": "4.5.4",
|
||||
"vite-plugin-static-copy": "^3.1.5",
|
||||
"vite-tsconfig-paths": "^6.0.5",
|
||||
"vitest": "4.0.17",
|
||||
"yargs": "^17.7.2"
|
||||
"eslint-plugin-import": "2.32.0",
|
||||
"eslint-plugin-jsx-a11y": "6.10.2",
|
||||
"eslint-plugin-react": "7.37.5",
|
||||
"eslint-plugin-react-hooks": "7.1.1",
|
||||
"eslint-plugin-unused-imports": "^4.4.1",
|
||||
"fs-extra": "^11.3.5",
|
||||
"globals": "^17.6.0",
|
||||
"happy-dom": "^20.9.0",
|
||||
"jiti": "2.7.0",
|
||||
"jsdom": "~29.1.1",
|
||||
"jsonc-eslint-parser": "^3.1.0",
|
||||
"prettier": "^3.8.3",
|
||||
"tsx": "^4.22.3",
|
||||
"typedoc": "^0.28.19",
|
||||
"typescript": "6.0.3",
|
||||
"typescript-eslint": "^8.60.0",
|
||||
"vite": "8.0.14",
|
||||
"vite-plugin-checker": "^0.14.1",
|
||||
"vite-plugin-dts": "5.0.1",
|
||||
"vite-plugin-static-copy": "^4.1.0",
|
||||
"vitest": "4.1.7",
|
||||
"yargs": "^18.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "21.1.1",
|
||||
"@angular/common": "21.1.1",
|
||||
"@angular/compiler": "21.1.1",
|
||||
"@angular/core": "21.1.1",
|
||||
"@angular/forms": "21.1.1",
|
||||
"@angular/platform-browser": "21.1.1",
|
||||
"@angular/platform-browser-dynamic": "21.1.1",
|
||||
"@angular/router": "21.1.1",
|
||||
"axios": "^1.13.2",
|
||||
"@angular/animations": "21.2.15",
|
||||
"@angular/common": "21.2.15",
|
||||
"@angular/compiler": "21.2.15",
|
||||
"@angular/core": "21.2.15",
|
||||
"@angular/forms": "21.2.15",
|
||||
"@angular/platform-browser": "21.2.15",
|
||||
"@angular/platform-browser-dynamic": "21.2.15",
|
||||
"@angular/router": "21.2.15",
|
||||
"axios": "^1.16.1",
|
||||
"feather-icons": "^4.29.2",
|
||||
"puppeteer": "^24.35.0",
|
||||
"puppeteer": "^25.1.0",
|
||||
"rxjs": "~7.8.2",
|
||||
"ses": "^1.14.0",
|
||||
"ses": "^2.1.0",
|
||||
"tslib": "^2.8.1",
|
||||
"uuid": "^13.0.0",
|
||||
"zod": "^4.3.5",
|
||||
"zone.js": "0.16.0"
|
||||
"uuid": "^14.0.0",
|
||||
"zod": "^4.4.3",
|
||||
"zone.js": "0.16.2"
|
||||
}
|
||||
}
|
||||
|
||||
8214
plugins/pnpm-lock.yaml
generated
8214
plugins/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@
|
||||
"rootDir": ".",
|
||||
"sourceMap": true,
|
||||
"declaration": false,
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "bundler",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"importHelpers": true,
|
||||
@ -13,11 +13,10 @@
|
||||
"lib": ["es2022", "dom"],
|
||||
"skipLibCheck": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@penpot/plugin-types": ["libs/plugin-types/index.d.ts"],
|
||||
"plugins-runtime": ["libs/plugins-runtime/src/index.ts"],
|
||||
"plugins-styles/*": ["libs/plugins-styles/src/*"]
|
||||
"@penpot/plugin-types": ["./libs/plugin-types/index.d.ts"],
|
||||
"plugins-runtime": ["./libs/plugins-runtime/src/index.ts"],
|
||||
"plugins-styles/*": ["./libs/plugins-styles/src/*"]
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules", "tmp"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user