Skip to content

Commit ec7427c

Browse files
author
Maciej Warszawski
committed
move lib to dist
1 parent 1d8d1d7 commit ec7427c

33 files changed

+163
-2899
lines changed

.editorconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ insert_final_newline = true
44
indent_style = space
55
trim_trailing_whitespace = true
66

7-
87
[*.sh]
98
end_of_line = lf
9+
10+
[package.json]
11+
end_of_line = lf
12+

config/setup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const Enzyme = require('enzyme');
22
const Adapter = require('enzyme-adapter-react-16');
3+
require('tslib');
34

45
Enzyme.configure({ adapter: new Adapter() });

create-packages.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ yarn build && \
22
yarn tsc -p tsconfig.react-intl-namespaces.json && \
33
yarn tsc -p tsconfig.react-intl-namespaces-locize-client.json && \
44
yarn tsc -p tsconfig.react-intl-namespaces-locize-editor.json && \
5-
rm -r lib/**/types.js && \
6-
cp -u packages/react-intl-namespaces/package.json lib/react-intl-namespaces/package.json && \
7-
cp -u packages/react-intl-namespaces-locize-client/package.json lib/react-intl-namespaces-locize-client/package.json && \
8-
cp -u packages/react-intl-namespaces-locize-editor/package.json lib/react-intl-namespaces-locize-editor/package.json && \
9-
cp -u README.md lib/react-intl-namespaces && \
10-
cp -u README.md lib/react-intl-namespaces-locize-client && \
11-
cp -u README.md lib/react-intl-namespaces-locize-editor && \
5+
rm -r packages/**/dist/types.js && \
6+
cp -u README.md packages/react-intl-namespaces && \
7+
cp -u README.md packages/react-intl-namespaces-locize-client && \
8+
cp -u README.md packages/react-intl-namespaces-locize-editor && \
129
echo success

lerna.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
{
2-
"lerna": "2.8.0",
3-
"packages": [
4-
"lib/*"
5-
],
6-
"version": "0.0.1-0.1"
7-
}
1+
{
2+
"lerna": "2.8.0",
3+
"packages": ["packages/*"],
4+
"version": "0.0.1-0.1"
5+
}

lib/react-intl-namespaces-locize-client/index.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/react-intl-namespaces-locize-client/index.es.js

Lines changed: 0 additions & 180 deletions
This file was deleted.

0 commit comments

Comments
 (0)