Skip to content

Commit

Permalink
add ng top level export
Browse files Browse the repository at this point in the history
  • Loading branch information
kolodny committed Feb 23, 2024
1 parent 71c36ba commit 8373ce9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/vite-react-ts-swc/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export default defineConfig({
port: env === 'test' ? 3001 : 3000,
},
plugins: [
// This plugin is only meant to be used in the SafeTest repository.
// DO NOT USE IT IN YOUR OWN PROJECTS.
{
name: 'safetest linker',
buildStart: link,
Expand Down
2 changes: 2 additions & 0 deletions examples/vite-react-ts/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export default defineConfig({
port: env === 'test' ? 3001 : 3000,
},
plugins: [
// This plugin is only meant to be used in the SafeTest repository.
// DO NOT USE IT IN YOUR OWN PROJECTS.
{
name: 'safetest linker',
buildStart: link,
Expand Down
2 changes: 2 additions & 0 deletions examples/vite-solid-ts/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export default defineConfig({
port: env === 'test' ? 3001 : 3000,
},
plugins: [
// This plugin is only meant to be used in the SafeTest repository.
// DO NOT USE IT IN YOUR OWN PROJECTS.
{
name: 'safetest linker',
buildStart: link,
Expand Down
2 changes: 2 additions & 0 deletions examples/vite-vue-ts/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export default defineConfig({
port: env === 'test' ? 3001 : 3000,
},
plugins: [
// This plugin is only meant to be used in the SafeTest repository.
// DO NOT USE IT IN YOUR OWN PROJECTS.
{
name: 'safetest linker',
buildStart: link,
Expand Down
1 change: 1 addition & 0 deletions ng.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './lib/ng';
2 changes: 2 additions & 0 deletions ng.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Jest that comes with cra doesn't respect the exports field in package.json
module.exports = require('./lib/ng');

0 comments on commit 8373ce9

Please sign in to comment.