Skip to content

Commit

Permalink
💚 Fixes Builds (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekwoka authored Nov 7, 2023
1 parent fdda578 commit 8300d51
Show file tree
Hide file tree
Showing 21 changed files with 60 additions and 38 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use-node-version=20.9.0
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
"typescript": "5.2.2",
"vite": "4.5.0",
"vite-plugin-dts": "3.6.1",
"vite-plugin-external-deps": "0.0.2",
"vite-plugin-workspace-source": "0.0.1",
"vite-tsconfig-paths": "4.2.1",
"vitest": "0.34.6",
"vitest-dom": "0.1.1"
Expand Down
1 change: 1 addition & 0 deletions packages/alpinets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "The rugged, minimal TypeScript framework",
"author": "Eric Kwoka <eric@thekwoka.net> (https://thekwoka.net/)",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/alpinets/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/// <reference types="vitest" />
import { accessOwnSources } from '../../plugins/accessOwnPlugins';
import { resolve } from 'node:path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
Expand All @@ -13,7 +14,8 @@ export default defineConfig({
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
}),
tsconfigPaths(),
accessOwnSources(),
ExternalDeps(),
WorkspaceSource(),
],
define: {
'import.meta.vitest': 'undefined',
Expand Down
1 change: 1 addition & 0 deletions packages/anchor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "The rugged, minimal TypeScript framework",
"author": "Eric Kwoka <eric@thekwoka.net> (https://thekwoka.net/)",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/anchor/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/// <reference types="vitest" />
import { accessOwnSources } from '../../plugins/accessOwnPlugins';
import { resolve } from 'node:path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
Expand All @@ -13,7 +14,8 @@ export default defineConfig({
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
}),
tsconfigPaths(),
accessOwnSources(),
ExternalDeps(),
WorkspaceSource(),
],
define: {
'import.meta.vitest': 'undefined',
Expand Down
1 change: 1 addition & 0 deletions packages/collapse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "The rugged, minimal TypeScript framework",
"author": "Eric Kwoka <eric@thekwoka.net> (https://thekwoka.net/)",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/collapse/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/// <reference types="vitest" />
import { accessOwnSources } from '../../plugins/accessOwnPlugins';
import { resolve } from 'node:path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
Expand All @@ -13,7 +14,8 @@ export default defineConfig({
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
}),
tsconfigPaths(),
accessOwnSources(),
ExternalDeps(),
WorkspaceSource(),
],
define: {
'import.meta.vitest': 'undefined',
Expand Down
1 change: 1 addition & 0 deletions packages/focus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "The rugged, minimal TypeScript framework",
"author": "Eric Kwoka <eric@thekwoka.net> (https://thekwoka.net/)",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/focus/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/// <reference types="vitest" />
import { accessOwnSources } from '../../plugins/accessOwnPlugins';
import { resolve } from 'node:path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
Expand All @@ -13,7 +14,8 @@ export default defineConfig({
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
}),
tsconfigPaths(),
accessOwnSources(),
ExternalDeps(),
WorkspaceSource(),
],
define: {
'import.meta.vitest': 'undefined',
Expand Down
1 change: 1 addition & 0 deletions packages/intersect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "The rugged, minimal TypeScript framework",
"author": "Eric Kwoka <eric@thekwoka.net> (https://thekwoka.net/)",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/intersect/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/// <reference types="vitest" />
import { accessOwnSources } from '../../plugins/accessOwnPlugins';
import { resolve } from 'node:path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
Expand All @@ -13,7 +14,8 @@ export default defineConfig({
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
}),
tsconfigPaths(),
accessOwnSources(),
ExternalDeps(),
WorkspaceSource(),
],
define: {
'import.meta.vitest': 'undefined',
Expand Down
1 change: 1 addition & 0 deletions packages/mask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "The rugged, minimal TypeScript framework",
"author": "Eric Kwoka <eric@thekwoka.net> (https://thekwoka.net/)",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/mask/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/// <reference types="vitest" />
import { accessOwnSources } from '../../plugins/accessOwnPlugins';
import { resolve } from 'node:path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
Expand All @@ -13,7 +14,8 @@ export default defineConfig({
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
}),
tsconfigPaths(),
accessOwnSources(),
ExternalDeps(),
WorkspaceSource(),
],
define: {
'import.meta.vitest': 'undefined',
Expand Down
1 change: 1 addition & 0 deletions packages/morph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "The rugged, minimal TypeScript framework",
"author": "Eric Kwoka <eric@thekwoka.net> (https://thekwoka.net/)",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/morph/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/// <reference types="vitest" />
import { accessOwnSources } from '../../plugins/accessOwnPlugins';
import { resolve } from 'node:path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
Expand All @@ -13,7 +14,8 @@ export default defineConfig({
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
}),
tsconfigPaths(),
accessOwnSources(),
ExternalDeps(),
WorkspaceSource(),
],
define: {
'import.meta.vitest': 'undefined',
Expand Down
1 change: 1 addition & 0 deletions packages/persist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "The rugged, minimal TypeScript framework",
"author": "Eric Kwoka <eric@thekwoka.net> (https://thekwoka.net/)",
"license": "MIT",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
Expand Down
6 changes: 4 additions & 2 deletions packages/persist/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/// <reference types="vitest" />
import { accessOwnSources } from '../../plugins/accessOwnPlugins';
import { resolve } from 'node:path';
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
Expand All @@ -13,7 +14,8 @@ export default defineConfig({
tsconfigPath: resolve(__dirname, 'tsconfig.json'),
}),
tsconfigPaths(),
accessOwnSources(),
ExternalDeps(),
WorkspaceSource(),
],
define: {
'import.meta.vitest': 'undefined',
Expand Down
20 changes: 0 additions & 20 deletions plugins/accessOwnPlugins.ts

This file was deleted.

14 changes: 14 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/// <reference types="vitest" />
import { accessOwnSources } from './plugins/accessOwnPlugins';
import { defineConfig } from 'vite';
import ExternalDeps from 'vite-plugin-external-deps';
import WorkspaceSource from 'vite-plugin-workspace-source';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
plugins: [tsconfigPaths(), accessOwnSources()],
plugins: [tsconfigPaths(), ExternalDeps(), WorkspaceSource()],
build: {
target: 'esnext',
},
Expand Down

0 comments on commit 8300d51

Please sign in to comment.