Skip to content

Commit

Permalink
Clean up synthetic imports
Browse files Browse the repository at this point in the history
  • Loading branch information
spautz committed Nov 27, 2024
1 parent a47344b commit 3984610
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
3 changes: 0 additions & 3 deletions demos/hello-world-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
},
"source": "./src/index.ts",
"type": "module",
"imports": {
"#spautz/node-library-template": "@spautz/node-library-template"
},
"scripts": {
"____ STANDARD PACKAGE TASKS ________________________________________": "",
"all": "turbo run pipeline-all",
Expand Down
2 changes: 1 addition & 1 deletion demos/hello-world-cli/src/__tests__/sayHello.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { afterEach, describe, expect, test, vi } from 'vitest';
import { helloWorld } from '#spautz/node-library-template';
import { helloWorld } from '@spautz/node-library-template';

import { sayHello } from '../sayHello.js';

Expand Down
2 changes: 1 addition & 1 deletion demos/hello-world-cli/src/sayHello.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { helloWorld } from '#spautz/node-library-template';
import { helloWorld } from '@spautz/node-library-template';

const sayHello = () => {
console.log(helloWorld);
Expand Down
4 changes: 0 additions & 4 deletions demos/hello-world-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
},
"source": "./src/main.tsx",
"type": "module",
"imports": {
"#spautz/node-library-template": "@spautz/node-library-template",
"#spautz/react-library-template": "@spautz/react-library-template"
},
"scripts": {
"____ STANDARD PACKAGE TASKS ________________________________________": "",
"all": "turbo run pipeline-all",
Expand Down
4 changes: 2 additions & 2 deletions demos/hello-world-ui/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { helloWorld } from '#spautz/node-library-template';
import { TodoComponent } from '#spautz/react-library-template';
import { helloWorld } from '@spautz/node-library-template';
import { TodoComponent } from '@spautz/react-library-template';

function App() {
return (
Expand Down
4 changes: 2 additions & 2 deletions docs-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@
"react-live": "4.1.8"
},
"devDependencies": {
"@tsconfig/docusaurus": "2.0.3",
"@docusaurus/module-type-aliases": "3.6.3",
"@docusaurus/tsconfig": "3.6.3",
"@docusaurus/types": "3.6.3"
"@docusaurus/types": "3.6.3",
"@tsconfig/docusaurus": "2.0.3"
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 3984610

Please sign in to comment.